1 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9 2014-07-01 Roland McGrath <roland@hack.frob.com>
11 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
14 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
15 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
20 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
21 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
25 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
28 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
29 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
38 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
39 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
43 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
44 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
46 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
49 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
50 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
51 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
52 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
53 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
54 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
55 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
57 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
58 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
59 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
60 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
61 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
62 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
63 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
64 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
66 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
68 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
69 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
70 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
73 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77 2014-06-30 Joseph Myers <joseph@codesourcery.com>
79 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
80 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
82 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
84 * sysdeps/arm/libm-test-ulps: Regenerated.
86 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
87 Roland McGrath <roland@hack.frob.com>
89 * test-skeleton.c (signal_handler): Kill the whole process group
90 before killing the child individually.
91 (main): Report any failure on `setpgid'.
93 2014-06-30 Roland McGrath <roland@hack.frob.com>
95 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
96 from _TLS_H to _ARM_NPTL_TLS_H.
97 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
98 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
100 2014-06-30 Joseph Myers <joseph@codesourcery.com>
103 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
104 (__expm1l): Return argument unchanged when small but not
107 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
109 (_FP_UNPACK_RAW_1_P): Likewise.
110 (_FP_PACK_RAW_1): Likewise.
111 (_FP_PACK_RAW_1_P): Likewise.
112 (_FP_MUL_MEAT_1_wide): Likewise.
113 (_FP_MUL_MEAT_DW_1_hard): Likewise.
114 (_FP_MUL_MEAT_1_hard): Likewise.
115 (_FP_DIV_MEAT_1_imm): Likewise.
116 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
117 (_FP_DIV_MEAT_1_udiv): Likewise.
118 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
119 (_FP_UNPACK_RAW_2): Likewise.
120 (_FP_UNPACK_RAW_2_P): Likewise.
121 (_FP_PACK_RAW_2): Likewise.
122 (_FP_PACK_RAW_2_P): Likewise.
123 (_FP_MUL_MEAT_DW_2_wide): Likewise.
124 (_FP_MUL_MEAT_2_wide): Likewise.
125 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
126 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
127 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
128 (_FP_MUL_MEAT_2_gmp): Likewise.
129 (_FP_DIV_MEAT_2_udiv): Likewise.
130 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
131 (_FP_FRAC_SRL_4): Likewise.
132 (_FP_FRAC_SRST_4): Likewise.
133 (_FP_FRAC_SRS_4): Likewise.
134 (_FP_UNPACK_RAW_4): Likewise.
135 (_FP_UNPACK_RAW_4_P): Likewise.
136 (_FP_PACK_RAW_4): Likewise.
137 (_FP_PACK_RAW_4_P): Likewise.
138 (_FP_MUL_MEAT_DW_4_wide): Likewise.
139 (_FP_MUL_MEAT_4_wide): Likewise.
140 (_FP_MUL_MEAT_4_gmp): Likewise.
141 (umul_ppppmnnn): Likewise.
142 (_FP_DIV_MEAT_4_udiv): Likewise.
143 (__FP_FRAC_ADD_4): Likewise.
144 (__FP_FRAC_SUB_3): Likewise.
145 (__FP_FRAC_SUB_4): Likewise.
146 (__FP_FRAC_DEC_3): Likewise.
147 (__FP_FRAC_DEC_4): Likewise.
148 (__FP_FRAC_ADDI_4): Likewise.
149 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
150 (_FP_FRAC_SRL_8): Likewise.
151 (_FP_FRAC_SRS_8): Likewise.
153 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
155 (FP_UNPACK_RAW_EP): Likewise.
156 (FP_PACK_RAW_E): Likewise.
157 (FP_PACK_RAW_EP): Likewise.
158 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
159 (_FP_ISSIGNAN): Likewise.
160 (_FP_ADD_INTERNAL): Likewise.
163 (_FP_SQRT): Likewise.
164 (_FP_TO_INT): Likewise.
165 (_FP_FROM_INT): Likewise.
166 (FP_EXTEND): Likewise.
167 (_FP_DIV_MEAT_N_loop): Likewise.
169 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
171 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
174 2014-06-29 Joseph Myers <joseph@codesourcery.com>
177 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
178 result with correct sign in case of exponents that produce
179 overflow except for X very close to 1.
181 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
183 mktime: merge #if/#ifdef usage from glibc
184 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
185 as that works with both Glibc's and Gnulib's style.
186 See thread starting at Siddhesh Poyarekar's bug report at:
187 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
189 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
191 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
192 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
193 * sysdeps/tile/tilegx/memmove.c: Remove file.
195 2014-06-27 Joseph Myers <joseph@codesourcery.com>
197 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
199 * scripts/soversions.awk: Do not handle or generate ABI lines.
200 * shlib-versions: Remove ABI entries.
201 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
202 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
204 2014-06-27 Roland McGrath <roland@hack.frob.com>
206 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
207 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
208 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
209 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
210 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
211 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
212 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
214 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
216 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
217 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
218 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
219 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
220 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
221 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
222 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
223 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
224 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
225 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
226 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
227 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
228 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
230 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
231 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
233 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
235 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
237 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
238 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
240 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
242 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
243 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
248 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
249 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
250 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
251 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
252 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
254 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
256 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
257 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
259 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
260 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
262 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
263 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
264 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
265 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
267 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
269 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
270 Identical file removed.
271 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
273 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
274 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
275 Identical file removed.
276 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
278 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
280 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
281 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
282 Identical file removed.
283 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
285 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
286 Identical file removed.
287 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
290 Identical file removed.
291 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
293 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
294 Identical file removed.
295 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
297 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
298 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
299 Identical file removed.
300 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
302 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
303 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
304 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
305 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
306 Identical file removed.
307 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
309 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
311 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
312 Identical file removed.
313 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
315 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
316 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
317 Identical file removed.
318 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
320 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
321 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
322 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
323 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
324 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
325 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
327 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
328 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
329 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
331 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
332 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
333 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
334 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
335 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
337 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
340 * nscd/nscd.c (monitor_child): Return exit status of child
341 instead of return value from wait syscall.
343 2014-06-27 Joseph Myers <joseph@codesourcery.com>
345 * configure.ac (libc_commonpagesize): Remove variable.
346 (libc_relro_required): Likewise.
347 (libc_cv_z_relro): Remove configure test.
348 * configure: Regenerated.
349 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
351 (libc_relro_required): Likewise.
352 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
353 (libc_relro_required): Likewise.
354 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
355 (libc_relro_required): Likewise.
356 * sysdeps/arm/preconfigure: Regenerated.
357 * sysdeps/ia64/preconfigure: Remove file.
358 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
360 (libc_relro_required): Likewise.
364 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
365 (__ieee754_yn): Set FE_TONEAREST mode internally and then
366 recompute overflowing results in original rounding mode.
367 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
368 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
369 recompute overflowing results in original rounding mode.
370 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
371 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
372 recompute overflowing results in original rounding mode.
373 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
374 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
375 recompute overflowing results in original rounding mode.
376 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
377 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
378 recompute overflowing results in original rounding mode.
379 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
380 (libc_feholdsetround_ctx): New macro.
381 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
382 * sysdeps/i386/fpu/libm-test-ulps: Update.
383 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
385 2014-06-26 Joseph Myers <joseph@codesourcery.com>
387 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
388 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
389 corresponding .cpsetup call.
391 2014-06-26 Roland McGrath <roland@hack.frob.com>
393 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
394 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
395 * sysdeps/arm/Makefile [$(subdir) = csu]
396 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
397 (static-only-routines): Add aeabi_read_tp here.
398 (shared-only-routines): Add libc-aeabi_read_tp here.
399 (CFLAGS-libc-start.c): Add -fexceptions here.
400 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
401 (sysdep_routines, static-only-routines, shared-only-routines):
402 Don't add to these here.
403 (CFLAGS-libc-start.c): Likewise.
405 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
406 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
407 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
408 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
409 * sysdeps/arm/Makefile [$(subdir) = rt]
410 (librt-sysdep_routines, librt-shared-only-routines):
411 Append rt-aeabi_unwind_cpp_pr1 here.
412 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
413 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
414 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
415 (libpthread-sysdep_routines, libpthread-shared-only-routines):
416 Append nptl-aeabi_unwind_cpp_pr1 here.
417 (tests): Filter out tst-cleanupx4 here.
418 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
419 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
422 2014-06-26 Joseph Myers <joseph@codesourcery.com>
424 * scripts/list-sources.sh: Do not handle ports specially.
426 2014-06-26 Roland McGrath <roland@hack.frob.com>
428 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
429 * sysdeps/arm/feupdateenv.c: Likewise.
431 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
433 2014-06-26 Joseph Myers <joseph@codesourcery.com>
435 * manual/texinfo.tex: Update to version 2014-05-05.10 with
436 trailing whitespace removed.
437 * scripts/config.guess: Update to version 2014-03-23.
438 * scripts/config.sub: Update to version 2014-05-01
439 * scripts/install-sh: Update to version 2013-12-25.23.
440 * scripts/move-if-change: Update from gnulib.
442 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
444 * debug/memmove_chk.c: Remove pagecopy.h include.
446 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
448 * time/mktime.c (leapyear): Remove inline keyword. The code is now
449 identical to gnulib mktime.
451 2014-06-26 Joseph Myers <joseph@codesourcery.com>
453 * configure.ac: Do not test for machine being rs6000. Do not test
455 * configure: Regenerated.
457 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
459 * configure: Regenerated.
460 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
461 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
462 Remove configure test.
463 * sysdeps/arm/configure: Regenerated.
464 * sysdeps/nptl/configure.ac: Do not check
465 libc_cv_asm_cfi_directives.
466 * sysdeps/nptl/configure: Regenerated.
467 * sysdeps/x86_64/nptl/configure.ac: Remove file.
468 * sysdeps/x86_64/nptl/configure: Remove generated file.
469 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
471 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
473 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
475 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
476 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
477 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
480 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
481 instead of whether it is defined.
482 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
483 * sysdeps/hppa/dl-machine.h: Likewise.
484 * sysdeps/ia64/dl-machine.h: Likewise.
485 * sysdeps/m68k/dl-machine.h: Likewise.
486 * sysdeps/microblaze/dl-machine.h: Likewise.
487 * sysdeps/mips/dl-machine.: Likewise.
488 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
489 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
490 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
491 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
492 * sysdeps/sh/dl-machine.h: Likewise.
493 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
494 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
495 * sysdeps/tile/dl-machine.h: Likewise.
496 * sysdeps/x86_64/dl-machine.h: Likewise.
498 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
500 (verify_persistent_db): Likewise.
502 2014-06-26 Roland McGrath <roland@hack.frob.com>
504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
505 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
507 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
510 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
513 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
515 Identical file removed.
516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
517 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
519 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
521 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
523 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
525 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
528 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
530 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
535 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
537 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
539 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
541 Identical file removed.
542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
543 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
548 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
551 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
553 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
555 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
557 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
559 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
562 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
565 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
570 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
574 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
576 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
577 * sysdeps/unix/sysv/linux/s390/Versions
578 (libpthread: GLIBC_2.19): New version set.
579 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
580 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
581 (librt: GLIBC_2.3.3): New version set.
582 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
583 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
584 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
585 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
586 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
587 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
588 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
589 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
590 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
591 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
592 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
593 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
594 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
595 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
596 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
597 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
598 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
599 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
600 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
601 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
602 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
603 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
604 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
605 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
606 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
607 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
608 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
609 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
610 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
611 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
612 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
613 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
615 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
617 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
618 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
619 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
620 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
622 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
624 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
625 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
626 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
628 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
629 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
630 (__libc_vfork): Define the function under this name.
631 [!NOT_IN_libc] (__vfork): Make this an alias.
632 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
634 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
635 (__libc_vfork): Define the function under this name.
636 [!NOT_IN_libc] (__vfork): Make this an alias.
637 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
638 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
639 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
640 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
641 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
642 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
644 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
645 code that was previously under [RESET_PID].
646 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
647 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
648 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
650 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
651 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
652 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
653 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
654 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
655 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
656 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
657 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
658 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
659 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
660 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
662 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
663 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
664 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
665 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
666 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
667 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
668 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
669 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
670 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
671 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
673 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
675 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
676 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
677 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
678 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
679 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
680 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
681 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
682 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
683 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
684 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
685 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
686 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
687 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
688 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
689 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
690 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
692 2014-06-25 Roland McGrath <roland@hack.frob.com>
694 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
695 that was previously under [RESET_PID].
696 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
698 2014-06-25 Joseph Myers <joseph@codesourcery.com>
700 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
701 not undefine and redefine.
702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
703 [O_CLOEXEC]: Make code unconditional.
704 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
705 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
707 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
708 conditional variable definition.
709 (shm_open) [O_CLOEXEC]: Make code unconditional.
710 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
713 * configure.ac (USE_REGPARMS): Don't define here.
714 * configure: Regenerated.
715 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
716 * sysdeps/i386/configure: Regenerated.
718 * nptl/createthread.c: Don't include kernel-features.h.
719 * nptl/pthread_cancel.c: Likewise.
720 * nptl/pthread_condattr_setclock.c: Likewise.
721 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
722 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
723 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
724 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
725 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
726 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
727 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
730 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
731 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
732 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
733 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
734 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
735 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
736 * nscd/gai.c: Likewise.
737 * nss/nss_db/db-open.c: Likewise.
738 * sysdeps/generic/ldsodefs.h: Likewise.
739 * sysdeps/sh/nptl/tls.h: Likewise.
740 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
741 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
742 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
743 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
744 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
745 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
746 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
747 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
748 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
749 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
750 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
751 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
752 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
753 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
754 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
755 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
756 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
757 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
758 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
759 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
760 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
761 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
762 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
763 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
764 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
765 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
766 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
767 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
768 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
769 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
770 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
771 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
772 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
773 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
774 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
775 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
776 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
777 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
778 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
779 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
780 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
781 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
782 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
783 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
784 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
785 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
786 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
787 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
788 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
789 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
790 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
791 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
792 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
793 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
794 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
795 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
796 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
797 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
820 * sysdeps/unix/sysv/linux/pread.c: Likewise.
821 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
822 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
823 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
824 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
825 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
826 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
827 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
828 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
829 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
830 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
831 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
832 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
833 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
834 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
835 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
836 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
837 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
838 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
839 * sysdeps/unix/sysv/linux/system.c: Likewise.
840 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
841 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
842 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
843 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
844 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
845 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
846 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
848 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
849 * configure: Regenerated.
850 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
852 * configure.ac (base_machine): Do not set specially for particular
854 * configure: Regenerated.
855 * sysdeps/powerpc/preconfigure: Move machine and base_machine
856 settings from configure.ac.
857 * sysdeps/i386/preconfigure: New file.
858 * sysdeps/s390/preconfigure: Likewise.
859 * sysdeps/sh/preconfigure: Likewise.
860 * sysdeps/sparc/preconfigure: Likewise.
862 2014-06-25 Roland McGrath <roland@hack.frob.com>
864 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
865 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
866 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
867 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
868 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
869 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
870 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
871 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
872 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
873 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
874 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
875 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
876 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
877 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
878 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
879 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
880 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
881 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
882 * sysdeps/sparc/sparc64/Makefile: ... appended here.
884 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
885 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
886 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
887 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
888 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
889 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
890 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
891 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
892 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
893 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
894 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
895 * sysdeps/sparc/sparc32/sem_post.c: ... here.
896 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
897 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
898 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
899 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
900 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
901 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
902 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
903 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
904 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
905 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
906 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
907 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
908 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
909 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
910 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
911 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
912 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
913 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
914 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
915 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
916 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
917 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
918 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
919 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
920 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
921 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
924 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
926 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
929 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
932 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
934 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
937 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
941 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
943 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
946 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
949 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
951 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
954 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
958 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
960 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
962 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
965 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
968 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
970 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
973 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
975 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
977 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
979 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
982 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
985 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
987 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
990 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
994 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
996 2014-06-25 Joseph Myers <joseph@codesourcery.com>
998 * timezone/checktab.awk: Update from tzcode 2014e.
999 * timezone/private.h: Likewise.
1000 * timezone/tzfile.h: Likewise.
1001 * timezone/zdump.c: Likewise.
1002 * timezone/zic.c: Likewise.
1004 * sysdeps/unix/sysv/linux/kernel-features.h
1005 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1006 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1007 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1008 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1009 Remove conditional code.
1011 2014-06-25 Will Newton <will.newton@linaro.org>
1013 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1014 (_dl_arm_cap_flags): Add HWCAP2 values.
1015 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1016 (_DL_HWCAP_COUNT): Increase to 37.
1017 (_DL_HWCAP_LAST): New define.
1018 (_DL_HWCAP2_LAST): New define.
1019 (_dl_procinfo): Add support for printing
1021 (_dl_string_hwcap): Use _dl_hwcap_string.
1023 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1027 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1029 * README: Do not mention ports directory.
1031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1033 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1034 <kernel-features.h>.
1035 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1036 conditional variable definition.
1037 (__futimes): Update comment.
1038 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1039 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1042 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1043 arguments close to 0.
1044 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1046 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1048 * math/auto-libm-test-in: Add more tests of exp10.
1049 * math/auto-libm-test-out: Regenerated.
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1052 * sysdeps/unix/sysv/linux/kernel-features.h
1053 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1054 * sysdeps/unix/sysv/linux/readv.c: Do not include
1055 <kernel-features.h>.
1056 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1057 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1058 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1060 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1062 * sysdeps/unix/sysv/linux/writev.c: Do not include
1063 <kernel-features.h>.
1064 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1065 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1066 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1068 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1071 2014-06-25 Will Newton <will.newton@linaro.org>
1073 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1074 comment changes throughout the file. Remove checks
1075 for HAVE_*_H definitions that are not required.
1076 (__gen_tempname): Call abort if an unknown kind value is
1079 2014-06-25 Andreas Schwab <schwab@suse.de>
1082 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1083 scalbln, scalblnf, scalblnl in libc.
1085 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1088 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1089 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1090 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1092 2014-06-24 Roland McGrath <roland@hack.frob.com>
1094 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1095 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1096 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1097 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1099 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1100 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1102 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1103 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1104 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1105 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1106 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1107 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1108 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1109 * sysdeps/x86/bits/semaphore.h: ... here.
1110 * sysdeps/x86/nptl/elide.h: Moved ...
1111 * sysdeps/x86/elide.h: ... here.
1112 * sysdeps/x86_64/nptl/Implies: File removed.
1113 * sysdeps/i386/nptl/Implies: File removed.
1115 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1118 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1119 return the argument for normal arguments with exponent below -64.
1120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1122 * math/auto-libm-test-in: Add another test of expm1.
1123 * math/auto-libm-test-out: Regenerated.
1126 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1127 calling __erfcl for arguments at least 16.
1128 * math/auto-libm-test-in: Add more tests of erf.
1129 * math/auto-libm-test-out: Regenerated.
1131 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1132 individual architectures.
1133 * sysdeps/unix/sysv/linux/configure: Regenerated.
1134 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1135 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1136 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1137 (ldd_rewrite_script): Define variable.
1138 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1143 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1144 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1145 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1146 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1147 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1148 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1149 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1150 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1152 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1155 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1156 Rename member __data.d to __data.__elision_data.
1158 2014-06-24 Wilco <wdijkstr@arm.com>
1160 * NEWS: Add 16918 to fixed bug list.
1162 2014-06-24 Wilco <wdijkstr@arm.com>
1164 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1166 2014-06-24 Wilco <wdijkstr@arm.com>
1168 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1169 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1170 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1171 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1172 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1173 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1174 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1177 2014-06-24 Wilco <wdijkstr@arm.com>
1179 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1181 2014-06-24 Wilco <wdijkstr@arm.com>
1183 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1184 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1185 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1186 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1188 2014-06-24 Wilco <wdijkstr@arm.com>
1191 * sysdeps/arm/feupdateenv.c (feupdateenv):
1192 Rewrite to reduce FPSCR accesses and fix return value.
1194 2014-06-24 Wilco <wdijkstr@arm.com>
1196 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1197 Optimize to avoid unnecessary FPSCR writes.
1198 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1199 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1200 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1201 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1203 2014-06-24 Wilco <wdijkstr@arm.com>
1205 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1206 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1207 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1208 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1209 Call libc_fetestexcept_vfp.
1210 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1211 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1212 __SOFTFP__ ifdef so that they can be built for softfp.
1214 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1216 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1217 argument type signed char.
1219 * Makerules (check-abi): Dump diff of symlist if the test
1222 2014-06-23 Roland McGrath <roland@hack.frob.com>
1224 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1227 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1228 Remove unused variable ST.
1230 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1234 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1235 small arguments before calling __expm1.
1236 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1237 small arguments before calling __expm1f.
1238 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1239 small arguments before calling __expm1l.
1240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1242 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1243 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1244 spurious underflow for some cosh tests.
1245 * math/auto-libm-test-out: Regenerated.
1246 * sysdeps/i386/fpu/libm-test-ulps: Update.
1249 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1250 (__ieee754_y1): Set errno if return value overflows.
1251 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1252 (__ieee754_y1f): Set errno if return value overflows.
1253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1254 (__ieee754_y1l): Set errno if return value overflows.
1255 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1256 (__ieee754_y1l): Set errno if return value overflows.
1257 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1258 * math/auto-libm-test-out: Regenerated.
1260 * math/gen-auto-libm-tests.c: Document use of
1261 ignore-zero-inf-sign.
1262 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1263 (input_flags): Add ignore-zero-inf-sign.
1264 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1265 * math/gen-libm-test.pl (generate_testfile): Handle
1266 ignore-zero-inf-sign.
1267 * math/auto-libm-test-in: Mark some cpow tests with
1268 ignore-zero-inf-sign and some with xfail-rounding.
1269 * math/auto-libm-test-out: Regenerated.
1270 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1271 * sysdeps/i386/fpu/libm-test-ulps: Update.
1272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1275 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1276 overflowing or underflowing operations take place with sign of
1278 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1279 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1280 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1281 (__ieee754_pow): Recompute overflowing and underflowing results in
1282 original rounding mode.
1283 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1284 (__powl_helper): Allow negative argument X and scale negated value
1285 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1286 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1287 overflowing or underflowing operations take place with sign of
1289 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1291 * math/auto-libm-test-in: Add more tests of pow.
1292 * math/auto-libm-test-out: Regenerated.
1293 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1294 (pow_tonearest_test_data): Remove.
1295 (pow_test_tonearest): Likewise.
1296 (pow_towardzero_test_data): Likewise.
1297 (pow_test_towardzero): Likewise.
1298 (pow_downward_test_data): Likewise.
1299 (pow_test_downward): Likewise.
1300 (pow_upward_test_data): Likewise.
1301 (pow_test_upward): Likewise.
1302 (main): Don't call removed functions.
1303 * sysdeps/i386/fpu/libm-test-ulps: Update.
1304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1306 2014-06-23 Roland McGrath <roland@hack.frob.com>
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1482 2014-06-23 Will Newton <will.newton@linaro.org>
1483 Wilco <wdijkstr@arm.com>
1485 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1486 implementation. Include get-rounding-mode.h.
1487 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1488 [!libc_feholdsetround_noex_ctx]: Define
1489 libc_feholdsetround_noex_ctx.
1490 [!libc_feholdsetround_noexf_ctx]: Define
1491 libc_feholdsetround_noexf_ctx.
1492 [!libc_feholdsetround_noexl_ctx]: Define
1493 libc_feholdsetround_noexl_ctx.
1494 (libc_feholdsetround_ctx): New function.
1495 (libc_feresetround_ctx): New function.
1496 (libc_feholdsetround_noex_ctx): New function.
1497 (libc_feresetround_noex_ctx): New function.
1499 2014-06-23 Roland McGrath <roland@hack.frob.com>
1501 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1502 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1503 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1504 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1505 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1506 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1508 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1509 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1510 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1511 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1512 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1513 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1514 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1515 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1516 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1520 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1522 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1523 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1528 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1529 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1532 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1534 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1535 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1537 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1540 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1542 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1545 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1549 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1550 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1551 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1552 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1553 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1554 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1556 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1558 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1559 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1560 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1561 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1563 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1564 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1565 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1566 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1567 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1568 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1569 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1570 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1572 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1574 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1576 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1577 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1579 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1580 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1581 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1582 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1583 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1585 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1586 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1587 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1588 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1589 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1590 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1591 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1592 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1594 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1596 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1598 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1599 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1600 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1601 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1602 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1603 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1604 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1605 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1606 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1607 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1610 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1611 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1612 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1614 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1616 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1617 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1618 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1619 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1620 (IPV6_PMTUDISC_INTERFACE): Likewise.
1621 (IPV6_PMTUDISC_OMIT): Likewise.
1623 2014-06-23 Andreas Schwab <schwab@suse.de>
1625 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1626 Remove unused errout label.
1628 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1630 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1631 macro: hardware supports Vector Crypto instructions.
1633 2014-06-23 Will Newton <will.newton@linaro.org>
1635 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1636 rather than __builtin_expect.
1638 * elf/dl-lookup.c (undefined_msg): Remove variable.
1639 (_dl_lookup_symbol_x): Replace undefined_msg with string
1642 * elf/dl-lookup.c (do_lookup_unique): New function.
1643 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1644 to a separate function.
1646 2014-06-23 Andreas Schwab <schwab@suse.de>
1649 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1650 before reading the next line.
1652 2014-06-23 Will Newton <will.newton@linaro.org>
1654 * test-skeleton.c (signal_handler): Use printf and %m
1655 rather than perror. Use printf rather than fprintf to
1656 stderr. Use puts rather than fputs to stderr.
1659 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1661 * nscd/nscd.c (thread_info_t): Remove typedef.
1662 (thread_info): Remove variable.
1664 2014-06-21 Allan McRae <allan@archlinux.org>
1666 * NEWS: Mention CVE-2014-4043.
1668 2014-06-20 Roland McGrath <roland@hack.frob.com>
1670 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1671 * nptl/smp.h: ... here.
1673 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1675 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1676 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1677 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1678 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1680 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1681 * nptl/stack-aliasing.h: New file.
1682 * sysdeps/i386/i686/stack-aliasing.h: New file.
1683 * sysdeps/i386/i686/nptl/Makefile: File removed.
1684 * sysdeps/x86_64/stack-aliasing.h: New file.
1685 * sysdeps/x86_64/nptl/Makefile
1686 (CFLAGS-pthread_create.c): Variable removed.
1688 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1689 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1691 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1692 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1695 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1697 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1698 (__ASSUME_SIGFRAME_V2): Remove macro.
1699 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1700 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1701 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1702 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1703 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1704 Declare as function. Remove conditional macro definitions.
1705 (__default_rt_sa_restorer): Likewise.
1706 (__default_sa_restorer_v1): Remove declaration.
1707 (__default_sa_restorer_v2): Likewise.
1708 (__default_rt_sa_restorer_v1): Likewise.
1709 (__default_rt_sa_restorer_v2): Likewise.
1710 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1711 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1712 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1714 2014-06-20 Roland McGrath <roland@hack.frob.com>
1716 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1717 (libpthread-routines): Add sysdep.
1718 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1719 * sysdeps/unix/sysv/linux/sparc/Versions
1720 (libpthread: GLIBC_2.3.3): New version set.
1721 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1722 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1723 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1724 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1725 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1726 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1728 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1730 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1732 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1734 * sysdeps/sparc/nptl/sem_init.c: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1736 * sysdeps/sparc/nptl/sem_post.c: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1738 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1740 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1742 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1743 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1744 (libpthread-routines): Add cpu_relax.
1745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1747 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1748 (librt: GLIBC_2.3.3): New version set.
1749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1750 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1751 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1752 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1753 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1754 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1755 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1756 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1758 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1760 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1761 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1762 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1764 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1765 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1766 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1769 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1771 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1773 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1777 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1781 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1783 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1785 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1787 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1789 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1791 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1792 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1795 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1796 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1798 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1800 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1803 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1805 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1807 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1809 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1811 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1812 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1813 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1814 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1815 * nscd/nscd.c: Likewise.
1816 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1817 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1818 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1819 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1821 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1822 <kernel-features.h>.
1823 (init_mq_netlink): Remove conditional have_sock_cloexec
1824 definitions. Remove code conditional on have_sock_cloexec < 0.
1825 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1826 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1827 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1828 <kernel-features.h>.
1829 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1830 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1832 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1834 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1835 Add tests for memset_chk and memset.
1837 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1840 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1843 * elf/tst-dl-iter-static.c: New file.
1844 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1846 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1849 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1851 * sysdeps/unix/sysv/linux/kernel-features.h
1852 (__ASSUME_F_GETOWN_EX): Remove macro.
1853 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1854 <kernel-features.h>.
1855 (miss_F_GETOWN_EX): Remove variable or macro.
1856 (do_fcntl): Do not check miss_F_GETOWN_EX.
1857 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1859 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1862 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1863 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1865 * sysdeps/unix/sysv/linux/kernel-features.h
1866 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1867 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1868 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1869 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1871 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1874 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1875 Fix calculation of the symbol's value.
1876 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1877 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1878 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1879 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1880 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1881 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1882 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1883 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1884 (modules-names): Add `tst-armtlsdescmod',
1885 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1886 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1887 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1888 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1889 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1890 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1891 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1892 ($(objpfx)tst-armtlsdescloc): New dependency.
1893 ($(objpfx)tst-armtlsdescextnow): Likewise.
1894 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1895 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1897 * sysdeps/arm/configure: Regenerate.
1899 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1901 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1902 (__atfct_seterrno_2): Likewise.
1903 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1904 <kernel-features.h>.
1905 (__ASSUME_ATFCTS): Do not undefine and redefine.
1906 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1907 (__have_atfcts): Remove conditional definition.
1908 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1909 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1910 unreachable if [__ASSUME_ATFCTS].
1911 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1912 not undefine and redefine.
1913 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1914 <kernel-features.h>.
1915 (faccessat) [__NR_faccessat]: Make code unconditional.
1916 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1917 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1918 <kernel-features.h>.
1919 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1920 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1921 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1922 <kernel-features.h>.
1923 (fchownat) [__NR_fchownat]: Make code unconditional.
1924 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1925 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1926 <kernel-features.h>.
1927 (futimesat) [__NR_futimesat]: Make code unconditional.
1928 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1929 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1930 <kernel-features.h>.
1931 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1932 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1933 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1934 <kernel-features.h>.
1935 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1936 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1937 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1938 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1939 <kernel-features.h>.
1940 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1941 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1942 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1943 <kernel-features.h>.
1944 (linkat) [__NR_linkat]: Make code unconditional.
1945 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1946 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1947 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1948 <kernel-features.h>.
1949 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1950 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1951 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1952 <kernel-features.h>.
1953 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1954 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1955 * sysdeps/unix/sysv/linux/openat.c: Do not include
1956 <kernel-features.h>.
1957 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1958 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1959 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1960 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1961 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1962 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1963 <kernel-features.h>.
1964 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1965 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1966 result of INLINE_SYSCALL directly, not via int variable.
1967 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1968 <kernel-features.h>.
1969 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1970 (renameat) [__NR_renameat]: Make code unconditional.
1971 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1972 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1973 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1974 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1975 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1976 (__ASSUME_ATFCTS): Do not undefine and redefine.
1977 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1978 <kernel-features.h>.
1979 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1980 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1981 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1982 <kernel-features.h>.
1983 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1984 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1986 (__ASSUME_ATFCTS): Do not undefine and redefine.
1987 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1988 <kernel-features.h>.
1989 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1990 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1991 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1992 <kernel-features.h>.
1993 (__xmknodat) [__NR_mknodat]: Make code unconditional.
1994 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1996 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1998 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2000 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2003 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2004 constructed tree before returning error.
2005 * posix/bug-regexp36.c: Expand test case.
2007 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2010 * math/libm-test.inc (scalbln_test_date):
2011 Add errno expectations.
2012 * math/w_scalblnf.c: New File.
2013 Add wrapper which checks for setting errno to ERANGE.
2014 Add weak_alias for corresponding scalbln function.
2015 * math/w_scalbln.c: Likewise.
2016 * math/w_scalblnl.c: Likewise.
2017 * math/Makefile (libm-calls): Add w_scalbln.
2018 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2019 Remove weak_alias for corresponding scalbln function.
2020 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2022 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2024 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2025 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2026 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2027 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2028 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2029 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2030 Remove long_double_symbol for scalblnl function in libm, libc.
2031 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2032 Add wrapper which checks for setting errno to ERANGE.
2033 Add long_double_symbol for scalblnl function in libm, libc.
2034 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2035 Remove long_double_symbol for scalblnl in libm.
2036 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2037 Add wrapper which checks for setting errno to ERANGE.
2038 Add long_double_symbol for scalblnl function in libm.
2039 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2040 Do not use wrapper because of own implementation.
2042 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2044 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2045 3 bytes for __pad1 for x32.
2046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2048 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2049 H.J. Lu <hongjiu.lu@intel.com>
2051 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2052 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2053 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2054 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2055 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2057 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2060 * posix/regcomp.c (parse_expression): Deallocate partially
2061 constructed tree before returning error.
2062 * posix/Makefile.c (tests): Add bug-regex36.
2063 (generated): Add bug-regex36.mtrace.
2064 (tests-special): Add $(objpfx)bug-regex36-mem.out
2065 (bug-regex36-ENV): New variable.
2066 ($(objpfx)bug-regex36-mem.out): New rule.
2067 * posix/bug-regex36.c: New file.
2069 2014-06-19 Will Newton <will.newton@linaro.org>
2071 * malloc/malloc.c (systrim): If extra is zero then return
2074 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2076 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2078 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2080 * sysdeps/aarch64/strchr.S: New file.
2082 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2085 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2086 from arguments -2 or below.
2087 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2088 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2090 2014-06-18 Andreas Schwab <schwab@suse.de>
2093 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2094 of a bracket expr not to run off the end of the string.
2095 * posix/Makefile (tests): Add tst-fnmatch3.
2096 * posix/tst-fnmatch3.c: New file.
2098 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2100 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2101 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2102 [$(cross-compiling) = no]: Likewise.
2103 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2104 [$(cross-compiling) = no]: Likewise.
2106 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2109 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2110 double, adjusted for any remainder from the high double.
2111 * math/libm-test.inc (nearbyint): Add tests.
2114 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2116 * nptl/sysdeps/powerpc/Makefile: Moved ...
2117 * sysdeps/powerpc/nptl/Makefile: ... here.
2118 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2119 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2120 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2121 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2122 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2123 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2124 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2125 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2126 * nptl/sysdeps/powerpc/tls.h: Moved ...
2127 * sysdeps/powerpc/nptl/tls.h: ... here.
2129 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2132 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2133 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2134 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2135 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2136 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2137 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2138 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2139 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2140 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2142 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2144 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2146 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2148 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2151 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2154 2014-06-16 Florian Weimer <fweimer@redhat.com>
2157 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2158 non-executed part of the test.
2160 2014-06-16 Andreas Schwab <schwab@suse.de>
2162 * string/bits/string2.h (strdup, strndup): Update feature guard.
2164 2014-06-14 David S. Miller <davem@davemloft.net>
2166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2168 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2170 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2171 that was previously under [RESET_PID].
2172 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2174 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2175 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2176 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2177 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2178 (__libc_vfork): New strong alias.
2179 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2181 2014-06-14 Andi Kleen <ak@linux.intel.com>
2183 * sysdeps/generic/elide.h: New file.
2185 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2187 * Makefile (installed-headers): Adjust path of pthread.h header.
2189 2014-06-13 Roland McGrath <roland@hack.frob.com>
2191 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2192 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2193 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2194 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2196 * nptl/sysdeps/s390/Makefile: Moved ...
2197 * sysdeps/s390/nptl/Makefile: ... here.
2198 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2199 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2200 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2201 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2202 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2203 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2204 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2205 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2206 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2207 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2208 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2209 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2210 * nptl/sysdeps/s390/tls.h: Moved ...
2211 * sysdeps/s390/nptl/tls.h: ... here.
2213 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2214 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2216 2014-06-13 David S. Miller <davem@davemloft.net>
2218 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2220 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2221 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2222 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2224 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2225 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2226 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2227 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2228 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2229 Remove RESET_PID cpp guards.
2230 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2231 Remove RESET_PID cpp guards.
2232 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2234 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2236 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2239 2014-06-13 Andi Kleen <ak@linux.intel.com>
2241 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2242 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2243 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2244 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2245 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2246 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2247 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2248 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2249 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2250 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2251 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2252 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2253 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2254 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2255 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2256 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2257 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2258 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2259 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2260 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2262 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2263 (pthread_rwlock_rdlock): Add elision.
2264 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2265 (pthread_rwlock_wrlock): Add elision.
2266 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2267 (pthread_rwlock_trywrlock): Add elision.
2268 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2269 (pthread_rwlock_tryrdlock): Add elision.
2270 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2271 (pthread_rwlock_tryrdlock): Add elision unlock.
2272 * nptl/sysdeps/pthread/pthread.h:
2273 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2274 (PTHREAD_RWLOCK_INITIALIZER,
2275 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2276 Handle new elision field.
2277 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2278 * sysdeps/arm/nptl/bits/pthreadtypes.h
2279 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2280 * sysdeps/sh/nptl/bits/pthreadtypes.h
2281 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2282 * sysdeps/tile/nptl/bits/pthreadtypes.h
2283 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2284 * sysdeps/a/nptl/bits/pthreadtypes.h
2285 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2286 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2287 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2288 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2289 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2290 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2291 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2292 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2294 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2295 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2296 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2297 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2298 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2299 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2300 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2301 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2302 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2303 (elision_init): Set try_xbegin to zero when no RTM.
2304 * sysdeps/x86/nptl/bits/pthreadtypes.h
2305 (pthread_rwlock_t): Change __pad1 to __rwelision.
2306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2308 2014-06-13 Andi Kleen <ak@linux.intel.com>
2310 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2311 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2312 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2313 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2315 2014-06-13 Meador Inge <meadori@codesourcery.com>
2318 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2319 that the cached result has been set before returning it.
2321 2014-06-12 Roland McGrath <roland@hack.frob.com>
2323 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2324 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2325 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2326 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2327 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2328 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2330 * nptl/sysdeps/sparc/Makefile: Moved ...
2331 * sysdeps/sparc/nptl/Makefile: ... here.
2332 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2333 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2334 * nptl/sysdeps/sparc/tls.h: Moved ...
2335 * sysdeps/sparc/nptl/tls.h: ... here.
2336 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2337 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2338 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2339 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2340 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2341 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2342 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2343 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2344 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2345 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2346 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2347 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2348 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2349 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2350 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2351 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2352 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2353 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2355 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2356 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2358 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2359 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2361 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2362 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2365 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2367 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2368 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2370 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2371 (struct list_links): Type removed.
2372 (struct thread_node, struct timer_node): Replace struct list_links
2373 with struct list_head.
2374 (list_unlink_ip): Likewise.
2375 * sysdeps/pthread/timer_routines.c
2376 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2377 (list_append, list_insbefore): Likewise.
2378 (list_init): Function removed.
2379 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2380 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2381 * sysdeps/pthread/Makefile: ... here, new file.
2383 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2384 * sysdeps/nptl/Implies: ... here.
2385 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2386 * nptl/sysdeps/pthread/list.h: Moved ...
2387 * include/list.h: ... here.
2388 * nptl/sysdeps/pthread/createthread.c: Moved ...
2389 * nptl/createthread.c: ... here.
2390 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2391 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2392 * nptl/pt-longjmp.c: ... here.
2393 * nptl/sysdeps/pthread/Makefile: Moved ...
2394 * sysdeps/nptl/Makefile: ... here.
2395 * nptl/sysdeps/pthread/Subdirs: Moved ...
2396 * sysdeps/nptl/Subdirs: ... here.
2397 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2398 * sysdeps/nptl/aio_misc.h: ... here.
2399 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2400 * sysdeps/nptl/bits/libc-lock.h: ... here.
2401 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2402 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2403 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2404 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2405 * nptl/sysdeps/pthread/configure: Moved ...
2406 * sysdeps/nptl/configure: ... here.
2407 * nptl/sysdeps/pthread/configure.ac: Moved ...
2408 * sysdeps/nptl/configure.ac: ... here.
2409 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2410 * sysdeps/nptl/gai_misc.h: ... here.
2411 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2412 * sysdeps/nptl/librt-cancellation.c: ... here.
2413 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2414 * sysdeps/nptl/malloc-machine.h: ... here.
2415 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2416 * sysdeps/nptl/pthread-functions.h: ... here.
2417 * nptl/sysdeps/pthread/pthread.h: Moved ...
2418 * sysdeps/nptl/pthread.h: ... here.
2419 * nptl/sysdeps/pthread/setxid.h: Moved ...
2420 * sysdeps/nptl/setxid.h: ... here.
2421 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2422 * sysdeps/nptl/sigfillset.c: ... here.
2423 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2424 * sysdeps/nptl/tcb-offsets.h: ... here.
2425 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2426 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2427 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2428 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2429 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2430 * sysdeps/pthread/allocalim.h: ... here.
2431 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2432 * sysdeps/pthread/bits/sigthread.h: ... here.
2433 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2434 * sysdeps/pthread/flockfile.c: ... here.
2435 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2436 * sysdeps/pthread/ftrylockfile.c: ... here.
2437 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2438 * sysdeps/pthread/funlockfile.c: ... here.
2439 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2440 * sysdeps/pthread/posix-timer.h: ... here.
2441 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2442 * sysdeps/pthread/timer_create.c: ... here.
2443 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2444 * sysdeps/pthread/timer_delete.c: ... here.
2445 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2446 * sysdeps/pthread/timer_getoverr.c: ... here.
2447 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2448 * sysdeps/pthread/timer_gettime.c: ... here.
2449 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2450 * sysdeps/pthread/timer_routines.c: ... here.
2451 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2452 * sysdeps/pthread/timer_settime.c: ... here.
2453 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2454 * sysdeps/pthread/tst-timer.c: ... here.
2455 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2456 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2458 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2459 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2461 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2462 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2463 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2464 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2465 Update #include target.
2466 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2467 * sysdeps/i386/i686/nptl/Makefile: ... here.
2468 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2469 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2470 Update #include target.
2471 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2472 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2473 * nptl/sysdeps/i386/Makefile: Moved ...
2474 * sysdeps/i386/nptl/Makefile: ... here.
2475 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2476 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2477 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2478 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2479 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2480 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2481 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2482 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2483 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2484 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2485 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2486 * nptl/sysdeps/i386/tls.h: Moved ...
2487 * sysdeps/i386/nptl/tls.h: ... here.
2489 * sysdeps/sh/Makefile [$(subdir) = csu]
2490 (gen-as-const-headers): Add tcb-offsets.sym.
2491 * nptl/sysdeps/sh/Makefile: File removed.
2492 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2493 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2494 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2495 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2496 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2497 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2498 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2499 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2500 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2501 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2502 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2503 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2504 * nptl/sysdeps/sh/tls.h: Moved ...
2505 * sysdeps/sh/nptl/tls.h: ... here.
2506 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2507 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2508 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2509 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2510 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2511 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2512 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2513 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2514 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2515 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2516 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2517 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2518 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2519 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2520 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2521 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2522 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2523 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2524 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2525 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2526 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2527 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2528 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2529 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2530 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2532 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2535 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2536 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2537 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2538 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2539 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2540 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2541 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2542 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2543 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2544 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2545 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2547 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2548 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2549 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2550 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2551 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2552 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2553 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2555 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2557 * posix/spawn_faction_addopen.c: Include string.h.
2559 2014-06-11 Roland McGrath <roland@hack.frob.com>
2561 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2562 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2563 * nptl/sysdeps/x86_64/Makefile: Moved ...
2564 * sysdeps/x86_64/nptl/Makefile: ... here.
2565 * nptl/sysdeps/x86_64/configure: Moved ...
2566 * sysdeps/x86_64/nptl/configure: ... here.
2567 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2568 * sysdeps/x86_64/nptl/configure.ac: ... here.
2569 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2570 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2571 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2572 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2573 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2574 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2575 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2576 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2577 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2578 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2579 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2580 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2581 * nptl/sysdeps/x86_64/tls.h: Moved ...
2582 * sysdeps/x86_64/nptl/tls.h: ... here.
2583 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2584 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2585 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2586 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2588 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2590 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2594 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2596 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2598 [POSIX] (off_t): Likewise.
2599 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2600 [POSIX] (S_ISBLK): Require macro.
2601 [POSIX] (S_ISCHR): Likewise.
2602 [POSIX] (S_ISDIR): Likewise.
2603 [POSIX] (S_ISFIFO): Likewise.
2604 [POSIX] (S_ISREG): Likewise.
2605 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2607 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2609 [POSIX] (time_t): Likewise.
2610 [POSIX] (timer_t): Likewise.
2612 2014-06-11 Florian Weimer <fweimer@redhat.com>
2615 * posix/spawn_int.h (struct __spawn_action): Make the path string
2616 non-const to support deallocation.
2617 * posix/spawn_faction_addopen.c
2618 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2619 * posix/spawn_faction_destroy.c
2620 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2621 path in all spawn_do_open actions.
2622 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2623 posix_spawn_file_actions_addopen.
2625 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2627 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2628 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2629 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2630 conditional code always true.
2631 (__libc_vfork): New alias.
2633 2014-06-11 Roland McGrath <roland@hack.frob.com>
2635 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2636 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2638 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2640 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2641 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2643 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2644 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2646 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2647 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2649 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2651 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2652 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2653 multiarch strcmp for PPC64.
2654 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2655 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2656 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2657 multiarch optimizations.
2658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2659 (__libc_ifunc_impl_list): Likewise.
2661 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2663 * benchtests/scripts/validate_benchout.py: New script.
2664 * benchtests/Makefile (bench-func): Call it.
2665 * benchtests/scripts/benchout.schema.json: New file.
2667 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2669 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2670 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2671 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2672 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2673 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2674 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2675 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2676 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2677 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2678 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2679 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2680 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2681 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2682 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2683 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2684 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2685 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2687 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2689 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2692 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2694 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2696 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2788 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2789 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2790 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2794 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2796 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2803 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2804 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2805 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2806 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2810 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2813 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2814 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2815 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2818 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2822 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2823 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2824 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2826 2014-06-10 Wilco <wdijkstr@arm.com>
2828 * math/test-fenv-return.c: New file.
2829 * math/Makefile: Add new test test-fenv-return.
2831 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2834 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2836 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2837 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2838 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2839 0.0L for an argument of 1.0L.
2840 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2842 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2843 value when x - 1 is zero.
2844 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2845 * sysdeps/i386/fpu/libm-test-ulps: Update.
2846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2848 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2851 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2853 2014-06-09 Roland McGrath <roland@hack.frob.com>
2855 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2856 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2858 2014-06-09 Roland McGrath <roland@hack.frob.com>
2860 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2861 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2863 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2864 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2866 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2867 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2869 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2870 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2872 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2873 if not already defined.
2874 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2875 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2876 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2877 (TLS_INIT_TP): Use it.
2878 (TLS_DEFINE_INIT_TP): New macro.
2879 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2881 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2883 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2885 [POSIX] (IXANY): Likewise.
2886 [POSIX] (OLCUC): Likewise.
2887 [POSIX || POSIX2008] (CBAUD): Do not allow.
2888 [POSIX || POSIX2008] (DEFECHO): Likewise.
2889 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2890 [POSIX || POSIX2008] (ECHOKE): Likewise.
2891 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2892 [POSIX || POSIX2008] (EXTA): Likewise.
2893 [POSIX || POSIX2008] (EXTB): Likewise.
2894 [POSIX || POSIX2008] (FLUSHO): Likewise.
2895 [POSIX || POSIX2008] (LOBLK): Likewise.
2896 [POSIX || POSIX2008] (PENDIN): Likewise.
2897 [POSIX || POSIX2008] (SWTCH): Likewise.
2898 [POSIX || POSIX2008] (VDISCARD): Likewise.
2899 [POSIX || POSIX2008] (VDSUSP): Likewise.
2900 [POSIX || POSIX2008] (VLNEXT): Likewise.
2901 [POSIX || POSIX2008] (VREPRINT): Likewise.
2902 [POSIX || POSIX2008] (VSTATUS): Likewise.
2903 [POSIX || POSIX2008] (VWERASE): Likewise.
2904 (B*): Change to B[0123456789]*.
2905 * conform/data/time.h-data [POSIX || UNIX98]
2906 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2907 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2908 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2909 [POSIX] (tm_*): Do not allow.
2911 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2913 * Makefile (install): Don't set LANGUAGE.
2914 * Makefile.in (install): Likewise.
2915 * assert/Makefile (test-assert-ENV): Remove variable.
2916 (test-assert-perr-ENV): Likewise.
2917 * elf/Makefile (neededtest4-ENV): Likewise.
2918 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2919 [$(cross-compiling) = no]: Don't set LANGUAGE.
2920 * io/ftwtest-sh (LANG): Remove variable.
2921 * libio/Makefile (tst-widetext-ENV): Likewise.
2922 * manual/install.texi (Running make install): Don't refer to
2923 environment settings for make install.
2924 * INSTALL: Regenerated.
2925 * nptl/tst-tls6.sh: Don't set LANG.
2926 * posix/globtest.sh (LANG): Remove variable.
2927 * string/Makefile (tester-ENV): Likewise.
2928 (inl-tester-ENV): Likewise.
2929 (noinl-tester-ENV): Likewise.
2930 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2931 [$(cross-compiling) = no]: Don't set LANGUAGE.
2932 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2933 without explicit environment settings.
2935 2014-06-06 Roland McGrath <roland@hack.frob.com>
2937 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2938 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2939 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2940 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2942 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2944 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2945 other files in the crypt directory.
2946 * crypt/crypt.c: Remove duplicate includes.
2947 * crypt/crypt-entry.c: Likewise.
2948 * crypt/crypt_util.c: Likewise.
2950 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2952 * Makeconfig (run-program-env): New variable.
2953 (run-program-prefix-before-env): Likewise.
2954 (run-program-prefix-after-env): Likewise.
2955 (run-program-prefix): Define in terms of new variables.
2956 (built-program-cmd-before-env): New variable.
2957 (built-program-cmd-after-env): Likewise.
2958 (built-program-cmd): Define in terms of new variables.
2959 (test-program-prefix-before-env): New variable.
2960 (test-program-prefix-after-env): Likewise.
2961 (test-program-prefix): Define in terms of new variables.
2962 (test-program-cmd-before-env): New variable.
2963 (test-program-cmd-after-env): Likewise.
2964 (test-program-cmd): Define in terms of new variables.
2965 * Rules (make-test-out): Use $(run-program-env).
2966 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2967 (help): Do not mention environment variables. Mention
2968 --timeoutfactor option.
2969 (timeoutfactor): New variable.
2970 (blacklist_exports): Remove function.
2971 (exports): Remove variable.
2972 (command): Do not include ${exports}.
2973 * manual/install.texi (Configuring and compiling): Do not mention
2974 test wrappers preserving environment variables. Mention that last
2975 assignment to a variable must take precedence.
2976 * INSTALL: Regenerated.
2977 * benchtests/Makefile (run-bench): Use $(run-program-env).
2978 * catgets/Makefile ($(objpfx)test1.cat): Use
2979 $(built-program-cmd-before-env), $(run-program-env) and
2980 $(built-program-cmd-after-env).
2981 ($(objpfx)test2.cat): Do not specify environment variables
2983 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2984 $(run-program-env) and $(built-program-cmd-after-env).
2985 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2986 $(run-program-env) and $(test-program-cmd-after-env).
2987 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2989 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2990 run_program_env and test_program_cmd_after_env arguments.
2991 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2992 * elf/tst-pathopt.sh: Use run_program_env argument.
2993 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2994 $(test-wrapper-env) and $(run-program-env).
2995 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2996 run_program_env arguments.
2997 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2998 * intl/Makefile ($(objpfx)tst-gettext.out): Use
2999 $(test-program-prefix-before-env), $(run-program-env) and
3000 $(test-program-prefix-after-env).
3001 ($(objpfx)tst-gettext2.out): Likewise.
3002 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3003 run_program_env and test_program_prefix_after_env arguments.
3004 * intl/tst-gettext2.sh: Likewise.
3005 * intl/tst-gettext4.sh: Do not set environment variables
3007 * intl/tst-gettext6.sh: Likewise.
3008 * intl/tst-translit.sh: Likewise.
3009 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3010 $(test-program-prefix-before-env), $(run-program-env) and
3011 $(test-program-prefix-after-env).
3012 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3013 run_program_env and test_program_prefix_after_env arguments.
3014 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3015 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3016 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3017 explicitly with each use of ${test_wrapper_env}.
3018 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3019 $(test-program-prefix-before-env), $(run-program-env) and
3020 $(test-program-prefix-after-env).
3021 * posix/tst-getconf.sh: Do not set environment variables
3023 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3024 run_program_env and test_program_prefix_after_env arguments.
3025 * stdio-common/tst-printf.sh: Do not set environment variables
3027 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3028 $(test-program-prefix-before-env), $(run-program-env) and
3029 $(test-program-prefix-after-env).
3030 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3031 run_program_env and test_program_prefix_after_env arguments.
3032 Split $test calls into $test_pre and $test.
3033 * timezone/Makefile (build-testdata): Use
3034 $(built-program-cmd-before-env), $(run-program-env) and
3035 $(built-program-cmd-after-env).
3037 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3039 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3040 strlen for non SHARED builds.
3042 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3044 * nptl/allocatestack.c (check_list): Inlined function...
3045 (__reclaim_stacks): ... here.
3047 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3050 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3053 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3055 * Rules (make-test-out): Include
3056 LOCPATH=$(common-objpfx)localedata in default environment.
3057 * debug/Makefile (tst-chk1-ENV): Remove variable.
3058 (tst-chk2-ENV): Likewise.
3059 (tst-chk3-ENV): Likewise.
3060 (tst-chk4-ENV): Likewise.
3061 (tst-chk5-ENV): Likewise.
3062 (tst-chk6-ENV): Likewise.
3063 (tst-lfschk1-ENV): Likewise.
3064 (tst-lfschk2-ENV): Likewise.
3065 (tst-lfschk3-ENV): Likewise.
3066 (tst-lfschk4-ENV): Likewise.
3067 (tst-lfschk5-ENV): Likewise.
3068 (tst-lfschk6-ENV): Likewise.
3069 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3070 (tst-iconv7-ENV): Likewise.
3071 * intl/Makefile (LOCPATH-ENV): Likewise.
3072 (tst-codeset-ENV): Likewise.
3073 (tst-gettext3-ENV): Likewise.
3074 (tst-gettext5-ENV): Likewise.
3075 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3076 (tst-fopenloc-ENV): Likewise.
3077 (tst-fgetws-ENV): Remove variable.
3078 (tst-ungetwc1-ENV): Likewise.
3079 (tst-ungetwc2-ENV): Likewise.
3080 (bug-ungetwc2-ENV): Likewise.
3081 (tst-swscanf-ENV): Likewise.
3082 (bug-ftell-ENV): Likewise.
3083 (tst-fgetwc-ENV): Likewise.
3084 (tst-fseek-ENV): Likewise.
3085 (tst-ftell-partial-wide-ENV): Likewise.
3086 (tst-ftell-active-handler-ENV): Likewise.
3087 (tst-ftell-append-ENV): Likewise.
3088 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3089 (tst-regexloc-ENV): Likewise.
3090 (bug-regex1-ENV): Likewise.
3091 (tst-regex-ENV): Likewise.
3092 (tst-regex2-ENV): Likewise.
3093 (bug-regex5-ENV): Likewise.
3094 (bug-regex6-ENV): Likewise.
3095 (bug-regex17-ENV): Likewise.
3096 (bug-regex18-ENV): Likewise.
3097 (bug-regex19-ENV): Likewise.
3098 (bug-regex20-ENV): Likewise.
3099 (bug-regex22-ENV): Likewise.
3100 (bug-regex23-ENV): Likewise.
3101 (bug-regex25-ENV): Likewise.
3102 (bug-regex26-ENV): Likewise.
3103 (bug-regex30-ENV): Likewise.
3104 (bug-regex32-ENV): Likewise.
3105 (bug-regex33-ENV): Likewise.
3106 (bug-regex34-ENV): Likewise.
3107 (bug-regex35-ENV): Likewise.
3108 (tst-rxspencer-ENV): Likewise.
3109 (tst-rxspencer-no-utf8-ENV): Likewise.
3110 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3111 (tst-sscanf-ENV): Likewise.
3112 (tst-swprintf-ENV): Likewise.
3113 (tst-swscanf-ENV): Likewise.
3114 (test-vfprintf-ENV): Likewise.
3115 (scanf13-ENV): Likewise.
3116 (bug14-ENV): Likewise.
3117 (tst-grouping-ENV): Likewise.
3118 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3119 (tst-strtod3-ENV): Likewise.
3120 (tst-strtod4-ENV): Likewise.
3121 (tst-strtod5-ENV): Likewise.
3122 (testmb2-ENV): Likewise./
3123 * string/Makefile (tst-strxfrm-ENV): Likewise.
3124 (tst-strxfrm2-ENV): Likewise.
3125 (bug-strcoll1-ENV): Likewise.
3126 (test-strcasecmp-ENV): Likewise.
3127 (test-strncasecmp-ENV): Likewise.
3128 * time/Makefile (tst-strptime-ENV): Likewise.
3129 (tst-ftime_l-ENV): Likewise.
3130 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3131 (tst-mbrtowc-ENV): Likewise.
3132 (tst-wcrtomb-ENV): Likewise.
3133 (tst-mbrtowc2-ENV): Likewise.
3134 (tst-c16c32-1-ENV): Likewise.
3135 (tst-mbsnrtowcs-ENV): Likewise.
3137 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3139 * manual/resource.texi (How to get information about the memory
3140 subsystem?): Fix typo.
3141 Reported by Peon de la Parra Ivan <peon@keba.com>
3143 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3146 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3147 (pthread_spin_lock): Branch out of spin loop to proper location.
3148 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3149 (pthread_spin_lock): Likewise.
3151 * nptl/tst-spin4.c: New test.
3152 * nptl/Makefile (tests): Add tst-spin4.
3154 2014-06-03 Andreas Schwab <schwab@suse.de>
3157 * resolv/res_send.c (send_dg): Reload file descriptor after
3160 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3162 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3164 2014-06-03 Richard Henderson <rth@redhat.com>
3166 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3167 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3168 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3169 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3170 in the SAVE_PID block.
3171 (__libc_vfork): New alias.
3172 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3174 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3175 child in registers, not on the stack. Remove RESET_PID conditionals.
3176 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3178 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3180 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3182 2014-06-03 Wilco <wdijkstr@arm.com>
3184 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3185 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3186 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3187 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3188 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3191 2014-06-03 Wilco <wdijkstr@arm.com>
3193 * sysdeps/aarch64/fpu/math_private.h
3194 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3195 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3196 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3197 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3200 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3202 * crypt/crypt-private.h: Include ufc-crypt.h.
3203 (__b64_from_24bit): Declare extern.
3204 * crypt/crypt_util.c(__b64_from_24bit): New function.
3205 (b64t): New static const variable.
3206 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3207 (b64t): Remove variable.
3208 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3209 * crypt/sha256-crypt.c: Include crypt-private.h.
3210 (b64t): Remove variable.
3211 (__sha256_crypt_r): Remove b64_from_24bit and replace
3212 with __b64_from_24bit.
3213 * crypt/sha512-crypt.c: Likewise.
3215 2014-06-02 Roland McGrath <roland@hack.frob.com>
3217 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3218 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3219 Label the code __libc_vfork rather than __vfork.
3220 [!NOT_IN_libc] (vfork): Define as weak alias.
3221 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3222 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3223 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3225 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3227 * malloc/malloc.c (malloc_info): Fix format specifier for
3230 2014-06-02 Wilco <wdijkstr@arm.com>
3232 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3235 2014-06-02 Wilco <wdijkstr@arm.com>
3238 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3239 Rewrite to reduce FPCR/FPSR accesses.
3241 2014-06-01 David S. Miller <davem@davemloft.net>
3243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3245 2014-05-31 David S. Miller <davem@davemloft.net>
3247 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3248 to occur in round to nearest mode when |x| >= 2.0
3250 2014-05-30 Richard Henderson <rth@twiddle.net>
3252 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3253 (PSEUDO_RET_NOERRNO): Remove.
3254 (ret): Don't redefine.
3255 (ret_NOERRNO): Define in terms of ret.
3256 (ret_ERRVAL): Likewise.
3258 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3259 use of PSEUDO_RET; perform the error check directly.
3261 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3263 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3266 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3268 * malloc/malloc (malloc_info): Fix formatting.
3270 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3271 Roland McGrath <roland@hack.frob.com>
3273 * malloc/malloc (malloc_info): Also print mmapped statistics.
3275 2014-05-30 Roland McGrath <roland@hack.frob.com>
3277 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3278 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3280 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3282 * malloc/malloc.c (malloc_info): Inline mi_arena.
3284 2014-05-29 Richard Henderson <rth@twiddle.net>
3286 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3287 Remove comma before expanding ASM_ARGS_##nr.
3288 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3289 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3291 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3292 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3293 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3294 (ASM_ARGS_1): Add leading comma.
3296 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3297 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3298 to __errno_location.
3299 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3300 Remove the expected plt for __errno_location.
3302 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3303 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3306 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3307 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3308 it and break it down.
3309 (DOCARGS_0, DOCARGS_1): Do nothing.
3310 (DOCARGS_2): Update to store into the new stack frame.
3311 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3312 (UNDOCARGS_1): Update to restore from the new stack frame.
3313 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3314 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3316 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3317 (SINGLE_THREAD_P): New parameter for result regno.
3318 (PSEUDO): Update to match; use cbz instead of beq.
3320 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3321 Use ENTRY to define the _nocancel entry point. Share the syscall
3322 and syscall error check paths with the cancel path.
3325 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3326 whitespace; tabs before and after asm mnemonics.
3328 2014-05-29 Eric Wong <normalperson@yhbt.net>
3331 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3332 Call fstat64 or stat64 internally, depending on arguments passed.
3333 Replace stat buffer argument with file descriptor argument.
3334 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3335 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3336 Pass fd to __internal_statvfs instead of calling fstat64.
3337 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3338 Pass fd to __internal_statvfs64 instead of calling fstat64.
3339 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3340 Pass -1 to __internal_statvfs instead of calling stat64.
3341 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3342 Pass -1 to __internal_statvfs64 instead of calling stat64.
3344 2014-05-28 Roland McGrath <roland@hack.frob.com>
3346 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3347 that was previously under [RESET_PID].
3348 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3350 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3351 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3353 2014-05-27 Roland McGrath <roland@hack.frob.com>
3355 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3357 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3358 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3360 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3362 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3364 2014-05-27 Andreas Schwab <schwab@suse.de>
3366 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3368 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3369 * elf/rtld.c (init_tls, dl_main): Likewise.
3370 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3371 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3372 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3373 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3374 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3375 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3376 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3377 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3378 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3379 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3380 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3381 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3382 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3383 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3384 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3385 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3386 * sysdeps/generic/tls.h: Update description.
3388 2014-05-27 Will Newton <will.newton@linaro.org>
3391 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3392 and restore r2 rather than just restoring.
3394 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3397 * libio/tst-ftell-append.c: New test case.
3398 * libio/Makefile (tests): Add test case.
3399 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3401 * libio/wfileops.c (do_ftell_wide): Likewise.
3403 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3407 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3411 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3412 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3413 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3414 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3415 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3416 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3417 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3423 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3424 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3425 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3426 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3427 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3429 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3430 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3432 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3434 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3436 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3437 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3438 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3440 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3441 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3442 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3443 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3445 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3448 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3451 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3454 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3458 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3466 conditional [RESET_PID].
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3470 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3475 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3476 (__libc_vfork): New strong alias.
3477 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3479 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3484 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3485 (__libc_vfork): New strong alias.
3486 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3488 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3491 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3493 * malloc/malloc.c (mi_arena): New function.
3494 (malloc_info): Remove nested function mi_arena. Call non-nosted
3497 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3499 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3501 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3502 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3503 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3504 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3505 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3506 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3507 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3509 2014-05-26 Andreas Schwab <schwab@suse.de>
3512 * locale/programs/repertoire.c (repertoire_read): Add slash
3513 between I18NPATH element and file name.
3514 * locale/programs/locfile.c (locfile_read): Likewise.
3516 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3518 * nptl/pthread_mutexattr_settype.c
3519 (__pthread_mutexattr_settype):
3520 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3522 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3524 * nptl/tst-mutex5 (do_test):
3525 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3527 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3529 * benchtests/README: Document 'init' directive.
3530 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3532 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3533 (parse_file): Recognize 'init' directive.
3535 2014-05-26 Kyle McMartin <kyle@redhat.com>
3538 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3539 alignment of struct pthread.
3541 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3544 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3545 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3546 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3547 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3549 2014-05-25 Richard Henderson <rth@twiddle.net>
3551 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3552 (SINGLE_THREAD_P_PIC): Remove.
3553 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3554 (SINGLE_THREAD_P_PIC): Remove.
3556 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3557 branch to syscall error ...
3559 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3560 from __local_syscall_error to .Lsyscall_error.
3561 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3562 (SYSCALL_ERROR): Update label name.
3564 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3565 Do not use DOARGS/UNDOARGS.
3566 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3567 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3568 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3569 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3570 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3572 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3575 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3576 define if !NOT_IN_libc.
3577 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3578 define with non-default symbol versions.
3580 2014-05-23 Richard Henderson <rth@twiddle.net>
3582 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3583 (vfork, __vfork): Define via compat_symbol.
3585 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3586 [!HAVE_IFUNC] (vfork_compat): Remove.
3587 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3589 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3592 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3593 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3596 2014-05-23 Richard Henderson <rth@twiddle.net>
3598 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3599 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3600 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3601 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3603 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3604 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3605 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3606 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3607 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3608 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3609 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3610 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3611 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3612 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3613 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3614 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3615 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3616 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3617 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3618 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3619 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3620 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3621 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3622 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3623 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3624 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3625 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3626 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3627 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3628 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3629 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3630 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3631 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3632 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3636 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3638 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3639 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3640 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3641 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3642 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3643 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3644 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3645 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3646 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3647 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3648 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3649 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3650 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3651 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3652 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3653 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3654 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3655 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3656 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3657 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3658 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3660 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3661 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3662 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3663 before exiting on error.
3664 (__libc_vfork): New strong alias.
3665 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3666 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3668 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3669 that was previously under [RESET_PID].
3670 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3672 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3674 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3677 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3678 value when x - 1 is zero.
3679 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3680 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3681 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3682 0.0L for an argument of 1.0L.
3683 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3685 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3686 value when x - 1 is zero.
3687 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3691 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3693 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3694 alphasort and versionsort.
3696 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3698 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3700 [copysignf]: Likewise.
3702 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3704 * crypt/md5-crypt.c: Fix formatting.
3706 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3708 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3709 (b64_from_24bit): New function.
3711 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3713 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3714 libc_hidden_builtin_def to ifunc.
3715 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3716 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3718 2014-05-21 Roland McGrath <roland@hack.frob.com>
3720 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3721 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3723 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3725 * nscd/Depend (linuxthreads): Remove.
3727 * resolv/Depend (linuxthreads): Remove.
3728 * rt/Depend (linuxthreads): Remove.
3730 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3731 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3732 $(common-objpfx)elf/.
3733 (link-libc-before-gnulib): Likewise.
3734 (elfobjdir): Remove variable.
3735 * Makefile (install): Use $(elf-objpfx) instead of
3736 $(common-objpfx)elf/.
3737 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3739 (link-libc-deps): Likewise.
3740 ($(common-objpfx)libc.so): Likewise.
3741 ($(common-objpfx)linkobj/libc.so): Likewise.
3742 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3743 instead of $(common-objpfx)elf/.
3744 (symbolic-link-list): Likewise.
3745 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3746 [$(cross-compiling) = no]: Likewise.
3747 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3749 (static-gnulib-arch): Likewise.
3750 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3751 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3752 $(common-objpfx)elf/.
3754 2014-05-21 Richard Henderson <rth@redhat.com>
3756 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3757 (SINGLE_THREAD_P): Use the correct width load. Fold
3758 into the ldr offset.
3760 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3761 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3763 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3765 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3766 (libgcc_s_resume): Use __attribute_used__.
3767 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3770 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3772 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3773 optimization when used with float constants.
3775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3777 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3780 * locale/nl_langinfo_l.c: Make direct reference to every
3781 _nl_current_CATEGORY symbol.
3782 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3783 (tests-static): Add tst-langinfo-static.
3784 (tests-special): Add tst-langinfo-static.out.
3785 ($(objpfx)tst-langinfo.out): Redirect output.
3786 ($(objpfx)tst-langinfo-static.out): New.
3787 * localedata/tst-langinfo.sh: Send output to stdout.
3788 * localedata/tst-langinfo-static.c: New file.
3791 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3792 when the shift amount is modulo the limb size.
3794 2014-05-20 Richard Henderson <rth@redhat.com>
3797 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3798 Change type of sa_flags from unsigned int to int.
3801 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3803 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3805 2014-05-20 Will Newton <will.newton@linaro.org>
3807 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3808 Test the return value of the system call in the nocancel case.
3810 2014-05-20 Will Newton <will.newton@linaro.org>
3811 Yvan Roux <yvan.roux@linaro.org>
3813 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3814 #include of asm/ptrace.h.
3815 (PTRACE_GET_THREAD_AREA): Remove #undef.
3816 (PTRACE_GETHBPREGS): Likewise.
3817 (PTRACE_SETHBPREGS): Likewise.
3818 (struct user_regs_struct): New structure.
3819 (struct user_fpsimd_struct): New structure.
3820 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3821 #include of asm/ptrace.h and second #include of sys/user.h.
3822 (PTRACE_GET_THREAD_AREA): Remove #undef.
3823 (PTRACE_GETHBPREGS): Likewise.
3824 (PTRACE_SETHBPREGS): Likewise.
3825 (ELF_NGREG): Use new struct user_regs_struct.
3826 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3828 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3830 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3831 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3833 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3836 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3837 membar to avoid block loads/stores to overlap previous stores.
3839 2014-05-17 Richard Henderson <rth@redhat.com>
3841 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3842 Create the __##syscall_name##_nocancel entry point.
3843 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3844 Remove; let the sysdep-cancel.h code create it.
3846 2014-05-17 David S. Miller <davem@davemloft.net>
3848 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3849 Protect with __USE_GNU.
3850 (TIOCSET_TEMPT): Likewise.
3851 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3852 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3853 these are already provided in bits/ioctl-types.h
3855 2014-05-16 Roland McGrath <roland@hack.frob.com>
3857 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3858 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3860 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3861 Use wait4 regardless of [__NR_waitpid].
3863 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3866 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3867 (_FP_NANSIGN_Q): Set the quiet bit.
3869 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3871 * benchtests/Makefile
3872 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3873 not $(common-objpfx)math/libm.so.
3874 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3875 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3876 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3877 $(common-objpfx)dlfcn/libdl.so.
3878 ($(objpfx)tst-audit8): Depend on $(libm), not
3879 $(common-objpfx)math/libm.so.
3880 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3881 not $(common-objpfx)dlfcn/libdl.so.
3883 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3884 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3885 [$(build-shared) = yes].
3886 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3887 $(common-objpfx)nptl/libpthread.so.
3888 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3889 $(common-objpfx)math/libm.so$(libm.so-version) or
3890 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3891 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3892 $(common-objpfx)dlfcn/libdl.so.
3893 * setjmp/Makefile (link-libm): Remove variable.
3894 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3895 * stdio-common/Makefile (link-libm): Remove variable.
3896 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3897 * stdlib/Makefile (link-libm): Remove variable.
3898 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3899 ($(objpfx)tst-strtod-round): Likewise.
3900 ($(objpfx)tst-tininess): Likewise.
3901 ($(objpfx)tst-strtod-underflow): Likewise.
3902 ($(objpfx)tst-strtod6): Likewise.
3903 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3904 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3905 $(common-objpfx)dlfcn/libdl.so.
3907 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3909 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3910 BSD terminal modes definitions.
3912 2014-05-16 Roland McGrath <roland@hack.frob.com>
3914 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3915 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3917 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3918 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3919 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3920 Don't do #include_next.
3921 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3922 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3923 Don't do #include_next.
3924 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3925 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3926 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3927 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3929 2014-05-16 Allan McRae <allan@archlinux.org>
3931 * po/sv.po: Update Swedish translation from translation project.
3933 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3936 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3939 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3940 errno if the TIOCGPTN ioctl fails with an error different than
3942 * login/tst-ptsname.c: New file.
3943 * login/Makefile (tests): Add tst-ptsname.
3946 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3949 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3952 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3953 herrno to return EAI_AGAIN.
3955 2014-05-14 Roland McGrath <roland@hack.frob.com>
3957 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3958 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3959 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3960 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3961 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3962 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3963 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3964 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3966 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3967 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3968 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3969 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3970 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3971 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3972 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3973 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3974 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3975 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3976 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3977 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3978 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3979 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3980 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3981 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3982 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3983 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3984 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3985 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3986 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3988 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3990 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3993 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3995 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3997 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3999 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4001 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4003 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4005 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4007 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4009 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4011 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4013 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4015 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4017 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4019 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4022 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4024 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4025 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4026 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4028 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4030 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4032 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4034 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4036 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4038 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4040 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4043 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4047 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4048 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4049 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4050 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4051 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4052 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4053 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4054 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4055 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4056 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4057 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4058 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4059 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4060 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4061 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4062 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4063 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4064 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4065 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4066 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4067 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4068 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4069 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4070 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4071 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4072 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4073 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4075 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4077 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4079 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4080 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4082 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4083 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4084 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4086 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4089 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4090 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4092 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4093 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4095 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4098 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4099 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4100 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4101 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4103 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4104 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4105 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4107 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4108 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4109 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4110 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4112 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4113 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4115 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4117 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4118 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4120 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4123 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4125 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4127 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4128 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4129 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4130 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4131 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4134 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4135 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4137 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4138 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4140 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4143 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4144 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4145 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4146 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4148 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4149 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4150 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4152 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4153 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4154 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4155 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4157 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4158 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4160 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4162 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4163 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4165 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4168 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4170 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4172 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4173 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4174 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4175 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4176 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4177 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4178 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4180 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4181 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4183 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4184 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4186 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4189 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4192 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4193 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4194 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4196 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4199 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4200 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4201 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4202 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4203 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4204 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4205 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4208 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4209 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4211 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4213 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4214 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4216 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4219 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4221 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4223 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4224 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4225 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4226 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4227 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4229 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4231 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4232 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4233 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4235 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4236 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4238 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4239 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4241 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4242 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4243 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4244 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4245 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4246 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4247 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4248 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4249 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4250 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4251 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4252 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4253 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4254 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4255 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4256 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4257 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4258 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4260 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4261 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4262 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4263 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4265 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4266 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4267 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4268 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4269 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4270 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4271 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4272 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4274 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4275 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4277 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4278 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4279 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4280 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4281 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4282 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4283 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4284 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4285 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4286 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4287 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4288 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4289 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4290 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4291 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4292 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4293 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4296 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4297 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4298 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4299 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4301 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4302 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4304 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4305 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4306 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4307 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4308 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4309 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4310 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4313 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4315 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4316 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4318 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4320 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4321 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4322 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4323 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4324 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4325 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4326 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4327 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4328 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4333 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4335 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4337 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4341 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4343 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4349 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4350 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4352 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4354 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4355 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4356 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4357 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4358 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4359 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4360 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4361 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4362 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4363 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4365 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4366 that was previously under [RESET_PID].
4367 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4368 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4369 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4371 * sysdeps/i386/nptl/Implies: New file.
4372 * sysdeps/x86_64/nptl/Implies: New file.
4373 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4374 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4375 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4376 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4378 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4379 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4380 (__libc_vfork): New strong alias.
4381 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4382 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4384 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4385 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4386 (__libc_vfork): New strong alias.
4387 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4388 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4390 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4391 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4392 (__libc_vfork): New strong alias.
4393 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4394 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4395 * nptl/pt-vfork.c: New file.
4396 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4397 (libpthread: GLIBC_2.20): New version set (empty).
4399 2014-05-14 Will Newton <will.newton@linaro.org>
4401 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4404 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4407 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4408 arguments with exponent 65 or above.
4409 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4410 arguments 0x1p113L or above.
4411 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4412 to arguments 0x1p107L or above.
4413 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4414 positive arguments with exponent 65 or above.
4415 * math/auto-libm-test-in: Add more tests of log1p.
4416 * math/auto-libm-test-out: Regenerated.
4419 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4420 non-finite arguments is +0.
4421 * math/s_cacosf.c (__cacosf): Likewise.
4422 * math/s_cacosl.c (__cacosl): Likewise.
4423 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4424 * sysdeps/i386/fpu/libm-test-ulps: Update.
4425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4428 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4430 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4431 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4432 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4433 for explicit high bit of mantissa when testing for argument equal
4435 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4436 * sysdeps/i386/fpu/libm-test-ulps: Update.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4441 (__erf): Scale by 16 instead of 8 in potentially underflowing
4442 case. Ensure exception if result actually underflows.
4443 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4444 (__erff): Scale by 16 instead of 8 in potentially underflowing
4445 case. Ensure exception if result actually underflows.
4446 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4447 (efx8): Remove variable.
4448 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4449 case. Ensure exception if result actually underflows.
4450 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4451 (efx8): Remove variable.
4452 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4453 case. Ensure exception if result actually underflows.
4454 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4455 (efx8): Remove variable.
4456 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4457 case. Ensure exception if result actually underflows.
4458 * math/auto-libm-test-in: Add more tests of erf.
4459 * math/auto-libm-test-out: Regenerated.
4461 2014-05-14 Andreas Schwab <schwab@suse.de>
4463 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4464 Remove code conditionalized on USE___THREAD.
4466 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4467 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4470 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4472 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4473 Define unconditionally.
4474 (__ASSUME_O_CLOEXEC): Likewise.
4475 (__ASSUME_SOCK_CLOEXEC): Likewise.
4476 (__ASSUME_IN_NONBLOCK): Likewise.
4477 (__ASSUME_PIPE2): Likewise.
4478 (__ASSUME_EVENTFD2): Likewise.
4479 (__ASSUME_SIGNALFD4): Likewise.
4480 (__ASSUME_DUP3): Likewise.
4481 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4482 (__ASSUME_DUP3): Do not define.
4483 (__ASSUME_EVENTFD2): Likewise.
4484 (__ASSUME_IN_NONBLOCK): Likewise.
4485 (__ASSUME_O_CLOEXEC): Likewise.
4486 (__ASSUME_PIPE2): Likewise.
4487 (__ASSUME_SIGNALFD4): Likewise.
4488 (__ASSUME_SOCK_CLOEXEC): Likewise.
4489 (__ASSUME_UTIMES): Undefine.
4490 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4491 (__ASSUME_UTIMES): Do not define.
4492 (__ASSUME_O_CLOEXEC): Likewise.
4493 (__ASSUME_SOCK_CLOEXEC): Likewise.
4494 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4495 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4497 (__ASSUME_PIPE2): Likewise.
4498 (__ASSUME_EVENTFD2): Likewise.
4499 (__ASSUME_SIGNALFD4): Likewise.
4500 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4501 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4503 (__ASSUME_EVENTFD2): Likewise.
4504 (__ASSUME_SIGNALFD4): Likewise.
4505 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4506 (__ASSUME_32BITUIDS): Likewise.
4507 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4508 (__ASSUME_IPC64): Likewise.
4509 (__ASSUME_ST_INO_64_BIT): Likewise.
4510 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4511 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4512 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4513 (__ASSUME_UTIMES): Do not define.
4514 (__ASSUME_PSELECT): Likewise.
4515 (__ASSUME_PPOLL): Likewise.
4516 (__ASSUME_O_CLOEXEC): Likewise.
4517 (__ASSUME_SOCK_CLOEXEC): Likewise.
4518 (__ASSUME_IN_NONBLOCK): Likewise.
4519 (__ASSUME_PIPE2): Likewise.
4520 (__ASSUME_EVENTFD2): Likewise.
4521 (__ASSUME_SIGNALFD4): Likewise.
4522 (__ASSUME_DUP3): Likewise.
4523 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4524 (__ASSUME_UTIMES): Likewise.
4525 (__ASSUME_O_CLOEXEC): Likewise.
4526 (__ASSUME_SOCK_CLOEXEC): Likewise.
4527 (__ASSUME_IN_NONBLOCK): Likewise.
4528 (__ASSUME_PIPE2): Likewise.
4529 (__ASSUME_EVENTFD2): Likewise.
4530 (__ASSUME_SIGNALFD4): Likewise.
4531 (__ASSUME_DUP3): Likewise.
4532 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4533 (__ASSUME_UTIMES): Likewise.
4534 (__ASSUME_O_CLOEXEC): Likewise.
4535 (__ASSUME_SOCK_CLOEXEC): Likewise.
4536 (__ASSUME_IN_NONBLOCK): Likewise.
4537 (__ASSUME_PIPE2): Likewise.
4538 (__ASSUME_EVENTFD2): Likewise.
4539 (__ASSUME_SIGNALFD4): Likewise.
4540 (__ASSUME_DUP3): Likewise.
4541 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4543 (__ASSUME_UTIMES): Likewise.
4544 (__ASSUME_EVENTFD2): Likewise.
4545 (__ASSUME_SIGNALFD4): Likewise.
4546 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4547 (__ASSUME_O_CLOEXEC): Likewise.
4548 (__ASSUME_SOCK_CLOEXEC): Likewise.
4549 (__ASSUME_IN_NONBLOCK): Likewise.
4550 (__ASSUME_PIPE2): Likewise.
4551 (__ASSUME_EVENTFD2): Likewise.
4552 (__ASSUME_SIGNALFD4): Likewise.
4553 (__ASSUME_DUP3): Likewise.
4554 (__ASSUME_UTIMES): Undefine.
4556 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4557 feclearexcept. Remove symbol versioning code.
4558 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4559 symbol versioning code.
4560 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4561 symbol versioning code.
4562 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4563 feupdateenv. Remove symbol versioning code.
4564 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4565 fegetexceptflag. Remove symbol versioning code.
4566 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4567 fesetexceptflag. Remove symbol versioning code.
4568 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4569 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4570 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4571 (__posix_fadvise64_l32): Remove prototype.
4572 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4575 2014-05-13 Roland McGrath <roland@hack.frob.com>
4577 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4578 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4579 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4580 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4582 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4584 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4585 current working directory
4587 2014-05-13 Roland McGrath <roland@hack.frob.com>
4589 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4590 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4591 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4592 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4593 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4594 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4595 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4596 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4598 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4599 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4602 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4603 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4604 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4605 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4606 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4607 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4608 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4610 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4611 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4612 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4613 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4614 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4615 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4616 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4617 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4618 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4619 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4620 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4621 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4622 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4623 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4624 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4625 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4626 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4627 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4628 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4629 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4630 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4632 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4633 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4635 * sysdeps/unix/sysv/linux/arm/Makefile
4636 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4637 Add rt-aeabi_unwind_cpp_pr1.
4638 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4639 Add nptl-aeabi_unwind_cpp_pr1.
4640 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4641 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4642 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4643 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4644 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4645 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4647 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4648 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4649 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4650 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4652 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4653 Deconditionalize the code that was previously under [RESET_PID].
4654 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4656 * sysdeps/generic/exit-thread.h: New file.
4657 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4658 * include/unistd.h (__exit_thread): Remove declaration.
4659 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4660 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4661 * csu/libc-start.c: Include <exit-thread.h>.
4662 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4663 * nptl/pthread_create.c: Include <exit-thread.h>.
4664 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4665 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4666 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4667 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4668 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4669 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4670 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4671 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4672 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4673 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4674 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4675 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4676 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4677 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4678 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4679 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4680 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4682 2014-05-13 Andreas Schwab <schwab@suse.de>
4684 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4686 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4688 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4689 (__ASSUME_UTIMES): Do not condition on kernel version.
4690 (__ASSUME_PSELECT): Define unconditionally.
4691 (__ASSUME_PPOLL): Likewise.
4692 (__ASSUME_ATFCTS): Likewise.
4693 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4694 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4695 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4696 (__ASSUME_UTIMENSAT): Define unconditionally.
4697 (__ASSUME_PRIVATE_FUTEX): Likewise.
4698 (__ASSUME_FALLOCATE): Likewise.
4699 (__ASSUME_O_CLOEXEC): Likewise.
4700 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4701 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4702 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4703 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4704 (__ASSUME_IN_NONBLOCK): Likewise.
4705 (__ASSUME_PIPE2): Likewise.
4706 (__ASSUME_EVENTFD2): Likewise.
4707 (__ASSUME_SIGNALFD4): Likewise.
4708 (__ASSUME_DUP3): Likewise.
4709 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4710 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4711 (__ASSUME_AT_RANDOM): Likewise.
4712 (__ASSUME_PREADV): Likewise.
4713 (__ASSUME_PWRITEV): Likewise.
4714 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4715 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4716 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4717 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4718 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4719 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4720 (__ASSUME_O_CLOEXEC): Define unconditionally.
4721 (__ASSUME_PSELECT): Do not undefine conditionally.
4722 (__ASSUME_PPOLL): Likewise.
4723 (__ASSUME_ATFCTS): Likewise.
4724 (__ASSUME_SET_ROBUST_LIST): Likewise.
4725 (__ASSUME_UTIMENSAT): Likewise.
4726 (__ASSUME_FDATASYNC): Define unconditionally.
4727 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4728 (__ASSUME_SIGFRAME_V2): Likewise.
4729 )__ASSUME_EVENTFD2): Likewise.
4730 (__ASSUME_SIGNALFD4): Likewise.
4731 (__ASSUME_PSELECT): Do not undefine conditionally.
4732 (__ASSUME_PPOLL): Likewise.
4733 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4734 (__ASSUME_PSELECT): Define unconditionally.
4735 (__ASSUME_PPOLL): Likewise.
4736 (__ASSUME_O_CLOEXEC): Likewise.
4737 (__ASSUME_SOCK_CLOEXEC): Likewise.
4738 (__ASSUME_IN_NONBLOCK): Likewise.
4739 (__ASSUME_PIPE2): Likewise.
4740 (__ASSUME_EVENTFD2): Likewise.
4741 (__ASSUME_SIGNALFD4): Likewise.
4742 (__ASSUME_DUP3): Likewise.
4743 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4744 (__ASSUME_O_CLOEXEC): Likewise.
4745 (__ASSUME_SOCK_CLOEXEC): Likewise.
4746 (__ASSUME_IN_NONBLOCK): Likewise.
4747 (__ASSUME_PIPE2): Likewise.
4748 (__ASSUME_EVENTFD2): Likewise.
4749 (__ASSUME_SIGNALFD4): Likewise.
4750 (__ASSUME_DUP3): Likewise.
4751 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4752 (__ASSUME_EVENTFD2): Likewise.
4753 (__ASSUME_SIGNALFD4): Likewise.
4754 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4756 2014-05-12 Andreas Schwab <schwab@suse.de>
4759 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4760 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4761 than maximum RPC packet size.
4762 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4763 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4764 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4765 (_nss_nis_getservbyport_r): Likewise.
4767 2014-05-12 Will Newton <will.newton@linaro.org>
4769 * malloc/Makefile (tests): Add tst-mallopt.
4770 * malloc/tst-mallopt.c: New file.
4772 2014-05-09 Roland McGrath <roland@hack.frob.com>
4774 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4775 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4777 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4780 (tst-tlsmod6.so): Likewise.
4782 2014-05-09 Roland McGrath <roland@hack.frob.com>
4784 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4786 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4789 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4790 and <dl-procinfo.h>.
4791 (__fegetenv): Save SSE state in envp->__eip if supported.
4792 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4793 envp->__eip if supported.
4794 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4795 and <dl-procinfo.h>.
4796 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4797 __data_offset and __data_selector in environment to 0. Set SSE
4799 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4801 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4803 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4805 2014-05-09 Will Newton <will.newton@linaro.org>
4807 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4808 and libc_relro_required for ARM.
4809 * sysdeps/arm/preconfigure: Regenerate.
4811 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4812 Stefan Liebler <stli@linux.vnet.ibm.com>
4814 * config.make.in (enable-lock-elision): New Makefile variable.
4815 * configure.ac: Likewise.
4816 * configure: Regenerate.
4817 * sysdeps/s390/configure.ac:
4818 Add check for gcc transactions support.
4819 * sysdeps/s390/configure: Regenerate.
4820 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4821 Build elision files if enabled.
4822 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4823 Add lock elision support for s390.
4824 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4825 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4826 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4827 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4828 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4829 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4830 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4832 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4834 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4836 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4838 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4839 (__lll_timedlock_elision, __lll_lock_elision)
4840 (__lll_unlock_elision, __lll_trylock_elision)
4841 (lll_timedlock_elision, lll_lock_elision)
4842 (lll_unlock_elision, lll_trylock_elision): Add.
4843 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4844 (pthread_mutex_t): Add lock elision support for s390.
4846 2014-05-14 Wilco <wdijkstr@arm.com>
4848 * sysdeps/arm/fclrexcpt.c: Cleanup.
4849 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4850 * sysdeps/arm/feenablxcpt.c: Cleanup.
4851 * sysdeps/arm/fegetenv.c: Cleanup.
4852 * sysdeps/arm/fegetexcept.c: Cleanup.
4853 * sysdeps/arm/fegetround.c: Cleanup.
4854 * sysdeps/arm/feholdexcpt.c: Cleanup.
4855 * sysdeps/arm/fesetenv.c: Cleanup.
4856 * sysdeps/arm/fesetround.c: Cleanup.
4857 * sysdeps/arm/feupdateenv.c: Cleanup.
4858 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4859 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4860 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4861 * sysdeps/arm/ftestexcept.c: Cleanup.
4862 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4863 * sysdeps/arm/setfpucw.c: Cleanup.
4865 2014-05-09 Will Newton <will.newton@linaro.org>
4867 * sysdeps/arm/armv7/strcmp.S: New file.
4868 * NEWS: Mention addition of ARMv7 optimized strcmp.
4870 2014-05-08 Roland McGrath <roland@hack.frob.com>
4872 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4873 look for %.ac rather than %.in.
4875 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4876 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4877 * sysdeps/mach/hurd/configure: Regenerated.
4878 * sysdeps/unix/sysv/linux/configure: Regenerated.
4880 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4882 2014-05-07 Steve Ellcey <sellcey@mips.com>
4885 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4889 2014-05-07 Andreas Schwab <schwab@suse.de>
4891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4892 when skipping over non-matching result from nscd.
4894 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4897 * nptl/sockperf.c (client): Check socket return value.
4900 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4901 nscd security class.
4903 2014-05-06 Roland McGrath <roland@hack.frob.com>
4905 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4906 * sysdeps/arm/unwind.h: ... here.
4908 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4911 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4914 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4916 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4917 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4918 multiarch strncpy for PPC64.
4919 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4920 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4922 multiarch optimizations.
4923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4924 (__libc_ifunc_impl_list): Likewise.
4925 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4926 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4927 multiarch stpncpy for PPC64.
4928 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4929 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4931 2014-05-06 Andreas Schwab <schwab@suse.de>
4934 * gmon/mcount.c (_MCOUNT_DECL): Use
4935 atomic_compare_and_exchange_bool_acq instead of
4936 catomic_compare_and_exchange_bool_acq.
4938 2014-05-05 Roland McGrath <roland@hack.frob.com>
4940 * elf/Makefile (others, install-bin): Remove pldd.
4941 (pldd-modules): Variable removed.
4942 ($(objpfx)pldd): Target removed.
4943 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4944 (others, install-bin): Append pldd here.
4945 ($(objpfx)pldd): New target.
4947 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4948 to 0, so the first #if test emitted later doesn't see it undefined.
4949 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4950 * sysdeps/gnu/errlist.c: Regenerated.
4952 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4954 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4955 [libc_hidden_builtin_def]: Define to empty value.
4956 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4957 [libc_hidden_builtin_def]: Likewise.
4958 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4959 [libc_hidden_builtin_def]: Likewise.
4960 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4961 [libc_hidden_builtin_def]: Likewise.
4962 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4963 __redirect_memcpy and define ifunc as default hidden symbol.
4964 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4965 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4967 2014-05-04 Adam Conrad <adconrad@0c3.net>
4969 * locale/iso-4217.def: Reintroduce XDR currency.
4971 2014-05-04 Allan McRae <allan@archlinux.org>
4973 * po/eo.po: Update Esperanto translation from translation project.
4975 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4977 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4978 and FEATURE_INDEX_MAX to 1.
4979 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4981 2014-05-01 Steve Ellcey <sellcey@mips.com>
4983 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4984 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4985 * iconvdata/big5.c (ONE_DIRECTION): Define.
4986 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4987 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4988 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4989 * iconvdata/cp932.c (ONE_DIRECTION): Define.
4990 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4991 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4992 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4993 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4994 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4995 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4996 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4997 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4998 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4999 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5000 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5001 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5002 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5003 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5004 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5005 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5006 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5007 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5008 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5009 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5010 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5011 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5012 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5013 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5014 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5015 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5016 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5017 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5018 * iconvdata/johab.c (ONE_DIRECTION): Define.
5019 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5020 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5021 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5022 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5023 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5024 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5025 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5026 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5027 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5028 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5030 2014-05-01 Roland McGrath <roland@hack.frob.com>
5032 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5033 (_IO_JUMPS_OFFSET): Define to 0.
5035 * nptl/sysdeps/pthread/bits/libc-lock.h
5036 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5037 (__libc_lock_define_initialized_recursive): Always define using
5038 initializer. Modern compilers treat uninitialized (implicit zero) and
5039 explicit zero initializers the same (i.e. put the datum in bss).
5041 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5043 * nscd/nscd-client.h: Include <string.h>.
5045 2014-05-01 David S. Miller <davem@davemloft.net>
5048 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5049 multiple zero bytes exist at the end of a string.
5050 Reported by Aurelien Jarno <aurelien@aurel32.net>
5052 * string/test-strcmp.c (check): Add explicit test for situations where
5053 there are multiple zero bytes after the first.
5055 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5058 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5059 when compiling wprintf.
5060 * stdio-common/tstdiomisc.c (t3): New function.
5063 2014-05-01 Steve Ellcey <sellcey@mips.com>
5065 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5066 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5067 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5068 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5070 2014-05-01 Steve Ellcey <sellcey@mips.com>
5072 * stdlib/longlong.h: Updated from GCC.
5074 2014-05-01 Will Newton <will.newton@linaro.org>
5075 Bernard Ogden <bernie.ogden@linaro.org>
5077 * NEWS: Update fixed bug list.
5080 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5082 2014-04-30 David S. Miller <davem@davemloft.net>
5084 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5085 (libc_feholdexcept_setround_sparc_ctx): New function.
5086 (libc_fesetenv_sparc_ctx): Likewise.
5087 (libc_feupdateenv_sparc_ctx): Likewise.
5088 (libc_feholdsetround_sparc_ctx): Likewise.
5089 (libc_feholdexcept_setround_ctx): Define.
5090 (libc_feholdexcept_setroundf_ctx): Likewise.
5091 (libc_feholdexcept_setroundl_ctx): Likewise.
5092 (libc_fesetenv_ctx): Likewise.
5093 (libc_fesetenvf_ctx): Likewise.
5094 (libc_fesetenvl_ctx): Likewise.
5095 (libc_feupdateenv_ctx): Likewise.
5096 (libc_feupdateenvf_ctx): Likewise.
5097 (libc_feupdateenvl_ctx): Likewise.
5098 (libc_feresetround_ctx): Likewise.
5099 (libc_feresetroundf_ctx): Likewise.
5100 (libc_feresetroundl_ctx): Likewise.
5101 (libc_feholdsetround_ctx): Likewise.
5102 (libc_feholdsetroundf_ctx): Likewise.
5103 (libc_feholdsetroundl_ctx): Likewise.
5105 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5106 with __USE_GNU instead of XOPEN cpp guards.
5108 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5112 with XOPEN cpp guards.
5114 2014-04-30 Julian Brown <julian@codesourcery.com>
5117 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5120 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5123 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5125 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5126 * sysdeps/unix/sysv/linux/configure: Regenerated.
5127 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5128 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5129 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5130 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5131 * README: Update reference to required Linux kernel version.
5132 * manual/install.texi (Linux): Update reference to required Linux
5133 kernel headers version.
5134 * INSTALL: Regenerated.
5136 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5138 [POSIX] (limits.h): Likewise.
5139 [POSIX] (math.h): Likewise.
5140 [POSIX] (sys/wait.h): Likewise.
5141 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5143 [POSIX] (stddef.h): Do not allow header inclusion.
5145 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5147 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5149 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5151 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5152 Return immediately after lll_futex_wake.
5154 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5157 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5159 (datahead_init_pos): Call datahead_init_common early.
5160 (datahead_init_neg): Likewise.
5162 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5163 datahead_init_neg): New functions.
5164 * nscd/aicache.c (addhstaiX): Use them.
5165 * nscd/grpcache.c (cache_addgr): Likewise.
5166 * nscd/hstcache.c (cache_addhst): Likewise.
5167 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5168 * nscd/netgroupcache.c (do_notfound): Likewise.
5169 (addgetnetgrentX): Likewise.
5170 (addinnetgrX): Likewise.
5171 * nscd/pwdcache.c (cache_addpw): Likewise.
5172 * nscd/servicescache.c (cache_addserv): Likewise.
5174 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5175 Atsushi Onoe <atsushi@onoe.org>
5180 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5181 one response is valid.
5182 * resolv/res_send.c (send_dg): Check for validity of other
5183 response if the current response is a referral.
5185 2014-04-29 Steve Ellcey <sellcey@mips.com>
5187 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5189 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5192 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5193 Always divide by positive zero when computing -Inf result.
5194 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5195 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5197 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5199 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5200 FPSCR if value do not change.
5201 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5202 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5203 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5204 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5205 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5206 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5209 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5211 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5212 * sysdeps/unix/sysv/linux/hppa: Move directory from
5213 ports/systeps/unix/sysv/linux/hppa.
5214 * README: Update listing for hppa-*-linux-gnu.
5216 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5219 * manual/stdio.texi (Hook functions): Fix types of stream hook
5222 * socket/sys/socket.h: Fix typo in comment.
5224 2014-04-28 Wilco <wdijkstr@arm.com>
5226 * sysdeps/arm/fenv_private.h: New file.
5227 * sysdeps/arm/math_private.h: New file.
5228 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5230 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5232 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5234 (La_x86_64_retval): Likewise.
5236 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5238 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5239 fpsr if value didn't change.
5240 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5241 to fpcr if value didn't change.
5242 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5243 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5244 fpsr or fpcr if value didn't change.
5245 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5246 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5247 fpcr if value didn't change.
5248 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5249 to fpsr if value didn't change.
5251 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5253 * nptl/tst-sem3.c: Use test-skeleton.c
5254 (main): Rename to do_test. Use return instead of
5256 * nptl/tst-sem4.c: Use test-skeleton.c
5257 (main): Rename to do_test.
5259 2014-04-22 David S. Miller <davem@davemloft.net>
5261 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5262 (struct sigaction): New struct member __glibc_reserved0, change
5263 type of sa_flags to int.
5265 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5267 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5268 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5270 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5272 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5273 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5275 2014-04-22 Will Newton <will.newton@linaro.org>
5276 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5278 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5279 (__longjmp): Add longjmp and longjmp_target SystemTap
5281 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5282 (__sigsetjmp): Add setjmp SystemTap probe.
5284 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5286 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5289 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5291 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5293 * sysdeps/powerpc/fpu/fenv_private.h
5294 (libc_feholdexcept_setroundl_ctx): Define to
5295 libc_feholdexcept_setround_ppc_ctx.
5296 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5297 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5298 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5299 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5301 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5303 * sysdeps/aarch64/math-tests.h: New file.
5305 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5307 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5309 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5310 Check and set bit_AVX2_Usable.
5311 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5313 (bit_AVX2): Likewise.
5314 (index_AVX2_Usable): Likewise.
5315 (CPUID_AVX2): Likewise.
5316 (HAS_AVX2): Likewise.
5318 2014-04-17 Will Newton <will.newton@linaro.org>
5320 * manual/setjmp.texi (System V contexts): Add note that
5321 calling setcontext on a context created by a call to a
5322 signal handler is undefined. Update text to note that
5323 setcontext from a signal handler is possible but not
5327 * stdlib/tst-setcontext.c: Include signal.h.
5328 (main): Check that the signal stack before and
5329 after swapcontext is the same.
5331 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5332 Re-implement to restore registers in user code and avoid
5333 rt_sigreturn system call.
5335 2014-04-17 Wilco <wdijkstr@arm.com>
5337 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5338 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5339 * math/test-fenv.c: Skip exception trap tests on targets which only
5340 support non-stop mode.
5342 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5343 Wilco Dijkstra <wilco.dijkstra@arm.com>
5345 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5346 (libc_feholdsetround_aarch64_ctx)
5347 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5348 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5349 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5350 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5351 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5352 (libc_feresetround_noexl_ctx): Define.
5354 2014-04-16 Richard Henderson <rth@redhat.com>
5356 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5358 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5361 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5362 const from the non-libc, non-ldso copy.
5364 * sysdeps/alpha/libm-test-ulps: Regenerate.
5366 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5367 Wilco Dijkstra <wilco.dijkstra@arm.com>
5369 * sysdeps/aarch64/fpu/math_private.h: New file.
5371 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5373 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5375 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5377 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5378 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5380 Intel MPX bound registers before _dl_profile_fixup.
5381 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5382 registers after _dl_profile_fixup. Save and restore bound
5383 registers bnd0/bnd1 when calling _dl_call_pltexit.
5384 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5385 (LR_BND_OFFSET): Likewise.
5386 (LRV_BND0_OFFSET): Likewise.
5387 (LRV_BND1_OFFSET): Likewise.
5389 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5391 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5393 * sysdeps/mach/hurd/i386/tls.h: ... here.
5394 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5395 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5398 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5400 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5402 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5404 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5406 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5409 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5410 * sysdeps/s390/configure: Regenerate.
5413 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5414 Set round-to-nearest internally to reduce error accumulation.
5416 2014-04-16 Alan Modra <amodra@gmail.com>
5420 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5421 * math/libm-test.inc (frexp_test_data): Add tests.
5422 * NEWS: Update fixed bug list.
5424 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5426 * benchtests/Makefile: Depend on libraries in build directory.
5427 (bench-math): Separate out math tests.
5428 (bench-pthread): Separate out pthread tests.
5429 (bench): Include math and pthread tests.
5431 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5434 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5435 _dl_debug_initialize.
5437 * configure.ac: Remove SELinux header check.
5438 * configure: Regenerate.
5439 * nscd/selinux.c (perms): Array of const char* to permission names.
5440 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5441 default policy. Call string_to_security_class and string_to_av_perm to
5442 translate strings. Enforce default policy and call avs_has_perm with
5443 results of translated strings.
5445 2014-04-13 David S. Miller <davem@davemloft.net>
5447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5449 2014-04-12 Allan McRae <allan@archlinux.org>
5452 * manual/string.texi (Collation Functions): Fix qsort argument
5454 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5456 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5458 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5459 Make the test a no-op if there are no exceptions defined.
5461 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5463 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5464 enable-hardcoded-path-in-tests
5466 2014-04-11 Will Newton <will.newton@linaro.org>
5468 * benchtests/Makefile (extra-objs): Add json-lib.o.
5469 (bench-func): Tidy up JSON output.
5470 * benchtests/bench-skeleton.c: Include json-lib.h.
5471 (main): Use JSON library functions to do output of
5473 * benchtests/bench-timing-type.c (main): Output the
5474 timing type simply, leaving formatting to the user.
5475 * benchtests/json-lib.c: New file.
5476 * benchtests/json-lib.h: Likewise.
5478 2014-04-11 Torvald Riegel <triegel@redhat.com>
5481 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5482 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5483 memory barriers. Add comments.
5484 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5485 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5486 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5487 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5488 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5489 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5491 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5493 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5494 * sysdeps/s390/s390-64/configure.ac: ... this ...
5495 * sysdeps/s390/configure.ac: ... to here.
5496 * sysdeps/s390/s390-32/configure: Delete file.
5497 * sysdeps/s390/s390-64/configure: Delete file.
5498 * sysdeps/s390/configure: Regenerate.
5500 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5502 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5504 2014-04-11 Will Newton <will.newton@linaro.org>
5506 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5507 to zero if it is not defined elsewhere. (mtrim): Test
5508 the value of MALLOC_DEBUG with #if rather than #ifdef.
5510 2014-04-10 Torvald Riegel <triegel@redhat.com>
5512 * benchtests/pthread_once-inputs: New file.
5513 * benchtests/pthread_once-source.c: New file.
5514 * benchtests/README: Update documentation.
5516 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5517 H.J. Lu <hongjiu.lu@intel.com>
5519 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5520 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5521 * sysdeps/x86_64/configure: Regenerated.
5522 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5524 (REGISTER_SAVE_RAX): Likewise.
5525 (REGISTER_SAVE_RCX): Likewise.
5526 (REGISTER_SAVE_RDX): Likewise.
5527 (REGISTER_SAVE_RSI): Likewise.
5528 (REGISTER_SAVE_RDI): Likewise.
5529 (REGISTER_SAVE_R8): Likewise.
5530 (REGISTER_SAVE_R9): Likewise.
5531 (REGISTER_SAVE_BND0): Likewise.
5532 (REGISTER_SAVE_BND1): Likewise.
5533 (REGISTER_SAVE_BND2): Likewise.
5534 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5535 bound registers when calling _dl_fixup.
5537 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5539 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5540 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5542 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5543 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5544 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5545 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5546 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5547 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5548 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5550 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5553 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5554 pathconf(_PC_NAME_MAX).
5556 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5558 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5560 (__PTHREAD_SPINS): Move definition to ...
5561 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5562 (__PTHREAD_SPINS): ... here.
5563 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5564 (__PTHREAD_SPIN): Likewise.
5565 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5566 (__PTHREAD_SPIN): Likewise.
5567 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5568 (__PTHREAD_SPIN): Likewise.
5569 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5570 (__PTHREAD_SPIN): Likewise.
5571 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5572 (__PTHREAD_SPIN): Likewise.
5573 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5574 (__PTHREAD_SPIN): Likewise.
5575 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5576 (__PTHREAD_SPIN): Likewise.
5577 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5578 (__PTHREAD_SPIN): Likewise.
5579 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5580 (__PTHREAD_SPIN): Likewise.
5581 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5582 (__PTHREAD_SPIN): Likewise.
5583 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5584 (__PTHREAD_SPIN): Likewise.
5585 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5586 (__PTHREAD_SPIN): Likewise.
5588 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5589 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5590 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5591 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5593 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5594 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5595 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5596 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5598 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5599 strlen symbol for non multi-arch builds.
5600 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5601 missing hidden_def and weak_alias.
5603 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5605 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5607 2014-04-07 Will Newton <will.newton@linaro.org>
5609 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5610 and contents. [!_LIBC] Remove #ifndef and contents.
5611 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5612 * string/memccpy.c (__memccpy): Use ANSI prototype.
5613 * string/memfrob.c (memfrob): Likewise.
5614 * string/strcoll.c (STRCOLL): Likewise.
5615 * string/strlen.c (strlen): Likewise.
5616 * string/strtok.c (STRTOK): Likewise.
5617 * string/strcat.c: Remove unused #include of memcopy.h.
5618 (strcat): Use ANSI prototype.
5619 * string/strchr.c: Remove unused #include of memcopy.h.
5620 (strchr): Use ANSI prototype.
5621 * string/strcmp.c: Remove unused #include of memcopy.h.
5622 (strcmp): Use ANSI prototype.
5623 * string/strcpy.c: Remove unused #include of memcopy.h.
5624 (strcpy): Use ANSI prototype.
5626 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5628 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5629 * config.make.in (config-extra-cppflags): Set it from
5630 libc_extra_cppflags.
5631 * configure.ac (libc_extra_cflags): Make it accumulate over
5632 configure fragments.
5633 (libc_extra_cppflags): New flag.
5634 * configure. Regenerate.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5636 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5637 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5641 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5642 result for FE_DOWNWARD rounding mode.
5643 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5647 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5649 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5650 in function argument name.
5652 2014-04-03 David Svoboda <svoboda@cert.org>
5655 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5658 2014-04-03 Roland McGrath <roland@hack.frob.com>
5660 * elf/dl-unmap-segments.h: New file.
5661 * sysdeps/generic/ldsodefs.h
5662 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5663 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5664 * elf/dl-fptr.c: Likewise.
5665 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5666 * sysdeps/aarch64/tlsdesc.c: Likewise.
5667 * sysdeps/arm/tlsdesc.c: Likewise.
5668 * sysdeps/i386/tlsdesc.c: Likewise.
5669 * sysdeps/tile/dl-runtime.c: Likewise.
5670 * sysdeps/x86_64/tlsdesc.c: Likewise.
5671 * elf/dl-load.h: New file.
5672 * elf/dl-load.c: Include it.
5673 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5674 Macros moved to dl-load.h.
5675 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5676 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5677 Use _dl_unmap_segments in place of __munmap.
5678 Break out segment-mapping loop into ...
5679 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5681 2014-04-03 Will Newton <will.newton@linaro.org>
5683 * elf/dl-lookup.c (do_lookup_x): Remove comment
5684 referring to nested function and move variable
5685 declarations down to before first use.
5687 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5691 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5693 * math/s_catanf.c (__catanf): Likewise.
5694 * math/s_catanh.c (__catanh): Likewise.
5695 * math/s_catanhf.c (__catanhf): Likewise.
5696 * math/s_catanhl.c (__catanhl): Likewise.
5697 * math/s_catanl.c (__catanl): Likewise.
5698 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5699 by positive zero when computing -Inf result.
5700 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5701 (catanh_test): Likewise.
5702 * sysdeps/i386/fpu/libm-test-ulps: Update.
5703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5706 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5707 instead of using underflowing value in computing result.
5708 * math/s_clog10.c (__clog10): Likewise.
5709 * math/s_clog10f.c (__clog10f): Likewise.
5710 * math/s_clog10l.c (__clog10l): Likewise.
5711 * math/s_clogf.c (__clogf): Likewise.
5712 * math/s_clogl.c (__clogl): Likewise.
5713 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5714 (clog10_test): Likewise.
5715 * sysdeps/i386/fpu/libm-test-ulps: Update.
5716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5718 2014-04-02 Alan Modra <amodra@gmail.com>
5721 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5722 output when value is near a power of two. Use int64_t for lx and
5723 remove casts. Use decimal rather than hex exponent constants.
5724 Don't use long double multiplication when double will suffice.
5725 * math/libm-test.inc (nextafter_test_data): Add tests.
5726 * NEWS: Add 16739 and 16786 to bug list.
5728 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5730 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5732 2014-04-01 Will Newton <will.newton@linaro.org>
5734 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5735 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5737 2014-04-01 Florian Weimer <fweimer@redhat.com>
5740 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5741 * nptl/tst-setuid2.c: New file.
5742 * nptl/Makefile (xtests): Add tst-setuid2.
5744 2014-04-01 Alan Modra <amodra@gmail.com>
5747 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5749 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5753 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5754 set errno as appropriate.
5755 * math/w_scalbf.c (__scalbf): Likewise.
5756 * math/w_scalbl.c (__scalbl): Likewise.
5757 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5758 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5759 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5763 * math/w_atan2.c: Include <errno.h>.
5764 (__atan2): Set errno for result underflowing to zero.
5765 * math/w_atan2f.c: Include <errno.h>.
5766 (__atan2f): Set errno for result underflowing to zero.
5767 * math/w_atan2l.c: Include <errno.h>.
5768 (__atan2l): Set errno for result underflowing to zero.
5769 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5771 * math/auto-libm-test-out: Regenerated.
5773 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5775 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5776 Encode instruction correctly in little endian.
5777 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5779 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5781 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5786 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5789 * sysdeps/unix/sysv/linux/kernel-features.h
5790 [__sparc__ && !__arch64__ && !__sparc_v9__]
5791 (__ASSUME_SET_ROBUST_LIST): Do not define.
5792 [__sparc__ && !__arch64__ && !__sparc_v9__]
5793 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5794 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5796 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5797 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5798 (__ASSUME_REQUEUE_PI): Likewise.
5799 (__ASSUME_SET_ROBUST_LIST): Likewise.
5800 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5801 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5804 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5806 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5808 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5810 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5811 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5813 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5814 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5818 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5819 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5820 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5822 2014-03-31 Will Newton <will.newton@linaro.org>
5824 * benchtests/Makefile (bench): Add ffs and ffsll to list
5826 * benchtests/ffs-inputs: New file.
5827 * benchtests/ffsll-inputs: Likewise.
5829 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5832 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5833 too large before casting to int.
5834 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5835 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5836 * math/libm-test.inc (scalb_test_data): Add more tests.
5838 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5840 * benchtests/Makefile (DETAILED_OPT): New make option.
5841 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5843 * benchtests/bench-skeleton.c: Include stdbool.h.
5844 (main): Store and print timings per input.
5845 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5846 member to each argument value.
5847 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5848 (_print_arg_data): Initialize per-input timing to 0.
5850 * benchtests/Makefile (timing-type): New binary.
5851 (bench-clean): Also remove bench-timing-type.
5852 (bench): New target for timing-type.
5853 (bench-func): Print output in JSON format.
5854 * benchtests/bench-skeleton.c (main): Print output in JSON
5856 * benchtests/bench-timing-type.c: New file.
5857 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5858 (TIMING_PRINT_STATS): Remove.
5859 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5862 * benchtests/bench-modf.c: Remove.
5863 * benchtests/modf-inputs: New inputs file.
5865 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5868 * math/s_clog10.c (M_PI_LOG10E): New macro.
5869 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5870 imaginary parts are 0.
5871 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5872 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5873 imaginary parts are 0.
5874 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5875 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5876 imaginary parts are 0.
5877 * math/libm-test.inc (clog10_test_data): Update expected results
5878 for when real and imaginary parts are 0.
5880 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5882 * elf/dl-load.c: Finish conversion of __builtin_expect into
5885 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5888 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5889 1+x for argument with exponent below -67.
5890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5892 * math/auto-libm-test-in: Add more tests of exp.
5893 * math/auto-libm-test-out: Regenerated.
5895 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5898 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5899 (nscd_getnetgrent): Use it.
5902 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5905 2014-03-27 Andi Kleen <ak@linux.intel.com>
5907 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5908 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5909 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5910 (lll_robust_unlock): Remove out of line section. Use cfi
5912 (LLL_STUB_UNWIND_INFO*): Remove.
5913 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5914 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5915 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5916 (lll_robust_unlock): Remove out of line section. Use cfi
5918 (LLL_STUB_UNWIND_INFO*): Remove.
5920 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5923 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5926 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5928 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5930 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5933 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5935 * math/test-fenv-preserve.c: New file.
5936 * math/Makefile (tests): Add test-fenv-preserve.
5938 2014-03-26 Will Newton <will.newton@linaro.org>
5940 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5942 2014-03-25 Roland McGrath <roland@hack.frob.com>
5944 * scripts/versionlist.awk: Partition the version sets and emit all
5945 GLIBC_* (sorted) before all others (sorted).
5947 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5949 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5950 GLIBC_2.2.5 version.
5952 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5954 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5957 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5962 2014-03-25 Andreas Schwab <schwab@suse.de>
5964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5965 label to be used after in6ailist is initialized.
5967 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5970 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5972 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5976 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5978 (fp_formats): Update initializers.
5979 (init_fp_formats): Initialize new field.
5980 (output_for_one_input_case): Allow underflow for results up to
5982 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5983 * math/auto-libm-test-in: Don't mark some underflows from asin and
5985 * math/auto-libm-test-out: Regenerated.
5986 * sysdeps/i386/fpu/libm-test-ulps: Update.
5987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5989 2014-03-25 Andreas Schwab <schwab@suse.de>
5991 * libio/Makefile (tst-ftell-partial-wide-ENV)
5992 (tst-ftell-active-handler-ENV): Define.
5994 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
5996 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5998 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6000 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6002 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6004 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6005 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6006 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6008 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6011 * elf/dl-load.c (open_verify): Add mode parameter.
6012 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6013 (open_path): Change from boolean 'secure' to complete flag 'mode'
6014 (_dl_map_object): Adjust.
6015 * elf/Makefile (tests): Add tst-dlopen-aout.
6016 * elf/tst-dlopen-aout.c: New test.
6018 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6021 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6022 (struct stat): Rename member pad0 to __glibc_reserved0.
6025 * sysdeps/s390/s390-32/bits/wordsize.h
6026 (__WORDSIZE32_SIZE_ULONG): New define.
6027 * sysdeps/s390/s390-64/bits/wordsize.h
6028 (__WORDSIZE32_SIZE_ULONG): Likewise.
6029 * sysdeps/generic/stdint.h (SIZE_MAX):
6030 Define as UL if __WORDSIZE32_SIZE_ULONG.
6033 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6034 (__glibc_reserved0): New variable.
6035 (sa_flags): Change type to int.
6037 * posix/Makefile (before-compile): Use += before-compile instead
6040 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6041 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6043 2014-03-20 Andreas Schwab <schwab@suse.de>
6046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6047 non-matching result from nscd.
6049 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6051 * scripts/bench.py: Moved to ...
6052 * benchtests/scripts/bench.py: ... here.
6053 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6055 2014-03-24 Andreas Schwab <schwab@suse.de>
6058 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6059 alloca_account and account alloca use for struct in6ailist.
6061 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6064 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6065 rounding mode to recompute results that overflow to infinity or
6067 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6069 * math/auto-libm-test-out: Regenerated.
6070 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6071 (ccosh_test): Likewise.
6072 (csin_test_data): Use plus_oflow.
6073 (csin_test): Use ALL_RM_TEST.
6074 (csinh_test_data): Use plus_oflow.
6075 (csinh_test): Use ALL_RM_TEST.
6076 * sysdeps/i386/fpu/libm-test-ulps: Update.
6077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6079 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6081 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6082 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6083 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6086 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6088 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6089 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6090 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6091 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6093 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6094 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6096 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6100 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6102 * scripts/bench.pl: Remove file.
6103 * scripts/bench.py: New benchmark script.
6104 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6105 * benchtests/README: Mention python dependency.
6106 * scripts/pylintrc: New file.
6107 * scripts/pylint: New file.
6109 * bits/mathdef.h: Use #ifdef instead of #if.
6110 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6111 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6112 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6113 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6114 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6115 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6117 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6118 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6120 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6122 and strpbrk-ppc64 objects.
6123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6124 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6125 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6126 multiarch strpbrk for POWER7.
6127 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6128 multiarch strpbrk for PPC64.
6129 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6131 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6134 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6136 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6137 (atan_test): Likewise.
6138 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6139 (atanh_test): Use ALL_RM_TEST.
6140 (atan2_test_data): Likewise.
6141 (cabs_test): Likewise.
6142 (cacosh_test): Likewise.
6143 (carg_test): Likewise.
6144 (casin_test): Likewise.
6145 (casinh_test): Likewise.
6146 (cbrt_test): Likewise.
6147 (csqrt_test): Likewise.
6148 (erf_test): Likewise.
6149 (erfc_test): Likewise.
6150 (pow10_test): Likewise.
6151 (exp2_test): Likewise.
6152 (hypot_test): Likewise.
6153 (j0_test): Likewise.
6154 (j1_test): Likewise.
6155 (lgamma_test): Likewise.
6156 (gamma_test): Likewise.
6157 (sincos_test): Likewise.
6158 (tanh_test): Likewise.
6159 (y0_test): Likewise.
6160 (y1_test): Likewise.
6161 * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6164 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6166 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6168 and strcspn-ppc64 objects.
6169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6170 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6171 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6172 multiarch strcspn for POWER7.
6173 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6174 multiarch strcspn for PPC64.
6175 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6177 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6180 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6182 * math/gen-libm-test.pl (generate_testfile): Expect only function
6183 name as argument to AUTO_TESTS_* and pass results for all rounding
6184 modes to parse_args.
6185 (parse_auto_input): Separate inputs of automatic tests from
6186 outputs before storing in %auto_tests.
6187 * math/libm-test.inc (acos_test_data): Update call to
6189 (acos_test): Use ALL_RM_TEST.
6190 (acos_tonearest_test_data): Remove.
6191 (acos_test_tonearest): Likewise.
6192 (acos_towardzero_test_data): Likewise.
6193 (acos_test_towardzero): Likewise.
6194 (acos_downward_test_data): Likewise.
6195 (acos_test_downward): Likewise.
6196 (acos_upward_test_data): Likewise.
6197 (acos_test_upward): Likewise.
6198 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6199 (asin_test_data): Likewise.
6200 (asin_test): Use ALL_RM_TEST.
6201 (asin_tonearest_test_data): Remove.
6202 (asin_test_tonearest): Likewise.
6203 (asin_towardzero_test_data): Likewise.
6204 (asin_test_towardzero): Likewise.
6205 (asin_downward_test_data): Likewise.
6206 (asin_test_downward): Likewise.
6207 (asin_upward_test_data): Likewise.
6208 (asin_test_upward): Likewise.
6209 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6210 (atan_test_data): Likewise.
6211 (atanh_test_data): Likewise.
6212 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6213 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6214 (carg_test_data): Likewise.
6215 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6216 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6217 (ccosh_test_data): Likewise.
6218 (cexp_test_data): Likewise.
6219 (clog_test_data): Likewise.
6220 (clog10_test_data): Likewise.
6221 (cos_test_data): Update call to AUTO_TESTS_f_f.
6222 (cos_test): Use ALL_RM_TEST.
6223 (cos_tonearest_test_data): Remove.
6224 (cos_test_tonearest): Likewise.
6225 (cos_towardzero_test_data): Likewise.
6226 (cos_test_towardzero): Likewise.
6227 (cos_downward_test_data): Likewise.
6228 (cos_test_downward): Likewise.
6229 (cos_upward_test_data): Likewise.
6230 (cos_test_upward): Likewise.
6231 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6232 (cosh_test): Use ALL_RM_TEST.
6233 (cosh_tonearest_test_data): Remove.
6234 (cosh_test_tonearest): Likewise.
6235 (cosh_towardzero_test_data): Likewise.
6236 (cosh_test_towardzero): Likewise.
6237 (cosh_downward_test_data): Likewise.
6238 (cosh_test_downward): Likewise.
6239 (cosh_upward_test_data): Likewise.
6240 (cosh_test_upward): Likewise.
6241 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6242 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6243 (ctan_test_data): Likewise.
6244 (ctan_test): Use ALL_RM_TEST.
6245 (ctan_tonearest_test_data): Remove.
6246 (ctan_test_tonearest): Likewise.
6247 (ctan_towardzero_test_data): Likewise.
6248 (ctan_test_towardzero): Likewise.
6249 (ctan_downward_test_data): Likewise.
6250 (ctan_test_downward): Likewise.
6251 (ctan_upward_test_data): Likewise.
6252 (ctan_test_upward): Likewise.
6253 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6254 (ctanh_test): Use ALL_RM_TEST.
6255 (ctanh_tonearest_test_data): Remove.
6256 (ctanh_test_tonearest): Likewise.
6257 (ctanh_towardzero_test_data): Likewise.
6258 (ctanh_test_towardzero): Likewise.
6259 (ctanh_downward_test_data): Likewise.
6260 (ctanh_test_downward): Likewise.
6261 (ctanh_upward_test_data): Likewise.
6262 (ctanh_test_upward): Likewise.
6263 (erf_test_data): Update call to AUTO_TESTS_f_f.
6264 (erfc_test_data): Likewise.
6265 (exp_test_data): Likewise.
6266 (exp_test): Use ALL_RM_TEST.
6267 (exp_tonearest_test_data): Remove.
6268 (exp_test_tonearest): Likewise.
6269 (exp_towardzero_test_data): Likewise.
6270 (exp_test_towardzero): Likewise.
6271 (exp_downward_test_data): Likewise.
6272 (exp_test_downward): Likewise.
6273 (exp_upward_test_data): Likewise.
6274 (exp_test_upward): Likewise.
6275 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6276 (exp10_test): Use ALL_RM_TEST.
6277 (exp10_tonearest_test_data): Remove.
6278 (exp10_test_tonearest): Likewise.
6279 (exp10_towardzero_test_data): Likewise.
6280 (exp10_test_towardzero): Likewise.
6281 (exp10_downward_test_data): Likewise.
6282 (exp10_test_downward): Likewise.
6283 (exp10_upward_test_data): Likewise.
6284 (exp10_test_upward): Likewise.
6285 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6286 (expm1_test_data): Likewise.
6287 (expm1_test): Use ALL_RM_TEST.
6288 (expm1_tonearest_test_data): Remove.
6289 (expm1_test_tonearest): Likewise.
6290 (expm1_towardzero_test_data): Likewise.
6291 (expm1_test_towardzero): Likewise.
6292 (expm1_downward_test_data): Likewise.
6293 (expm1_test_downward): Likewise.
6294 (expm1_upward_test_data): Likewise.
6295 (expm1_test_upward): Likewise.
6296 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6297 (fma_test): Use ALL_RM_TEST.
6298 (fma_towardzero_test_data): Remove.
6299 (fma_test_towardzero): Likewise.
6300 (fma_downward_test_data): Likewise.
6301 (fma_test_downward): Likewise.
6302 (fma_upward_test_data): Likewise.
6303 (fma_test_upward): Likewise.
6304 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6305 (j0_test_data): Update call to AUTO_TESTS_f_f.
6306 (j1_test_data): Likewise.
6307 (jn_test_data): Update call to AUTO_TESTS_if_f.
6308 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6309 (log_test_data): Update call to AUTO_TESTS_f_f.
6310 (log10_test_data): Likewise.
6311 (log1p_test_data): Likewise.
6312 (log2_test_data): Likewise.
6313 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6314 (pow_tonearest_test_data): Likewise.
6315 (sin_test_data): Update call to AUTO_TESTS_f_f.
6316 (sin_test): Use ALL_RM_TEST.
6317 (sin_tonearest_test_data): Remove.
6318 (sin_test_tonearest): Likewise.
6319 (sin_towardzero_test_data): Likewise.
6320 (sin_test_towardzero): Likewise.
6321 (sin_downward_test_data): Likewise.
6322 (sin_test_downward): Likewise.
6323 (sin_upward_test_data): Likewise.
6324 (sin_test_upward): Likewise.
6325 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6326 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6327 (sinh_test): Use ALL_RM_TEST.
6328 (sinh_tonearest_test_data): Remove.
6329 (sinh_test_tonearest): Likewise.
6330 (sinh_towardzero_test_data): Likewise.
6331 (sinh_test_towardzero): Likewise.
6332 (sinh_downward_test_data): Likewise.
6333 (sinh_test_downward): Likewise.
6334 (sinh_upward_test_data): Likewise.
6335 (sinh_test_upward): Likewise.
6336 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6337 (sqrt_test): Use ALL_RM_TEST.
6338 (sqrt_tonearest_test_data): Remove.
6339 (sqrt_test_tonearest): Likewise.
6340 (sqrt_towardzero_test_data): Likewise.
6341 (sqrt_test_towardzero): Likewise.
6342 (sqrt_downward_test_data): Likewise.
6343 (sqrt_test_downward): Likewise.
6344 (sqrt_upward_test_data): Likewise.
6345 (sqrt_test_upward): Likewise.
6346 (tan_test_data): Update call to AUTO_TESTS_f_f.
6347 (tan_test): Use ALL_RM_TEST.
6348 (tan_tonearest_test_data): Remove.
6349 (tan_test_tonearest): Likewise.
6350 (tan_towardzero_test_data): Likewise.
6351 (tan_test_towardzero): Likewise.
6352 (tan_downward_test_data): Likewise.
6353 (tan_test_downward): Likewise.
6354 (tan_upward_test_data): Likewise.
6355 (tan_test_upward): Likewise.
6356 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6357 (tgamma_test_data): Likewise.
6358 (y0_test_data): Likewise.
6359 (y1_test_data): Likewise.
6360 (yn_test_data): Update call to AUTO_TESTS_if_f.
6361 (main): Do not call removed functions.
6363 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6365 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6366 (ldexp_test_data): Remove.
6367 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6369 (scalb_test): Use ALL_RM_TEST.
6371 2014-03-19 Andreas Schwab <schwab@suse.de>
6373 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6375 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6378 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6379 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6380 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6381 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6382 (__ASSUME_PREADV): Undefine.
6383 (__ASSUME_PWRITEV): Likewise.
6385 2014-03-18 Roland McGrath <roland@hack.frob.com>
6387 * bits/mman-linux.h: Add comment about non-Linux use.
6388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6389 bits/mman-linux.h resting place.
6391 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6392 * bits/mman-linux.h: ... here.
6394 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396 * conform/conformtest.pl: Add standard definition when calling C
6397 preprocessor on data files.
6398 (checknamespace): Remove unused variable.
6400 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6402 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6403 minus_oflow, plus_uflow and minus_uflow in expected results.
6404 * math/libm-test.inc (scalbn_test_data): Add more tests of
6405 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6407 (scalbn_test): Use ALL_RM_TEST.
6408 (scalbln_test_data): Add more tests of negative arguments. Use
6409 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6410 (scalbln_test): Use ALL_RM_TEST.
6412 2014-03-18 Roland McGrath <roland@hack.frob.com>
6414 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6416 2014-03-18 Will Newton <will.newton@linaro.org>
6418 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6421 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6423 * Makerules [!subdir] (check-abi): Exit with error status if a
6426 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6428 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6429 for rint. Include results for all rounding modes.
6430 (nearbyint_test): Use ALL_RM_TEST.
6431 (rint_test_data): Include all tests used for nearbyint.
6433 2014-03-17 Will Newton <will.newton@linaro.org>
6435 * nptl/sysdeps/pthread/pthread.h: Revert previous
6438 * sysdeps/generic/ldsodefs.h: Revert previous
6441 * libio/genops.c: Revert previous change.
6442 * libio/libioP.h: Likewise.
6443 * stdio-common/vfprintf.c: Likewise.
6445 * sysdeps/generic/math_private.h: Revert previous
6448 * sysdeps/generic/math_private.h: Check whether
6449 HAVE_RM_CTX is defined with #ifdef rather
6452 * argp/argp-fmtstream.h: Check whether
6453 __STRICT_ANSI__ is defined with #ifdef rather
6455 * argp/argp.h: Likewise.
6457 * libio/genops.c: Check whether
6458 _IO_JUMPS_OFFSET is defined with #ifdef rather
6460 * libio/libioP.h: Likewise.
6461 * stdio-common/vfprintf.c: Likewise.
6463 * sysdeps/generic/ldsodefs.h: Check whether
6464 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6467 * nptl/sysdeps/pthread/pthread.h: Check
6468 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6471 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6473 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6475 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6479 * libio/fileops.c (_IO_file_open): Seek to end of file but
6480 don't cache the offset.
6481 (get_file_offset): Remove function.
6482 (do_ftell): Use cached offset when available.
6483 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6484 don't cache the offset.
6485 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6487 (do_one_test): Call it.
6488 (do_ftell_test): Fix up expected old offset for a+ mode.
6489 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6492 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6493 up test status with function return status.
6494 (do_write_test): Likewise.
6495 (do_append_test): Likewise.
6497 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6498 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6501 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6503 * math/gen-libm-test.pl (parse_args): Handle results specified for
6504 each rounding mode separately.
6505 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6506 tests and results from lrint_tonearest_test_data,
6507 lrint_towardzero_test_data, lrint_downward_test_data and
6508 lrint_upward_test_data.
6509 (lrint_test): Use ALL_RM_TEST.
6510 (lrint_tonearest_test_data): Remove.
6511 (lrint_test_tonearest): Likewise.
6512 (lrint_towardzero_test_data): Likewise.
6513 (lrint_test_towardzero): Likewise.
6514 (lrint_downward_test_data): Likewise.
6515 (lrint_test_downward): Likewise.
6516 (lrint_upward_test_data): Likewise.
6517 (lrint_test_upward): Likewise.
6518 (llrint_test_data): Merge in per-rounding-mode tests and results
6519 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6520 llrint_downward_test_data and llrint_upward_test_data.
6521 (llrint_test): Use ALL_RM_TEST.
6522 (llrint_tonearest_test_data): Remove.
6523 (llrint_test_tonearest): Likewise.
6524 (llrint_towardzero_test_data): Likewise.
6525 (llrint_test_towardzero): Likewise.
6526 (llrint_downward_test_data): Likewise.
6527 (llrint_test_downward): Likewise.
6528 (llrint_upward_test_data): Likewise.
6529 (llrint_test_upward): Likewise.
6530 (rint_test_data): Merge in per-rounding-mode tests and results
6531 from rint_tonearest_test_data, rint_towardzero_test_data,
6532 rint_downward_test_data and rint_upward_test_data. Add
6533 per-rounding-mode results for tests not in those arrays.
6534 (rint_test): Use ALL_RM_TEST.
6535 (rint_tonearest_test_data): Remove.
6536 (rint_test_tonearest): Likewise.
6537 (rint_towardzero_test_data): Likewise.
6538 (rint_test_towardzero): Likewise.
6539 (rint_downward_test_data): Likewise.
6540 (rint_test_downward): Likewise.
6541 (rint_upward_test_data): Likewise.
6542 (rint_test_upward): Likewise.
6543 (main): Don't call removed functions.
6545 2014-03-14 Roland McGrath <roland@hack.frob.com>
6547 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6548 "Compiled on ..." crapola. It is anti-useful.
6550 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6552 * scripts/evaluate-test.sh: Handle fourth argument to determine
6553 whether test run should stop on failure.
6554 * Makeconfig (stop-on-test-failure): New variable.
6555 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6556 $(stop-on-test-failure).
6557 * Makefile (tests): Give a summary of results from testing and
6558 exit with failure status if they include an ERROR or FAIL.
6560 * manual/install.texi (Configuring and compiling): Mention
6561 stop-on-test-failure=y.
6562 * INSTALL: Regenerated.
6564 2014-03-14 Roland McGrath <roland@hack.frob.com>
6566 * scripts/versionlist.awk: New file.
6567 * Makerules [$(build-shared) = yes]
6568 (postclean-generated): Add Versions.def, not Versions.def.v and
6570 ($(common-objpfx)Versions.def.v.i): Target removed.
6571 ($(common-objpfx)Versions.def): New target.
6572 ($(common-objpfx)Versions.all): Depend on that rather that
6573 $(common-objpfx)Versions.def.v.
6574 * Versions.def: File removed.
6576 * Makeconfig (+gccwarn): Add -Wundef.
6577 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6578 a dl-sysdep.h breaking its contract.
6579 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6580 * include/stackinfo.h: New file.
6581 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6582 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6583 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6584 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6585 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6586 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6587 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6588 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6589 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6590 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6591 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6592 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6593 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6594 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6595 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6597 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6600 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6602 * math/libm-test.inc (round_test_data): Add more tests.
6605 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6607 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6610 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6612 * math/libm-test.inc (ceil_test_data): Add more tests.
6614 * math/libm-test.inc (trunc_test_data): Add more tests related to
6617 2014-03-14 Roland McGrath <roland@hack.frob.com>
6619 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6620 with #if rather than #ifdef.
6621 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6623 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6625 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6626 first. Disable AVX-512 GCC support if assembler doesn't support
6628 * sysdeps/x86_64/configure: Regenerated.
6630 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6632 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6633 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6634 (__old_pthread_attr_setstack): Likewise.
6635 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6636 [!_STACK_GROWS_DOWN]: Likewise.
6638 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6640 * config.make.in (have-bash2): Delete.
6641 * configure.ac (libc_cv_have_bash2): Delete.
6642 * configure: Regenerate.
6643 * elf/Makefile (common-ldd-rewrite): Rename to ...
6644 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6645 (sh-ldd-rewrite): Delete.
6646 (bash-ldd-rewrite): Delete.
6647 (have-bash2): Delete checks.
6648 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6651 * config.make.in (have-ksh): Delete.
6653 * configure.ac (libc_cv_have_ksh): Delete.
6654 * configure: Regenerate.
6656 * elf/Makefile: Delete $(have-ksh) check.
6657 ($(objpfx)sotruss): Change KSH to BASH.
6658 * elf/sotruss.ksh: Rename to ...
6659 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6660 function style to match POSIX. Drop ksh vim mode setting.
6662 * manual/time.texi (Specifying the Time Zone with TZ): Change
6663 Tuesday to Thursday.
6665 * debug/tst-longjmp_chk2.c: Update header comment.
6666 (stackoverflow_handler): Add comment. Call assert on pass value.
6668 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6670 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6671 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6672 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6673 (La_x86_64_vector): Add zmm.
6674 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6675 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6676 ($(objpfx)tst-audit10): New target.
6677 ($(objpfx)tst-audit10.out): Likewise.
6678 (tst-audit10-ENV): New.
6679 (AVX512-CFLAGS): Likewise.
6680 (CFLAGS-tst-audit10.c): Likewise.
6681 (CFLAGS-tst-auditmod10a.c): Likewise.
6682 (CFLAGS-tst-auditmod10b.c): Likewise.
6683 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6684 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6685 * sysdeps/x86_64/configure: Regenerated.
6686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6687 AVX-512 zmm register support.
6688 (_dl_x86_64_save_sse): Likewise.
6689 (_dl_x86_64_restore_sse): Likewise.
6690 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6691 size vector registers.
6692 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6693 (ZMM_SIZE): Likewise.
6694 * sysdeps/x86_64/tst-audit10.c: New file.
6695 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6696 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6698 2014-03-13 Roland McGrath <roland@hack.frob.com>
6700 * configure.ac (HAVE_EHDR_START): New check.
6701 * configure: Regenerated.
6702 * config.h.in (HAVE_EHDR_START): New #undef.
6703 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6704 assuming the lowest-addressed segment maps the start of the file.
6706 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6708 * INSTALL: Regenerated.
6710 2014-03-13 Will Newton <will.newton@linaro.org>
6712 * manual/setjmp.texi (System V contexts): Improve
6713 clarity and grammar of documentation.
6715 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6718 * elf/Makefile (tests): Add tst-pie2.
6719 (tests-pie): Add tst-pie2.
6720 * elf/tst-pie2.c: New file.
6721 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6723 * elf/rtld.c (map_doit): Load executable as lt_executable.
6724 (dl_main): Likewise.
6726 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6729 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6730 (__ASSUME_PSELECT): Undefine.
6732 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6735 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6736 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6738 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6739 selector for static builds.
6741 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6744 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6747 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6749 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6750 IFUNC selector for static builds.
6752 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6754 * sysdeps/mips/math_private.h [__mips_hard_float]
6755 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6756 libc_feresetround_mips_ctx.
6757 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6758 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6759 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6762 * math/s_nextafter.c (__nextafter): Do not return value from
6763 overflowing computation.
6764 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6765 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6766 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6768 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6770 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6771 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6773 2014-03-11 Roland McGrath <roland@hack.frob.com>
6775 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6776 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6777 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6778 the new mov targetting sp.
6780 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6783 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6784 Define it for static builds as well.
6785 (NO_BZERO_IMPL): Likewise.
6787 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6789 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6790 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6791 multiarch strspn for PPC64.
6792 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6793 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6795 (__libc_ifunc_impl_list): Likewise.
6796 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6797 multiarch optimizations
6798 * string/strspn.c (strspn): Using macro to redefine symbol name.
6800 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6801 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6804 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6805 multiarch strncat for PPC64.
6806 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6807 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6808 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6809 (__libc_ifunc_impl_list): Likewise.
6810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6811 multiarch optimizations
6813 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6816 * nscd/nscd.service: Make service type forking.
6818 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6820 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6821 sign in non default rounding modes.
6822 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6824 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6826 * math/libm-test.inc (ALL_RM_TEST): New macro.
6827 (ceil_test): Use ALL_RM_TEST.
6828 (cimag_test): Likewise.
6829 (conj_test): Likewise.
6830 (copysign_test): Likewise.
6831 (cproj_test): Likewise.
6832 (creal_test): Likewise.
6833 (fabs_test): Likewise.
6834 (floor_test): Likewise.
6835 (fmax_test): Likewise.
6836 (fmin_test): Likewise.
6837 (fmod_test): Likewise.
6838 (fpclassify_test): Likewise.
6839 (frexp_test): Likewise.
6840 (ilogb_test): Likewise.
6841 (isfinite_test): Likewise.
6842 (finite_test): Likewise.
6843 (isgreater_test): Likewise.
6844 (isgreaterequal_test): Likewise.
6845 (isinf_test): Likewise.
6846 (isless_test): Likewise.
6847 (islessequal_test): Likewise.
6848 (islessgreater_test): Likewise.
6849 (isnan_test): Likewise.
6850 (isnormal_test): Likewise.
6851 (issignaling_test): Likewise.
6852 (isunordered_test): Likewise.
6853 (logb_test): Likewise.
6854 (logb_downward_test_data): Remove.
6855 (logb_test_downward): Likewise.
6856 (lround_test): Use ALL_RM_TEST.
6857 (llround_test): Likewise.
6858 (modf_test): Likewise.
6859 (nexttoward_test): Likewise.
6860 (remainder_test): Likewise.
6861 (drem_test): Likewise.
6862 (remainder_tonearest_test_data): Likewise.
6863 (remainder_test_tonearest): Likewise.
6864 (drem_test_tonearest): Likewise.
6865 (remainder_towardzero_test_data): Likewise.
6866 (remainder_test_towardzero): Likewise.
6867 (drem_test_towardzero): Likewise.
6868 (remainder_downward_test_data): Likewise.
6869 (remainder_test_downward): Likewise.
6870 (drem_test_downward): Likewise.
6871 (remainder_upward_test_data): Likewise.
6872 (remainder_test_upward): Likewise.
6873 (drem_test_upward): Likewise.
6874 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6875 (round_test): Use ALL_RM_TEST.
6876 (signbit_test): Likewise.
6877 (trunc_test): Likewise.
6878 (significand_test): Likewise.
6879 (main): Don't call removed functions.
6881 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6884 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6886 (ILL_ILLOPN): Likewise.
6887 (ILL_ILLADR): Likewise.
6888 (ILL_ILLTRP): Likewise.
6889 (ILL_PRVOPC): Likewise.
6890 (ILL_PRVREG): Likewise.
6891 (ILL_COPROC): Likewise.
6892 (ILL_BADSTK): Likewise.
6893 (FPE_INTDIV): Likewise.
6894 (FPE_INTOVF): Likewise.
6895 (FPE_FLTDIV): Likewise.
6896 (FPE_FLTOVF): Likewise.
6897 (FPE_FLTUND): Likewise.
6898 (FPE_FLTRES): Likewise.
6899 (FPE_FLTINV): Likewise.
6900 (FPE_FLTSUB): Likewise.
6901 (SEGV_MAPERR): Likewise.
6902 (SEGV_ACCERR): Likewise.
6903 (BUS_ADRALN): Likewise.
6904 (BUS_ADRERR): Likewise.
6905 (BUS_OBJERR): Likewise.
6906 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6907 (TRAP_TRACE): Likewise.
6908 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6910 (CLD_KILLED): Likewise.
6911 (CLD_DUMPED): Likewise.
6912 (CLD_TRAPPED): Likewise.
6913 (CLD_STOPPED): Likewise.
6914 (CLD_CONTINUED): Likewise.
6915 (POLL_IN): Likewise.
6916 (POLL_OUT): Likewise.
6917 (POLL_MSG): Likewise.
6918 (POLL_ERR): Likewise.
6919 (POLL_PRI): Likewise.
6920 (POLL_HUP): Likewise.
6921 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6923 (ILL_ILLOPN): Likewise.
6924 (ILL_ILLADR): Likewise.
6925 (ILL_ILLTRP): Likewise.
6926 (ILL_PRVOPC): Likewise.
6927 (ILL_PRVREG): Likewise.
6928 (ILL_COPROC): Likewise.
6929 (ILL_BADSTK): Likewise.
6930 (FPE_INTDIV): Likewise.
6931 (FPE_INTOVF): Likewise.
6932 (FPE_FLTDIV): Likewise.
6933 (FPE_FLTOVF): Likewise.
6934 (FPE_FLTUND): Likewise.
6935 (FPE_FLTRES): Likewise.
6936 (FPE_FLTINV): Likewise.
6937 (FPE_FLTSUB): Likewise.
6938 (SEGV_MAPERR): Likewise.
6939 (SEGV_ACCERR): Likewise.
6940 (BUS_ADRALN): Likewise.
6941 (BUS_ADRERR): Likewise.
6942 (BUS_OBJERR): Likewise.
6943 (BUS_MCEERR_AR): Likewise.
6944 (BUS_MCEERR_AO): Likewise.
6945 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6946 (TRAP_TRACE): Likewise.
6947 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6949 (CLD_KILLED): Likewise.
6950 (CLD_DUMPED): Likewise.
6951 (CLD_TRAPPED): Likewise.
6952 (CLD_STOPPED): Likewise.
6953 (CLD_CONTINUED): Likewise.
6954 (POLL_IN): Likewise.
6955 (POLL_OUT): Likewise.
6956 (POLL_MSG): Likewise.
6957 (POLL_ERR): Likewise.
6958 (POLL_PRI): Likewise.
6959 (POLL_HUP): Likewise.
6960 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6961 (ILL_ILLOPN): Likewise.
6962 (ILL_ILLADR): Likewise.
6963 (ILL_ILLTRP): Likewise.
6964 (ILL_PRVOPC): Likewise.
6965 (ILL_PRVREG): Likewise.
6966 (ILL_COPROC): Likewise.
6967 (ILL_BADSTK): Likewise.
6968 (FPE_INTDIV): Likewise.
6969 (FPE_INTOVF): Likewise.
6970 (FPE_FLTDIV): Likewise.
6971 (FPE_FLTOVF): Likewise.
6972 (FPE_FLTUND): Likewise.
6973 (FPE_FLTRES): Likewise.
6974 (FPE_FLTINV): Likewise.
6975 (FPE_FLTSUB): Likewise.
6976 (SEGV_MAPERR): Likewise.
6977 (SEGV_ACCERR): Likewise.
6978 (BUS_ADRALN): Likewise.
6979 (BUS_ADRERR): Likewise.
6980 (BUS_OBJERR): Likewise.
6981 (BUS_MCEERR_AR): Likewise.
6982 (BUS_MCEERR_AO): Likewise.
6983 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6984 (TRAP_TRACE): Likewise.
6985 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6987 (CLD_KILLED): Likewise.
6988 (CLD_DUMPED): Likewise.
6989 (CLD_TRAPPED): Likewise.
6990 (CLD_STOPPED): Likewise.
6991 (CLD_CONTINUED): Likewise.
6992 (POLL_IN): Likewise.
6993 (POLL_OUT): Likewise.
6994 (POLL_MSG): Likewise.
6995 (POLL_ERR): Likewise.
6996 (POLL_PRI): Likewise.
6997 (POLL_HUP): Likewise.
6998 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7000 (ILL_ILLOPN): Likewise.
7001 (ILL_ILLADR): Likewise.
7002 (ILL_ILLTRP): Likewise.
7003 (ILL_PRVOPC): Likewise.
7004 (ILL_PRVREG): Likewise.
7005 (ILL_COPROC): Likewise.
7006 (ILL_BADSTK): Likewise.
7007 (ILL_BADIADDR): Likewise.
7008 (ILL_BREAK): Likewise.
7009 (FPE_INTDIV): Likewise.
7010 (FPE_INTOVF): Likewise.
7011 (FPE_FLTDIV): Likewise.
7012 (FPE_FLTOVF): Likewise.
7013 (FPE_FLTUND): Likewise.
7014 (FPE_FLTRES): Likewise.
7015 (FPE_FLTINV): Likewise.
7016 (FPE_FLTSUB): Likewise.
7017 (FPE_DECOVF): Likewise.
7018 (FPE_DECDIV): Likewise.
7019 (FPE_DECERR): Likewise.
7020 (FPE_INVASC): Likewise.
7021 (FPE_INVDEC): Likewise.
7022 (SEGV_MAPERR): Likewise.
7023 (SEGV_ACCERR): Likewise.
7024 (SEGV_PSTKOVF): Likewise.
7025 (BUS_ADRALN): Likewise.
7026 (BUS_ADRERR): Likewise.
7027 (BUS_OBJERR): Likewise.
7028 (BUS_MCEERR_AR): Likewise.
7029 (BUS_MCEERR_AO): Likewise.
7030 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7031 (TRAP_TRACE): Likewise.
7032 (TRAP_BRANCH): Likewise.
7033 (TRAP_HWBKPT): Likewise.
7034 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7036 (CLD_KILLED): Likewise.
7037 (CLD_DUMPED): Likewise.
7038 (CLD_TRAPPED): Likewise.
7039 (CLD_STOPPED): Likewise.
7040 (CLD_CONTINUED): Likewise.
7041 (POLL_IN): Likewise.
7042 (POLL_OUT): Likewise.
7043 (POLL_MSG): Likewise.
7044 (POLL_ERR): Likewise.
7045 (POLL_PRI): Likewise.
7046 (POLL_HUP): Likewise.
7047 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7048 (ILL_ILLOPN): Likewise.
7049 (ILL_ILLADR): Likewise.
7050 (ILL_ILLTRP): Likewise.
7051 (ILL_PRVOPC): Likewise.
7052 (ILL_PRVREG): Likewise.
7053 (ILL_COPROC): Likewise.
7054 (ILL_BADSTK): Likewise.
7055 (FPE_INTDIV): Likewise.
7056 (FPE_INTOVF): Likewise.
7057 (FPE_FLTDIV): Likewise.
7058 (FPE_FLTOVF): Likewise.
7059 (FPE_FLTUND): Likewise.
7060 (FPE_FLTRES): Likewise.
7061 (FPE_FLTINV): Likewise.
7062 (FPE_FLTSUB): Likewise.
7063 (SEGV_MAPERR): Likewise.
7064 (SEGV_ACCERR): Likewise.
7065 (BUS_ADRALN): Likewise.
7066 (BUS_ADRERR): Likewise.
7067 (BUS_OBJERR): Likewise.
7068 (BUS_MCEERR_AR): Likewise.
7069 (BUS_MCEERR_AO): Likewise.
7070 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7071 (TRAP_TRACE): Likewise.
7072 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7074 (CLD_KILLED): Likewise.
7075 (CLD_DUMPED): Likewise.
7076 (CLD_TRAPPED): Likewise.
7077 (CLD_STOPPED): Likewise.
7078 (CLD_CONTINUED): Likewise.
7079 (POLL_IN): Likewise.
7080 (POLL_OUT): Likewise.
7081 (POLL_MSG): Likewise.
7082 (POLL_ERR): Likewise.
7083 (POLL_PRI): Likewise.
7084 (POLL_HUP): Likewise.
7085 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7086 (ILL_ILLOPN): Likewise.
7087 (ILL_ILLADR): Likewise.
7088 (ILL_ILLTRP): Likewise.
7089 (ILL_PRVOPC): Likewise.
7090 (ILL_PRVREG): Likewise.
7091 (ILL_COPROC): Likewise.
7092 (ILL_BADSTK): Likewise.
7093 (FPE_INTDIV): Likewise.
7094 (FPE_INTOVF): Likewise.
7095 (FPE_FLTDIV): Likewise.
7096 (FPE_FLTOVF): Likewise.
7097 (FPE_FLTUND): Likewise.
7098 (FPE_FLTRES): Likewise.
7099 (FPE_FLTINV): Likewise.
7100 (FPE_FLTSUB): Likewise.
7101 (SEGV_MAPERR): Likewise.
7102 (SEGV_ACCERR): Likewise.
7103 (BUS_ADRALN): Likewise.
7104 (BUS_ADRERR): Likewise.
7105 (BUS_OBJERR): Likewise.
7106 (BUS_MCEERR_AR): Likewise.
7107 (BUS_MCEERR_AO): Likewise.
7108 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7109 (TRAP_TRACE): Likewise.
7110 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7112 (CLD_KILLED): Likewise.
7113 (CLD_DUMPED): Likewise.
7114 (CLD_TRAPPED): Likewise.
7115 (CLD_STOPPED): Likewise.
7116 (CLD_CONTINUED): Likewise.
7117 (POLL_IN): Likewise.
7118 (POLL_OUT): Likewise.
7119 (POLL_MSG): Likewise.
7120 (POLL_ERR): Likewise.
7121 (POLL_PRI): Likewise.
7122 (POLL_HUP): Likewise.
7123 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7124 (ILL_ILLOPN): Likewise.
7125 (ILL_ILLADR): Likewise.
7126 (ILL_ILLTRP): Likewise.
7127 (ILL_PRVOPC): Likewise.
7128 (ILL_PRVREG): Likewise.
7129 (ILL_COPROC): Likewise.
7130 (ILL_BADSTK): Likewise.
7131 (FPE_INTDIV): Likewise.
7132 (FPE_INTOVF): Likewise.
7133 (FPE_FLTDIV): Likewise.
7134 (FPE_FLTOVF): Likewise.
7135 (FPE_FLTUND): Likewise.
7136 (FPE_FLTRES): Likewise.
7137 (FPE_FLTINV): Likewise.
7138 (FPE_FLTSUB): Likewise.
7139 (SEGV_MAPERR): Likewise.
7140 (SEGV_ACCERR): Likewise.
7141 (BUS_ADRALN): Likewise.
7142 (BUS_ADRERR): Likewise.
7143 (BUS_OBJERR): Likewise.
7144 (BUS_MCEERR_AR): Likewise.
7145 (BUS_MCEERR_AO): Likewise.
7146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7147 (TRAP_TRACE): Likewise.
7148 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7150 (CLD_KILLED): Likewise.
7151 (CLD_DUMPED): Likewise.
7152 (CLD_TRAPPED): Likewise.
7153 (CLD_STOPPED): Likewise.
7154 (CLD_CONTINUED): Likewise.
7155 (POLL_IN): Likewise.
7156 (POLL_OUT): Likewise.
7157 (POLL_MSG): Likewise.
7158 (POLL_ERR): Likewise.
7159 (POLL_PRI): Likewise.
7160 (POLL_HUP): Likewise.
7161 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7162 (ILL_ILLOPN): Likewise.
7163 (ILL_ILLADR): Likewise.
7164 (ILL_ILLTRP): Likewise.
7165 (ILL_PRVOPC): Likewise.
7166 (ILL_PRVREG): Likewise.
7167 (ILL_COPROC): Likewise.
7168 (ILL_BADSTK): Likewise.
7169 (ILL_DBLFLT): Likewise.
7170 (ILL_HARDWALL): Likewise.
7171 (FPE_INTDIV): Likewise.
7172 (FPE_INTOVF): Likewise.
7173 (FPE_FLTDIV): Likewise.
7174 (FPE_FLTOVF): Likewise.
7175 (FPE_FLTUND): Likewise.
7176 (FPE_FLTRES): Likewise.
7177 (FPE_FLTINV): Likewise.
7178 (FPE_FLTSUB): Likewise.
7179 (SEGV_MAPERR): Likewise.
7180 (SEGV_ACCERR): Likewise.
7181 (BUS_ADRALN): Likewise.
7182 (BUS_ADRERR): Likewise.
7183 (BUS_OBJERR): Likewise.
7184 (BUS_MCEERR_AR): Likewise.
7185 (BUS_MCEERR_AO): Likewise.
7186 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7187 (TRAP_TRACE): Likewise.
7188 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7190 (CLD_KILLED): Likewise.
7191 (CLD_DUMPED): Likewise.
7192 (CLD_TRAPPED): Likewise.
7193 (CLD_STOPPED): Likewise.
7194 (CLD_CONTINUED): Likewise.
7195 (POLL_IN): Likewise.
7196 (POLL_OUT): Likewise.
7197 (POLL_MSG): Likewise.
7198 (POLL_ERR): Likewise.
7199 (POLL_PRI): Likewise.
7200 (POLL_HUP): Likewise.
7201 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7202 (ILL_ILLOPN): Likewise.
7203 (ILL_ILLADR): Likewise.
7204 (ILL_ILLTRP): Likewise.
7205 (ILL_PRVOPC): Likewise.
7206 (ILL_PRVREG): Likewise.
7207 (ILL_COPROC): Likewise.
7208 (ILL_BADSTK): Likewise.
7209 (FPE_INTDIV): Likewise.
7210 (FPE_INTOVF): Likewise.
7211 (FPE_FLTDIV): Likewise.
7212 (FPE_FLTOVF): Likewise.
7213 (FPE_FLTUND): Likewise.
7214 (FPE_FLTRES): Likewise.
7215 (FPE_FLTINV): Likewise.
7216 (FPE_FLTSUB): Likewise.
7217 (SEGV_MAPERR): Likewise.
7218 (SEGV_ACCERR): Likewise.
7219 (BUS_ADRALN): Likewise.
7220 (BUS_ADRERR): Likewise.
7221 (BUS_OBJERR): Likewise.
7222 (BUS_MCEERR_AR): Likewise.
7223 (BUS_MCEERR_AO): Likewise.
7224 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7225 (TRAP_TRACE): Likewise.
7226 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7228 (CLD_KILLED): Likewise.
7229 (CLD_DUMPED): Likewise.
7230 (CLD_TRAPPED): Likewise.
7231 (CLD_STOPPED): Likewise.
7232 (CLD_CONTINUED): Likewise.
7233 (POLL_IN): Likewise.
7234 (POLL_OUT): Likewise.
7235 (POLL_MSG): Likewise.
7236 (POLL_ERR): Likewise.
7237 (POLL_PRI): Likewise.
7238 (POLL_HUP): Likewise.
7239 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7240 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7243 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7244 before #include of <time.h>.
7245 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7246 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7247 (test-xfail-UNIX98/sched.h/conform): Likewise.
7249 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7251 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7252 error absence of trapping exception support.
7253 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7255 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7257 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7258 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7259 * timezone/Makefile (testdata): Move definition above include of
7261 (test-zones): New variable.
7262 (tests-special): Add zone files.
7263 (build-testdata): Use $(evaluate-test).
7265 * elf/Makefile (tests-special): Rename tests to end with .out.
7266 ($(objpfx)noload-mem): Likewise.
7267 ($(objpfx)tst-leaks1-mem): Likewise.
7268 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7269 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7270 $(objpfx)test-iconvconfig.out.
7271 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7272 set -e inside subshell and redirect output to file.
7273 * iconvdata/Makefile (generated): Rename tests to end with .out.
7275 (tests-special): Rename tests to end with .out.
7276 ($(objpfx)mtrace-tst-loading): Likewise.
7277 * intl/Makefile (generated): Likewise.
7278 (tests-special): Likewise.
7279 ($(objpfx)mtrace-tst-gettext): Likewise.
7280 * misc/Makefile (generated): Likewise.
7281 (tests-special): Likewise.
7282 ($(objpfx)tst-error1-mem): Likewise.
7283 * nptl/Makefile (tests-special): Likewise.
7284 ($(objpfx)tst-stack3-mem): Likewise.
7285 (generated): Likewise.
7286 * posix/Makefile (generated): Likewise.
7287 (tests-special): Likewise.
7288 (xtests-special): Likewise.
7289 ($(objpfx)tst-fnmatch-mem): Likewise.
7290 ($(objpfx)bug-regex2-mem): Likewise.
7291 ($(objpfx)bug-regex14-mem): Likewise.
7292 ($(objpfx)bug-regex21-mem): Likewise.
7293 ($(objpfx)bug-regex31-mem): Likewise.
7294 ($(objpfx)tst-vfork3-mem): Likewise.
7295 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7296 ($(objpfx)tst-pcre-mem): Likewise.
7297 ($(objpfx)tst-boost-mem): Likewise.
7298 ($(objpfx)bug-ga2-mem): Likewise.
7299 ($(objpfx)bug-glob2-mem): Likewise.
7300 * resolv/Makefile (generate): Likewise.
7301 (tests-special): Likewise.
7302 (xtests-special): Likewise.
7303 (generated): Likewise.
7304 ($(objpfx)mtrace-tst-leaks): Likewise.
7305 ($(objpfx)mtrace-tst-leaks2): Likewise.
7307 * scripts/merge-test-results.sh: New file.
7308 * Makefile (tests-special-notdir): New variable.
7309 (tests): Run merge-test-results.sh.
7311 * Rules (tests-special-notdir): New variable.
7312 (xtests-special-notdir): Likewise.
7313 (tests): Run merge-test-results.sh
7316 * Makeconfig (test-xfail-name): New variable.
7317 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7318 compute variable name for expected failures.
7319 * conform/Makefile (conformtest-headers-data): New variable.
7320 (conformtest-standards): Likewise.
7321 (conformtest-headers-ISO): Likewise.
7322 (conformtest-headers-ISO99): Likewise.
7323 (conformtest-headers-ISO11): Likewise.
7324 (conformtest-headers-POSIX): Likewise.
7325 (conformtest-headers-XPG3): Likewise.
7326 (conformtest-headers-XPG4): Likewise.
7327 (conformtest-headers-UNIX98): Likewise.
7328 (conformtest-headers-XOPEN2K): Likewise.
7329 (conformtest-headers-POSIX2008): Likewise.
7330 (conformtest-headers-XOPEN2K8): Likewise.
7331 (conformtest-header-list-base): Likewise.
7332 (conformtest-header-list-tests): Likewise.
7333 (conformtest-header-base): Likewise.
7334 (conformtest-header-tests): Likewise.
7335 (tests-special): Add $(conformtest-header-list-tests). If
7336 [$(fast-check) && !$(cross-compiling)], add
7337 $(conformtest-header-tests) instead of
7338 $(objpfx)run-conformtest.out.
7339 (generated): Add $(conformtest-header-list-base). If
7340 [$(fast-check) && !$(cross-compiling)], add
7341 $(conformtest-header-base). Remove previous setting.
7342 ($(conformtest-header-list-tests)): New target.
7343 (test-xfail-run-conformtest): Remove variable.
7344 ($(objpfx)run-conformtest.out): Remove target.
7345 (test-xfail-ISO11/complex.h/conform): New variable.
7346 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7347 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7348 (test-xfail-XPG3/varargs.h/conform): Likewise.
7349 (test-xfail-XPG4/varargs.h/conform): Likewise.
7350 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7351 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7352 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7353 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7354 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7355 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7356 (test-xfail-XPG3/ftw.h/conform): Likewise.
7357 (test-xfail-XPG3/grp.h/conform): Likewise.
7358 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7359 (test-xfail-XPG3/limits.h/conform): Likewise.
7360 (test-xfail-XPG3/pwd.h/conform): Likewise.
7361 (test-xfail-XPG3/search.h/conform): Likewise.
7362 (test-xfail-XPG3/signal.h/conform): Likewise.
7363 (test-xfail-XPG3/stdio.h/conform): Likewise.
7364 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7365 (test-xfail-XPG3/string.h/conform): Likewise.
7366 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7367 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7368 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7369 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7370 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7371 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7372 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7373 (test-xfail-XPG3/termios.h/conform): Likewise.
7374 (test-xfail-XPG3/time.h/conform): Likewise.
7375 (test-xfail-XPG3/unistd.h/conform): Likewise.
7376 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7377 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7378 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7379 (test-xfail-XPG4/netdb.h/conform): Likewise.
7380 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7381 (test-xfail-XPG4/signal.h/conform): Likewise.
7382 (test-xfail-XPG4/stdio.h/conform): Likewise.
7383 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7384 (test-xfail-XPG4/stropts.h/conform): Likewise.
7385 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7386 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7387 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7388 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7389 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7390 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7391 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7392 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7393 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7394 (test-xfail-XPG4/termios.h/conform): Likewise.
7395 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7396 (test-xfail-XPG4/unistd.h/conform): Likewise.
7397 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7398 (test-xfail-POSIX/sched.h/conform): Likewise.
7399 (test-xfail-POSIX/signal.h/conform): Likewise.
7400 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7401 (test-xfail-POSIX/tar.h/conform): Likewise.
7402 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7403 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7404 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7405 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7406 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7407 (test-xfail-UNIX98/sched.h/conform): Likewise.
7408 (test-xfail-UNIX98/signal.h/conform): Likewise.
7409 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7410 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7411 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7412 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7413 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7414 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7415 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7416 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7417 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7418 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7419 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7420 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7421 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7422 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7423 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7424 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7425 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7426 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7427 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7428 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7429 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7430 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7431 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7432 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7433 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7434 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7435 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7436 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7437 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7438 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7439 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7440 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7441 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7442 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7443 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7444 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7445 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7446 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7447 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7448 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7449 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7450 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7451 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7452 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7453 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7454 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7455 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7456 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7457 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7458 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7459 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7460 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7461 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7462 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7463 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7464 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7465 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7466 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7467 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7468 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7469 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7470 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7471 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7472 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7473 (conformtest-cc-flags): Likewise.
7474 ($(conformtest-header-tests): New target.
7475 * conform/check-header-lists.sh: New file.
7476 * conform/run-conformtest.sh: Remove.
7478 * conform/conformtest.pl: Allow ' and \ in values given for
7480 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7482 [POSIX] (sys/types.h): Likewise.
7483 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7485 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7487 * conform/data/signal.h-data (SIGIO): Remove expectation.
7488 [XPG3] (SIGBUS): Do not expect.
7489 [POSIX || XPG3] (SIGPOLL): Likewise.
7490 [POSIX || XPG3] (SIGPROF): Likewise.
7491 [POSIX || XPG3] (SIGSYS): Likewise.
7492 [XPG3] (SIGTRAP): Likewise.
7493 [POSIX || XPG3] (SIGURG): Likewise.
7494 [POSIX || XPG3] (SIGVTALRM): Likewise.
7495 [POSIX || XPG3] (SIGXCPU): Likewise.
7496 [POSIX || XPG3] (SIGXFSZ): Likewise.
7497 [POSIX] (SA_SIGINFO): Expect.
7498 [XPG3] (siginfo_t): Do not expect type or contents.
7499 [POSIX] (si_pid): Do not expect element.
7500 [POSIX] (si_uid): Likewise.
7501 [POSIX] (si_addr): Likewise.
7502 [POSIX] (si_status): Likewise.
7503 [POSIX] (si_band): Likewise.
7504 [XPG4] (si_value): Likewise.
7505 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7506 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7507 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7508 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7509 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7510 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7511 [POSIX || XPG3] (ILL_COPROC): Likewise.
7512 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7513 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7514 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7515 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7516 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7517 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7518 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7519 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7520 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7521 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7522 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7523 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7524 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7525 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7526 [POSIX || XPG3] (CLD_EXITED): Likewise.
7527 [POSIX || XPG3] (CLD_KILLED): Likewise.
7528 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7529 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7530 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7531 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7532 [POSIX || XPG3] (POLL_IN): Likewise.
7533 [POSIX || XPG3] (POLL_OUT): Likewise.
7534 [POSIX || XPG3] (POLL_MSG): Likewise.
7535 [POSIX || XPG3] (POLL_ERR): Likewise.
7536 [POSIX || XPG3] (POLL_PRI): Likewise.
7537 [POSIX || XPG3] (POLL_HUP): Likewise.
7538 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7539 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7540 (SIG*): Do not allow.
7541 [XPG3] (si_*): Likewise.
7542 [XPG3] (SI_*): Likewise.
7543 [XPG3 || XPG4] (sigev_*): Likewise.
7544 [XPG3 || XPG4] (SIGEV_*): Likewise.
7545 [XPG3 || XPG4] (sival_*): Likewise.
7546 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7547 [POSIX || XPG3] (BUS_*): Likewise.
7548 [POSIX || XPG3] (CLD_*): Likewise.
7549 [POSIX || XPG3] (FPE_*): Likewise.
7550 [POSIX || XPG3] (ILL_*): Likewise.
7551 [POSIX || XPG3] (POLL_*): Likewise.
7552 [POSIX || XPG3] (SEGV_*): Likewise.
7553 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7554 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7555 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7556 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7557 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7558 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7559 Specify type and value.
7560 (TVERSLEN): Likewise.
7561 (REGTYPE): Likewise.
7562 (AREGTYPE): Likewise.
7563 (LNKTYPE): Likewise.
7564 (SYMTYPE): Likewise.
7565 (CHRTYPE): Likewise.
7566 (BLKTYPE): Likewise.
7567 (DIRTYPE): Likewise.
7568 (FIFOTYPE): Likewise.
7569 (CONTTYPE): Likewise.
7574 (TUWRITE): Likewise.
7577 (TGWRITE): Likewise.
7580 (TOWRITE): Likewise.
7582 [POSIX] (TSVTX): Expect constant.
7584 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7586 * Makefile (tests): Change dependencies to ....
7587 (tests-special): ... additions to this variable.
7588 (tests): Depend on $(tests-special).
7589 * Makerules (check-abi-list): New variable.
7590 (check-abi): Depend on $(check-abi-list).
7591 [$(subdir) = elf] (tests-special): Add
7592 $(objpfx)check-abi-libc.out.
7593 [$(build-shared) = yes && subdir] (tests-special): Add
7595 [$(build-shared) = yes && subdir] (tests): Do not depend on
7597 * Rules (tests): Depend on $(tests-special).
7598 (xtests): Depend on $(xtests-special).
7599 * catgets/Makefile (tests): Change dependencies to ....
7600 (tests-special): ... additions to this variable.
7601 * conform/Makefile (tests): Change dependencies to ....
7602 (tests-special): ... additions to this variable.
7603 * elf/Makefile (tests): Change dependencies to ....
7604 (tests-special): ... additions to this variable.
7605 * grp/Makefile (tests): Change dependencies to ....
7606 (tests-special): ... additions to this variable.
7607 * iconv/Makefile (xtests): Change dependencies to ....
7608 (xtests-special): ... additions to this variable.
7609 * iconvdata/Makefile (tests): Change dependencies to ....
7610 (tests-special): ... additions to this variable.
7611 * intl/Makefile (tests): Change dependencies to ....
7612 (tests-special): ... additions to this variable. Also add
7613 $(objpfx)tst-gettext.out.
7614 * io/Makefile (tests): Change dependencies to ....
7615 (tests-special): ... additions to this variable.
7616 * libio/Makefile (tests): Change dependencies to ....
7617 (tests-special): ... additions to this variable.
7618 * malloc/Makefile (tests): Change dependencies to ....
7619 (tests-special): ... additions to this variable.
7620 * misc/Makefile (tests): Change dependencies to ....
7621 (tests-special): ... additions to this variable.
7622 * nptl/Makefile (tests): Change dependencies to ....
7623 (tests-special): ... additions to this variable.
7624 * nptl_db/Makefile (tests): Change dependencies to ....
7625 (tests-special): ... additions to this variable.
7626 * posix/Makefile (tests): Change dependencies to ....
7627 (tests-special): ... additions to this variable.
7628 (xtests): Change dependencies to ....
7629 (xtests-special): ... additions to this variable.
7630 * resolv/Makefile (tests): Change dependencies to ....
7631 (tests-special): ... additions to this variable.
7632 (xtests): Change dependencies to ....
7633 (xtests-special): ... additions to this variable.
7634 * stdio-common/Makefile (tests): Change dependencies to ....
7635 (tests-special): ... additions to this variable.
7636 (do-tst-unbputc): Remove target.
7637 (do-tst-printf): Likewise.
7638 * stdlib/Makefile (tests): Change dependencies to ....
7639 (tests-special): ... additions to this variable.
7640 * string/Makefile (tests): Change dependencies to ....
7641 (tests-special): ... additions to this variable.
7642 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7643 (tests-special): ... additions to this variable.
7645 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7647 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7649 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7650 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7652 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7653 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7654 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7655 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7656 * conform/data/libgen.h-data [XPG3]: Likewise.
7657 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7658 * conform/data/ndbm.h-data [XPG3]: Likewise.
7659 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7660 * conform/data/netdb.h-data [XPG3]: Likewise.
7661 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7662 * conform/data/poll.h-data [XPG3]: Likewise.
7663 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7664 * conform/data/strings.h-data [XPG3]: Likewise.
7665 * conform/data/stropts.h-data [XPG3]: Likewise.
7666 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7667 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7668 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7670 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7671 * conform/data/sys/time.h-data [XPG3]: Likewise.
7672 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7673 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7674 * conform/data/sys/un.h-data [XPG3]: Likewise.
7675 * conform/data/syslog.h-data [XPG3]: Likewise.
7676 * conform/data/ucontext.h-data [XPG3]: Likewise.
7677 * conform/data/utmpx.h-data [XPG3]: Likewise.
7678 * conform/data/varargs.h-data [UNIX98]: Enable file.
7680 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7682 * math/libm-test.inc (struct test_f_f_data): Move expected results
7683 into structure for each rounding mode.
7684 (struct test_ff_f_data): Likewise.
7685 (struct test_ff_f_data_nexttoward): Likewise.
7686 (struct test_fi_f_data): Likewise.
7687 (struct test_fl_f_data): Likewise.
7688 (struct test_if_f_data): Likewise.
7689 (struct test_fff_f_data): Likewise.
7690 (struct test_c_f_data): Likewise.
7691 (struct test_f_f1_data): Likewise.
7692 (struct test_fF_f1_data): Likewise.
7693 (struct test_ffI_f1_data): Likewise.
7694 (struct test_c_c_data): Likewise.
7695 (struct test_cc_c_data): Likewise.
7696 (struct test_f_i_data): Likewise.
7697 (struct test_ff_i_data): Likewise.
7698 (struct test_f_l_data): Likewise.
7699 (struct test_f_L_data): Likewise.
7700 (struct test_fFF_11_data): Likewise.
7702 (RM_FE_DOWNWARD): Likewise.
7703 (RM_FE_TONEAREST): Likewise.
7704 (RM_FE_TOWARDZERO): Likewise.
7705 (RM_FE_UPWARD): Likewise.
7706 (RUN_TEST_LOOP_f_f): Update references to expected results.
7707 (RUN_TEST_LOOP_2_f): Likewise.
7708 (RUN_TEST_LOOP_fff_f): Likewise.
7709 (RUN_TEST_LOOP_c_f): Likewise.
7710 (RUN_TEST_LOOP_f_f1): Likewise.
7711 (RUN_TEST_LOOP_fF_f1): Likewise.
7712 (RUN_TEST_LOOP_fI_f1): Likewise.
7713 (RUN_TEST_LOOP_ffI_f1): Likewise.
7714 (RUN_TEST_LOOP_c_c): Likewise.
7715 (RUN_TEST_LOOP_cc_c): Likewise.
7716 (RUN_TEST_LOOP_f_i): Likewise.
7717 (RUN_TEST_LOOP_f_i_tg): Likewise.
7718 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7719 (RUN_TEST_LOOP_f_b): Likewise.
7720 (RUN_TEST_LOOP_f_b_tg): Likewise.
7721 (RUN_TEST_LOOP_f_l): Likewise.
7722 (RUN_TEST_LOOP_f_L): Likewise.
7723 (RUN_TEST_LOOP_fFF_11): Likewise.
7724 * math/gen-libm-test.pl (parse_args): Output four copies of
7725 expected results for each test.
7727 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7728 (__ASSUME_UTIMES): Remove.
7729 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7730 (__ASSUME_UTIMES): Likewise.
7732 * math/gen-auto-libm-tests.c: Update comment on output format.
7733 (output_for_one_input_case): Generate before-rounding and
7734 after-rounding information as conditions on output flags not
7735 floating-point format.
7736 * math/auto-libm-test-out: Regenerated.
7737 * math/gen-libm-test.pl (cond_value): New function.
7738 (or_cond_value): Use cond_value.
7739 (generate_testfile): Handle conditional exceptions.
7741 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7743 * math/libm-test.inc (max_valid_error): New variable.
7744 (init_max_error): Take new argument specifying whether function
7745 results are exactly determined. Set max_valid_error and bound
7746 other variables for errors based on this argument.
7747 (set_max_error): Do not record results above max_valid_error.
7748 (check_float_internal): Only accept errors of up to 0.5ulps if
7749 also at most max_valid_error.
7750 (START): Take new argument EXACT and pass it to init_max_error.
7751 (acos_test): Update call to START.
7752 (acos_test_tonearest): Likewise.
7753 (acos_test_towardzero): Likewise.
7754 (acos_test_downward): Likewise.
7755 (acos_test_upward): Likewise.
7756 (acosh_test): Likewise.
7757 (asin_test): Likewise.
7758 (asin_test_tonearest): Likewise.
7759 (asin_test_towardzero): Likewise.
7760 (asin_test_downward): Likewise.
7761 (asin_test_upward): Likewise.
7762 (asinh_test): Likewise.
7763 (atan_test): Likewise.
7764 (atanh_test): Likewise.
7765 (atan2_test): Likewise.
7766 (cabs_test): Likewise.
7767 (cacos_test): Likewise.
7768 (cacosh_test): Likewise.
7769 (carg_test): Likewise.
7770 (casin_test): Likewise.
7771 (casinh_test): Likewise.
7772 (catan_test): Likewise.
7773 (catanh_test): Likewise.
7774 (cbrt_test): Likewise.
7775 (ccos_test): Likewise.
7776 (ccosh_test): Likewise.
7777 (ceil_test): Likewise.
7778 (cexp_test): Likewise.
7779 (cimag_test): Likewise.
7780 (clog_test): Likewise.
7781 (clog10_test): Likewise.
7782 (conj_test): Likewise.
7783 (copysign_test): Likewise.
7784 (cos_test): Likewise.
7785 (cos_test_tonearest): Likewise.
7786 (cos_test_towardzero): Likewise.
7787 (cos_test_downward): Likewise.
7788 (cos_test_upward): Likewise.
7789 (cosh_test): Likewise.
7790 (cosh_test_tonearest): Likewise.
7791 (cosh_test_towardzero): Likewise.
7792 (cosh_test_downward): Likewise.
7793 (cosh_test_upward): Likewise.
7794 (cpow_test): Likewise.
7795 (cproj_test): Likewise.
7796 (creal_test): Likewise.
7797 (csin_test): Likewise.
7798 (csinh_test): Likewise.
7799 (csqrt_test): Likewise.
7800 (ctan_test): Likewise.
7801 (ctan_test_tonearest): Likewise.
7802 (ctan_test_towardzero): Likewise.
7803 (ctan_test_downward): Likewise.
7804 (ctan_test_upward): Likewise.
7805 (ctanh_test): Likewise.
7806 (ctanh_test_tonearest): Likewise.
7807 (ctanh_test_towardzero): Likewise.
7808 (ctanh_test_downward): Likewise.
7809 (ctanh_test_upward): Likewise.
7810 (erf_test): Likewise.
7811 (erfc_test): Likewise.
7812 (exp_test): Likewise.
7813 (exp_test_tonearest): Likewise.
7814 (exp_test_towardzero): Likewise.
7815 (exp_test_downward): Likewise.
7816 (exp_test_upward): Likewise.
7817 (exp10_test): Likewise.
7818 (exp10_test_tonearest): Likewise.
7819 (exp10_test_towardzero): Likewise.
7820 (exp10_test_downward): Likewise.
7821 (exp10_test_upward): Likewise.
7822 (pow10_test): Likewise.
7823 (exp2_test): Likewise.
7824 (expm1_test): Likewise.
7825 (expm1_test_tonearest): Likewise.
7826 (expm1_test_towardzero): Likewise.
7827 (expm1_test_downward): Likewise.
7828 (expm1_test_upward): Likewise.
7829 (fabs_test): Likewise.
7830 (fdim_test): Likewise.
7831 (floor_test): Likewise.
7832 (fma_test): Likewise.
7833 (fma_test_towardzero): Likewise.
7834 (fma_test_downward): Likewise.
7835 (fma_test_upward): Likewise.
7836 (fmax_test): Likewise.
7837 (fmin_test): Likewise.
7838 (fmod_test): Likewise.
7839 (fpclassify_test): Likewise.
7840 (frexp_test): Likewise.
7841 (hypot_test): Likewise.
7842 (ilogb_test): Likewise.
7843 (isfinite_test): Likewise.
7844 (finite_test): Likewise.
7845 (isgreater_test): Likewise.
7846 (isgreaterequal_test): Likewise.
7847 (isinf_test): Likewise.
7848 (isless_test): Likewise.
7849 (islessequal_test): Likewise.
7850 (islessgreater_test): Likewise.
7851 (isnan_test): Likewise.
7852 (isnormal_test): Likewise.
7853 (issignaling_test): Likewise.
7854 (isunordered_test): Likewise.
7855 (j0_test): Likewise.
7856 (j1_test): Likewise.
7857 (jn_test): Likewise.
7858 (ldexp_test): Likewise.
7859 (lgamma_test): Likewise.
7860 (gamma_test): Likewise.
7861 (lrint_test): Likewise.
7862 (lrint_test_tonearest): Likewise.
7863 (lrint_test_towardzero): Likewise.
7864 (lrint_test_downward): Likewise.
7865 (lrint_test_upward): Likewise.
7866 (llrint_test): Likewise.
7867 (llrint_test_tonearest): Likewise.
7868 (llrint_test_towardzero): Likewise.
7869 (llrint_test_downward): Likewise.
7870 (llrint_test_upward): Likewise.
7871 (log_test): Likewise.
7872 (log10_test): Likewise.
7873 (log1p_test): Likewise.
7874 (log2_test): Likewise.
7875 (logb_test): Likewise.
7876 (logb_test_downward): Likewise.
7877 (lround_test): Likewise.
7878 (llround_test): Likewise.
7879 (modf_test): Likewise.
7880 (nearbyint_test): Likewise.
7881 (nextafter_test): Likewise.
7882 (nexttoward_test): Likewise.
7883 (pow_test): Likewise.
7884 (pow_test_tonearest): Likewise.
7885 (pow_test_towardzero): Likewise.
7886 (pow_test_downward): Likewise.
7887 (pow_test_upward): Likewise.
7888 (remainder_test): Likewise.
7889 (drem_test): Likewise.
7890 (remainder_test_tonearest): Likewise.
7891 (drem_test_tonearest): Likewise.
7892 (remainder_test_towardzero): Likewise.
7893 (drem_test_towardzero): Likewise.
7894 (remainder_test_downward): Likewise.
7895 (drem_test_downward): Likewise.
7896 (remainder_test_upward): Likewise.
7897 (drem_test_upward): Likewise.
7898 (remquo_test): Likewise.
7899 (rint_test): Likewise.
7900 (rint_test_tonearest): Likewise.
7901 (rint_test_towardzero): Likewise.
7902 (rint_test_downward): Likewise.
7903 (rint_test_upward): Likewise.
7904 (round_test): Likewise.
7905 (scalb_test): Likewise.
7906 (scalbn_test): Likewise.
7907 (scalbln_test): Likewise.
7908 (signbit_test): Likewise.
7909 (sin_test): Likewise.
7910 (sin_test_tonearest): Likewise.
7911 (sin_test_towardzero): Likewise.
7912 (sin_test_downward): Likewise.
7913 (sin_test_upward): Likewise.
7914 (sincos_test): Likewise.
7915 (sinh_test): Likewise.
7916 (sinh_test_tonearest): Likewise.
7917 (sinh_test_towardzero): Likewise.
7918 (sinh_test_downward): Likewise.
7919 (sinh_test_upward): Likewise.
7920 (sqrt_test): Likewise.
7921 (sqrt_test_tonearest): Likewise.
7922 (sqrt_test_towardzero): Likewise.
7923 (sqrt_test_downward): Likewise.
7924 (sqrt_test_upward): Likewise.
7925 (tan_test): Likewise.
7926 (tan_test_tonearest): Likewise.
7927 (tan_test_towardzero): Likewise.
7928 (tan_test_downward): Likewise.
7929 (tan_test_upward): Likewise.
7930 (tanh_test): Likewise.
7931 (tgamma_test): Likewise.
7932 (trunc_test): Likewise.
7933 (y0_test): Likewise.
7934 (y1_test): Likewise.
7935 (yn_test): Likewise.
7936 (significand_test): Likewise.
7938 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7939 individual tests in comment.
7940 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7941 (prev_max_error): New variable.
7942 (prev_real_max_error): Likewise.
7943 (prev_imag_max_error): Likewise.
7944 (compare_ulp_data): Don't refer to test names in comment.
7945 (find_test_ulps): Remove function.
7946 (find_function_ulps): Likewise.
7947 (find_complex_function_ulps): Likewise.
7948 (init_max_error): Take function name as argument. Look up ulps
7950 (print_ulps): Remove function.
7951 (print_max_error): Use prev_max_error instead of calling
7953 (print_complex_max_error): Use prev_real_max_error and
7954 prev_imag_max_error instead of calling find_complex_function_ulps.
7955 (check_float_internal): Take max_ulp parameter instead of calling
7956 find_test_ulps. Don't call print_ulps.
7957 (check_float): Update call to check_float_internal.
7958 (check_complex): Update calls to check_float_internal.
7959 (START): Pass argument to init_max_error.
7960 * math/gen-libm-test.pl (%results): Don't include "kind"
7962 (parse_ulps): Don't handle ulps of individual tests.
7963 (print_ulps_file): Likewise.
7964 (output_ulps): Likewise.
7965 * math/README.libm-test: Update.
7966 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7968 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7969 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7970 * sysdeps/arm/libm-test-ulps: Likewise.
7971 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7972 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7973 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7974 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7975 * sysdeps/microblaze/libm-test-ulps: Likewise.
7976 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7977 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7978 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7979 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7980 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7981 * sysdeps/sh/libm-test-ulps: Likewise.
7982 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7983 * sysdeps/tile/libm-test-ulps: Likewise.
7984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986 2014-03-04 Joseph Myers <joseph@codesourcery.com>
7988 * math/libm-test.inc (print_complex_max_error): Check separately
7989 whether real and imaginary errors are within allowed range and
7990 pass 0 to print_complex_function_ulps instead of value within
7993 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7995 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7997 (get_handles_fopen): Likewise.
7998 (do_write_test): Likewise.
8000 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8002 * libio/fileops.c (do_ftell): Use cached offset when
8004 * libio/iofwide.c (do_ftell_wide): Likewise.
8005 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8007 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8010 * libio/libioP.h (get_file_offset): New function.
8011 * libio/fileops.c (get_file_offset): Likewise.
8012 (do_ftell): Likewise.
8013 (_IO_new_file_seekoff): Split out ftell logic.
8014 * libio/wfileops.c (do_ftell_wide): Likewise.
8015 (_IO_wfile_seekoff): Split out ftell logic.
8016 * libio/tst-ftell-active-handler.c: New test case.
8017 * libio/Makefile (tests): Add it.
8019 2014-03-03 Roland McGrath <roland@hack.frob.com>
8021 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8022 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8024 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8027 * nscd/connections.c (nscd_init): Call do_exit.
8028 (start_threads): Call do_exit and notify_parent.
8029 (begin_drop_privileges): Call do_exit.
8030 (finish_drop_privileges): Likewise.
8031 * nscd/selinux.c (preserve_capabilities): Likewise.
8032 (install_real_capabilities): Likewise.
8033 (nscd_selinux_enabled): Likewise.
8034 (avc_create_thread): Likewise.
8035 (avc_alloc_lock): Likewise.
8036 (nscd_avc_init): Likewise.
8037 * nscd/nscd.c (parent_fd): New static variable.
8038 (main): Create a pipe between parent and child processes.
8039 Skip closing parent_fd.
8040 (monitor_child): New function.
8041 (do_exit): Likewise.
8042 (notify_parent): Likewise.
8043 * nscd/nscd.h (notify_parent): Likewise.
8044 (do_exit): Likewise.
8046 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8048 * malloc/malloc.c (__libc_calloc): Revert last change.
8050 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8054 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8056 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8057 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8059 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8060 (__libc_ifunc_impl_list): Likewise.
8061 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8062 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8063 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8064 * string/strrchr.c: Define STRRCHR.
8066 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8068 * benchtest/bench-strtok.c (simple_strtok): Delete.
8069 (strtok_string): Use as benchmark.
8070 * string/strtok (STRTOK): New macro.
8072 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8074 * manual/threads.texi: Add header and standard comments to all
8077 * elf/dl-lookup.c (check_match): New function.
8078 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8079 (do_lookup_x): Remove nested function check_match. Use non-nested
8080 function check_match.
8082 2014-02-28 Roland McGrath <roland@hack.frob.com>
8084 * csu/Makefile (generated, before-compile): Use += rather than =.
8085 * catgets/Makefile (generated, generated-dirs): Likewise.
8086 * debug/Makefile (generated): Likewise.
8087 * dlfcn/Makefile (generated): Likewise.
8088 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8089 * iconvdata/Makefile (before-compile, generated): Likewise.
8090 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8091 * libio/Makefile (generated): Likewise.
8092 * malloc/Makefile (generated): Likewise.
8093 * manual/Makefile (generated, generated-dirs): Likewise.
8094 * misc/Makefile (generated): Likewise.
8095 * posix/Makefile (generated): Likewise.
8096 * resolv/Makefile (generated): Likewise.
8097 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8098 * timezone/Makefile (generated, generated-dirs): Likewise.
8100 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8102 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8105 power8 implementation.
8106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8107 file: POWER8 llround ifunc implementation.
8108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8109 (__lllround): Add POWER8 implementation.
8110 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8111 POWER8 llround implementation.
8113 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8114 power8 implementation.
8115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8116 file: POWER8 llrint ifunc implementation.
8117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8118 Add POWER8 implementation.
8119 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8120 POWER8 llrint implementation.
8122 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8123 power8 implementation.
8124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8125 file: POWER8 finite ifunc implementation.
8126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8127 Add POWER8 implementation.
8128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8130 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8131 POWER8 finite implementation.
8132 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8135 power8 implementation.
8136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8137 file: POWER8 isinf ifunc implementation.
8138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8139 POWER8 implementation.
8140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8142 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8143 isinf implementation.
8144 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8146 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8147 (INIT_ARCH): Add hwcap2 initialization.
8148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8149 power8 implementation.
8150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8151 file: POWER8 isnan ifunc implementation.
8152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8153 POWER8 implementation.
8154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8156 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8157 isnan implementation.
8158 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8160 2014-02-27 Joey Ye <joey.ye@arm.com>
8162 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8163 (_FP_NANFRAC_Q): Set to zero.
8165 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8168 * math/auto-libm-test-in: New test inputs.
8169 * math/auto-libm-test-out: Regenerate.
8170 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8173 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8175 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8177 * scripts/evaluate-test.sh: Take new argument indicating whether
8178 failure is expected.
8179 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8180 indicating whether failure is expected.
8181 * conform/Makefile (test-xfail-run-conformtest): New variable.
8182 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8184 * posix/Makefile (test-xfail-annexc): New variable.
8185 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8187 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8189 * argp/Makefile: Include Makeconfig immediately after defining
8191 * assert/Makefile: Likewise.
8192 * benchtests/Makefile: Likewise.
8193 * catgets/Makefile: Likewise.
8194 * conform/Makefile: Likewise.
8195 * crypt/Makefile: Likewise.
8196 * csu/Makefile: Likewise.
8197 (all): Remove target.
8198 * ctype/Makefile: Include Makeconfig immediately after defining
8200 * debug/Makefile: Likewise.
8201 * dirent/Makefile: Likewise.
8202 * dlfcn/Makefile: Likewise.
8203 * gmon/Makefile: Likewise.
8204 * gnulib/Makefile: Likewise.
8205 * grp/Makefile: Likewise.
8206 * gshadow/Makefile: Likewise.
8207 * hesiod/Makefile: Likewise.
8208 * hurd/Makefile: Likewise.
8209 (all): Remove target.
8210 * iconvdata/Makefile: Include Makeconfig immediately after
8212 * inet/Makefile: Likewise.
8213 * intl/Makefile: Likewise.
8214 * io/Makefile: Likewise.
8215 * libio/Makefile: Likewise.
8216 (all): Remove target.
8217 * locale/Makefile: Include Makeconfig immediately after defining
8219 * login/Makefile: Likewise.
8220 * mach/Makefile: Likewise.
8221 (all): Remove target.
8222 * malloc/Makefile: Include Makeconfig immediately after defining
8224 (all): Remove target.
8225 * manual/Makefile: Include Makeconfig immediately after defining
8227 * math/Makefile: Likewise.
8228 * misc/Makefile: Likewise.
8229 * nis/Makefile: Likewise.
8230 * nss/Makefile: Likewise.
8231 * po/Makefile: Likewise.
8232 (all): Remove target.
8233 * posix/Makefile: Include Makeconfig immediately after defining
8235 * pwd/Makefile: Likewise.
8236 * resolv/Makefile: Likewise.
8237 * resource/Makefile: Likewise.
8238 * rt/Makefile: Likewise.
8239 * setjmp/Makefile: Likewise.
8240 * shadow/Makefile: Likewise.
8241 * signal/Makefile: Likewise.
8242 * socket/Makefile: Likewise.
8243 * soft-fp/Makefile: Likewise.
8244 * stdio-common/Makefile: Likewise.
8245 * stdlib/Makefile: Likewise.
8246 * streams/Makefile: Likewise.
8247 * string/Makefile: Likewise.
8248 * sunrpc/Makefile: Likewise.
8249 (all): Remove target.
8250 * sysvipc/Makefile: Include Makeconfig immediately after defining
8252 * termios/Makefile: Likewise.
8253 * time/Makefile: Likewise.
8254 * timezone/Makefile: Likewise.
8255 (all): Remove target.
8256 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8258 * wctype/Makefile: Likewise.
8260 2014-02-26 Steve Ellcey <sellcey@mips.com>
8262 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8263 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8264 (libc_feholdexcept_setround_mips): Ditto.
8265 (libc_feholdsetround): New.
8266 (libc_feholdsetroundf): New.
8267 (libc_feholdsetroundl): New.
8268 (libc_feupdateenv_test_mips): New.
8269 (libc_feupdateenv_test): New.
8270 (libc_feupdateenv_testf): New.
8271 (libc_feupdateenv_testl): New.
8272 (libc_feresetround): New.
8273 (libc_feresetroundf): New.
8274 (libc_feresetroundl): New.
8275 (libc_fetestexcept_mips): New.
8276 (libc_fetestexcept): New.
8277 (libc_fetestexceptf): New.
8278 (libc_fetestexceptl): New.
8280 (libc_feholdexcept_setround_mips_ctx): New.
8281 (libc_feholdexcept_setround_ctx): New.
8282 (libc_feholdexcept_setroundf_ctx): New.
8283 (libc_feholdexcept_setroundl_ctx): New.
8284 (libc_fesetenv_mips_ctx): New.
8285 (libc_fesetenv_ctx): New.
8286 (libc_fesetenv_ctxf): New.
8287 (libc_fesetenv_ctxl): New.
8288 (libc_feupdateenv_mips_ctx): New.
8289 (libc_feupdateenv_ctx): New.
8290 (libc_feupdateenvf_ctx): New.
8291 (libc_feupdateenvl_ctx): New.
8292 (libc_feholdsetround_mips_ctx): New.
8293 (libc_feholdsetround_ctx): New.
8294 (libc_feholdsetroundf_ctx): New.
8295 (libc_feholdsetroundl_ctx): New.
8296 (libc_feresetround_mips_ctx): New.
8297 (libc_feresetround_ctx): New.
8298 (libc_feresetroundf_ctx): New.
8299 (libc_feresetroundl_ctx): New.
8301 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8303 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8305 * manual/ipc.texi: New file.
8306 * manual/Makefile (chapters): Add ipc.
8307 * manual/job.texi: Add "Inter-Process Communication" to next.
8308 * manual/process.texi: Add "Inter-Process Communication" to prev.
8310 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8314 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8316 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8318 * manual/arith.texi: Fix spaces after sentences.
8319 * manual/charset.texi: Likewise.
8320 * manual/errno.texi: Likewise.
8321 * manual/install.texi: Likewise.
8322 * manual/llio.texi: Likewise.
8323 * manual/locale.texi: Likewise.
8324 * manual/maint.texi: Likewise.
8325 * manual/math.texi: Likewise.
8326 * manual/memory.texi: Likewise.
8327 * manual/message.texi: Likewise.
8328 * manual/probes.texi: Likewise.
8329 * manual/resource.texi: Likewise.
8330 * manual/signal.texi: Likewise.
8331 * manual/socket.texi: Likewise.
8332 * manual/stdio.texi: Likewise.
8333 * manual/string.texi: Likewise.
8334 * manual/time.texi: Likewise.
8335 * manual/users.texi: Likewise.
8337 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8340 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8341 _DEFAULT_SOURCE is defined.
8343 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8344 Carlos O'Donell <carlos@redhat.com>
8347 * elf/dl-tls.c (_dl_count_modids): New function.
8348 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8349 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8350 audit library and increment generation counter.
8351 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8352 * elf/tst-audit9.c: New file.
8353 * elf/tst-auditmod9a.c: New file.
8354 * elf/tst-auditmod9b.c: New file.
8355 * elf/Makefile: Add rules to build and run tst-audit9.
8357 2014-02-25 Florian Weimer <fweimer@redhat.com>
8360 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8362 2014-02-25 Will Newton <will.newton@linaro.org>
8364 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8365 (__longjmp): Restore sp and lr before restoring callee
8366 saved registers. Add longjmp and longjmp_target
8367 SystemTap probe point.
8368 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8369 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8370 Define to zero to match jmpbuf layout.
8371 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8372 (__sigsetjmp): Save sp and lr before saving callee
8373 saved registers. Add setjmp SystemTap probe point.
8375 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8377 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8379 2014-02-24 Andreas Schwab <schwab@suse.de>
8382 * elf/pldd.c (wait_for_ptrace_stop): New function.
8383 (main): Call it after attaching.
8385 2014-02-22 Roland McGrath <roland@hack.frob.com>
8387 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8388 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8389 Versions files is now verboten.
8390 * hurd/Versions (libc: GLIBC_2.0):
8391 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8392 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8393 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8394 * mach/Versions: Likewise.
8396 * csu/Versions: Remove unused %include.
8397 * resolv/Versions: Likewise.
8399 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8401 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8402 ($(objpfx)check-local-headers.out): Likewise.
8403 ($(objpfx)begin-end-check.out): Likewise.
8404 * Makerules (check-abi-%.out): Likewise.
8405 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8406 ($(objpfx)test2.cat): Likewise.
8407 ($(objpfx)de/libc.cat): Likewise.
8408 ($(objpfx)test-gencat.out): Likewise.
8409 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8410 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8411 ($(objpfx)noload-mem): Likewise.
8412 ($(objpfx)tst-pathopt.out): Likewise.
8413 ($(objpfx)tst-rtld-load-self.out): Likewise.
8414 ($(objpfx)tst-array1-cmp.out): Likewise.
8415 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8416 ($(objpfx)tst-array2-cmp.out): Likewise.
8417 ($(objpfx)tst-array3-cmp.out): Likewise.
8418 ($(objpfx)tst-array4-cmp.out): Likewise.
8419 ($(objpfx)tst-array5-cmp.out): Likewise.
8420 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8421 ($(objpfx)check-textrel.out): Likewise.
8422 ($(objpfx)check-execstack.out): Likewise.
8423 ($(objpfx)check-localplt.out): Likewise.
8424 ($(objpfx)order2-cmp.out): Likewise.
8425 ($(objpfx)tst-leaks1-mem): Likewise.
8426 ($(objpfx)tst-leaks1-static-mem): Likewise.
8427 ($(objpfx)tst-initorder-cmp.out): Likewise.
8428 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8429 ($(objpfx)tst-unused-dep.out): Likewise.
8430 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8431 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8432 * iconv/Makefile (test-iconvconfig): Likewise.
8433 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8434 ($(objpfx)iconv-test.out): Likewise.
8435 ($(objpfx)tst-tables.out): Likewise.
8436 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8437 ($(objpfx)tst-gettext.out): Likewise.
8438 ($(objpfx)tst-translit.out): Likewise.
8439 ($(objpfx)tst-gettext2.out): Likewise.
8440 ($(objpfx)tst-gettext4.out): Likewise.
8441 ($(objpfx)tst-gettext6.out): Likewise.
8442 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8443 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8444 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8445 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8446 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8447 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8448 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8449 ($(objpfx)wordexp-tst.out): Likewise.
8450 ($(objpfx)annexc.out): Likewise.
8451 ($(objpfx)tst-fnmatch-mem): Likewise.
8452 ($(objpfx)bug-regex2-mem): Likewise.
8453 ($(objpfx)bug-regex14-mem): Likewise.
8454 ($(objpfx)bug-regex21-mem): Likewise.
8455 ($(objpfx)bug-regex31-mem): Likewise.
8456 ($(objpfx)tst-vfork3-mem): Likewise.
8457 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8458 ($(objpfx)tst-pcre-mem): Likewise.
8459 ($(objpfx)tst-boost-mem): Likewise.
8460 ($(objpfx)tst-getconf.out): Likewise.
8461 ($(objpfx)bug-ga2-mem): Likewise.
8462 ($(objpfx)bug-glob2-mem): Likewise.
8463 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8464 ($(objpfx)mtrace-tst-leaks2): Likewise.
8465 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8466 ($(objpfx)tst-printf.out): Likewise.
8467 ($(objpfx)tst-setvbuf1.out): Likewise.
8468 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8469 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8470 ($(objpfx)tst-fmtmsg.out): Likewise.
8471 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8472 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8474 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8475 * bits/sigaction.h [__USE_MISC]: Likewise.
8476 * bits/waitstatus.h: Update #endif comments.
8477 * ctype/ctype.h: Likewise.
8478 * dirent/dirent.h: Likewise.
8479 [__USE_MISC]: Remove redundant conditionals.
8480 * grp/grp.h: Update #endif comments.
8481 [__USE_GNU]: Remove redundant conditionals.
8482 [__USE_MISC]: Likewise.
8483 * inet/netinet/in.h [__USE_GNU]: Likewise.
8484 * io/sys/stat.h [__USE_MISC]: Likewise.
8485 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8486 * libio/bits/stdio.h: Update #endif comments.
8487 [__USE_MISC]: Remove redundant conditionals.
8488 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8489 * libio/stdio.h: Update #endif comments.
8490 [__USE_MISC]: Remove redundant conditionals.
8491 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8492 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8493 * math/math.h: Update #else and #endif comments.
8494 [__USE_MISC]: Remove redundant conditionals.
8495 * misc/sys/uio.h: Update #endif comments.
8496 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8497 * posix/glob.h [__USE_MISC]: Likewise.
8498 * posix/sys/types.h: Update #endif comments.
8499 [__USE_MISC]: Remove redundant conditionals.
8500 * posix/sys/wait.h: Update #endif comments.
8501 [__USE_MISC]: Remove redundant conditionals.
8502 * posix/unistd.h: Update #endif comments.
8503 [__USE_MISC]: Remove redundant conditionals.
8504 * pwd/pwd.h [__USE_GNU]: Likewise.
8505 [__USE_MISC]: Likewise.
8506 * resolv/netdb.h [__USE_GNU]: Likewise.
8507 * signal/signal.h: Update #endif comments.
8508 [__USE_MISC]: Remove redundant conditionals.
8509 * stdlib/stdlib.h: Update #else and #endif comments.
8510 [__USE_MISC]: Remove redundant conditionals.
8511 [__USE_GNU]: Likewise.
8512 * string/bits/string2.h [__USE_MISC]: Likewise.
8513 * string/string.h: Update #endif comments.
8514 [__USE_MISC]: Remove redundant conditionals.
8515 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8517 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8518 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8519 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8521 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8523 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8525 [__USE_MISC]: Remove redundant conditionals.
8526 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8527 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8528 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8529 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8530 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8532 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8533 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8535 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8536 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8538 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8540 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8541 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8543 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8545 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8546 * sysdeps/x86/bits/string.h: Update #endif comments.
8547 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8549 * time/sys/time.h: Update #endif comments.
8550 * time/time.h: Likewise.
8551 [__USE_MISC]: Remove redundant conditionals.
8553 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8556 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8558 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8560 * Versions.def (librt): Add GLIBC_2.17.
8562 2014-02-21 Adam Conrad <adconrad@0c3.net>
8564 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8565 synonym for _SYS_AUXV_H to allow direct inclusion.
8566 * sysdeps/sparc/bits/hwcap.h: Likewise.
8567 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8568 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8569 * sysdeps/sparc/sysdep.h: Likewise.
8571 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8573 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8575 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8577 * benchtests/bench-strrchr.c: Print length instead of position.
8579 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8582 * sysdeps/unix/sysv/linux/kernel-features.h
8583 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8584 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8585 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8586 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8588 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8589 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8590 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8591 (__ASSUME_SENDMMSG): Define instead of using previous
8592 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8593 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8594 (__ASSUME_SENDMMSG_SYSCALL): Define.
8595 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8596 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8598 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8599 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8601 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8602 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8604 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8605 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8606 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8607 [__ASSUME_SENDMMSG]: Change conditionals to
8608 [__ASSUME_SENDMMSG_SOCKETCALL].
8609 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8610 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8612 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8613 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8615 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8616 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8617 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8618 [!__ASSUME_SENDMMSG]: Change conditional to
8619 [!__ASSUME_SENDMMSG_SOCKETCALL].
8620 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8621 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8625 * sysdeps/unix/sysv/linux/kernel-features.h
8626 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8627 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8628 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8629 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8630 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8631 [__i386__ || __sparc__]
8632 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8633 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8634 (__ASSUME_RECVMMSG): Define instead of using previous
8635 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8636 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8637 (__ASSUME_RECVMMSG_SYSCALL): Define.
8638 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8639 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8641 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8642 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8644 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8645 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8647 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8648 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8649 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8650 [__ASSUME_RECVMMSG]: Change condition to
8651 [__ASSUME_RECVMMSG_SOCKETCALL].
8652 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8653 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8655 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8656 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8657 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8659 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8660 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8661 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8662 [!__ASSUME_RECVMMSG]: Change condition to
8663 [!__ASSUME_RECVMMSG_SOCKETCALL].
8664 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8665 (__ASSUME_RECVMMSG_SYSCALL): Define.
8668 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8669 __powerpc__ || __s390__ || __sh__ || __sparc__]
8670 (__ASSUME_SOCKETCALL): Define.
8671 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8672 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8673 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8674 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8675 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8676 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8677 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8678 (__ASSUME_ACCEPT4): Define instead of using previous
8679 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8680 __powerpc__ || __sparc__ || __s390__)] condition.
8681 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8682 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8683 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8684 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8685 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8686 [!__ASSUME_ACCEPT4]: Change condition to
8687 [!__ASSUME_ACCEPT4_SOCKETCALL].
8688 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8689 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8690 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8691 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8692 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8693 __ASSUME_ACCEPT4_SYSCALL.
8694 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8695 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8696 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8697 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8698 __ASSUME_ACCEPT4_SYSCALL.
8699 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8700 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8701 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8702 [__ASSUME_ACCEPT4]: Change condition to
8703 [__ASSUME_ACCEPT4_SOCKETCALL].
8704 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8705 (__ASSUME_SOCKETCALL): Define.
8706 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8707 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8708 (__ASSUME_SOCKETCALL): Define.
8709 (__ASSUME_ACCEPT4): Remove.
8710 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8712 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8713 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8715 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8716 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8718 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8720 (HWCAP_ARM_LPAE): Likewise.
8721 (HWCAP_ARM_EVTSTRM): Likewise.
8722 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8723 Add vpfd32, lpae and evtstrm.
8724 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8727 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8729 * math/auto-libm-test-in: Add tests of clog10.
8730 * math/auto-libm-test-out: Regenerated.
8731 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8732 * sysdeps/i386/fpu/libm-test-ulps: Update.
8733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8735 2014-02-18 Andreas Schwab <schwab@suse.de>
8738 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8739 Store non-zero if the second buffer was newly allocated.
8740 (send_dg): Likewise.
8741 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8742 to send_vc and send_dg.
8743 (res_nsend): Pass NULL for ansp2_malloced.
8744 * resolv/res_query.c (__libc_res_nquery): Add parameter
8745 answerp2_malloced and pass it down to __libc_res_nsend.
8746 (res_nquery): Pass additional NULL to __libc_res_nquery.
8747 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8748 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8749 second answer buffer if answerp2_malloced was set.
8750 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8751 (__libc_res_nquerydomain): Add parameter
8752 answerp2_malloced and pass it down to __libc_res_nquery.
8753 (res_nquerydomain): Pass additional NULL to
8754 __libc_res_nquerydomain.
8755 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8756 additional NULL to __libc_res_nsend and __libc_res_nquery.
8757 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8758 additional NULL to __libc_res_nsearch.
8759 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8760 parameter of __libc_res_nsearch to check for separately allocated
8762 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8764 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8765 additional NULL to __libc_res_nquery.
8766 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8768 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8769 * include/resolv.h: Update prototypes of __libc_res_nquery,
8770 __libc_res_nsearch, __libc_res_nsend.
8772 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8774 * math/auto-libm-test-in: Add tests of fma.
8775 * math/auto-libm-test-out: Regenerated.
8776 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8777 (fma_towardzero_test_data): Likewise.
8778 (fma_downward_test_data): Likewise.
8779 (fma_upward_test_data): Likewise.
8780 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8782 (rounding_modes): Add values for new field.
8783 (func_calc_method): Add value mpfr_fff_f.
8784 (func_calc_desc): Add mpfr_fff_f union field.
8785 (test_function): Add field exact_args.
8786 (FUNC): Add macro argument EXACT_ARGS.
8787 (FUNC_mpfr_f_f): Update call to FUNC.
8788 (FUNC_mpfr_f_f): Likewise.
8789 (FUNC_mpfr_ff_f): Likewise.
8790 (FUNC_mpfr_if_f): Likewise.
8791 (FUNC_mpc_c_f): Likewise.
8792 (FUNC_mpc_c_c): Likewise.
8793 (test_functions): Add fma. Update calls to FUNC.
8794 (handle_input_arg): Add argument exact_args.
8795 (add_test): Update call to handle_input_arg.
8796 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8797 (output_for_one_input_case): Update call to calc_generic_results.
8798 Recalculate exact zero results in each rounding mode.
8800 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8801 non-negative before setting low bit.
8802 * math/auto-libm-test-in: Mark one asin test possibly having
8804 * math/auto-libm-test-out: Regenerated.
8805 * sysdeps/i386/fpu/libm-test-ulps: Update.
8806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8810 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8811 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8812 ports/sysdeps/unix/sysv/linux/microblaze.
8813 * README: Add missing listing for microblaze*-*-linux-gnu.
8815 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8817 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8818 * sysdeps/unix/sysv/linux/ia64: Move directory from
8819 ports/sysdeps/unix/sysv/linux/ia64.
8820 * README: Update listing for ia64-*-linux-gnu.
8822 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8823 Joseph Myers <joseph@codesourcery.com>
8825 * Makeconfig (test-name): New variable.
8826 (evaluate-test): Likewise.
8827 * Makerules (do-test-clean): Remove .test-result files.
8828 (common-mostlyclean): Likewise.
8829 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8830 * scripts/evaluate-test.sh: New file.
8832 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8834 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8835 separate $(objpfx)tst-fopenloc-cmp.out and
8836 $(objpfx)tst-fopenloc-mem.out targets.
8837 (tests): Update dependencies.
8838 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8839 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8840 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8841 (tst-rxspencer-no-utf8-ARGS): New variable.
8842 (tst-rxspencer-no-utf8-ENV): Likewise.
8843 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8844 instead of $(objpfx)tst-rxspencer-mem.
8845 ($(objpfx)tst-rxspencer-mem): Change target to
8846 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8847 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8848 * posix/tst-rxspencer-no-utf8.c: New file.
8850 * elf/Makefile ($(objpfx)order.out): Remove rule.
8851 [$(run-built-tests) = yes] (tests): Depend on
8852 $(objpfx)order-cmp.out.
8853 ($(objpfx)order-cmp.out): New rule.
8854 [$(run-built-tests) = yes] (tests): Depend on
8855 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8856 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8857 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8858 $(objpfx)tst-array5-static-cmp.out.
8859 ($(objpfx)tst-array1.out): Remove rule.
8860 ($(objpfx)tst-array1-cmp.out): New rule.
8861 ($(objpfx)tst-array1-static.out): Remove rule.
8862 ($(objpfx)tst-array1-static-cmp.out): New rule.
8863 ($(objpfx)tst-array2.out): Remove rule.
8864 ($(objpfx)tst-array2-cmp.out): New rule.
8865 ($(objpfx)tst-array3.out): Remove rule.
8866 ($(objpfx)tst-array3-cmp.out): New rule.
8867 ($(objpfx)tst-array4.out): Remove rule.
8868 ($(objpfx)tst-array4-cmp.out): New rule.
8869 ($(objpfx)tst-array5.out): Remove rule.
8870 ($(objpfx)tst-array5-cmp.out): New rule.
8871 ($(objpfx)tst-array5-static.out): Remove rule.
8872 ($(objpfx)tst-array5-static-cmp.out): New rule.
8873 [$(run-built-tests) = yes] (tests): Depend on
8874 $(objpfx)order2-cmp.out.
8875 ($(objpfx)order2.out): Remove rule.
8876 ($(objpfx)order2-cmp.out): New rule.
8877 ($(objpfx)tst-initorder.out): Remove rule.
8878 [$(run-built-tests) = yes] (tests): Depend on
8879 $(objpfx)tst-initorder-cmp.out.
8880 ($(objpfx)tst-initorder-cmp.out): New rule.
8881 ($(objpfx)tst-initorder2.out): Remove rule.
8882 [$(run-built-tests) = yes] (tests): Depend on
8883 $(objpfx)tst-initorder2-cmp.out.
8884 ($(objpfx)tst-initorder2-cmp.out): New rule.
8885 [$(run-built-tests) = yes] (tests): Depend on
8886 $(objpfx)tst-unused-dep-cmp.out.
8887 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8888 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8889 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8890 on $(objpfx)tst-setvbuf1-cmp.out.
8891 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8892 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8893 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8894 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8895 ($(objpfx)tst-svc.out): Remove rule.
8896 ($(objpfx)tst-svc-cmp.out): New rule.
8898 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8900 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8901 * ctype/ctype.h [__USE_MISC]: Likewise.
8902 * dirent/dirent.h [__USE_MISC]: Likewise.
8903 * grp/grp.h [__USE_MISC]: Likewise.
8904 * io/fcntl.h [__USE_MISC]: Likewise.
8905 * io/sys/stat.h [__USE_MISC]: Likewise.
8906 * libio/stdio.h [__USE_MISC]: Likewise.
8907 * posix/unistd.h [__USE_MISC]: Likewise.
8908 * pwd/pwd.h [__USE_MISC]: Likewise.
8909 * stdlib.h [__USE_MISC]: Likewise.
8910 * string/bits/string2.h [__USE_MISC]: Likewise.
8911 * string/string.h [__USE_MISC]: Likewise.
8912 * time/time.h [__USE_MISC]: Likewise.
8914 2014-02-13 Andreas Schwab <schwab@suse.de>
8917 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8918 second answer buffer if it was separately allocated.
8920 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8922 * sysdeps/mips/math-tests.h: Include <features.h>.
8923 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8924 (ROUNDING_TESTS_long_double): Do not define.
8925 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8926 (EXCEPTION_TESTS_long_double): Likewise.
8927 * sysdeps/mips/mips64/libm-test-ulps: Update.
8929 * include/features.h (__USE_BSD): Remove macro definitions.
8930 (__USE_SVID): Likewise.
8931 (_BSD_SOURCE): Likewise.
8932 (_SVID_SOURCE): Likewise.
8933 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8934 from definition of _DEFAULT_SOURCE.
8935 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8937 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8938 * bits/mman.h [__USE_BSD]: Likewise.
8939 * bits/termios.h [__USE_BSD]: Likewise.
8940 * bits/waitstatus.h [__USE_BSD]: Likewise.
8941 * ctype/ctype.h [__USE_SVID]: Likewise.
8942 * dirent/dirent.h [__USE_BSD]: Likewise.
8943 * grp/grp.h [__USE_SVID]: Likewise.
8944 [__USE_BSD]: Likewise.
8945 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8946 * io/fcntl.h [__USE_BSD]: Likewise.
8947 * io/ftw.h [__USE_BSD]: Likewise.
8948 * io/sys/stat.h [__USE_BSD]: Likewise.
8949 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8950 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8951 * libio/stdio.h [__USE_SVID]: Likewise.
8952 [__USE_BSD]: Likewise.
8953 * math/math.h [__USE_SVID]: Likewise.
8954 [__USE_BSD]: Likewise.
8955 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8956 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8957 * misc/search.h [__USE_SVID]: Likewise.
8958 * misc/sys/mman.h [__USE_BSD]: Likewise.
8959 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8960 * misc/sys/uio.h [__USE_BSD]: Likewise.
8961 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8962 * posix/glob.h [__USE_BSD]: Likewise.
8963 * posix/regex.h [__USE_BSD]: Likewise.
8964 * posix/sys/types.h [__USE_BSD]: Likewise.
8965 [__USE_SVID]: Likewise.
8966 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8967 * posix/sys/wait.h [__USE_BSD]: Likewise.
8968 [__USE_SVID]: Likewise.
8969 * posix/unistd.h [__USE_BSD]: Likewise.
8970 [__USE_SVID]: Likewise.
8971 * pwd/pwd.h [__USE_SVID]: Likewise.
8972 * resolv/netdb.h [__USE_BSD]: Likewise.
8973 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8974 * signal/signal.h [__USE_BSD]: Likewise.
8975 [__USE_SVID]: Likewise.
8976 * socket/sys/socket.h [__USE_BSD]: Likewise.
8977 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8978 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8979 [__USE_SVID]: Likewise.
8980 * string/bits/string2.h [__USE_BSD]: Likewise.
8981 [__USE_SVID]: Likewise.
8982 * string/bits/string3.h [__USE_BSD]: Likewise.
8983 * string/endian.h [__USE_BSD]: Likewise.
8984 * string/string.h [__USE_SVID]: Likewise.
8985 [__USE_BSD]: Likewise.
8986 * string/strings.h [__USE_BSD]: Likewise.
8987 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8988 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8989 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8990 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8991 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8992 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8994 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8996 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8997 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8999 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9000 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9002 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9004 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9005 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9006 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9008 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9010 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9011 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9012 * termios/termios.h [__USE_BSD]: Likewise.
9013 * time/sys/time.h [__USE_BSD]: Likewise.
9014 * time/time.h [__USE_BSD]: Likewise.
9015 [__USE_SVID]: Likewise.
9017 * Makefile (subdir_targets): Remove subdir_lint.out.
9019 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9020 (do-tst-printf): Likewise.
9021 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9022 $(objpfx)tst-printf.out.
9024 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9026 * Makerules (check-abi-%): Change target to
9027 $(objpfx)check-abi-%.out.
9028 (check-abi target): Update dependencies.
9029 (check-abi-pattern variable): Redirect output of diff to $@.
9030 (check-abi variable): Likewise.
9031 * elf/Makefile (check-abi): Update dependencies.
9033 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9035 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9036 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9038 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9039 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9040 value has largest subnormal exponent.
9041 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9042 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9043 * sysdeps/aarch64/soft-fp/sfp-machine.h
9044 (_FP_TININESS_AFTER_ROUNDING): New macro.
9045 * sysdeps/alpha/soft-fp/sfp-machine.h
9046 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9047 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9049 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9050 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9051 * sysdeps/mips/soft-fp/sfp-machine.h
9052 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9053 * sysdeps/powerpc/soft-fp/sfp-machine.h
9054 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9055 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9057 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9058 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9059 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9060 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9061 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9064 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9067 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9070 2014-02-12 Richard Henderson <rth@redhat.com>
9072 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9073 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9074 * sysdeps/unix/sysv/linux/alpha: Move directory from
9075 ports/sysdeps/unix/sysv/linux/alpha.
9076 * README: Update listing for alpha-*-linux-gnu.
9078 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9080 * include/features.h: Update comment documenting feature test
9082 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9084 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9085 (_SVID_SOURCE): Likewise.
9086 (_DEFAULT_SOURCE): Update description of default features.
9087 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9089 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9090 (S_ISVTX): Likewise.
9091 * manual/math.texi (Mathematical Constants): Likewise.
9092 * manual/signal.texi (Interrupted Primitives): Likewise.
9093 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9094 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9095 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9096 Don't refer to _SVID_SOURCE in warning text.
9098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9100 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9102 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9103 * sysdeps/mips/dl-lookup.c: Remove.
9104 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9106 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9109 * math/auto-libm-test-in: Add testcase for expl.
9110 * math/auto-libm-test-out: Regenerate.
9111 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9112 calculation of unsafe.
9113 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9115 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9117 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9118 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9119 ports/sysdeps/unix/sysv/linux/aarch64.
9120 * README: Update listing for aarch64*-*-linux-gnu.
9122 2014-02-11 Will Newton <will.newton@linaro.org>
9124 * manual/probes.texi (Mathematical Function Probes): Use
9125 "triggered" instead of "hit".
9127 * manual/probes.texi (Internal Probes): Add documentation
9128 of setjmp, longjmp and longjmp_target probes.
9130 * include/stap-probe.h: Add comment about probe argument
9133 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9134 definition. (tr_where, tr_freehook, tr_mallochook,
9135 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9137 2014-02-11 David S. Miller <davem@davemloft.net>
9139 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9140 processing int_tests.
9142 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9144 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9145 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9146 * sysdeps/unix/sysv/linux/mips: Move directory from
9147 ports/sysdeps/unix/sysv/linux/mips.
9148 * README: Update listing for mips-*-linux-gnu and
9151 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9153 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9154 * sysdeps/unix/sysv/linux/m68k: Move directory from
9155 ports/sysdeps/unix/sysv/linux/m68k.
9156 * README: Update listing for m68k-*-linux-gnu.
9158 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9160 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9161 * sysdeps/unix/sysv/linux/generic: Move directory from
9162 ports/sysdeps/unix/sysv/linux/generic.
9163 * sysdeps/unix/sysv/linux/tile: Move directory from
9164 ports/sysdeps/unix/sysv/linux/tile.
9165 * README: Update listing for tile*-*-linux-gnu.
9167 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9169 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9171 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9172 * catgets/open_catalog.c (__open_catalog): Likewise.
9173 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9174 * debug/confstr_chk.c: Likewise.
9175 * debug/fread_chk.c (__fread_chk): Likewise.
9176 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9177 * debug/getgroups_chk.c: Likewise.
9178 * debug/mbsnrtowcs_chk.c: Likewise.
9179 * debug/mbsrtowcs_chk.c: Likewise.
9180 * debug/mbstowcs_chk.c: Likewise.
9181 * debug/memcpy_chk.c: Likewise.
9182 * debug/memmove_chk.c: Likewise.
9183 * debug/mempcpy_chk.c: Likewise.
9184 * debug/memset_chk.c: Likewise.
9185 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9186 * debug/strcat_chk.c (__strcat_chk): Likewise.
9187 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9188 * debug/strncat_chk.c (__strncat_chk): Likewise.
9189 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9190 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9191 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9192 * debug/wcpncpy_chk.c: Likewise.
9193 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9194 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9195 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9196 * debug/wcsncpy_chk.c: Likewise.
9197 * debug/wcsnrtombs_chk.c: Likewise.
9198 * debug/wcsrtombs_chk.c: Likewise.
9199 * debug/wcstombs_chk.c: Likewise.
9200 * debug/wmemcpy_chk.c: Likewise.
9201 * debug/wmemmove_chk.c: Likewise.
9202 * debug/wmempcpy_chk.c: Likewise.
9203 * debug/wmemset_chk.c: Likewise.
9204 * dirent/scandirat.c (SCANDIRAT): Likewise.
9205 * dlfcn/dladdr1.c (dladdr1): Likewise.
9206 * dlfcn/dladdr.c (dladdr): Likewise.
9207 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9208 * dlfcn/dlerror.c (__dlerror): Likewise.
9209 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9210 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9211 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9212 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9213 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9214 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9215 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9216 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9218 * elf/dl-conflict.c: Likewise.
9219 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9220 * elf/dl-dst.h: Likewise.
9221 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9222 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9223 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9224 * elf/dl-init.c (call_init, _dl_init): Likewise.
9225 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9226 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9227 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9229 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9231 * elf/dl-minimal.c (__libc_memalign): Likewise.
9232 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9233 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9234 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9235 * elf/dl-sym.c (do_sym): Likewise.
9236 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9237 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9238 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9239 * elf/dl-writev.h (_dl_writev): Likewise.
9240 * elf/ldconfig.c (search_dir): Likewise.
9241 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9242 (dl_main): Likewise.
9243 * elf/setup-vdso.h (setup_vdso): Likewise.
9244 * grp/compat-initgroups.c (compat_call): Likewise.
9245 * grp/fgetgrent.c (fgetgrent): Likewise.
9246 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9247 * grp/putgrent.c (putgrent): Likewise.
9248 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9250 * hurd/hurdinit.c: Likewise.
9251 * iconvdata/8bit-gap.c (struct): Likewise.
9252 * iconvdata/ansi_x3.110.c : Likewise.
9253 * iconvdata/big5.c : Likewise.
9254 * iconvdata/big5hkscs.c : Likewise.
9255 * iconvdata/cp1255.c: Likewise.
9256 * iconvdata/cp1258.c : Likewise.
9257 * iconvdata/cp932.c : Likewise.
9258 * iconvdata/euc-cn.c: Likewise.
9259 * iconvdata/euc-jisx0213.c : Likewise.
9260 * iconvdata/euc-jp.c: Likewise.
9261 * iconvdata/euc-jp-ms.c : Likewise.
9262 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9263 * iconvdata/gb18030.c : Likewise.
9264 * iconvdata/gbbig5.c (const): Likewise.
9265 * iconvdata/gbgbk.c: Likewise.
9266 * iconvdata/gbk.c : Likewise.
9267 * iconvdata/ibm1364.c : Likewise.
9268 * iconvdata/ibm930.c : Likewise.
9269 * iconvdata/ibm932.c: Likewise.
9270 * iconvdata/ibm933.c : Likewise.
9271 * iconvdata/ibm935.c : Likewise.
9272 * iconvdata/ibm937.c : Likewise.
9273 * iconvdata/ibm939.c : Likewise.
9274 * iconvdata/ibm943.c: Likewise.
9275 * iconvdata/iso_11548-1.c: Likewise.
9276 * iconvdata/iso-2022-cn.c : Likewise.
9277 * iconvdata/iso-2022-cn-ext.c : Likewise.
9278 * iconvdata/iso-2022-jp-3.c: Likewise.
9279 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9280 * iconvdata/iso-2022-kr.c : Likewise.
9281 * iconvdata/iso646.c (gconv_end): Likewise.
9282 * iconvdata/iso_6937-2.c : Likewise.
9283 * iconvdata/iso_6937.c : Likewise.
9284 * iconvdata/iso8859-1.c: Likewise.
9285 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9286 * iconvdata/shift_jisx0213.c : Likewise.
9287 * iconvdata/sjis.c : Likewise.
9288 * iconvdata/t.61.c : Likewise.
9289 * iconvdata/tcvn5712-1.c : Likewise.
9290 * iconvdata/tscii.c: Likewise.
9291 * iconvdata/uhc.c : Likewise.
9292 * iconvdata/unicode.c (gconv_end): Likewise.
9293 * iconvdata/utf-16.c (gconv_end): Likewise.
9294 * iconvdata/utf-32.c (gconv_end): Likewise.
9295 * iconvdata/utf-7.c (base64): Likewise.
9296 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9297 * iconv/gconv_close.c (__gconv_close): Likewise.
9298 * iconv/gconv_open.c (__gconv_open): Likewise.
9299 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9300 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9301 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9302 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9303 (ucs4le_internal_loop_single): Likewise.
9304 * iconv/iconv.c (iconv): Likewise.
9305 * iconv/iconv_close.c: Likewise.
9306 * iconv/loop.c (SINGLE): Likewise.
9307 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9308 * include/atomic.h: Likewise.
9309 * inet/inet6_option.c (option_alloc): Likewise.
9310 * intl/bindtextdom.c (set_binding_values): Likewise.
9311 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9312 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9313 * intl/localealias.c (read_alias_file): Likewise.
9314 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9315 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9316 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9317 * libio/fmemopen.c (fmemopen): Likewise.
9318 * libio/iofgets.c (_IO_fgets): Likewise.
9319 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9320 * libio/iofgetws.c (fgetws): Likewise.
9321 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9322 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9323 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9324 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9325 * locale/findlocale.c (_nl_find_locale): Likewise.
9326 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9327 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9329 * locale/setlocale.c (setlocale): Likewise.
9330 * login/programs/pt_chown.c (main): Likewise.
9331 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9332 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9333 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9334 (mmap, mmap64, mremap, munmap): Likewise.
9335 * math/e_exp2l.c: Likewise.
9336 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9337 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9338 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9339 * math/s_catan.c (__catan): Likewise.
9340 * math/s_catanf.c (__catanf): Likewise.
9341 * math/s_catanh.c (__catanh): Likewise.
9342 * math/s_catanhf.c (__catanhf): Likewise.
9343 * math/s_catanhl.c (__catanhl): Likewise.
9344 * math/s_catanl.c (__catanl): Likewise.
9345 * math/s_ccosh.c (__ccosh): Likewise.
9346 * math/s_ccoshf.c (__ccoshf): Likewise.
9347 * math/s_ccoshl.c (__ccoshl): Likewise.
9348 * math/s_cexp.c (__cexp): Likewise.
9349 * math/s_cexpf.c (__cexpf): Likewise.
9350 * math/s_cexpl.c (__cexpl): Likewise.
9351 * math/s_clog10.c (__clog10): Likewise.
9352 * math/s_clog10f.c (__clog10f): Likewise.
9353 * math/s_clog10l.c (__clog10l): Likewise.
9354 * math/s_clog.c (__clog): Likewise.
9355 * math/s_clogf.c (__clogf): Likewise.
9356 * math/s_clogl.c (__clogl): Likewise.
9357 * math/s_csin.c (__csin): Likewise.
9358 * math/s_csinf.c (__csinf): Likewise.
9359 * math/s_csinh.c (__csinh): Likewise.
9360 * math/s_csinhf.c (__csinhf): Likewise.
9361 * math/s_csinhl.c (__csinhl): Likewise.
9362 * math/s_csinl.c (__csinl): Likewise.
9363 * math/s_csqrt.c (__csqrt): Likewise.
9364 * math/s_csqrtf.c (__csqrtf): Likewise.
9365 * math/s_csqrtl.c (__csqrtl): Likewise.
9366 * math/s_ctan.c (__ctan): Likewise.
9367 * math/s_ctanf.c (__ctanf): Likewise.
9368 * math/s_ctanh.c (__ctanh): Likewise.
9369 * math/s_ctanhf.c (__ctanhf): Likewise.
9370 * math/s_ctanhl.c (__ctanhl): Likewise.
9371 * math/s_ctanl.c (__ctanl): Likewise.
9372 * math/w_pow.c: Likewise.
9373 * math/w_powf.c: Likewise.
9374 * math/w_powl.c: Likewise.
9375 * math/w_scalb.c (sysv_scalb): Likewise.
9376 * math/w_scalbf.c (sysv_scalbf): Likewise.
9377 * math/w_scalbl.c (sysv_scalbl): Likewise.
9378 * misc/error.c (error_tail): Likewise.
9379 * misc/pselect.c (__pselect): Likewise.
9380 * nis/nis_callback.c (__nis_create_callback): Likewise.
9381 * nis/nis_call.c (__nisfind_server): Likewise.
9382 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9383 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9384 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9385 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9386 * nis/nis_lookup.c (nis_lookup): Likewise.
9387 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9388 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9389 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9390 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9391 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9392 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9393 * nis/nss_compat/compat-initgroups.c (add_group)
9394 (internal_getgrent_r): Likewise.
9395 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9396 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9397 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9398 (internal_getspnam_r): Likewise.
9399 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9400 (_nss_nis_getaliasbyname_r): Likewise.
9401 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9402 (_nss_nis_getntohost_r): Likewise.
9403 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9404 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9405 (_nss_nis_getgrgid_r): Likewise.
9406 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9407 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9408 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9409 (_nss_nis_gethostbyname4_r): Likewise.
9410 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9411 (initgroups_netid): Likewise.
9412 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9413 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9414 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9415 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9416 (_nss_nis_getprotobynumber_r): Likewise.
9417 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9418 (_nss_nis_getsecretkey): Likewise.
9419 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9420 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9421 (_nss_nis_getpwuid_r): Likewise.
9422 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9423 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9424 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9425 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9426 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9427 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9428 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9430 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9431 (_nss_nisplus_getntohost_r): Likewise.
9432 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9433 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9434 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9435 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9437 * nis/nss_nisplus/nisplus-initgroups.c
9438 (_nss_nisplus_initgroups_dyn): Likewise.
9439 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9440 (_nss_nisplus_getnetbyaddr_r): Likewise.
9441 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9442 (_nss_nisplus_getprotobynumber_r): Likewise.
9443 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9444 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9445 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9447 * nis/nss_nisplus/nisplus-service.c
9448 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9449 (_nss_nisplus_getservbyport_r): Likewise.
9450 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9451 (_nss_nisplus_getspnam_r): Likewise.
9452 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9454 * nscd/aicache.c (addhstaiX): Likewise.
9455 * nscd/cache.c (cache_search, prune_cache): Likewise.
9456 * nscd/connections.c (register_traced_file, send_ro_fd)
9457 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9458 (main_loop_epoll): Likewise.
9459 * nscd/grpcache.c (addgrbyX): Likewise.
9460 * nscd/hstcache.c (addhstbyX): Likewise.
9461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9462 * nscd/mem.c (gc, mempool_alloc): Likewise.
9463 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9464 (addinnetgrX): Likewise.
9465 * nscd/nscd-client.h (__nscd_acquire_maplock)
9466 (__nscd_drop_map_ref): Likewise.
9467 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9468 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9469 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9471 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9472 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9473 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9474 (__nscd_get_map_ref): Likewise.
9475 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9476 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9478 * nscd/pwdcache.c (addpwbyX): Likewise.
9479 * nscd/selinux.c (preserve_capabilities): Likewise.
9480 * nscd/servicescache.c (addservbyX): Likewise.
9481 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9482 * posix/fnmatch.c (fnmatch): Likewise.
9483 * posix/getopt.c (_getopt_internal_r): Likewise.
9484 * posix/glob.c (glob, glob_in_dir): Likewise.
9485 * posix/wordexp.c (exec_comm_child): Likewise.
9486 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9487 (getanswer_r, gaih_getanswer_slice): Likewise.
9488 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9489 * resolv/res_init.c: Likewise.
9490 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9491 * resolv/res_query.c (__libc_res_nquery): Likewise.
9492 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9494 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9495 * stdio-common/perror.c (perror): Likewise.
9496 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9497 * stdio-common/tmpnam.c (tmpnam): Likewise.
9498 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9499 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9500 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9502 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9503 * stdlib/putenv.c (putenv): Likewise.
9504 * stdlib/setenv.c (__add_to_environ): Likewise.
9505 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9506 * stdlib/strtol_l.c (INTERNAL): Likewise.
9507 * string/memmem.c (memmem): Likewise.
9508 * string/strerror.c (strerror): Likewise.
9509 * string/strnlen.c (__strnlen): Likewise.
9510 * string/test-memmem.c (simple_memmem): Likewise.
9511 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9512 * sunrpc/pm_getport.c (__get_socket): Likewise.
9513 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9514 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9515 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9516 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9518 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9519 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9520 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9521 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9522 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9523 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9525 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9527 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9528 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9530 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9531 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9533 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9534 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9535 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9537 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9538 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9540 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9542 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9544 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9545 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9547 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9548 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9549 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9550 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9553 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9561 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9563 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9565 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9567 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9569 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9571 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9572 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9573 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9574 * sysdeps/posix/sleep.c: Likewise.
9575 * sysdeps/posix/tempname.c: Likewise.
9576 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9577 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9579 * sysdeps/powerpc/powerpc32/dl-machine.h
9580 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9581 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9582 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9583 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9584 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9586 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9587 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9588 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9590 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9591 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9592 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9593 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9595 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9597 (elf_machine_lazy_rel): Likewise.
9598 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9599 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9600 (elf_machine_lazy_rel): Likewise.
9601 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9602 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9603 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9604 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9605 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9606 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9607 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9610 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9611 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9612 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9613 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9614 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9615 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9616 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9617 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9618 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9619 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9620 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9622 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9623 (__posix_fallocate64_l64): Likewise.
9624 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9625 (posix_fallocate): Likewise.
9626 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9628 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9629 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9630 (getifaddrs_internal): Likewise.
9631 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9632 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9633 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9634 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9635 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9636 (__posix_fallocate64_l64): Likewise.
9637 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9639 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9640 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9641 (__get_clockfreq): Likewise.
9642 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9643 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9644 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9647 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9648 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9649 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9651 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9652 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9653 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9654 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9655 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9656 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9657 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9659 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9660 (posix_fallocate): Likewise.
9661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9662 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9663 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9664 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9665 (elf_machine_rela, elf_machine_rela_relative)
9666 (elf_machine_lazy_rel): Likewise.
9667 * time/asctime.c (asctime_internal): Likewise.
9668 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9669 * time/tzset.c (__tzset_parse_tz): Likewise.
9670 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9671 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9672 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9673 * wcsmbs/wcsmbsload.h: Likewise.
9676 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9678 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9679 (arena_get2): Remove THREAD_STATS conditionals.
9680 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9681 (__malloc_stats, int): Likewise.
9683 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9685 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9686 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9688 * manual/setjmp.texi: Fix typos/grammar errors.
9690 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9691 Only return early when n is <= 0. Delete unused return statement.
9693 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9694 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9695 * debug/tst-longjmp_chk3.c: New file.
9697 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9698 (test_main): Replace code with set_fortify_handler call.
9699 * debug/test-strcpy_chk.c: Likewise.
9700 * debug/tst-chk1.c: Likewise.
9701 * debug/tst-longjmp_chk.c: Likewise.
9702 * test-skeleton.c: Include fcntl.h & paths.h
9703 (set_fortify_handler): Define.
9705 * debug/tst-longjmp_chk.c: Add header comment and include
9707 (do_test): Mark static.
9708 (TEST_FUNCTION): Define.
9710 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9711 (IP_PMTUDISC_INTERFACE): Likewise.
9712 (IP_MULTICAST_IF): Likewise.
9713 (IP_MULTICAST_TTL): Likewise.
9714 (IP_MULTICAST_LOOP): Likewise.
9715 (IP_ADD_MEMBERSHIP): Likewise.
9716 (IP_DROP_MEMBERSHIP): Likewise.
9717 (IP_UNBLOCK_SOURCE): Likewise.
9718 (IP_BLOCK_SOURCE): Likewise.
9719 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9720 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9721 (IP_MSFILTER): Likewise.
9722 (MCAST_JOIN_GROUP): Likewise.
9723 (MCAST_BLOCK_SOURCE): Likewise.
9724 (MCAST_UNBLOCK_SOURCE): Likewise.
9725 (MCAST_LEAVE_GROUP): Likewise.
9726 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9727 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9728 (MCAST_MSFILTER): Likewise.
9729 (IP_MULTICAST_ALL): Likewise.
9730 (IP_UNICAST_IF): Likewise.
9732 * timezone/Makefile: Delete $(have-ksh) check.
9733 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9734 * timezone/tzselect.ksh: Add +x mode bits.
9736 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9737 (ANON_INODE_FS_MAGIC): Likewise.
9738 (BDEVFS_MAGIC): Likewise.
9739 (BINFMTFS_MAGIC): Likewise.
9740 (BTRFS_TEST_MAGIC): Likewise.
9741 (CRAMFS_MAGIC_WEND): Likewise.
9742 (DEBUGFS_MAGIC): Likewise.
9743 (ECRYPTFS_SUPER_MAGIC): Likewise.
9744 (EXT3_SUPER_MAGIC): Likewise.
9745 (EXT4_SUPER_MAGIC): Likewise.
9746 (FUTEXFS_SUPER_MAGIC): Likewise.
9747 (HOSTFS_SUPER_MAGIC): Likewise.
9748 (HUGETLBFS_MAGIC): Likewise.
9749 (MINIX3_SUPER_MAGIC): Likewise.
9750 (MTD_INODE_FS_MAGIC): Likewise.
9751 (NILFS_SUPER_MAGIC): Likewise.
9752 (OPENPROM_SUPER_MAGIC): Likewise.
9753 (PIPEFS_MAGIC): Likewise.
9754 (PSTOREFS_MAGIC): Likewise.
9755 (QNX6_SUPER_MAGIC): Likewise.
9756 (RAMFS_MAGIC): Likewise.
9757 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9758 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9759 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9760 (SECURITYFS_MAGIC): Likewise.
9761 (SELINUX_MAGIC): Likewise.
9762 (SMACK_MAGIC): Likewise.
9763 (SOCKFS_MAGIC): Likewise.
9764 (SQUASHFS_MAGIC): Likewise.
9765 (STACK_END_MAGIC): Likewise.
9766 (TMPFS_MAGIC): Likewise.
9767 (USBDEVICE_SUPER_MAGIC): Likewise.
9768 (V9FS_MAGIC): Likewise.
9769 (XENFS_SUPER_MAGIC): Likewise.
9770 (CRAMFS_MAGIC): Fix typo in comment.
9771 (EXT2_SUPER_MAGIC): Update comment.
9772 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9774 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9776 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9777 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9778 * sysdeps/unix/sysv/linux/arm: Move directory from
9779 ports/sysdeps/unix/sysv/linux/arm.
9780 * README: Update listing for arm-*-linux-gnueabi.
9782 * README: Remove mention of am33.
9784 2014-02-07 Roland McGrath <roland@hack.frob.com>
9786 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9787 than the comma operator, to avoid "rhs of comma has no effect"
9789 (__sigfillset, __sigandset, __sigorset): Likewise.
9790 * include/signal.h (__sigemptyset): Likewise.
9791 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9793 2014-02-07 Allan McRae <allan@archlinux.org>
9795 * version.h (RELEASE): Set to "development".
9796 (VERSION): Set to "2.19.90"
9797 * NEWS: Add 2.20 section.
9799 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9802 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9804 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9806 * manual/contrib.texi: Update entry for Carlos O'Donell,
9807 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9809 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9811 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9813 * sysdeps/unix/sysv/linux/kernel-features.h
9814 [__LINUX_KERNEL_VERSION >= 0x020621]
9815 (__ASSUME_PROC_PID_TASK_COMM): Define.
9817 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9820 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9821 conversion when destination buffer does not have enough space.
9822 * libio/tst-ftell-partial-wide.c: New test case.
9823 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9825 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9826 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9827 Leonard and Allan McRae.
9829 2014-02-04 David S. Miller <davem@davemloft.net>
9831 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9834 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9863 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9865 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9866 * shlib-versions: Likewise.
9868 2014-02-04 Roland McGrath <roland@hack.frob.com>
9869 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9871 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9872 (abilist-pattern): New variable, set to %-le.abilist.
9874 * Makerules (abilist-pattern): New variable.
9875 (vpath): Use $(abilist-pattern) in place of %.abilist.
9876 (check-abi-% pattern rule): Likewise.
9877 (check-abi, update-abi): Likewise.
9879 2014-02-04 Eric Wong <normalperson@yhbt.net>
9881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9883 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9885 * manual/startup.texi: Add next, previous, and top entries for
9886 the `Program Arguments' and `Environment Variables' nodes.
9888 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9890 * manual/macros.texi: Add comments before MTASC-safety macros.
9892 * manual/users.texi: Document MTASC-safety properties.
9894 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9895 (pthread_getspecific, pthread_setspecific): Format with
9896 @deftypefun, and add @safety note.
9897 * manual/signal.texi: Move comments that analyze the above
9898 functions to their home place.
9900 2014-02-03 Allan McRae <allan@archlinux.org>
9902 * po/sl.po: Update Slovenian translation from translation project.
9904 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9906 * manual/time.texi (timegm): Add missing blank after @c.
9907 Reported by Joseph Myers <joseph@codesourcery.com>.
9909 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9911 * manual/check-safety.sh: New.
9912 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9914 * manual/terminal.texi: Document MTASC-safety properties.
9916 * manual/filesys.texi: Document MTASC-safety properties.
9918 * manual/errno.texi: Document MTASC-safety properties.
9920 * manual/intro.texi: Document safety identifiers and
9923 * manual/string.texi (wcstok): Fix prototype.
9924 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9926 * manual/time.texi: Document MTASC-safety properties.
9928 * manual/string.texi: Document MTASC-safety properties.
9930 * manual/threads.texi: Document MTASC-safety properties.
9932 * manual/stdio.texi: Document MTASC-safety properties.
9934 * manual/syslog.texi: Document MTASC-safety properties.
9936 * manual/sysinfo.texi: Document MTASC-safety properties.
9938 * manual/startup.texi: Document MTASC-safety properties.
9940 * manual/socket.texi: Document MTASC-safety properties.
9942 * manual/signal.texi: Document MTASC-safety properties.
9944 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9946 * manual/setjmp.texi: Document MTASC-safety properties.
9948 * manual/search.texi: Document MTASC-safety properties.
9950 * manual/resource.texi: Document MTASC-safety properties.
9952 * manual/process.texi: Document MTASC-safety properties.
9954 * manual/platform.texi: Document MTASC-safety properties.
9956 * manual/pipe.texi: Document MTASC-safety properties.
9958 * manual/pattern.texi: Document MTASC-safety properties.
9960 * manual/message.texi: Document MTASC-safety properties.
9963 * manual/memory.texi: Document MTASC-safety properties.
9965 * manual/math.texi: Document MTASC-safety properties.
9967 * manual/locale.texi: Document MTASC-safety properties.
9969 * manual/llio.texi: Document MTASC-safety properties.
9971 * manual/libdl.texi: New.
9973 * manual/lang.texi: Document MTASC-safety properties.
9975 * manual/job.texi: Document MTASC-safety properties.
9977 * manual/getopt.texi: Document MTASC-safety properties.
9979 * manual/ctype.texi: Document MTASC-safety properties.
9981 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9984 * csu/libc-tls.c (static_map): Remove variable.
9985 (__libc_setup_tls): Use main executable's link map for TLS data.
9986 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9987 casing for LM_ID_BASE and GL(dl_nns).
9988 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9989 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
9990 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9991 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9992 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9994 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9997 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
9999 * manual/debug.texi: Document MTASC-safety properties.
10001 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10004 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10005 of __x86_64__ when disabling x87 inline functions.
10007 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10009 * manual/charset.texi: Document MTASC-safety properties.
10011 * manual/crypt.texi: Document MTASC-safety properties.
10013 * manual/conf.texi: Document MTASC-safety properties.
10015 * manual/arith.texi: Document MTASC-safety properties.
10017 * manual/argp.texi: Document MTASC-safety properties.
10019 * manual/macros.texi: Introduce macros to document multi
10020 thread, asynchronous signal and asynchronous cancellation
10022 * manual/intro.texi: Introduce the properties themselves.
10024 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10026 * sysdeps/sh/sh4/Makefile: New file.
10028 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10030 * math/gen-libm-test.pl ($srcdir): New variable.
10031 ($auto_input): Use it.
10033 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10036 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10037 access beyond array bounds when parsing netgroups file.
10039 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10040 the old buffer before realloc.
10042 2014-01-27 Allan McRae <allan@archlinux.org>
10044 * po/fr.po: Update French translation from translation project.
10046 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10048 * sysdeps/sh/libm-test-ulps: Regenerate.
10050 2014-01-24 David S. Miller <davem@davemloft.net>
10052 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10054 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10056 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10057 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10059 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10062 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10063 string pointers after reallocation.
10065 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10067 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10068 __SH4A__ instead of __SH_FPU_ANY__.
10070 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10072 * sysdeps/sh/fpu_control.h: New file.
10073 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10074 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10075 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10076 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10077 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10078 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10079 * sysdeps/sh/sys/ucontext.h: Remove.
10080 * sysdeps/sh/sys: Remove directory.
10082 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10084 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10085 s390/sys/ucontext.h.
10086 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10087 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10089 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10092 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10094 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10097 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10098 Adjust the vDSO correctly for internal calls.
10099 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10101 2014-01-20 Allan McRae <allan@archlinux.org>
10103 * po/ca.po: Update Catalan translation from translation project.
10105 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10107 * sysdeps/s390/sotruss-lib.c: New file.
10109 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10113 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10114 local calls issues by not having a PLT stub required for IFUNC calls.
10115 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10117 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10119 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10120 * math/test-fpucw-static.c: Likewise.
10122 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10125 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10127 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10129 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10130 implementation for powerpc.
10132 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10135 * sysdeps/posix/system.c (__libc_system): Do not enable
10136 asynchronous cancellation.
10138 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10141 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10142 handling only for numbers special also in the IEEE case.
10144 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10146 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10148 2014-01-11 Allan McRae <allan@archlinux.org>
10150 * po/bg.po: Update Bulgarian translation from translation project.
10152 * po/de.po: Update German translation from translation project.
10154 2014-01-10 Roland McGrath <roland@hack.frob.com>
10156 * sysdeps/generic/gcc-compat.h: New file.
10158 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10160 * benchtests/asin-inputs: Correct slow inputs.
10161 * benchtests/acos-inputs: Likewise.
10163 2014-01-10 Allan McRae <allan@archlinux.org>
10165 * po:sv.po: Update Swedish translation from translation project.
10167 * po/vi.po: Update Vietnamese translation from translation project.
10169 * po/eo.po: Update Esperanto translation from translation project.
10171 * po/cs.po: Update Czech translation from translation project.
10173 * po/nl.po: Update Dutch translation from translation project.
10175 * po/pl.po: Update Polish translation from translation project.
10177 * po/ru.po: Update Russian translation from translation project.
10179 * po/uk.po: Update Ukrainian translation from translation project.
10181 2014-01-08 Brooks Moses <bmoses@google.com>
10183 * elf/dl-load.c: Fix comment typo.
10185 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10187 * po/header.pot: Rename to...
10188 * po/pot.header: ... this.
10189 * po/Makefile: Use pot.header.
10191 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10192 Maxim Kuvyrkov <maxim@kugelworks.com>
10195 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10196 SRC and DEST against LEN.
10198 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10201 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10203 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10205 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10209 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10212 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10213 for large positive arguments.
10215 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10217 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10219 * math/auto-libm-test-in: Mark various tests with
10220 xfail-rounding:ldbl-128ibm.
10221 * math/auto-libm-test-out: Regenerated.
10224 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10225 Increase overflow threshold.
10227 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10230 * stdio-common/vfprintf.c: Check for integer overflow.
10232 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10234 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10235 the first argument and return value of __tls_get_addr_internal.
10237 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10239 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10240 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10242 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10244 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10245 * sysdeps/s390/rtld-global-offsets.sym: New file.
10246 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10248 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10249 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10250 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10252 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10253 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10257 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10259 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10260 halfs of GPRs for high_gprs contexts.
10261 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10262 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10264 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10266 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10268 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10269 for high GPRs (uc_high_gprs) and for future extensions
10271 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10272 for future extensions (__reserved).
10273 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10275 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10276 SC_HIGHGPRS offset definition.
10277 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10278 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10280 * Versions.def: Add GLIBC_2.19 for libpthread.
10281 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10282 siglongjmp for libpthread with GLIBC_2.19 symver.
10283 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10284 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10285 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10286 * sysdeps/s390/__longjmp.c: New file.
10287 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10288 * sysdeps/s390/longjmp.c: New file.
10289 * sysdeps/s390/setjmp.S: New file.
10290 * sysdeps/s390/sigjmp.S: New file.
10291 * sysdeps/s390/v1-longjmp.c: New file.
10292 * sysdeps/s390/v1-setjmp.h: New file.
10293 * sysdeps/s390/v1-sigjmp.c: New file.
10294 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10295 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10296 GLIBC_2.19 version.
10297 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10298 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10299 versioned symbols for ____longjmp_chk.
10300 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10310 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10311 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10312 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10313 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10314 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10315 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10316 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10317 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10318 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10319 * sysdeps/s390/rtld-__longjmp.c: New file.
10320 * sysdeps/s390/rtld-setjmp.S: New file.
10322 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10325 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10326 Return -__logl (x) for small positive arguments without evaluating
10329 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10331 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10333 (__ptrace_peeksiginfo_args): ... this.
10334 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10335 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10336 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10338 2014-01-06 Allan McRae <allan@archlinux.org>
10340 * inet/netinet/in.h: Fix typo in comment.
10342 2014-01-05 Andreas Jaeger <aj@suse.de>
10344 * sysdeps/i386/fpu/libm-test-ulps: Update.
10346 2014-01-05 Allan McRae <allan@archlinux.org>
10348 * po/libc.pot: Regenerated.
10350 * malloc/memusagestat.c: Fix gettext call formatting.
10352 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10354 * nscd/nscd.c: Improve usage() output.
10356 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10358 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10359 * sysdeps/unix/sysv/linux/configure: Regenerated.
10360 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10361 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10363 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10366 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10367 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10369 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10371 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10372 extra tokens at end of #undef directive.
10373 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10374 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10375 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10377 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10379 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10381 * math/auto-libm-test-in: Mark various tests with
10382 xfail-rounding:ldbl-128ibm.
10383 * math/auto-libm-test-out: Regenerated.
10385 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10388 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10389 numbers with subnormal high part when calculating exponent.
10392 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10396 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10398 (__ieee754_acoshl): Use __log1pl not __log1p.
10400 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10402 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10403 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10404 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10405 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10406 (reused_arena, arena_get2): Convert to GNU style.
10407 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10408 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10409 (memalign_check, __malloc_set_state): Likewise.
10410 * malloc/mallocbug.c (main): Likewise.
10411 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10412 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10413 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10414 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10415 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10416 (__posix_memalign, malloc_info): Likewise.
10417 * malloc/malloc.h: Likewise.
10418 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10419 (mallochook, memalignhook, reallochook, mabort): Likewise.
10420 * malloc/mcheck.h: Likewise.
10421 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10422 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10423 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10424 * malloc/morecore.c (__default_morecore): Likewise.
10425 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10426 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10427 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10428 (print_and_abort): Likewise.
10429 * malloc/obstack.h: Likewise.
10430 * malloc/set-freeres.c (__libc_freeres): Likewise.
10431 * malloc/tst-mallocstate.c (main): Likewise.
10432 * malloc/tst-mtrace.c (main): Likewise.
10433 * malloc/tst-realloc.c (do_test): Likewise.
10435 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10438 * nscd/netgroupcache.c (do_notfound): New function.
10439 (addgetnetgrentX): Use it.
10442 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10443 NSS_STATUS_NOTFOUND.
10445 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10447 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10450 2014-01-01 Allan McRae <allan@archlinux.org>
10452 * scripts/update-copyrights: Update configure input file suffix.
10454 * NEWS: Update copyright year.
10455 * catgets/gencat.c: Likewise.
10456 * csu/version.c: Likewise.
10457 * debug/catchsegv.sh: Likewise.
10458 * debug/pcprofiledump.c: Likewise.
10459 * debug/xtrace.sh: Likewise.
10460 * elf/ldconfig.c: Likewise.
10461 * elf/ldd.bash.in: Likewise.
10462 * elf/pldd.c: Likewise.
10463 * elf/sotruss.ksh: Likewise.
10464 * elf/sprof.c: Likewise.
10465 * iconv/iconv_prog.c: Likewise.
10466 * iconv/iconvconfig.c: Likewise.
10467 * locale/programs/locale.c: Likewise.
10468 * locale/programs/localedef.c: Likewise.
10469 * login/programs/pt_chown.c: Likewise.
10470 * malloc/memusage.sh: Likewise.
10471 * malloc/memusagestat.c: Likewise.
10472 * malloc/mtrace.pl: Likewise.
10473 * manual/libc.texinfo: Likewise.
10474 * nscd/nscd.c: Likewise.
10475 * nss/getent.c: Likewise.
10476 * nss/makedb.c: Likewise.
10477 * posix/getconf.c: Likewise.
10478 * scripts/test-installation.pl: Likewise.
10480 * All files with FSF copyright notices: Update copyright dates
10481 using scripts/update-copyrights.
10482 * intl/plural.c: Regenerated.
10483 * locale/programs/charmap-kw.h: Likewise.
10484 * locale/programs/locfile-kw.h: Likewise.
10486 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10488 * sysdeps/unix/sysv/linux/configure: Regenerated.
10489 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10490 the linux/fanotify.h header.
10491 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10492 HAVE_LINUX_FANOTIFY_H is defined.
10494 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10496 * benchtests/cos-inputs: New inputs.
10497 * benchtests/sin-inputs: Likewise.
10499 * benchtests/atan-inputs: New inputs. Fix name of multiple
10500 precision fallback inputs.
10502 * benchtests/atanh-inputs: New inputs.
10503 * benchtests/tanh-inputs: Likewise.
10505 * benchtests/acosh-inputs: New inputs.
10506 * benchtests/asinh-inputs: Likewise.
10508 * benchtests/cosh-inputs: New inputs.
10509 * benchtests/sinh-inputs: Likewise.
10511 * benchtests/acos-inputs: Add more inputs.
10512 * benchtests/asin-inputs: Likewise.
10514 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10517 * manual/arith.texi: Fix spelling.
10518 * manual/charset.texi: Likewise.
10519 * manual/errno.texi: Likewise.
10520 * manual/filesys.texi: Likewise.
10521 * manual/lang.texi: Likewise.
10522 * manual/llio.texi: Likewise.
10523 * manual/locale.texi: Likewise.
10524 * manual/message.texi: Likewise.
10525 * manual/resource.texi: Likewise.
10526 * manual/search.texi: Likewise.
10527 * manual/setjmp.texi: Likewise.
10528 * manual/stdio.texi: Likewise.
10529 * manual/string.texi: Likewise.
10530 * manual/sysinfo.texi: Likewise.
10531 * manual/time.texi: Likewise.
10533 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10535 * po/sl.po: New file.
10537 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10539 * .gitignore: Add core/.gdbinit/.gdb_history.
10541 2013-12-27 Allan McRae <allan@archlinux.org>
10544 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10545 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10547 2013-12-24 Brooks Moses <bmoses@google.com>
10549 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10550 all compilers that claim C++98 compliance, not just GCC.
10551 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10554 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10556 * NEWS: Restore accidentally deleted bug-fix entries.
10558 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10559 Ondřej Bílka <neleai@seznam.cz>
10562 * malloc/malloc.c (_int_free): Perform sanity check only if we
10565 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10568 * manual/stdio.texi (String Input Conversions): Clarify that character
10569 classes are not supported.
10571 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10575 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10578 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10579 Calculate results for small negative arguments directly rather
10580 than using reflection formula with special underflow handling.
10582 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10583 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10584 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10585 (fchflags): Likewise.
10586 (revoke): Likewise.
10587 (setlogin): Likewise.
10588 (sigaltstack): Likewise.
10590 (sigblock): Remove.
10591 (sigsetmask): Likewise.
10593 (waitpid): Likewise.
10594 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10595 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10597 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10598 * sysdeps/unix/bsd/Makefile: ... here.
10599 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10600 * sysdeps/unix/bsd/Versions: ... here.
10601 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10602 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10603 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10604 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10605 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10606 * sysdeps/unix/bsd/sigblock.c: ... here.
10607 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10608 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10609 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10610 * sysdeps/unix/bsd/sigvec.c: ... here.
10611 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10612 * sysdeps/unix/bsd/tcdrain.c: ... here.
10613 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10614 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10615 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10616 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10617 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10618 * sysdeps/unix/bsd/wait.c: ... here.
10619 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10620 * sysdeps/unix/bsd/wait3.c: ... here.
10621 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10622 * sysdeps/unix/bsd/waitpid.c: ... here.
10624 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10627 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10628 round-to-nearest for [!USE_AS_EXPM1L].
10629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10630 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10631 more tests of exp and exp10. Expect some exp10 tests to miss
10632 exceptions or fail in directed rounding modes.
10633 * math/auto-libm-test-out: Regenerated.
10634 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10635 (exp10_test_tonearest): New function.
10636 (exp10_towardzero_test_data): New array.
10637 (exp10_test_towardzero): New function.
10638 (exp10_downward_test_data): New array.
10639 (exp10_test_downward): New function.
10640 (exp10_upward_test_data): New array.
10641 (exp10_test_upward): New function.
10642 (main): Call the new functions.
10643 * sysdeps/i386/fpu/libm-test-ulps: Update.
10644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10646 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10648 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10649 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10650 * math/auto-libm-test-out: Regenerated.
10651 * math/libm-test.inc (acosh_test_data): Add more tests.
10652 (atanh_test_data): Likewise.
10653 (ceil_test_data): Likewise.
10654 (copysign_test_data): Likewise.
10655 * sysdeps/i386/fpu/libm-test-ulps: Update.
10656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658 * timezone/checktab.awk: Update from tzcode 2013i.
10659 * timezone/private.h: Likewise.
10660 * timezone/scheck.c: Likewise.
10661 * timezone/tzfile.h: Likewise.
10662 * timezone/tzselect.ksh: Likewise.
10663 * timezone/zdump.c: Likewise.
10664 * timezone/zic.c: Likewise.
10666 * math/auto-libm-test-in: Add tests of cpow.
10667 * math/auto-libm-test-out: Regenerated.
10668 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10669 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10671 (func_calc_desc): Add mpc_cc_c union field.
10672 (test_functions): Add cpow.
10673 (special_fill_2pi): New function.
10674 (special_real_inputs): Add 2pi.
10675 (calc_generic_results): Handle mpc_cc_c.
10676 * sysdeps/i386/fpu/libm-test-ulps: Update.
10677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10680 csqrt, ctan and ctanh.
10681 * math/auto-libm-test-out: Regenerated.
10682 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10683 (TEST_COND_x86): Likewise.
10684 (ccos_test_data): Use AUTO_TESTS_c_c.
10685 (ccosh_test_data): Likewise.
10686 (cexp_test_data): Likewise.
10687 (clog_test_data): Likewise.
10688 (csqrt_test_data): Likewise.
10689 (ctan_test_data): Likewise.
10690 (ctan_tonearest_test_data): Likewise.
10691 (ctan_towardzero_test_data): Likewise.
10692 (ctan_downward_test_data): Likewise.
10693 (ctan_upward_test_data): Likewise.
10694 (ctanh_test_data): Likewise.
10695 (ctanh_tonearest_test_data): Likewise.
10696 (ctanh_towardzero_test_data): Likewise.
10697 (ctanh_downward_test_data): Likewise.
10698 (ctanh_upward_test_data): Likewise.
10699 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10701 (func_calc_desc): Add mpc_c_c union field.
10702 (FUNC_mpc_c_c): New macro.
10703 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10704 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10706 (special_fill_min_subnorm_p120): New function.
10707 (special_real_inputs): Add min_subnorm_p120.
10708 (calc_generic_results): Handle mpc_c_c.
10709 * sysdeps/i386/fpu/libm-test-ulps: Update.
10710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10712 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10714 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10715 (do_sin_slow): New functions.
10716 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10717 (cslow2, csloww1, csloww2): Use the new functions.
10719 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10720 Use M to change sign of result instead of X. Assume X is
10722 (csloww1): Likewise.
10726 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10727 arguments A and DA.
10731 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10733 (sloww1): Don't adjust sign of DX.
10734 (csloww1): Likewise.
10735 (sloww2): Use X directly and don't adjust sign of DX.
10736 (csloww2): Likewise.
10738 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10740 * math/auto-libm-test-in: Add tests of cabs and carg.
10741 * math/auto-libm-test-out: Regenerated.
10742 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10743 (carg_test_data): Likewise.
10744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10746 (func_calc_desc): Add mpc_c_f union field.
10747 (test_functions): Add cabs and carg.
10748 (calc_generic_results): Handle mpc_c_f.
10750 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10751 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10752 as a macro and a compat symbol.
10753 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10754 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10755 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10756 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10757 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10758 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10760 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10762 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10764 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10766 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10768 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10770 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10771 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10774 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10778 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10780 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10781 trailing whitespace removed.
10782 * scripts/config.guess: Update to version 2013-11-29.
10783 * scripts/config.sub: Update to version 2013-10-01.
10785 * math/auto-libm-test-in: Add tests of sincos.
10786 * math/auto-libm-test-out: Regenerated.
10787 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10788 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10790 (func_calc_desc): Add mpfr_f_11 union field.
10791 (test_functions): Add sincos.
10792 (calc_generic_results): Handle mpfr_f_11.
10793 * sysdeps/i386/fpu/libm-test-ulps: Update.
10794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10796 2013-12-19 Andreas Schwab <schwab@suse.de>
10798 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10800 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10801 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10802 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10804 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10806 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10807 * sysdeps/i386/fpu/libm-test-ulps: Update.
10808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10811 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10812 round-to-nearest mode when using frndint.
10813 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10814 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10815 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10817 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10819 * math/auto-libm-test-out: Regenerated.
10820 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10821 (TEST_COND_x86): Likewise.
10822 (expm1_tonearest_test_data): New array.
10823 (expm1_test_tonearest): New function.
10824 (expm1_towardzero_test_data): New array.
10825 (expm1_test_towardzero): New function.
10826 (expm1_downward_test_data): New array.
10827 (expm1_test_downward): New function.
10828 (expm1_upward_test_data): New array.
10829 (expm1_test_upward): New function.
10830 (main): Run the new test functions.
10831 * sysdeps/i386/fpu/libm-test-ulps: Update.
10832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10834 * include/features.h: Update comment documenting feature test
10835 macros. Mention _DEFAULT_SOURCE in comment.
10836 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10837 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10838 _BSD_SOURCE and _SVID_SOURCE.
10839 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10840 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10841 !_SVID_SOURCE]: Likewise.
10842 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10843 (__USE_POSIX_IMPLICITLY): Define.
10844 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10845 (_POSIX_SOURCE): Undefine and redefine.
10846 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10847 (_POSIX_C_SOURCE): Likewise.
10848 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10849 (Feature Test Macros): Update documentation of default features.
10851 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10853 * benchtests/Makefile: Add bench-strtok.
10854 * benchtests/bench-strtok.c: New file: strtok benchtest.
10856 2013-12-19 Allan McRae <allan@archlinux.org>
10858 * manual/install.texi: Suppress menu for plain text output.
10859 * INSTALL: Regenerated.
10861 2013-12-18 Brooks Moses <bmoses@google.com>
10864 * misc/getauxval.c: Include errno.h.
10865 (__getauxval): Set errno to ENOENT if the requested type is not
10867 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10868 don't declare with __attribute_const__.
10869 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10870 * manual/startup.texi: Document that getauxval sets errno.
10872 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10874 * math/auto-libm-test-in: Add tests of jn and yn.
10875 * math/auto-libm-test-out: Regenerated.
10876 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10877 (yn_test_data): Likewise.
10878 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10880 (func_calc_desc): Add mpfr_if_f union field.
10881 (FUNC_mpfr_if_f): New macro.
10882 (test_functions): Add jn and yn.
10883 (calc_generic_results): Assert type of second input for
10884 mpfr_ff_f. Handle mpfr_if_f.
10885 (output_for_one_input_case): Disable all checking for arguments
10886 fitting floating-point types in case of an integer argument.
10887 * sysdeps/i386/fpu/libm-test-ulps: Update.
10888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10891 Don't expect fegetround reference in libm.so.
10893 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10895 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10896 $(config-cflags-nofma).
10898 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10900 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10901 * math/auto-libm-test-out: Regenerated.
10904 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10905 to determine exponent and adjust argument to have exponent of -1.
10906 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10908 * math/auto-libm-test-out: Regenerated.
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10912 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10914 * manual/probes.texi: Remove cases when per-thread arenas are
10917 2013-12-18 Andreas Schwab <schwab@suse.de>
10919 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10920 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10921 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10922 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10923 * sysdeps/i386/i686/multiarch/Makefile: Update.
10924 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10926 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10928 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10929 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10931 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10934 Support TZ transition times < 00:00:00.
10935 This is needed for version-3 tz-format files; it supports time
10936 stamps past 2037 for America/Godthab (the only entry in the tz
10937 database for which this change is relevant).
10938 * manual/time.texi (TZ Variable): Document transition times
10939 from -167:59:59 through -00:00:01.
10940 * time/tzset.c (tz_rule): Time of day is now signed.
10941 (__tzset_parse_tz): Parse negative time of day.
10943 Document TZ transition times >= 25:00:00.
10944 * manual/time.texi (TZ Variable): Document transition times from
10945 25:00:00 through 167:59:59. These are already supported, and this
10946 support will help with version-3 tz-format files.
10948 * manual/time.texi (TZ Variable): Modernize North America example
10949 to reflect current (i.e., 2007-and-later) daylight saving rules.
10951 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10953 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10955 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10956 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10958 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10959 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10960 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10961 * sysdeps/unix/bsd/clock.c: Likewise.
10962 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10963 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10964 * sysdeps/unix/bsd/init-posix.c: Likewise.
10965 * sysdeps/unix/bsd/poll.c: Likewise.
10966 * sysdeps/unix/bsd/ptsname.c: Likewise.
10967 * sysdeps/unix/bsd/seekdir.c: Likewise.
10968 * sysdeps/unix/bsd/setegid.c: Likewise.
10969 * sysdeps/unix/bsd/seteuid.c: Likewise.
10970 * sysdeps/unix/bsd/setgid.c: Likewise.
10971 * sysdeps/unix/bsd/setrgid.c: Likewise.
10972 * sysdeps/unix/bsd/setruid.c: Likewise.
10973 * sysdeps/unix/bsd/setsid.c: Likewise.
10974 * sysdeps/unix/bsd/setuid.c: Likewise.
10975 * sysdeps/unix/bsd/sigaction.c: Likewise.
10976 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10977 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10978 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10979 * sysdeps/unix/bsd/telldir.c: Likewise.
10980 * sysdeps/unix/bsd/times.c: Likewise.
10981 * sysdeps/unix/bsd/usleep.c: Likewise.
10983 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10984 ($(objpfx)libbsd-compat.a): Remove rule.
10986 * include/features.h (__FAVOR_BSD): Do not define.
10987 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10988 features conflicting with POSIX.
10989 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10990 (_BSD_SOURCE): Remove description of not being a subset of other
10991 feature test macros.
10992 * manual/job.texi (getpgrp): Do not document BSD version.
10993 (getpgid): Do not document by reference to BSD getpgrp.
10994 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10995 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10996 * signal/signal.h [__FAVOR_BSD]: Likewise.
10997 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10998 instead of making contents conditional on [__FAVOR_BSD].
10999 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11001 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11005 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11009 values below 2**-450, not 2**-500.
11010 * math/auto-libm-test-in: Don't allow spurious underflow from
11012 * math/auto-libm-test-out: Regenerated.
11016 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11017 values of ha and hb and sort them after adjusting subnormal
11019 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11021 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11022 values of ea and eb and sort them after adjusting subnormal
11024 * math/auto-libm-test-in: Do not expect some hypot tests of
11025 subnormals to fail. Add more hypot tests.
11026 * math/auto-libm-test-out: Regenerated.
11028 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11031 * sysdeps/sh/s_fma.c: New file.
11032 * sysdeps/sh/s_fmaf.c: New file.
11033 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11035 * sysdeps/sh/Implies: Add sh/soft-fp.
11037 2013-12-16 Roland McGrath <roland@hack.frob.com>
11039 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11040 level of indirection to members `objname', `errstring', `malloced'.
11041 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11042 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11043 it as the __longjmp argument (just pass 1 instead).
11044 (_dl_catch_error): Initialize C with argument pointers and address of
11045 volatile local ERRCODE rather than copying values out of C at return.
11047 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11049 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11050 * math/auto-libm-test-out: Regenerated.
11051 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11052 (hypot_test_data): Likewise.
11053 (pow_test_data): Likewise.
11054 (pow_tonearest_test_data): Likewise.
11055 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11057 (func_calc_desc): Add mpfr_ff_f union field.
11058 (FUNC_mpfr_ff_f): New macro.
11059 (test_functions): Add atan2, hypot and pow.
11060 (special_fill_min): New function.
11061 (special_fill_minus_min): Likewise.
11062 (special_fill_min_subnorm): Likewise.
11063 (special_fill_minus_min_subnorm): Likewise.
11064 (special_real_inputs): Add min, -min, min_subnorm and
11066 (calc_generic_results): Handle mpfr_ff_f.
11067 * sysdeps/i386/fpu/libm-test-ulps: Update.
11068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11070 2013-12-16 Will Newton <will.newton@linaro.org>
11072 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11073 (Aligned Memory Blocks): Add documentation for aligned_alloc
11074 and suggest it as an alternative to posix_memalign.
11075 (Hooks for Malloc): Document __memalign_hook is also called
11076 for aligned_alloc. (Summary of Malloc): Add summary for
11077 aligned alloc. Document __memalign_hook is also called
11080 2013-12-16 Will Newton <will.newton@linaro.org>
11082 * manual/memory.texi (Malloc Examples): Clarify default
11083 alignment documentation. Suggest posix_memalign rather
11084 than memalign or valloc.
11085 (Aligned Memory Blocks): Remove suggestion to use memalign
11086 or valloc. Remove obsolete comment about BSD.
11087 Document memalign errno values and mark the function obsolete.
11088 Document posix_memalign returned error codes. Mark valloc
11089 as obsolete. (Hooks for Malloc): __memalign_hook is also
11090 called for posix_memalign and valloc.
11091 (Summary of Malloc): Add posix_memalign to function summary.
11092 __memalign_hook is also called for posix_memalign and valloc.
11094 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11096 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11100 (sloww): Use mynumber union. Expand ternary operator into
11101 if-else statements.
11102 (cslow): use mynumber union.
11104 2013-12-16 Allan McRae <allan@archlinux.org>
11106 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11107 * configure: Regenerated.
11109 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11112 * configure.ac: Added --enable-maintainer-mode. Check for
11113 autoconf when enabled.
11114 * configure: Regenerated.
11116 * nscd/nscd.service: New file.
11117 * nscd/nscd.tmpfiles: New file.
11119 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11122 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11123 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11124 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11125 (strstr): Add __strstr_sse2_unaligned ifunc.
11126 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11127 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11128 (strcasestr): Remove __strcasestr_sse42 ifunc.
11129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11130 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11133 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11135 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11136 * sysdeps/sh/bits/fenv.h: ... here.
11137 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11139 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11141 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11143 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11144 hypotf multiarch implementations.
11145 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11146 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11147 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11148 multiarch hypot for PPC64.
11149 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11150 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11151 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11152 multiarch hypotf for PPC64.
11154 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11155 modff multiarch implementations.
11156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11159 multiarch modf for PPC64.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11161 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11163 multiarch modff for PPC64.
11165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11166 and logl multiarch implementations.
11167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11170 multiarch logb for PPC64.
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11174 multiarch logb for PPC64.
11175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11178 multiarch logb for PPC64.
11180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11181 isinff multiarch implementation.
11182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11186 multiarch isinf for PPC64.
11187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11190 multiarch isinff for PPC64.
11192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11193 finitef multiarch implementation.
11194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11198 multiarch finite for PPC64.
11199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11202 multiarch finitef for PPC64.
11204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11205 lrint multiarch implementation.
11206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11210 multiarch llrint for PPC64.
11211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11212 multiarch lrint for PPC64.
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11215 copysignf multiarch implementation.
11216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11221 multiarch copysign for PPC64.
11222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11223 multiarch copysignf for PPC64.
11225 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11226 multiarch implementation.
11227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11235 multiarch llround for PPC64.
11236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11237 multiarch trunc for PPC64.
11238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11239 multiarch truncf for PPC64.
11241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11242 multiarch implementation.
11243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11251 multiarch llround for PPC64.
11252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11253 multiarch round for PPC64.
11254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11255 multiarch roundf for PPC64.
11257 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11258 multiarch implementation.
11259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11267 multiarch llround for PPC64.
11268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11269 multiarch floor for PPC64.
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11271 multiarch floorf for PPC64.
11273 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11274 multiarch implementation.
11275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11283 multiarch llround for PPC64.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11285 multiarch ceil for PPC64.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11287 multiarch ceilf for PPC64.
11289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11290 multiarch implementation.
11291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11298 multiarch llround for PPC64.
11299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11300 multiarch lround for PPC64.
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11303 multiarch implementation.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11311 multiarch isnan for PPC64.
11312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11313 multiarch isnanf for PPC64.
11315 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11316 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11317 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11318 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11319 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11322 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11323 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11324 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11325 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11328 multiarch implementations.
11329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11330 (__libc_ifunc_impl_list): Likewise.
11331 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11332 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11333 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11334 multiarch stpcpy for PPC64.
11336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11337 multiarch implementations.
11338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11339 (__libc_ifunc_impl_list): Likewise.
11340 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11341 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11342 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11343 multiarch strcpy for PPC64.
11345 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11346 redefine function name.
11347 (_wordcopy_fwd_dest_aligned): Likewise.
11348 (_wordcopy_bwd_aligned): Likewise.
11349 (_wordcopy_bwd_dest_aligned): Likewise.
11350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11351 multiarch implementations.
11352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11353 (__libc_ifunc_impl_list): Likewise.
11354 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11355 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11356 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11357 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11358 multiarch wcscpy for PPC64.
11360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11361 multiarch implementations.
11362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11363 (__libc_ifunc_impl_list): Likewise.
11364 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11365 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11366 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11367 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11368 multiarch wcscpy for PPC64.
11370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11371 multiarch implementations.
11372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11373 (__libc_ifunc_impl_list): Likewise.
11374 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11375 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11376 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11377 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11378 multiarch wcsrchr for PPC64.
11380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11381 multiarch implementations.
11382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11383 (__libc_ifunc_impl_list): Likewise.
11384 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11385 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11386 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11387 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11388 multiarch wcschr for PPC64.
11390 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11391 multiarch implementations.
11392 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11393 (__libc_ifunc_impl_list): Likewise.
11394 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11395 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11396 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11397 multiarch strchrnul for PPC64.
11399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11401 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11402 (__libc_ifunc_impl_list): Likewise.
11403 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11404 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11405 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11406 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11409 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11411 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11412 (__libc_ifunc_impl_list): Likewise.
11413 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11414 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11415 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11416 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11419 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11420 multiarch implementations.
11421 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11422 (__libc_ifunc_impl_list): Likewise.
11423 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11424 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11425 strncasecmp for PPC64.
11426 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11427 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11428 multiarch strncasecmp_l for PPC64.
11430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11431 multiarch implementations.
11432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11433 (__libc_ifunc_impl_list): Likewise.
11434 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11436 multiarch strcasecmp for PPC64.
11437 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11439 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11440 multiarch strcasecmp_l for PPC64.
11442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11445 (__libc_ifunc_impl_list): Likewise.
11446 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11447 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11448 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11451 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11454 (__libc_ifunc_impl_list): Likewise.
11455 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11456 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11457 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11463 (__libc_ifunc_impl_list): Likewise.
11464 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11465 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11466 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11467 rawmemrchr for PPC64.
11469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11472 (__libc_ifunc_impl_list): Likewise.
11473 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11474 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11475 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11481 (__libc_ifunc_impl_list): Likewise.
11482 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11483 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11484 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11490 (__libc_ifunc_impl_list): Likewise.
11491 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11492 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11493 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11496 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11497 avoid cretion of __bzero symbol.
11498 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11500 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11502 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11505 multiarch implementations.
11506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11507 (__libc_ifunc_impl_list): Likewise.
11508 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11509 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11510 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11511 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11513 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11514 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11515 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11516 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11517 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11519 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11521 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11525 (__libc_ifunc_impl_list): Likewise.
11526 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11527 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11528 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11529 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11533 multiarch for POWER/PPC64.
11534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11535 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11536 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11537 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11538 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11539 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11540 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11541 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11542 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11545 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11546 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11547 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11548 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11549 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11550 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11551 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11552 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11553 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11554 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11555 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11556 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11557 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11558 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11559 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11568 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11570 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11572 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11574 * benchtests/Makefile (bench): Add exp2 and log2.
11575 (LDLIBS-bench-exp2): Add -lm.
11576 (LDLIBS-bench-log2): Likewise.
11577 * benchtests/exp2-inputs: New inputs file.
11578 * benchtests/log2-inputs: New inputs file.
11579 * benchtests/log-inputs: Add new inputs.
11580 * benchtests/tan-inputs: Likewise.
11582 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11584 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11586 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11587 (csloww2): ... from here.
11589 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11590 instead of structures.
11591 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11592 (POLYNOMIAL): Likewise.
11593 (TAYLOR_SLOW): Likewise.
11599 (sloww1); Likewise.
11600 (sloww2): Likewise.
11601 (bsloww1): Likewise.
11602 (bsloww2): Likewise.
11603 (cslow2): Likewise.
11604 (csloww): Likewise.
11605 (csloww1): Likewise.
11606 (csloww2): Likewise.
11608 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11610 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11611 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11612 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11613 * malloc/hooks.c (realloc_check): Likewise.
11615 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11616 * malloc/arena.c: Remove PER_THREAD conditional.
11617 [!PER_THREAD]: Remove code.
11618 (ptmalloc_unlock_all2): Likewise.
11619 (ptmalloc_init): Likewise.
11620 (_int_new_arena): Likewise.
11621 (arena_get2): Likewise.
11622 * malloc/hooks.c (__malloc_get_state): Likewise.
11623 (__malloc_set_state): Likewise.
11624 * malloc/malloc.c: Likewise.
11625 (struct malloc_state): Likewise.
11626 (struct malloc_par): Likewise.
11627 (__libc_realloc): Likewise.
11628 (__libc_mallopt): Likewise.
11630 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11632 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11634 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11636 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11637 macro to a function. Check for zero perturb_byte.
11638 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11640 * malloc/malloc.c: (force_reg): Remove.
11641 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11642 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11643 force_reg by atomic_forced_read.
11644 * malloc/arena.c (ptmalloc_init): Likewise.
11645 * malloc/hooks.c (top_check): Likewise.
11647 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11651 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11653 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11655 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11657 * math/auto-libm-test-in: Add tests of lgamma.
11658 * math/auto-libm-test-out: Regenerated.
11659 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11660 (M_LOG_2_SQRT_PIl): Likewise.
11661 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11662 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11664 (func_calc_desc): Add mpfr_f_f1 union field.
11665 (ARGS1): New macro.
11673 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11674 (test_functions): Add lgamma.
11675 (calc_generic_results): Handle mpfr_f_f1.
11676 * sysdeps/i386/fpu/libm-test-ulps: Update.
11677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11679 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11681 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11682 __mpn_add_n for PowerPC64/POWER7.
11683 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11684 __mpn_sub_n for PowerPC64/POWER7.
11686 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11687 __mpn_addmul_1 for PowerPC64.
11688 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11689 __mpn_submul_1 for PowerPC64.
11690 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11692 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11695 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11698 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11700 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11702 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11704 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11705 add multiarch folders.
11706 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11707 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11708 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11709 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11710 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11711 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11712 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11713 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11714 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11715 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11716 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11725 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11731 multiarch __ieee754_hypot for PowerPC32.
11732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11737 multiarch __ieee754_hypotf for PowerPC32.
11739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11740 long_double_symbol only if __logbl is defined.
11741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11742 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11743 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11744 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11745 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11746 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11747 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11748 path for implementation.
11749 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11750 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11752 logb, and logbl multiarch implementations for PowerPC32.
11753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11758 multiarch logb for PowerPC32.
11759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11764 multiarch logbf for PowerPC32.
11765 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11769 multiarch logbl implementation for PowerPC32.
11771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11772 and modff multiarch implementations.
11773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11778 multiarch modf for PowerPC32.
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11784 multiarch modff for PowerPC32.
11786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11787 and lrintf multiarch implementations.
11788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11793 multiarch lrint for PowerPC32.
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11795 file: multiarch lrintf for PowerPC32.
11797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11798 and lroundf multiarch implementations.
11799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11806 multiarch lround for PowerPC32.
11807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11808 file: multiarch lroundf for PowerPC32.
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11811 copysign and copysignf multiarch implementations.
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11817 file: multiarch copysign for PowerPC32.
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11819 file: multiarch copysignf for PowerPC32.
11821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11822 and truncf multiarch implementations.
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11828 multiarch trunc for PowerPC32.
11829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11834 multiarch truncf for PowerPC32.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11837 and roundf multiarch implementations.
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11843 multiarch round for PowerPC32.
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11849 multiarch roundf for PowerPC32.
11851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11852 and floorf multiarch implementations.
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11858 multiarch floor for PowerPC32.
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11864 multiarch floorf for PowerPC32.
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11867 and ceilf multiarch implementations.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11873 multiarch ceil for PowerPC32.
11874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11879 multiarch ceilf for PowerPC32.
11881 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11883 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11884 FINITEF is defined.
11885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11886 and finitef multiarch implementations.
11887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11892 multiarch finite for PowerPC32.
11893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11896 file: multiarch finitef for PowerPC32.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11899 and isinff multiarch implementations.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11905 multiarch isinf for PowerPC32.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11909 multiarch isinff for PowerPC32.
11911 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11912 alias when __isnan is defined.
11913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11914 and isnanf multiarch implementations.
11915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11924 multiarch isnan for PowerPC32.
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11930 multiarch isnanf for PowerPC32.
11932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11933 and sqrtf multiarch implementations.
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11939 multiarch sqrt for PowerPC32.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11945 multiarch sqrtf for PowerPC32.
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11948 and llroundf multiarch implementations.
11949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11956 file: multiarch llround for PowerPC32.
11957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11958 file: multiarch llroundf for PowerPC32.
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11961 multiarch PowerPC32 fpu implementations.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11967 multiarch llrint for PowerPC32.
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11977 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11979 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11981 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11983 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11984 multiarch wordcopy for PPC32.
11985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11988 (__libc_ifunc_impl_list): Likewise.
11989 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11990 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11991 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11992 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11993 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11994 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11996 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11997 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11999 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12003 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12004 multiarch wcscpy for PPC32.
12005 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12007 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12008 (__libc_ifunc_impl_list): Likewise.
12009 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12010 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12011 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12012 sysdeps/powerpc/power6/wcscpy.c.
12014 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12017 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12022 multiarch wcsrchr for PPC32.
12023 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12025 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12026 (__libc_ifunc_impl_list): Likewise.
12027 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12028 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12029 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12030 sysdeps/powerpc/power6/wcsrchr.c.
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12038 multiarch wcschr for PPc32.
12039 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12041 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12042 (__libc_ifunc_impl_list): Likewise.
12043 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12044 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12045 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12046 sysdeps/powerpc/power6/wcschr.c.
12048 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12049 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12051 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12052 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12053 file: multiarch strchr for PPC32.
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12056 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12057 (__libc_ifunc_impl_list): Likewise.
12059 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12061 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12063 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12065 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12066 multiarch strchrnul for PPC32.
12067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12070 (__libc_ifunc_impl_list): Likewise.
12072 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12074 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12075 multiarch strncasecmp for PPC32.
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12079 multiarch strncasecmp_l for PPC32.
12080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12081 strncasecmp multiarch objects.
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12083 (__libc_ifunc_impl_list): Likewise.
12085 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12088 multiarch strncasecmp for PPC32.
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12092 multiarch strcasecmp_l for PPC32.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12096 (__libc_ifunc_impl_list): Likewise.
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12103 multiarch strncmp for PPC32.
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12107 (__libc_ifunc_impl_list): Likewise.
12109 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12110 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12112 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12117 (__libc_ifunc_impl_list): Likewise.
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12127 (__libc_ifunc_impl_list): Likewise.
12129 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12131 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12133 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12134 multiarch rawmemchr for PPC32.
12135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12138 (__libc_ifunc_impl_list): Likewise.
12140 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12142 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12144 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12145 file: memrchr multiarch for PPC32.
12146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12149 (__libc_ifunc_impl_list): Likewise.
12151 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12152 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12154 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12155 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12156 multiarch memchr for PPC32.
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12160 (__libc_ifunc_impl_list): Likewise.
12162 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12163 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12168 file: multiarch mempcpy for PPC32.
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12172 (__libc_ifunc_impl_list): Likewise.
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12175 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12177 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12178 multiarch bzero for PPC32.
12179 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12181 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12183 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12184 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12185 file: multiarch memset for PPC32.
12186 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12188 memset multiarch objects.
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12190 (__libc_ifunc_impl_list): Likewise.
12192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12194 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12195 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12197 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12201 (__libc_ifunc_impl_list): Likewise.
12203 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12204 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12207 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12209 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12212 multiarch memcpy for PPC32.
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12215 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12216 (__libc_ifunc_impl_list): Likewise.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12219 support multiarch for POWER/PPC32.
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12224 Implies file to make multiarch folder appers before the fpu and
12225 default folder for power4 configuration.
12227 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12229 * scripts/bench.pl: Append volatile keyword to type.
12231 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12233 * sysdeps/sh/sotruss-lib.c: New file.
12234 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12236 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12240 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12243 * math/w_tgamma.c: Include <errno.h>.
12244 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12245 * math/w_tgammaf.c: Include <errno.h>.
12246 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12247 * math/w_tgammal.c: Include <errno.h>.
12248 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12249 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12250 underflow. Add more tgamma tests.
12251 * math/auto-libm-test-out: Regenerated.
12252 * sysdeps/i386/fpu/libm-test-ulps: Update.
12253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12255 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12256 sin, sinh, tan, tanh, tgamma, y0 and y1.
12257 * math/auto-libm-test-out: Regenerated.
12258 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12259 (TEST_COND_x86): Likewise.
12260 (M_E2l): Remove macro.
12262 (M_2_SQRT_PIl): Likewise.
12263 (M_SQRT_PIl): Likewise.
12264 (M_1_DIV_El): Likewise.
12265 (log_test_data): Use AUTO_TESTS_f_f.
12266 (log10_test_data): Likewise.
12267 (log1p_test_data): Likewise.
12268 (log2_test_data): Likewise.
12269 (sin_test_data): Likewise.
12270 (sin_tonearest_test_data): Likewise.
12271 (sin_towardzero_test_data): Likewise.
12272 (sin_downward_test_data): Likewise.
12273 (sin_upward_test_data): Likewise.
12274 (sinh_test_data): Likewise.
12275 (sinh_tonearest_test_data): Likewise.
12276 (sinh_towardzero_test_data): Likewise.
12277 (sinh_downward_test_data): Likewise.
12278 (sinh_upward_test_data): Likewise.
12279 (tan_test_data): Likewise.
12280 (tan_tonearest_test_data): Likewise.
12281 (tan_towardzero_test_data): Likewise.
12282 (tan_downward_test_data): Likewise.
12283 (tan_upward_test_data): Likewise.
12284 (tanh_test_data): Likewise.
12285 (tgamma_test_data): Likewise.
12286 (y0_test_data): Likewise.
12287 (y1_test_data): Likewise.
12288 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12289 (special_real_inputs): Add pi/4.
12290 * sysdeps/i386/fpu/libm-test-ulps: Update.
12291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12293 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12295 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12296 "longjmp_target" static probes.
12297 (__longjmp): Rename to __longjmp_symbol.
12298 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12299 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12300 on which longjmp to generate.
12301 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12302 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12304 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12305 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12306 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12307 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12308 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12309 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12311 __longjmp_symbol based on which __longjmp to generate.
12312 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12314 (setjmp): Rename to setjmp_symbol.
12315 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12316 (_setjmp): Rename to _setjmp_symbol.
12317 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12318 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12319 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12320 which setjmp to generate.
12321 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12322 "longjmp_target" static probes.
12324 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12326 * benchtests/README: Add note about output arguments.
12327 * benchtests/bench-sincos.c: Remove file.
12328 * benchtests/sincos-inputs: New file.
12329 * scripts/bench.pl: Identify output arguments and define
12330 static variables for them.
12332 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12335 * Makefile (INSTALL): Add install-plain.texi as the primary
12337 * manual/install-plain.texi: New file.
12338 * manual/install.texi: Include node directive only for
12339 non-plaintext output.
12341 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12343 * stdlib/longlong.h: Update from GCC.
12347 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12348 * math/w_j0f.c (y0f): Likewise.
12349 * math/w_j0l.c (__y0l): Likewise.
12350 * math/w_j1.c (y1): Likewise.
12351 * math/w_j1f.c (y1f): Likewise.
12352 * math/w_j1l.c (__y1l): Likewise
12353 * math/w_jn.c (yn): Likewise.
12354 * math/w_jnf.c (ynf): Likewise.
12355 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12356 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12357 value for Bessel function domain errors outside _SVID_ mode.
12358 Adjust sign of return value for yn (negative integer, 0).
12359 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12360 by zero in return for negative x and set sign appropriately for
12362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12363 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12364 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12365 expectations in error cases.
12366 (y1_test_data): Likewise.
12367 (yn_test_data): Likewise.
12368 * sysdeps/i386/fpu/libm-test-ulps: Update.
12369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12371 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12373 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12374 "64" to "64-v1". Add "64-v2".
12375 (abi-64-options): Rename to ...
12376 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12377 (abi-64-condition): Rename to ...
12378 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12379 (abi-64-ld-soname): Rename to ...
12380 (abi-64-v1-ld-soname): ... this.
12381 (abi-64-v2-options): Define.
12382 (abi-64-v2-condition): Likewise.
12383 (abi-64-v2-ld-soname): Likewise.
12384 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12385 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12390 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12391 Alan Modra <amodra@gmail.com>
12393 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12394 New versions for use with the ELFv2 ABI.
12395 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12396 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12398 (struct La_ppc64v2_retval): Likewise.
12399 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12400 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12401 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12402 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12403 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12404 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12405 Do not save or restore CR.
12406 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12407 (_dl_profile_resolve): Do no save or restore CR. Support extended
12408 return values for ELFv2 ABI. Fix location of FPR return registers.
12409 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12410 updated values for _CALL_ELF == 2.
12411 (La_regs, La_retval, int_retval): Likewise.
12413 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12415 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12416 (FRAME_MIN_SIZE_PARM): Likewise.
12417 (FRAME_BACKCHAIN): Likewise.
12418 (FRAME_CR_SAVE): Likewise.
12419 (FRAME_LR_SAVE): Likewise.
12420 (FRAME_TOC_SAVE): Likewise.
12421 (FRAME_PARM_SAVE): Likewise.
12422 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12423 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12424 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12425 (call_mcount_parm_offset): New macro.
12426 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12427 (PROF): Use symbolic stack frame offsets.
12428 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12429 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12430 Redefine in terms of FRAME_MIN_SIZE.
12431 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12432 (_dl_profile_resolve): Likewise. Update comment.
12433 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12434 symbols stack frame offsets.
12435 (__sigsetjmp): Likewise.
12436 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12437 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12438 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12439 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12442 (FRAME_BACKCHAIN): Remove.
12443 (FRAME_CR_SAVE): Likewise.
12444 (FRAME_LR_SAVE): Likewise.
12445 (FRAME_COMPILER_DW): Likewise.
12446 (FRAME_LINKER_DW): Likewise.
12447 (FRAME_TOC_SAVE): Likewise.
12448 (FRAME_PARM_SAVE): Likewise.
12449 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12450 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12451 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12453 (CHECK_SP): Use symbolic stack frame offsets.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12455 zone" instead of caller's parameter save area for temp storage.
12456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12457 Likewise. Also, use symbolic stack frame offsets.
12458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12459 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12460 our own stack frame instead of the caller's.
12461 (__socket): Use symbolic stack frame offsets.
12463 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12464 Alan Modra <amodra@gmail.com>
12466 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12468 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12469 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12470 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12472 (elf_machine_fixup_plt): Call it.
12473 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12475 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12476 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12477 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12478 r2 before calling target.
12480 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12481 Alan Modra <amodra@gmail.com>
12483 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12484 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12485 versions of macros to support ELFv2 ABI.
12486 (LOCALENTRY): New macro.
12487 (ENTRY, EALIGN): Use it.
12488 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12489 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12490 fall through into ENTRY entry point.
12491 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12492 Only define if _CALL_ELF != 2.
12494 (elf_machine_matches_host): Verify ABI version matches.
12495 (RTLD_START): Use LOCALENTRY.
12496 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12497 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12498 (PLT_ENTRY_WORDS): New macro.
12499 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12500 (elf_machine_runtime_setup): Support ELFv2 ABI.
12501 (elf_machine_fixup_plt): Likewise.
12502 (elf_machine_plt_conflict): Likewise.
12503 (resolve_ifunc): Likewise.
12504 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12508 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12510 (makecontext): Support ELFv2 ABI.
12511 * elf/elf.h (EF_PPC64_ABI): Define.
12513 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12515 * sysdeps/powerpc/powerpc64/sysdep.h
12516 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12517 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12518 (ENTRY) [ASSEMBLER]: ... but instead here ...
12519 (EALIGN) [ASSEMBLER]: ... and here.
12520 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12521 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12522 (ENTRY_2) [!ASSEMBLER]: Use it.
12523 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12524 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12525 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12526 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12527 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12529 Use PPC64_LOAD_FUNCPTR.
12531 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12533 2013-12-04 Alan Modra <amodra@gmail.com>
12535 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12536 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12537 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12538 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12541 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12542 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12543 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12544 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12545 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12547 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12550 (__makecontext): Fix incorrect CFI when backtracing out of
12551 context created via makecontext.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12553 (__setcontext): Fix incorrect CFI during switch to new context.
12554 (__novec_setcontext): Likewise.
12556 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12559 * time/strptime_l.c (__strptime_internal): Allow modifiers
12561 * time/tst-strptime.c (day_tests): Add testcase.
12563 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12565 * scripts/bench.pl: Skip over blank lines.
12567 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12570 * manual/time.texi (Calendar Time): Clarify what timezone functions
12573 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12577 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12579 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12581 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12582 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12583 * debug/memset_chk.c (__memset_chk): Likewise.
12584 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12585 * debug/strncpy_chk.c: Likewise.
12587 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12591 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12592 (__ieee754_exp): For possibly underflowing results, check size of
12593 result and force underflow exception if required.
12594 * math/auto-libm-test-in: Add more tests of exp.
12595 * math/auto-libm-test-out: Regenerated.
12596 * sysdeps/i386/fpu/libm-test-ulps: Update.
12597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12600 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12601 * math/w_exp2f.c (__exp2f): Likewise.
12602 * math/w_exp2l.c (__exp2l): Likewise.
12603 * math/auto-libm-test-in: Do not allow missing errno on exp2
12605 * math/auto-libm-test-out: Regenerated.
12607 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12610 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12611 handle filename validation.
12612 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12615 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12618 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12619 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12620 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12622 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12623 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12624 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12625 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12626 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12627 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12628 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12629 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12630 Add more erfc tests.
12631 * math/auto-libm-test-out: Regenerated.
12632 * sysdeps/i386/fpu/libm-test-ulps: Update.
12633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12635 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12636 exp2, expm1, j0 and j1.
12637 * math/auto-libm-test-out: Regenerated.
12638 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12639 (erfc_test_data): Likewise.
12640 (exp_test_data): Likewise.
12641 (exp_tonearest_test_data): Likewise.
12642 (exp_towardzero_test_data): Likewise.
12643 (exp_downward_test_data): Likewise.
12644 (exp_upward_test_data): Likewise.
12645 (exp10_test_data): Likewise.
12646 (exp2_test_data): Likewise.
12647 (expm1_test_data): Likewise.
12648 (j0_test_data): Likewise.
12649 (j1_test_data): Likewise.
12650 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12651 (input_flag_type): Add flag_xfail_rounding.
12652 (input_flags): Add xfail-rounding.
12653 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12654 (output_for_one_input_case): Handle flag_xfail_rounding.
12655 * sysdeps/i386/fpu/libm-test-ulps: Update.
12656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12658 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12661 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12664 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12667 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12668 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12669 (STAP_PROBE0): New macro.
12670 (STAP_PROBE1): Likewise.
12671 (STAP_PROBE2): Likewise.
12672 (STAP_PROBE3): Likewise.
12673 (STAP_PROBE4): Likewise.
12675 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12677 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12679 2013-12-02 Steve Ellcey <sellcey@mips.com>
12681 * benchtests/Makefile (bench): Add sqrt.
12682 (LDLIBS-bench-sqrt): New.
12683 * benchtests/sqrt-input: New.
12685 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12687 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12688 (GAIH_EAI): Likewise.
12689 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12690 (gaih_inet): Likewise.
12691 (getaddrinfo): Don't use GAIH_EAI.
12693 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12694 (struct gaih): Remove definition.
12696 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12698 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12699 Use HERRNOP directly.
12701 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12705 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12707 * math/gen-auto-libm-tests.c (test_functions): Add more
12708 single-argument functions.
12709 (special_fill_pi_2): New function.
12710 (special_fill_minus_pi_2): Likewise.
12711 (special_fill_pi_6): Likewise.
12712 (special_fill_minus_pi_6): Likewise.
12713 (special_fill_pi_3): Likewise.
12714 (special_fill_2pi_3): Likewise.
12715 (special_fill_e): Likewise.
12716 (special_fill_1_e): Likewise.
12717 (special_fill_e_minus_1): Likewise.
12718 (special_real_inputs): Add more special inputs.
12719 (output_for_one_input_case): Do not require ERANGE on underflow to
12720 zero if round-to-nearest result does not underflow to zero, unless
12721 exact results required.
12722 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12723 atan, atanh, cbrt, cos and cosh.
12724 * math/auto-libm-test-out: Regenerated.
12725 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12726 (acos_tonearest_test_data): Likewise.
12727 (acos_towardzero_test_data): Likewise.
12728 (acos_downward_test_data): Likewise.
12729 (acos_upward_test_data): Likewise.
12730 (acosh_test_data): Likewise.
12731 (asin_test_data): Likewise.
12732 (asin_tonearest_test_data): Likewise.
12733 (asin_towardzero_test_data): Likewise.
12734 (asin_upward_test_data): Likewise.
12735 (asinh_test_data): Likewise.
12736 (atan_test_data): Likewise.
12737 (atanh_test_data): Likewise.
12738 (cbrt_test_data): Likewise.
12739 (cos_test_data): Likewise.
12740 (cos_tonearest_test_data): Likewise.
12741 (cos_towardzero_test_data): Likewise.
12742 (cos_downward_test_data): Likewise.
12743 (cos_upward_test_data): Likewise.
12744 (cosh_test_data): Likewise.
12745 (cosh_tonearest_test_data): Likewise.
12746 (cosh_towardzero_test_data): Likewise.
12747 (cosh_downward_test_data): Likewise.
12748 (cosh_upward_test_data): Likewise.
12749 * sysdeps/i386/fpu/libm-test-ulps: Update.
12750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12752 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12755 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12756 * math/w_exp10f.c (__exp10f): Likewise.
12757 * math/w_exp10l.c (__exp10l): Likewise.
12758 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12759 errno settings in existing tests.
12762 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12763 precision control set to double precision.
12764 * sysdeps/i386/fpu/w_sqrt.c: New file.
12765 * math/auto-libm-test-in: Add more tests.
12766 * math/auto-libm-test-out: Update.
12768 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12769 (sqrt_test_tonearest): New function.
12770 (sqrt_towardzero_test_data): New variable.
12771 (sqrt_test_towardzero): New function.
12772 (sqrt_downward_test_data): New variable.
12773 (sqrt_test_downward): New function.
12774 (sqrt_upward_test_data): New variable.
12775 (sqrt_test_upward): New function.
12776 (main): Call the new functions.
12778 * math/gen-auto-libm-tests.c: New file.
12779 * math/auto-libm-test-in: Likewise.
12780 * math/auto-libm-test-out: New generated file.
12781 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12783 (%beautify): Add generated representations of zero.
12784 (top level): Set $auto_input and call parse_auto_input.
12785 (beautify): Remove trailing "f" from hex float constants.
12786 (parse_args): Handle XFAIL_TEST.
12787 (convert_condition): New function.
12788 (or_value): Likewise.
12789 (or_cond_value): Likewise.
12790 (generate_testfile): Handle AUTO_TESTS_* lines.
12791 (parse_auto_input): New function.
12792 * math/libm-test.inc (XFAIL_TEST): New macro.
12793 (ERRNO_UNCHANGED): Update value.
12794 (ERRNO_EDOM): Likewise.
12795 (ERRNO_ERANGE): Likewise.
12796 (IGNORE_RESULT): Likewise.
12797 (TEST_COND_flt_32): New macro.
12798 (TEST_COND_dbl_64): Likewise.
12799 (TEST_COND_ldbl_96_intel): Likewise.
12800 (TEST_COND_ldbl_96_m68k): Likewise.
12801 (TEST_COND_ldbl_128): Likewise.
12802 (TEST_COND_ldbl_128ibm): Likewise.
12803 (TEST_COND_long32): Likewise.
12804 (TEST_COND_long64): Likewise.
12805 (TEST_COND_before_rounding): Likewise.
12806 (TEST_COND_after_rounding): Likewise.
12807 (enable_test): Handle XFAIL_TEST flag.
12808 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12809 with finite results.
12810 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12811 auto-libm-test-out.
12813 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12814 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12817 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12818 __tls_get_addr_internal instead of __tls_get_offset in order to
12819 avoid GOT pointer dependency. Make rtld export
12820 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12821 __tls_get_addr since we are a __tls_get_offset platform.
12822 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12823 GOT pointer being set up before.
12824 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12826 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12828 * manual/math.texi (Errors in Math Functions): Document accuracy
12832 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12833 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12836 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12837 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12838 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12840 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12844 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12845 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12849 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12850 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12851 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12852 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12853 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12855 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12857 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12859 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12860 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12861 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12862 atomic-feupdateenv and flt-rounds.
12863 * sysdeps/powerpc/nofpu/Versions (libc): Add
12864 __atomic_feholdexcept, __atomic_feclearexcept,
12865 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12866 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12867 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12868 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12869 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12874 * manual/arith.texi (FP Exceptions): Document that exceptions may
12875 not be raised when matherr is used.
12876 (Math Error Reporting): Document overflow in directed rounding
12877 modes. Document that errno may not be set when finite values are
12878 returned on overflow. Document intent to set errno on underflow
12879 only for underflow to zero.
12882 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12883 round-to-nearest then adjust result for other rounding modes.
12884 * include/fenv.h (fegetround): Use libm_hidden_proto.
12885 * math/fegetround.c (fegetround): Use libm_hidden_def.
12886 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12887 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12888 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12889 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12891 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12892 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12893 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12894 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12896 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12899 * nss/Versions (libnss_files): Add
12900 _nss_files_gethostbyname3_r.
12901 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12903 (HOST_DB_LOOKUP): Remove macro.
12904 (_nss_files_gethostbyname_r): Implement function without the
12905 HOST_DB_LOOKUP macro.
12906 (_nss_files_gethostbyname2_r): Likewise.
12908 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12910 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12912 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12914 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12915 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12918 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12920 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12921 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12922 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12923 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12924 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12925 __fe_nomask_env_priv and attribute_hidden.
12926 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12927 (libc_feupdateenv_test_ppc): Likewise.
12928 (libc_feresetround_ppc): Likewise.
12929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12930 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12931 compat_symbol macro.
12932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12933 (__fe_nomask_env): Likewise.
12934 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12936 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12938 * string/Makefile: Remove ifunc tests.
12939 * string/test-string.h: Define TEST_IFUNC.
12940 * string/test-bcopy-ifunc.c: Remove.
12941 * string/test-bzero-ifunc.c: Likewise.
12942 * string/test-memccpy-ifunc.c: Likewise.
12943 * string/test-memchr-ifunc.c: Likewise.
12944 * string/test-memcmp-ifunc.c: Likewise.
12945 * string/test-memcpy-ifunc.c: Likewise.
12946 * string/test-memmem-ifunc.c: Likewise.
12947 * string/test-memmove-ifunc.c: Likewise.
12948 * string/test-mempcpy-ifunc.c: Likewise.
12949 * string/test-memrchr-ifunc.c: Likewise.
12950 * string/test-memset-ifunc.c: Likewise.
12951 * string/test-rawmemchr-ifunc.c: Likewise.
12952 * string/test-stpcpy-ifunc.c: Likewise.
12953 * string/test-stpncpy-ifunc.c: Likewise.
12954 * string/test-strcasecmp-ifunc.c: Likewise.
12955 * string/test-strcasestr-ifunc.c: Likewise.
12956 * string/test-strcat-ifunc.c: Likewise.
12957 * string/test-strchr-ifunc.c: Likewise.
12958 * string/test-strchrnul-ifunc.c: Likewise.
12959 * string/test-strcmp-ifunc.c: Likewise.
12960 * string/test-strcpy-ifunc.c: Likewise.
12961 * string/test-strcspn-ifunc.c: Likewise.
12962 * string/test-strlen-ifunc.c: Likewise.
12963 * string/test-strncasecmp-ifunc.c: Likewise.
12964 * string/test-strncat-ifunc.c: Likewise.
12965 * string/test-strncmp-ifunc.c: Likewise.
12966 * string/test-strncpy-ifunc.c: Likewise.
12967 * string/test-strnlen-ifunc.c: Likewise.
12968 * string/test-strpbrk-ifunc.c: Likewise.
12969 * string/test-strrchr-ifunc.c: Likewise.
12970 * string/test-strspn-ifunc.c: Likewise.
12971 * string/test-strstr-ifunc.c: Likewise.
12973 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12975 * benchtests/Makefile: Remove ifunc tests.
12976 * benchtests/bench-string.h: Define TEST_IFUNC.
12977 * benchtests/bench-bcopy-ifunc.c: Remove.
12978 * benchtests/bench-bzero-ifunc.c: Likewise.
12979 * benchtests/bench-memccpy-ifunc.c: Likewise.
12980 * benchtests/bench-memchr-ifunc.c: Likewise.
12981 * benchtests/bench-memcmp-ifunc.c: Likewise.
12982 * benchtests/bench-memcpy-ifunc.c: Likewise.
12983 * benchtests/bench-memmem-ifunc.c: Likewise.
12984 * benchtests/bench-memmove-ifunc.c: Likewise.
12985 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12986 * benchtests/bench-memrchr-ifunc.c: Likewise.
12987 * benchtests/bench-memset-ifunc.c: Likewise.
12988 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12989 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12990 * benchtests/bench-stpcpy-ifunc.c: Likewise.
12991 * benchtests/bench-stpncpy-ifunc.c: Likewise.
12992 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12993 * benchtests/bench-strcasestr-ifunc.c: Likewise.
12994 * benchtests/bench-strcat-ifunc.c: Likewise.
12995 * benchtests/bench-strchr-ifunc.c: Likewise.
12996 * benchtests/bench-strchrnul-ifunc.c: Likewise.
12997 * benchtests/bench-strcmp-ifunc.c: Likewise.
12998 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12999 * benchtests/bench-strcpy-ifunc.c: Likewise.
13000 * benchtests/bench-strcspn-ifunc.c: Likewise.
13001 * benchtests/bench-strlen-ifunc.c: Likewise.
13002 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13003 * benchtests/bench-strncat-ifunc.c: Likewise.
13004 * benchtests/bench-strncmp-ifunc.c: Likewise.
13005 * benchtests/bench-strncpy-ifunc.c: Likewise.
13006 * benchtests/bench-strnlen-ifunc.c: Likewise.
13007 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13008 * benchtests/bench-strrchr-ifunc.c: Likewise.
13009 * benchtests/bench-strsep-ifunc.c: Likewise.
13010 * benchtests/bench-strspn-ifunc.c: Likewise.
13011 * benchtests/bench-strstr-ifunc.c: Likewise.
13013 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13015 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13017 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13019 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13020 * rt/aio.h: Likewise.
13021 * sysdeps/gnu/bits/utmp.h: Likewise.
13022 * sysdeps/gnu/bits/utmpx.h: Likewise.
13023 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13024 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13025 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13026 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13027 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13028 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13029 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13030 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13031 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13032 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13033 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13034 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13035 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13037 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13038 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13039 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13040 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13041 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13042 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13043 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13044 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13045 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13046 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13047 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13049 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13050 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13051 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13052 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13053 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13054 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13055 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13056 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13057 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13058 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13059 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13060 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13061 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13062 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13063 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13064 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13066 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13069 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13070 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13072 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13074 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13075 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13078 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13080 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13081 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13082 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13083 (__fesetround): Remove define.
13084 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13085 rounding and exceptions handling.
13086 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13087 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13088 (__fe_nomask_env): Likewise.
13089 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13090 __fegetround instead of fegetround.
13091 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13092 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13094 2013-11-21 Roland McGrath <roland@hack.frob.com>
13096 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13099 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13101 2013-11-21 Meador Inge <meadori@codesourcery.com>
13104 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13105 (encrypt_r): Likewise.
13106 * malloc/obstack.h (obstack_free): Likewise.
13107 * posix/unistd.h (encrypt): Likewise.
13109 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13111 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13112 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13113 DL_CALL_DT_FINI() that call the functions directly.
13114 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13115 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13116 * elf/dl-fini.c: Likewise.
13118 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13120 * malloc/hooks.c (memalign_check): Add alignment rounding.
13121 * malloc/malloc.c (_mid_memalign): New function.
13122 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13123 Implement by calling _mid_memalign.
13124 * manual/probes.texi (Memory Allocation Probes): Remove
13125 memory_valloc_retry and memory_pvalloc_retry.
13127 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13129 * locale/programs/locarchive.c (open_archive): Add const
13130 qualifier to ARCHIVEFNAME and copy default fname to
13134 * libio/tst-widetext.input: Rename Oriya to Odia.
13135 * locale/iso-639.def: Likewise.
13137 * manual/probes.texi (Mathematical Function Probes): Add
13138 documentation for sin, cos, asin and acos probes.
13139 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13140 (__sin32): Add slowasin probe.
13141 (__cos32): Add slowacos probe.
13142 (__mpsin): Add slowsin probe.
13143 (__mpcos): Add slowcos probe.
13145 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13148 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13149 thread-local __sim_exceptions_thread and global
13150 __sim_exceptions_global.
13151 (__sim_disabled_exceptions): Change to thread-local
13152 __sim_disabled_exceptions_thread and global
13153 __sim_disabled_exceptions_global.
13154 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13155 and global __sim_round_mode_global.
13156 (__simulate_exceptions): Use thread-local floating-point state and
13157 set global state from it as needed.
13158 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13159 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13160 __sim_round_mode_thread.
13161 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13162 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13163 and global __sim_exceptions_global.
13164 (__sim_disabled_exceptions): Change to thread-local
13165 __sim_disabled_exceptions_thread and global
13166 __sim_disabled_exceptions_global.
13167 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13168 and global __sim_round_mode_global.
13169 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13170 (SIM_SET_GLOBAL): Likewise.
13171 * sysdeps/powerpc/soft-fp/sfp-machine.h
13172 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13173 __sim_round_mode_thread.
13174 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13175 __sim_disabled_exceptions_thread.
13176 (__sim_exceptions): Change to __sim_exceptions_thread.
13177 (__sim_disabled_exceptions): Change to
13178 __sim_disabled_exceptions_thread.
13179 (__sim_round_mode): Change to __sim_round_mode_thread.
13180 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13181 thread-local floating-point state and set global state from it as
13183 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13184 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13185 (__sim_disabled_exceptions): Remove extern declaration.
13186 (feenableexcept): Use thread-local floating-point state and set
13187 global state from it as needed.
13188 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13189 extern declaration.
13190 (__sim_disabled_exceptions): Likewise.
13191 (__sim_round_mode): Likewise.
13192 (__fegetenv): Use thread-local floating-point state.
13193 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13194 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13195 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13196 floating-point state and set global state from it as needed.
13197 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13198 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13199 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13201 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13202 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13204 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13205 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13206 Use __sim_round_mode_thread.
13207 * math/test-fenv-tls.c: New file.
13208 * math/Makefile (tests): Add test-fenv-tls.
13209 ($(objpfx)test-fenv-tls): Depend on
13210 $(common-objpfx)nptl/libpthread.so.
13212 2013-11-19 Andreas Schwab <schwab@suse.de>
13214 * locale/programs/locale.c (show_info): Decode wordarray elements.
13215 * locale/categories.def (LC_MONETARY): Add element for
13216 _NL_MONETARY_CRNCYSTR.
13217 * locale/C-monetary.c (conversion_rate): New variable.
13218 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13221 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13223 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13224 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13226 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13228 * elf/Makefile (tst-auxv): New test.
13229 * elf/tst-auxv.c: New
13230 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13232 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13234 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13235 (hidden_proto): Caller changed.
13236 (hidden_tls_proto): New macro.
13237 (libc_hidden_tls_proto): Likewise.
13238 (rtld_hidden_tls_proto): Likewise.
13239 (libm_hidden_tls_proto): Likewise.
13240 (libresolv_hidden_tls_proto): Likewise.
13241 (librt_hidden_tls_proto): Likewise.
13242 (libdl_hidden_tls_proto): Likewise.
13243 (libnss_files_hidden_tls_proto): Likewise.
13244 (libnsl_hidden_tls_proto): Likewise.
13245 (libnss_nisplus_hidden_tls_proto): Likewise.
13246 (libutil_hidden_tls_proto): Likewise.
13248 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13251 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13252 (decompose_rpath): Defer expansion to fillin_rpath.
13253 (_dl_init_paths): Pass linkmap to fillin_rpath.
13255 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13257 * benchtests/Makefile: Add strsep.
13258 * benchtests/bench-strsep.c: New file: strsep benchtest.
13259 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13261 2013-11-18 Andreas Schwab <schwab@suse.de>
13263 * locale/programs/locale.c (show_info) [case byte]: Check for
13264 '\377' instead of '\177'.
13265 * locale/C-monetary.c (not_available): Always use "\377".
13266 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13267 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13268 detect unavailable sign_posn locale elements.
13269 * locale/localeconv.c (__localeconv): For grouping and
13270 mon_grouping handle "\177" and "\377" like no grouping.
13271 (INT_ELEM): New macro. Use it to set all numeric members.
13272 * locale/programs/ld-monetary.c (monetary_read)
13273 <tok_mon_grouping>: Normalize single -1 to the empty string.
13274 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13277 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13280 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13281 when we match (nil).
13282 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13284 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13286 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13287 (NO_TEST_INLINE): Update value.
13288 (ERRNO_UNCHANGED): Likewise.
13289 (ERRNO_EDOM): Likewise.
13290 (ERRNO_ERANGE): Likewise.
13291 (IGNORE_RESULT): Likewise.
13292 (check_float_internal): Check signs of NaN results if
13293 TEST_NAN_SIGN used.
13294 (check_complex): Pass TEST_NAN_SIGN flag through to second
13295 check_float_internal call.
13296 (copysign_test_data): Add tests with quiet NaNs as second
13297 argument. Use TEST_NAN_SIGN.
13298 (fabs_test_data): Add test of negative quiet NaN argument. Use
13300 (signbit_test_data): Add tests of quiet NaN argument.
13301 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13303 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13305 (parse_args): Handle function results specified as IGNORE.
13306 * math/libm-test.inc (IGNORE_RESULT): New macro.
13307 (check_float_internal): Do not check numerical result if flag
13309 (check_complex): Pass through IGNORE_RESULT to second
13310 check_float_internal call.
13311 (check_int): Do not check numerical result if flag IGNORE_RESULT
13313 (check_long): Likewise.
13314 (check_bool): Likewise.
13315 (check_longlong): Likewise.
13316 (lrint_test_data): Add tests of infinite and NaN arguments.
13317 (lrint_tonearest_test_data): Likewise.
13318 (lrint_towardzero_test_data): Likewise.
13319 (lrint_downward_test_data): Likewise.
13320 (lrint_upward_test_data): Likewise.
13321 (llrint_test_data): Likewise.
13322 (llrint_tonearest_test_data): Likewise.
13323 (llrint_towardzero_test_data): Likewise.
13324 (llrint_downward_test_data): Likewise.
13325 (llrint_upward_test_data): Likewise.
13326 (lround_test_data): Likewise.
13327 (llround_test_data): Likewise.
13329 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13330 (ERRNO_UNCHANGED): Update value.
13331 (ERRNO_EDOM): Likewise.
13332 (ERRNO_ERANGE): Likewise.
13333 (NO_TEST_INLINE_FLOAT): New macro.
13334 (NO_TEST_INLINE_DOUBLE): Likewise.
13335 (enable_test): New function.
13336 (RUN_TEST_f_f): Check enable_test before running test.
13337 (RUN_TEST_2_f): Likewise.
13338 (RUN_TEST_fff_f): Likewise.
13339 (RUN_TEST_c_f): Likewise.
13340 (RUN_TEST_f_f1): Likewise.
13341 (RUN_TEST_fF_f1): Likewise.
13342 (RUN_TEST_fI_f1): Likewise.
13343 (RUN_TEST_ffI_f1): Likewise.
13344 (RUN_TEST_c_c): Likewise.
13345 (RUN_TEST_cc_c): Likewise.
13346 (RUN_TEST_f_i): Likewise.
13347 (RUN_TEST_f_i_tg): Likewise.
13348 (RUN_TEST_ff_i_tg): Likewise.
13349 (RUN_TEST_f_b): Likewise.
13350 (RUN_TEST_f_b_tg): Likewise.
13351 (RUN_TEST_f_l): Likewise.
13352 (RUN_TEST_f_L): Likewise.
13353 (RUN_TEST_fFF_11): Likewise.
13354 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13356 (cosh_test_data): Likewise.
13357 (exp_test_data): Likewise.
13358 (expm1_test_data): Likewise.
13359 (hypot_test_data): Likewise.
13360 (pow_test_data): Likewise.
13361 (sinh_test_data): Likewise.
13362 (tanh_test_data): Likewise.
13363 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13366 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13367 tests with quiet NaN input and output.
13368 (acosh_test_data): Likewise.
13369 (asin_test_data): Likewise.
13370 (asinh_test_data): Likewise.
13371 (atan_test_data): Likewise.
13372 (atanh_test_data): Likewise.
13373 (atan2_test_data): Likewise.
13374 (cbrt_test_data): Likewise.
13375 (cos_test_data): Likewise.
13376 (cosh_test_data): Likewise.
13377 (erf_test_data): Likewise.
13378 (erfc_test_data): Likewise.
13379 (exp_test_data): Likewise.
13380 (exp10_test_data): Likewise.
13381 (exp2_test_data): Likewise.
13382 (expm1_test_data): Likewise.
13383 (hypot_test_data): Likewise.
13384 (j0_test_data): Likewise.
13385 (j1_test_data): Likewise.
13386 (jn_test_data): Likewise.
13387 (lgamma_test_data): Likewise.
13388 (log_test_data): Likewise.
13389 (log10_test_data): Likewise.
13390 (log1p_test_data): Likewise.
13391 (log2_test_data): Likewise.
13392 (pow_test_data): Likewise.
13393 (scalb_test_data): Likewise.
13394 (sin_test_data): Likewise.
13395 (sincos_test_data): Likewise.
13396 (sinh_test_data): Likewise.
13397 (tan_test_data): Likewise.
13398 (tanh_test_data): Likewise.
13399 (tgamma_test_data): Likewise.
13400 (y0_test_data): Likewise.
13401 (y1_test_data): Likewise.
13402 (yn_test_data): Likewise.
13405 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13406 argument being NaN and avoid computations with second argument in
13408 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13409 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13410 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13412 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13414 * locale/iso-639.def: Add Chitwani Tharu (the).
13416 2013-11-14 Andreas Schwab <schwab@suse.de>
13418 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13419 word instead of empty string.
13421 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13424 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13426 (__fe_nomask_env): Likewise.
13428 2013-11-13 Steve Ellcey <sellcey@mips.com>
13430 * benchtests/bench-timing.h: Include time.h.
13432 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13435 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13437 * sysdeps/unix/sysv/linux/configure: Regenerated.
13439 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13442 * stdlib/strtod_l.c (round_and_return): Do not consider
13443 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13444 exponent one less than half the least subnormal exponent.
13445 * stdlib/test-strtod-round-data: Add more tests.
13446 * stdlib/tst-strtod-round.c (tests): Regenerated.
13448 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13451 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13452 (__fe_mask_env): Likewise.
13453 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13454 libm_hidden_proto and add function prototype.
13455 (__fe_mask_env): Add function prototype.
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13457 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13459 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13461 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13463 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13465 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13466 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13468 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13470 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13471 of htab_find_slot().
13473 2013-11-11 David S. Miller <davem@davemloft.net>
13476 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13477 symbol in the non-vis3 case in static builds.
13478 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13479 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13480 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13481 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13483 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13486 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13489 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13491 * benchtests/Makefile: Add bench-strtod.
13492 * benchtests/bench-strtod.c: New file: strtod benchtest
13494 2013-11-11 Andreas Schwab <schwab@suse.de>
13497 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13498 terminating NUL in key length.
13500 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13502 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13503 Add artificial ODP entry for vDSO symbol for PPC64.
13504 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13505 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13507 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13510 * nss/getent.c (services_keys): Recognize services starting with digit.
13512 2013-11-06 David S. Miller <davem@davemloft.net>
13515 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13516 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13518 2013-11-06 Will Newton <will.newton@linaro.org>
13520 * manual/memory.texi (Malloc Examples): Remove register
13521 keyword from examples.
13523 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13525 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13527 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13530 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13531 depending on [__GCC_IEC_559 > 0].
13532 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13533 depending on [__GCC_IEC_559_COMPLEX > 0].
13535 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13537 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13540 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13542 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13544 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13547 * malloc/malloc (malloc_info): Do not handle first bin as
13550 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13552 * locale/iso-639.def: Add Central Nahuatl (nhn).
13554 2013-11-01 Bruno Haible <bruno@clisp.org>
13557 * manual/math.texi (BSD Random): Specify range upper bound as
13560 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13562 * locale/iso-639.def: Add Meadow Mari (mhr).
13564 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13566 [BZ #14752], [BZ #15763]
13567 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13569 * rt/tst_shm.c: Add test for escaping directory.
13571 2013-10-31 Andreas Schwab <schwab@suse.de>
13574 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13575 followed by 'x' as part of digit sequence.
13576 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13578 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13581 * configure.ac: allow GNU Make 4.0 and greater.
13582 * configure: Regenerated.
13584 2013-10-30 Will Newton <will.newton@linaro.org>
13587 * malloc/hooks.c (memalign_check): Limit alignment to the
13588 maximum representable power of two.
13589 * malloc/malloc.c (__libc_memalign): Likewise.
13590 * malloc/tst-memalign.c (do_test): Add test for very
13591 large alignment values.
13592 * malloc/tst-posix_memalign.c (do_test): Likewise.
13594 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13597 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13598 (munmap_chunk): Likewise.
13599 (mremap_chunk): Likewise.
13601 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13604 * stdlib/div.c (div): Remove obsolete code.
13605 * stdlib/ldiv.c (ldiv): Likewise.
13606 * stdlib/lldiv.c (lldiv): Likewise.
13608 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13611 * nss/nss_files/files-XXX.c (get_contents_ret): New
13613 (get_contents): New function.
13614 (internal_getent): Use it. Expand size of LINEBUFLEN.
13616 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13618 * configure.in: Moved to ...
13619 * configure.ac: ... here. Change reference to configure.in
13621 * sysdeps/arm/preconfigure.ac: ... here.
13622 configure.in to configure.ac.
13623 * sysdeps/gnu/configure.in: Moved to ...
13624 * sysdeps/gnu/configure.ac: ... here.
13625 * sysdeps/i386/configure.in: Moved to ...
13626 * sysdeps/i386/configure.ac: ... here.
13627 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13628 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13629 * sysdeps/mach/configure.in: Moved to ...
13630 * sysdeps/mach/configure.ac: ... here.
13631 * sysdeps/mach/hurd/configure.in: Moved to ...
13632 * sysdeps/mach/hurd/configure.ac: ... here.
13633 * sysdeps/powerpc/configure.in: Moved to ...
13634 * sysdeps/powerpc/configure.ac: ... here.
13635 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13636 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13637 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13638 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13639 * sysdeps/s390/s390-32/configure.in: Moved to ...
13640 * sysdeps/s390/s390-32/configure.ac: ... here.
13641 * sysdeps/s390/s390-64/configure.in: Moved to ...
13642 * sysdeps/s390/s390-64/configure.ac: ... here.
13643 * sysdeps/sh/configure.in: Moved to ...
13644 * sysdeps/sh/configure.ac: ... here.
13645 * sysdeps/sparc/configure.in: Moved to ...
13646 * sysdeps/sparc/configure.ac: ... here.
13647 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13648 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13649 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13650 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13651 * sysdeps/x86_64/configure.in: Moved to ...
13652 * sysdeps/x86_64/configure.ac: ... here.
13653 * sysdeps/x86_64/preconfigure.in: Moved to ...
13654 * sysdeps/x86_64/preconfigure.ac: ... here.
13655 * aclocal.m4: Change reference to configure.in to configure.ac.
13656 * config.h.in: Likewise.
13657 * manual/install.texi: Likewise.
13658 * manual/maint.texi: Likewise.
13659 * Makefile: Likewise.
13660 * malloc/Makefile: Likewise.
13661 * nscd/Makefile: Likewise.
13662 * Makeconfig: Change reference to configure.in and
13663 preconfigure.in to configure.ac and preconfigure.ac
13665 * INSTALL: Regenerated.
13666 * configure: Likewise.
13667 * sysdeps/gnu/configure: Likewise.
13668 * sysdeps/i386/configure: Likewise.
13669 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13670 * sysdeps/mach/configure: Likewise.
13671 * sysdeps/mach/hurd/configure: Likewise.
13672 * sysdeps/powerpc/configure: Likewise.
13673 * sysdeps/powerpc/powerpc32/configure: Likewise.
13674 * sysdeps/powerpc/powerpc64/configure: Likewise.
13675 * sysdeps/s390/s390-32/configure: Likewise.
13676 * sysdeps/s390/s390-64/configure: Likewise.
13677 * sysdeps/sh/configure: Likewise.
13678 * sysdeps/sparc/configure: Likewise.
13679 * sysdeps/unix/sysv/linux/configure: Likewise.
13680 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13681 * sysdeps/x86_64/configure: Likewise.
13682 * sysdeps/x86_64/preconfigure: Likewise.
13684 2013-10-29 Andreas Schwab <schwab@suse.de>
13686 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13688 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13690 * benchtests/pow-inputs: Add new inputs.
13692 * benchtests/exp-inputs: Add new inputs.
13694 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13695 conditional check for return value.
13696 (__cos32): Likewise.
13698 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13700 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13701 to provide a boost for large inputs with word alignment.
13702 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13703 implementation based on optimized PPC64 strcpy.
13704 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13705 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13706 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13707 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13709 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13712 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13714 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13717 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13718 * time/tst-strptime.c (day_tests): Add testcase.
13720 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13723 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13725 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13728 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13729 MAP_FAILED on error.
13731 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13734 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13735 heap for large requests.
13737 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13740 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13741 result if the result has no associated interface.
13742 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13743 interface for all 127.X.Y.Z addresses.
13745 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13747 * locale/iso-639.def: Add Ligurian (lij)
13749 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13752 * sunrpc/rpc_main.c: Document rpcgen -5.
13754 2013-10-19 Michael Stahl <mstahl@redhat.com>
13756 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13758 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13761 * posix/glob.c: Match only directories when trailing slash is present.
13762 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13763 (main): Add testcase.
13765 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13768 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13770 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13772 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13773 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13774 AUTH_DES and cindex for FIPS 140-2.
13775 (DES Encryption): Add cindex FIPS 46-3.
13777 * locale/locarchive.h (struct locarhandle): Add fname.
13778 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13779 if an optional argument was specified to --list-archive,
13781 * locale/programs/locarchive.c (show_archive_content): Take new
13782 argument fname and pass it via ah.fname to open_archive.
13783 * locale/programs/localedef.h: Update decl.
13784 (open_archive): If AH->fname is non-null, open that file
13785 rather than the default file name, and don't ignore ENOENT.
13786 (create_archive): Set AH.fname to NULL.
13787 (delete_locales_from_archive): Likewise.
13788 (add_locales_to_archive): Likewise.
13789 * locale/programs/locfile.c (write_all_categories): Likewise.
13791 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13792 Aldy Hernandez <aldyh@redhat.com>
13794 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13795 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13796 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13797 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13798 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13799 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13800 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13801 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13802 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13803 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13804 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13805 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13806 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13807 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13808 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13810 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13812 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13814 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13816 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13817 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13819 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13820 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13821 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13822 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13824 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13825 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13826 * sysdeps/powerpc/preconfigure: Likewise.
13827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13829 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13830 Replace contents of file by #include of <fenv_libc.h>.
13831 * sysdeps/powerpc/soft-fp/sfp-machine.h
13832 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13834 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13835 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13836 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13837 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13838 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13839 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13840 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13841 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13842 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13843 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13844 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13845 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13847 Allow copysignl PLT reference to be missing.
13849 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13850 Joseph Myers <joseph@codesourcery.com
13853 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13855 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13857 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13859 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13860 * elf/tst-tls1.c: Likewise.
13861 * elf/tst-tls10.h: Likewise.
13862 * elf/tst-tls14.c: Likewise.
13863 * elf/tst-tls2.c: Likewise.
13864 * elf/tst-tls3.c: Likewise.
13865 * elf/tst-tls4.c: Likewise.
13866 * elf/tst-tls5.c: Likewise.
13867 * elf/tst-tls6.c: Likewise.
13868 * elf/tst-tls7.c: Likewise.
13869 * elf/tst-tls8.c: Likewise.
13870 * elf/tst-tls9.c: Likewise.
13871 * elf/tst-tlsmod1.c: Likewise.
13872 * elf/tst-tlsmod13.c: Likewise.
13873 * elf/tst-tlsmod13a.c: Likewise.
13874 * elf/tst-tlsmod14a.c: Likewise.
13875 * elf/tst-tlsmod16a.c: Likewise.
13876 * elf/tst-tlsmod16b.c: Likewise.
13877 * elf/tst-tlsmod2.c: Likewise.
13878 * elf/tst-tlsmod3.c: Likewise.
13879 * elf/tst-tlsmod4.c: Likewise.
13880 * elf/tst-tlsmod5.c: Likewise.
13881 * elf/tst-tlsmod6.c: Likewise.
13883 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13886 * malloc/malloc.c: remove checks for statistics.
13888 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13891 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13892 * inet/tst-network.c: Add testcase.
13894 2013-10-17 Andreas Schwab <schwab@suse.de>
13897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13898 to determine canonical name.
13900 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13902 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13903 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13904 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13926 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13927 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13932 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13939 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13940 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13945 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13961 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13964 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13965 make result into a quiet NaN.
13967 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13969 * soft-fp/adddf3.c: Fix horizontal whitespace.
13970 * soft-fp/addsf3.c: Likewise.
13971 * soft-fp/addtf3.c: Likewise.
13972 * soft-fp/divdf3.c: Likewise.
13973 * soft-fp/divsf3.c: Likewise.
13974 * soft-fp/divtf3.c: Likewise.
13975 * soft-fp/double.h: Likewise.
13976 * soft-fp/eqdf2.c: Likewise.
13977 * soft-fp/eqsf2.c: Likewise.
13978 * soft-fp/eqtf2.c: Likewise.
13979 * soft-fp/extenddftf2.c: Likewise.
13980 * soft-fp/extended.h: Likewise.
13981 * soft-fp/extendsfdf2.c: Likewise.
13982 * soft-fp/extendsftf2.c: Likewise.
13983 * soft-fp/extendxftf2.c: Likewise.
13984 * soft-fp/fixdfdi.c: Likewise.
13985 * soft-fp/fixdfsi.c: Likewise.
13986 * soft-fp/fixdfti.c: Likewise.
13987 * soft-fp/fixsfdi.c: Likewise.
13988 * soft-fp/fixsfsi.c: Likewise.
13989 * soft-fp/fixsfti.c: Likewise.
13990 * soft-fp/fixtfdi.c: Likewise.
13991 * soft-fp/fixtfsi.c: Likewise.
13992 * soft-fp/fixtfti.c: Likewise.
13993 * soft-fp/fixunsdfdi.c: Likewise.
13994 * soft-fp/fixunsdfsi.c: Likewise.
13995 * soft-fp/fixunsdfti.c: Likewise.
13996 * soft-fp/fixunssfdi.c: Likewise.
13997 * soft-fp/fixunssfsi.c: Likewise.
13998 * soft-fp/fixunssfti.c: Likewise.
13999 * soft-fp/fixunstfdi.c: Likewise.
14000 * soft-fp/fixunstfsi.c: Likewise.
14001 * soft-fp/fixunstfti.c: Likewise.
14002 * soft-fp/floatdidf.c: Likewise.
14003 * soft-fp/floatdisf.c: Likewise.
14004 * soft-fp/floatditf.c: Likewise.
14005 * soft-fp/floatsidf.c: Likewise.
14006 * soft-fp/floatsisf.c: Likewise.
14007 * soft-fp/floatsitf.c: Likewise.
14008 * soft-fp/floattidf.c: Likewise.
14009 * soft-fp/floattisf.c: Likewise.
14010 * soft-fp/floattitf.c: Likewise.
14011 * soft-fp/floatundidf.c: Likewise.
14012 * soft-fp/floatundisf.c: Likewise.
14013 * soft-fp/floatunditf.c: Likewise.
14014 * soft-fp/floatunsidf.c: Likewise.
14015 * soft-fp/floatunsisf.c: Likewise.
14016 * soft-fp/floatunsitf.c: Likewise.
14017 * soft-fp/floatuntidf.c: Likewise.
14018 * soft-fp/floatuntisf.c: Likewise.
14019 * soft-fp/floatuntitf.c: Likewise.
14020 * soft-fp/fmadf4.c: Likewise.
14021 * soft-fp/fmasf4.c: Likewise.
14022 * soft-fp/fmatf4.c: Likewise.
14023 * soft-fp/gedf2.c: Likewise.
14024 * soft-fp/gesf2.c: Likewise.
14025 * soft-fp/getf2.c: Likewise.
14026 * soft-fp/ledf2.c: Likewise.
14027 * soft-fp/lesf2.c: Likewise.
14028 * soft-fp/letf2.c: Likewise.
14029 * soft-fp/muldf3.c: Likewise.
14030 * soft-fp/mulsf3.c: Likewise.
14031 * soft-fp/multf3.c: Likewise.
14032 * soft-fp/negdf2.c: Likewise.
14033 * soft-fp/negsf2.c: Likewise.
14034 * soft-fp/negtf2.c: Likewise.
14035 * soft-fp/op-1.h: Likewise.
14036 * soft-fp/op-2.h: Likewise.
14037 * soft-fp/op-4.h: Likewise.
14038 * soft-fp/op-8.h: Likewise.
14039 * soft-fp/op-common.h: Likewise.
14040 * soft-fp/quad.h: Likewise.
14041 * soft-fp/single.h: Likewise.
14042 * soft-fp/soft-fp.h: Likewise.
14043 * soft-fp/sqrtdf2.c: Likewise.
14044 * soft-fp/sqrtsf2.c: Likewise.
14045 * soft-fp/sqrttf2.c: Likewise.
14046 * soft-fp/subdf3.c: Likewise.
14047 * soft-fp/subsf3.c: Likewise.
14048 * soft-fp/subtf3.c: Likewise.
14049 * soft-fp/truncdfsf2.c: Likewise.
14050 * soft-fp/trunctfdf2.c: Likewise.
14051 * soft-fp/trunctfsf2.c: Likewise.
14052 * soft-fp/trunctfxf2.c: Likewise.
14053 * soft-fp/unorddf2.c: Likewise.
14054 * soft-fp/unordsf2.c: Likewise.
14055 * soft-fp/unordtf2.c: Likewise.
14057 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14059 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14060 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14062 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14064 * elf/dl-libc.c: Clear initfini list after freeing.
14066 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14068 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14069 * soft-fp/addsf3.c: Likewise.
14070 * soft-fp/addtf3.c: Likewise.
14071 * soft-fp/divdf3.c: Likewise.
14072 * soft-fp/divsf3.c: Likewise.
14073 * soft-fp/divtf3.c: Likewise.
14074 * soft-fp/double.h: Likewise.
14075 * soft-fp/eqdf2.c: Likewise.
14076 * soft-fp/eqsf2.c: Likewise.
14077 * soft-fp/eqtf2.c: Likewise.
14078 * soft-fp/extenddftf2.c: Likewise.
14079 * soft-fp/extended.h: Likewise.
14080 * soft-fp/extendsfdf2.c: Likewise.
14081 * soft-fp/extendsftf2.c: Likewise.
14082 * soft-fp/extendxftf2.c: Likewise.
14083 * soft-fp/fixdfdi.c: Likewise.
14084 * soft-fp/fixdfsi.c: Likewise.
14085 * soft-fp/fixdfti.c: Likewise.
14086 * soft-fp/fixsfdi.c: Likewise.
14087 * soft-fp/fixsfsi.c: Likewise.
14088 * soft-fp/fixsfti.c: Likewise.
14089 * soft-fp/fixtfdi.c: Likewise.
14090 * soft-fp/fixtfsi.c: Likewise.
14091 * soft-fp/fixtfti.c: Likewise.
14092 * soft-fp/fixunsdfdi.c: Likewise.
14093 * soft-fp/fixunsdfsi.c: Likewise.
14094 * soft-fp/fixunsdfti.c: Likewise.
14095 * soft-fp/fixunssfdi.c: Likewise.
14096 * soft-fp/fixunssfsi.c: Likewise.
14097 * soft-fp/fixunssfti.c: Likewise.
14098 * soft-fp/fixunstfdi.c: Likewise.
14099 * soft-fp/fixunstfsi.c: Likewise.
14100 * soft-fp/fixunstfti.c: Likewise.
14101 * soft-fp/floatdidf.c: Likewise.
14102 * soft-fp/floatdisf.c: Likewise.
14103 * soft-fp/floatditf.c: Likewise.
14104 * soft-fp/floatsidf.c: Likewise.
14105 * soft-fp/floatsisf.c: Likewise.
14106 * soft-fp/floatsitf.c: Likewise.
14107 * soft-fp/floattidf.c: Likewise.
14108 * soft-fp/floattisf.c: Likewise.
14109 * soft-fp/floattitf.c: Likewise.
14110 * soft-fp/floatundidf.c: Likewise.
14111 * soft-fp/floatundisf.c: Likewise.
14112 * soft-fp/floatunsidf.c: Likewise.
14113 * soft-fp/floatunsisf.c: Likewise.
14114 * soft-fp/floatuntidf.c: Likewise.
14115 * soft-fp/floatuntisf.c: Likewise.
14116 * soft-fp/floatuntitf.c: Likewise.
14117 * soft-fp/fmadf4.c: Likewise.
14118 * soft-fp/fmasf4.c: Likewise.
14119 * soft-fp/fmatf4.c: Likewise.
14120 * soft-fp/gedf2.c: Likewise.
14121 * soft-fp/gesf2.c: Likewise.
14122 * soft-fp/getf2.c: Likewise.
14123 * soft-fp/ledf2.c: Likewise.
14124 * soft-fp/lesf2.c: Likewise.
14125 * soft-fp/letf2.c: Likewise.
14126 * soft-fp/muldf3.c: Likewise.
14127 * soft-fp/mulsf3.c: Likewise.
14128 * soft-fp/multf3.c: Likewise.
14129 * soft-fp/negdf2.c: Likewise.
14130 * soft-fp/negsf2.c: Likewise.
14131 * soft-fp/negtf2.c: Likewise.
14132 * soft-fp/op-1.h: Likewise.
14133 * soft-fp/op-2.h: Likewise.
14134 * soft-fp/op-4.h: Likewise.
14135 * soft-fp/op-8.h: Likewise.
14136 * soft-fp/op-common.h: Likewise.
14137 * soft-fp/quad.h: Likewise.
14138 * soft-fp/single.h: Likewise.
14139 * soft-fp/soft-fp.h: Likewise.
14140 * soft-fp/sqrtdf2.c: Likewise.
14141 * soft-fp/sqrtsf2.c: Likewise.
14142 * soft-fp/sqrttf2.c: Likewise.
14143 * soft-fp/subdf3.c: Likewise.
14144 * soft-fp/subsf3.c: Likewise.
14145 * soft-fp/subtf3.c: Likewise.
14146 * soft-fp/truncdfsf2.c: Likewise.
14147 * soft-fp/trunctfdf2.c: Likewise.
14148 * soft-fp/trunctfsf2.c: Likewise.
14149 * soft-fp/trunctfxf2.c: Likewise.
14150 * soft-fp/unorddf2.c: Likewise.
14151 * soft-fp/unordsf2.c: Likewise.
14152 * soft-fp/unordtf2.c: Likewise.
14154 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14157 * misc/error.c (error_tail): Fix possible buffer overflow.
14159 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14162 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14165 2013-10-14 P. J. McDermott <pj@pehjota.net>
14168 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14169 testing pipefail option.
14171 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14173 * soft-fp/double.h: Indent preprocessor directives inside #if.
14174 * soft-fp/extended.h: Likewise.
14175 * soft-fp/op-2.h: Likewise.
14176 * soft-fp/op-4.h: Likewise.
14177 * soft-fp/op-common.h: Likewise.
14178 * soft-fp/quad.h: Likewise.
14179 * soft-fp/single.h: Likewise.
14180 * soft-fp/soft-fp.h: Likewise.
14182 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14184 * iconv/iconv_prog.c: Fix typos.
14185 * stdio-common/psiginfo-data.h: Likewise.
14187 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14190 * locale/setlocale.c: Fix typo.
14192 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14195 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14196 signaling NaN arguments.
14197 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14198 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14201 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14202 unordered operands.
14203 * soft-fp/gesf2.c (__gesf2): Likewise.
14204 * soft-fp/getf2.c (__getf2): Likewise.
14205 * soft-fp/ledf2.c (__ledf2): Likewise.
14206 * soft-fp/lesf2.c (__lesf2): Likewise.
14207 * soft-fp/letf2.c (__letf2): Likewise.
14209 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14210 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14211 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14212 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14213 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14214 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14215 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14216 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14217 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14218 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14219 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14220 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14221 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14222 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14223 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14224 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14225 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14226 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14227 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14228 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14229 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14230 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14231 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14232 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14233 * soft-fp/floattidf.c (__floattidf): Likewise.
14234 * soft-fp/floattisf.c (__floattisf): Likewise.
14235 * soft-fp/floattitf.c (__floattitf): Likewise.
14236 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14237 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14238 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14239 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14240 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14241 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14242 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14243 * soft-fp/gesf2.c (__gesf2): Likewise.
14244 * soft-fp/getf2.c (__getf2): Likewise.
14245 * soft-fp/ledf2.c (__ledf2): Likewise.
14246 * soft-fp/lesf2.c (__lesf2): Likewise.
14247 * soft-fp/letf2.c (__letf2): Likewise.
14249 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14250 Undefine and redefine.
14251 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14252 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14253 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14254 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14255 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14256 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14257 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14258 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14259 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14260 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14261 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14262 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14263 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14264 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14265 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14268 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14269 without decrementing exponent if mantissa >= that for the
14270 denominator, not >.
14271 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14272 denominator, not >. Decrement exponent in < case instead of
14273 incrementing in >= case.
14274 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14275 without decrementing exponent if mantissa >= that for the
14276 denominator, not >.
14278 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14279 computing saturated result for unsigned overflow.
14281 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14282 Jeff Law <law@redhat.com>
14284 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14285 (atan2Mp): Add systemtap probe marker.
14286 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14287 (__ieee754_log): Add systemtap probe marker.
14288 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14289 (atanMp): Add systemtap probe marker.
14290 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14291 (tanMp): Add systemtap probe marker.
14292 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14293 (__slowexp): Add systemtap probe marker.
14294 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14295 (__slowpow): Add systemtap probe marker.
14296 * manual/probes.texi: Document probes.
14298 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14301 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14303 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14305 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14306 written to buffer but not flushed.
14307 * libio/iofwrite_u.c: Likewise.
14308 * libio/iopadn.c: Return bytes returned even if EOF was
14310 * libio/iowpadn.c: Likewise.
14311 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14312 if _IO_padn does not write the whole buffer.
14313 [!COMPILE_WPRINTF] (PAD): Likewise.
14315 2013-10-10 David S. Miller <davem@davemloft.net>
14317 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14320 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14322 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14323 instead of FSF address.
14324 * soft-fp/fixdfti.c: Likewise.
14325 * soft-fp/fixsfti.c: Likewise.
14326 * soft-fp/fixtfti.c: Likewise.
14327 * soft-fp/fixunsdfti.c: Likewise.
14328 * soft-fp/fixunssfti.c: Likewise.
14329 * soft-fp/fixunstfti.c: Likewise.
14330 * soft-fp/floattidf.c: Likewise.
14331 * soft-fp/floattisf.c: Likewise.
14332 * soft-fp/floattitf.c: Likewise.
14333 * soft-fp/floatuntidf.c: Likewise.
14334 * soft-fp/floatuntisf.c: Likewise.
14335 * soft-fp/floatuntitf.c: Likewise.
14336 * soft-fp/trunctfxf2.c: Likewise.
14338 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14339 * soft-fp/fixdfti.c: Likewise.
14340 * soft-fp/fixsfti.c: Likewise.
14341 * soft-fp/fixtfti.c: Likewise.
14342 * soft-fp/fixunsdfti.c: Likewise.
14343 * soft-fp/fixunssfti.c: Likewise.
14344 * soft-fp/fixunstfti.c: Likewise.
14345 * soft-fp/floattidf.c: Likewise.
14346 * soft-fp/floattisf.c: Likewise.
14347 * soft-fp/floattitf.c: Likewise.
14348 * soft-fp/floatuntidf.c: Likewise.
14349 * soft-fp/floatuntisf.c: Likewise.
14350 * soft-fp/floatuntitf.c: Likewise.
14351 * soft-fp/trunctfxf2.c: Likewise.
14353 2013-10-10 David S. Miller <davem@davemloft.net>
14355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14357 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14359 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14360 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14361 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14362 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14363 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14364 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14365 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14367 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14368 for NaNs before doing comparisons on argument.
14369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14372 2013-10-10 Will Newton <will.newton@linaro.org>
14374 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14375 passed to _int_memalign does not overflow.
14377 2013-10-10 Torvald Riegel <triegel@redhat.com>
14379 * scripts/bench.pl: Add include-sources directive.
14380 * benchtests/README: Update documentation.
14382 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14384 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14385 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14386 instead of FP_INIT_ROUNDMODE.
14387 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14388 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14391 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14392 copy class of input value.
14393 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14394 not handle exceptions.
14395 * soft-fp/negsf2.c (__negsf2): Likewise.
14396 * soft-fp/negtf2.c (__negtf2): Likewise.
14397 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14399 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14401 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14402 semicolon. From Linux kernel.
14404 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14406 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14408 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14411 * manual/socket.texi: Added statement about buffer
14412 for gethostbyname2_r.
14414 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14416 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14417 Use .p2align directive instead, throughout.
14418 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14419 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14420 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14423 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14424 * sysdeps/x86_64/strchr.S: Likewise.
14425 * sysdeps/x86_64/strrchr.S: Likewise.
14427 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14429 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14431 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14433 * sysdeps/generic/math_private.h (__mpsin1): Remove
14435 (__mpcos1): Likewise.
14436 (__mpsin): New argument __range_reduce.
14437 (__mpcos): Likewise.
14438 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14439 (slow): Use __mpsin and __mpcos.
14443 (sloww1): Likewise.
14444 (sloww2): Likewise.
14445 (bsloww): Likewise.
14446 (bsloww1): Likewise.
14447 (bsloww2): Likewise.
14448 (cslow2): Likewise.
14449 (csloww): Likewise.
14450 (csloww1): Likewise.
14451 (csloww2): Likewise.
14452 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14453 range_reduce. Merge in __mpsin1.
14454 (__mpcos): Likewise.
14455 (__mpsin1): Remove.
14456 (__mpcos1): Likewise.
14458 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14460 * locale/loadlocale.c (_nl_intern_locale_data): Use
14462 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14463 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14464 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14465 obstack data is appropriately aligned.
14466 (obstack_int32_grow_fast): Likewise.
14467 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14468 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14469 (add_locale_uint32_array): Likewise.
14471 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14473 * benchtests/Makefile: Remove ARGLIST and RET variables.
14474 ($(objpfx)bench-%.c): Pass only function name to the script.
14475 * benchtests/README: Update documentation.
14476 * benchtests/acos-inputs: Add new directives.
14477 * benchtests/acosh-inputs: Likewise.
14478 * benchtests/asin-inputs: Likewise.
14479 * benchtests/asinh-inputs: Likewise.
14480 * benchtests/atan-inputs: Likewise.
14481 * benchtests/atanh-inputs: Likewise.
14482 * benchtests/cos-inputs: Likewise.
14483 * benchtests/cosh-inputs: Likewise.
14484 * benchtests/exp-inputs: Likewise.
14485 * benchtests/log-inputs: Likewise.
14486 * benchtests/pow-inputs: Likewise.
14487 * benchtests/rint-inputs: Likewise.
14488 * benchtests/sin-inputs: Likewise.
14489 * benchtests/sinh-inputs: Likewise.
14490 * benchtests/tan-inputs: Likewise.
14491 * benchtests/tanh-inputs: Likewise.
14492 * scripts/bench.pl: Add support for new directives.
14494 2013-10-07 Alan Modra <amodra@gmail.com>
14496 * README: Fix careless merge.
14498 2013-10-05 Alan Modra <amodra@gmail.com>
14500 * NEWS: Mention powerpc64le support and bugs fixed.
14501 * README: Both big-endian and little-endian powerpc64 supported.
14503 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14505 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14506 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14507 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14508 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14510 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14512 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14515 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14517 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14518 Move -mhard-float appending from
14519 ports/sysdeps/powerpc/powerpc32/Makefile.
14520 [$(with-fp) = yes] (ASFLAGS): Likewise.
14521 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14522 * sysdeps/powerpc/nofpu: Move directory from
14523 ports/sysdeps/powerpc/nofpu.
14524 * sysdeps/powerpc/soft-fp: Move directory from
14525 ports/sysdeps/powerpc/soft-fp.
14526 * sysdeps/powerpc/powerpc32/405: Move directory from
14527 ports/sysdeps/powerpc/powerpc32/405.
14528 * sysdeps/powerpc/powerpc32/440: Move directory from
14529 ports/sysdeps/powerpc/powerpc32/440.
14530 * sysdeps/powerpc/powerpc32/464: Move directory from
14531 ports/sysdeps/powerpc/powerpc32/464.
14532 * sysdeps/powerpc/powerpc32/476: Move directory from
14533 ports/sysdeps/powerpc/powerpc32/476.
14534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14535 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14537 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14539 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14541 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14543 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14544 * README: Update for powerpc-*-linux-gnu software floating point
14547 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14548 case to powerpc/powerpc32*.
14549 * sysdeps/unix/sysv/linux/configure: Regenerated.
14551 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14552 (_FPU_MASK_OM): Define as 0x04.
14553 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14558 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14561 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14564 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14567 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14568 and setcontext_e500.
14570 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14572 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14574 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14576 * manual/threads.texi (Default Thread Attributes): Fix typo.
14578 2013-10-04 Will Newton <will.newton@linaro.org>
14580 * malloc/Makefile: Add tst-memalign.
14581 * malloc/tst-memalign.c: New file.
14583 * malloc/tst-posix_memalign.c: Add comments.
14584 (do_test): Add comments and call free on all potentially
14585 allocated pointers. Add space after cast.
14587 * malloc/tst-pvalloc.c: Add comments.
14588 (do_test): Add comments and call free on all potentially
14589 allocated pointers. Remove duplicate check for NULL pointer.
14590 Add space after cast.
14592 * malloc/tst-valloc.c: Add comments.
14593 (do_test): Add comments and call free on all potentially
14594 allocated pointers. Remove duplicate check for NULL pointer.
14595 Add space after cast.
14597 2013-10-04 Alan Modra <amodra@gmail.com>
14599 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14600 Use stdint types in rather than __attribute__((mode())).
14601 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14603 2013-10-04 Alan Modra <amodra@gmail.com>
14605 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14606 Correct handling of unaligned relocs for little-endian.
14607 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14609 2013-10-04 Alan Modra <amodra@gmail.com>
14611 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14612 * configure: Regenerate.
14613 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14614 * shlib-versions: Likewise.
14616 2013-10-04 Alan Modra <amodra@gmail.com>
14618 * string/tester.c (test_memrchr): Increment reported test cycle.
14620 2013-10-04 Alan Modra <amodra@gmail.com>
14622 * string/test-memcpy.c (do_one_test): When reporting errors, print
14623 string address and don't overrun end of string.
14625 2013-10-04 Alan Modra <amodra@gmail.com>
14627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14628 insrdi. Make better use of reg selection to speed exit slightly.
14629 Schedule entry path a little better. Remove useless "are we done"
14630 checks on entry to main loop. Handle wrapping around zero address.
14631 Correct main loop count. Handle single left-over word from main
14632 loop inline rather than by using loop_small. Remove extra word
14633 case in loop_small caused by wrong loop count. Add little-endian
14635 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14636 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14638 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14639 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14640 support. Avoid rlwimi.
14641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14643 2013-10-04 Alan Modra <amodra@gmail.com>
14645 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14646 insrdi. Formatting.
14647 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14648 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14649 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14650 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14651 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14652 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14654 2013-10-04 Alan Modra <amodra@gmail.com>
14656 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14657 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14658 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14659 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14660 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14661 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14664 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14665 use of regs. Use power7 mtocrf. Tidy function tails.
14667 2013-10-04 Alan Modra <amodra@gmail.com>
14669 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14670 Formatting. Consistently use rXXX register defines or rN defines.
14671 Use early exit labels that avoid restoring unused non-volatile regs.
14672 Make cr field use more consistent with rWORDn compares. Rename
14673 regs used as shift registers for unaligned loop, using rN defines
14674 for short lifetime/multiple use regs.
14675 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14676 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14677 addi 1,1,64 to pop stack frame. Simplify return value code.
14678 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14680 2013-10-04 Alan Modra <amodra@gmail.com>
14682 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14683 support. Correct typos, formatting. Optimize tail. Use insrdi
14684 rather than rlwimi.
14685 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14686 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14687 little-endian support. Correct typos.
14688 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14689 rather than rlwimi.
14690 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14691 in loop and entry code to keep "and." results.
14692 (strchr): Add little-endian support. Comment. Move cntlzd
14694 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14696 2013-10-04 Alan Modra <amodra@gmail.com>
14698 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14699 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14700 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14701 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14703 2013-10-04 Alan Modra <amodra@gmail.com>
14705 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14706 (rTMP): Define as r11.
14707 (strcmp): Add little-endian support. Optimise tail.
14708 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14709 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14710 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14711 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14712 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14713 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14716 2013-10-04 Alan Modra <amodra@gmail.com>
14718 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14719 little-endian support. Remove unnecessary "are we done" tests.
14720 Handle "s" wrapping around zero and extremely large "size".
14721 Correct main loop count. Handle single left-over word from main
14722 loop inline rather than by using small_loop. Correct comments.
14723 Delete "zero" tail, use "end_max" instead.
14724 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14726 2013-10-04 Alan Modra <amodra@gmail.com>
14728 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14729 support. Don't branch over align.
14730 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14731 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14732 support. Rearrange tmp reg use to suit. Comment.
14733 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14735 2013-10-04 Alan Modra <amodra@gmail.com>
14737 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14739 2013-10-04 Alan Modra <amodra@gmail.com>
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14742 conditional form of branch and link when obtaining pc.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14745 2013-10-04 Alan Modra <amodra@gmail.com>
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14752 2013-10-04 Alan Modra <amodra@gmail.com>
14754 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14755 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14756 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14757 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14758 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14759 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14760 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14761 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14762 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14763 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14765 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14766 Alistair Popple <alistair@ozlabs.au.ibm.com>
14767 Alan Modra <amodra@gmail.com>
14770 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14771 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14772 _dl_hwcap access for little-endian.
14773 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14774 destroy vmx regs when saving unaligned.
14775 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14776 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14777 destroy vmx regs when saving unaligned.
14779 2013-10-04 Alan Modra <amodra@gmail.com>
14781 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14782 Don't use a union to pack hi/low value.
14784 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14786 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14788 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14789 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14790 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14791 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14792 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14794 2013-10-04 Alan Modra <amodra@gmail.com>
14796 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14797 constants to usual value for .cst8 section, and remove redundant
14799 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14800 constant for 0x1p52. Load little-endian words of double from
14801 correct stack offsets.
14803 2013-10-04 Alan Modra <amodra@gmail.com>
14805 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14806 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14807 words of double from correct stack offsets.
14808 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14809 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14810 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14811 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14813 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14814 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14815 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14816 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14817 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14818 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14819 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14820 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14821 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14822 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14823 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14824 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14826 2013-10-04 Alan Modra <amodra@gmail.com>
14828 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14829 64-bit int/double union.
14830 (_FPU_SETCW): Likewise.
14831 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14832 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14834 2013-10-04 Alan Modra <amodra@gmail.com>
14836 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14837 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14839 2013-10-04 Alan Modra <amodra@gmail.com>
14841 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14842 use vector int constants.
14843 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14845 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14847 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14848 array with long long.
14849 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14850 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14851 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14852 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14853 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14854 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14855 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14856 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14857 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14858 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14859 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14860 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14861 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14863 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14865 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14866 (__signbit): Likewise. Correct for little-endian.
14867 (__signbitl): Call __signbit.
14868 (lrint): Correct for little-endian.
14869 (lrintf): Call lrint.
14871 2013-10-04 Alan Modra <amodra@gmail.com>
14873 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14874 union 32-bit int array member with 64-bit int array.
14875 (t515, tm256): Double rather than long double.
14876 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14878 2013-10-04 Alan Modra <amodra@gmail.com>
14880 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14882 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14883 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14884 version of math_ldbl.h.
14886 2013-10-04 Alan Modra <amodra@gmail.com>
14888 [BZ #15734], [BZ #15735]
14889 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14890 all uses of ieee875 long double macros and unions. Simplify test
14891 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14892 ldbl_extract_mantissa value for ix,iy exponents. Properly
14893 normalize after ldbl_extract_mantissa, and don't add hidden bit
14894 already handled. Don't treat low word of ieee854 mantissa like
14895 low word of IBM long double and mask off bit when testing for
14897 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14898 all uses of ieee875 long double macros and unions. Simplify tests
14899 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14900 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14901 two1022, instead use their values. Recognise that tests for large
14902 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14903 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14904 Rewrite all uses of ieee875 long double macros and unions. Simplify
14905 test for 0.0L and nan. Correct negation.
14906 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14907 ieee875 long double macros and unions. Correct output for large
14908 magnitude x. Correct absolute value calculation.
14909 (__erfcl): Likewise.
14910 * math/libm-test.inc: Add tests for errors discovered in IBM long
14911 double versions of fmodl, remainderl, erfl and erfcl.
14913 2013-10-04 Alan Modra <amodra@gmail.com>
14915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14916 all uses of ieee854 long double macros and unions. Simplify tests
14917 for long doubles that are fully specified by the high double.
14918 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14920 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14921 Remove dead code too.
14922 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14923 (__ieee754_ynl): Likewise.
14924 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14925 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14927 Remove dead code too.
14928 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14929 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14930 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14931 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14933 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14935 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14938 Comment on variable precision.
14939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14942 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14945 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14946 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14948 2013-10-04 Alan Modra <amodra@gmail.com>
14950 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14951 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14952 all uses of ieee854 long double macros and unions.
14953 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14954 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14955 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14960 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14961 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14963 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14964 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14965 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14966 Simplify sign and nan test too.
14967 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14972 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14973 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14975 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14979 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14982 2013-10-04 Alan Modra <amodra@gmail.com>
14984 * stdio-common/printf_size.c (__printf_size): Don't use
14985 union ieee854_long_double in fpnum union.
14986 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
14987 signbit macro to retrieve sign from long double.
14988 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14989 retrieve sign from long double.
14990 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14991 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14992 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14993 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14994 * math/test-misc.c (main): Don't use union ieee854_long_double.
14996 2013-10-04 Alan Modra <amodra@gmail.com>
14999 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15000 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15001 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15002 calculation. Remove unnecessary test for denormal exponent.
15003 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15004 Correct handling of denormals. Avoid undefined shift behaviour.
15005 Correct normalisation of low mantissa when low double is denormal.
15006 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15007 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15008 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15009 Correct normalisation of low mantissa. Test for overflow of high
15010 mantissa and normalise.
15011 (ldbl_nearbyint): Use more readable constant for two52.
15012 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15013 (__mpn_construct_long_double): Fix test for overflow of high
15014 mantissa and correct normalisation. Avoid undefined shift.
15016 2013-10-04 Alan Modra <amodra@gmail.com>
15018 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15019 (union ibm_extended_long_double): Define as an array of ieee754_double.
15020 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15021 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15022 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15023 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15025 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15029 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15030 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15032 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15034 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15035 page size instead of calling getpagesize.
15037 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15038 (LOCFILE_ALIGN_MASK): Likewise.
15039 (LOCFILE_ALIGN_UP): Likewise.
15040 (LOCFILE_ALIGNED_P): Likewise.
15041 * locale/programs/ld-collate.c (collate_output): Use the new
15042 macros instead of __alignof__ (int32_t).
15043 * locale/weight.h (findidx): Likewise.
15045 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15048 * manual/string.texi: Fix strncat and wcsncat.
15050 2013-10-03 Brooks Moses <bmoses@google.com>
15053 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15054 * Makerules: ...here, and adjust associated comments.
15056 2013-10-02 Will Newton <will.newton@linaro.org>
15058 * malloc/Makefile: Add tst-pvalloc.
15059 * malloc/tst-pvalloc.c: New file.
15061 2013-10-02 Will Newton <will.newton@linaro.org>
15063 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15064 improve test coverage.
15066 2013-10-02 Will Newton <will.newton@linaro.org>
15068 * malloc/Makefile: Add tst-posix_memalign.
15069 * malloc/tst-posix_memalign.c: New file.
15071 2013-10-01 Eric Blake <eblake@redhat.com>
15073 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15074 Use __THROWNL rather than __THROW on static functions.
15076 2013-09-30 Petr Machata <pmachata@redhat.com>
15078 * elf/elf.h (R_AARCH64_ABS16): New macro.
15079 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15080 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15081 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15082 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15083 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15084 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15085 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15086 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15087 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15088 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15089 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15090 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15091 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15092 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15093 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15094 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15095 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15096 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15097 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15098 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15099 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15100 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15101 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15102 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15103 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15104 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15105 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15106 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15107 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15108 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15109 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15110 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15111 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15112 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15113 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15114 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15115 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15116 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15117 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15118 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15119 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15120 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15121 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15122 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15123 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15124 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15125 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15126 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15127 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15128 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15129 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15130 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15131 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15132 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15133 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15134 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15135 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15136 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15137 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15138 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15139 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15140 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15141 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15142 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15143 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15144 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15145 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15146 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15147 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15148 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15149 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15150 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15151 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15152 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15153 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15154 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15155 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15156 (R_AARCH64_TLSDESC_LDR): Likewise.
15157 (R_AARCH64_TLSDESC_ADD): Likewise.
15158 (R_AARCH64_TLSDESC_CALL): Likewise.
15160 2013-09-30 Andreas Schwab <schwab@suse.de>
15163 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15164 the nss database lookup.
15165 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15168 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15170 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15172 2013-09-28 P. J. McDermott <pj@pehjota.net>
15174 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15175 ${Bash-specific parameter/pattern/string} parameter expansion.
15176 * sysdeps/unix/make-syscalls.sh: Likewise.
15178 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15180 * sysdeps/sh/stackguard-macros.h: New file.
15182 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15184 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15186 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15187 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15188 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15189 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15191 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15193 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15194 Fix thread ID register.
15196 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15198 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15199 [POSIX || UNIX98]: Require rather than permitting all symbols from
15201 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15202 element of struct sched_param.
15203 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15204 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15205 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15206 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15209 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15211 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15212 argument calculation.
15214 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15216 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15218 [POSIX] (pthread_attr_t): Do not require type.
15219 [POSIX] (pthread_cond_t): Likewise.
15220 [POSIX] (pthread_condattr_t): Likewise.
15221 [POSIX] (pthread_key_t): Likewise.
15222 [POSIX] (pthread_mutex_t): Likewise.
15223 [POSIX] (pthread_mutexattr_t): Likewise.
15224 [POSIX] (pthread_once_t): Likewise.
15225 [POSIX] (pthread_t): Likewise.
15226 [POSIX-based standards] (pthread_atfork): Expect function.
15228 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15229 Richard Sandiford <richard@codesourcery.com>
15231 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15232 (swap_endianness_p): New extern variable.
15233 (set_big_endian): New inline function.
15234 (maybe_swap_uint32): Likewise.
15235 (maybe_swap_uint32_array): Likewise.
15236 (maybe_swap_uint32_obstack): Likewise.
15237 * locale/programs/locfile.c: Include <stdbool.h>.
15238 (swap_endianness_p): New variable.
15239 (add_locale_uint32): Call maybe_swap_uint32.
15240 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15241 (write_locale_data): Call maybe_swap_uint32_array.
15242 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15244 (obstack_int32_grow_fast): Likewise.
15245 (output_weightwc): Call maybe_swap_uint32_obstack.
15246 (collate_output): Likewise.
15247 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15248 (OPT_LITTLE_ENDIAN): Likewise.
15249 (options): Add --little-endian and --big-endian options.
15250 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15251 * locale/programs/locarchive.c: Include "locfile.h".
15255 (create_archive): Use the new macros to access fields of
15256 structures directly mapped from or written to locale archives.
15257 (oldlocrecentcmp): Likewise.
15258 (enlarge_archive): Likewise.
15259 (insert_name): Likewise.
15260 (add_alias): Likewise.
15261 (add_locale): Likewise.
15262 (delete_locales_from_archive): Likewise.
15263 (show_archive_content): Likewise.
15264 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15267 2013-09-24 Roland McGrath <roland@hack.frob.com>
15269 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15270 http://www.gnu.org/doc/freemanuals.texi.
15271 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15273 2013-09-24 Will Newton <will.newton@linaro.org>
15275 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15278 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15280 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15283 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15285 * manual/threads.texi (POSIX Threads): Fix a typo.
15287 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15290 * string/tst-strcoll-overflow.c: New test case.
15291 * string/Makefile (xtests): Add tst-strcoll-overflow.
15292 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15293 cache if string sizes may cause integer overflow.
15296 * string/strcoll_l.c (coll_seq): New members rule, idx,
15297 save_idx and back_us.
15298 (get_next_seq_nocache): New function.
15299 (do_compare_nocache): New function.
15300 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15303 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15306 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15307 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15308 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15311 * elf/Makefile (tests): Add tst-ptrguard1.
15312 (tests-static): Add tst-ptrguard1-static.
15313 (tst-ptrguard1-ARGS): Define.
15314 (tst-ptrguard1-static-ARGS): Define.
15315 * elf/tst-ptrguard1.c: New file.
15316 * elf/tst-ptrguard1-static.c: New file.
15317 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15318 * sysdeps/i386/stackguard-macros.h: Likewise.
15319 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15320 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15321 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15322 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15323 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15324 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15326 2013-09-23 Hector Marco <hecmargi@upv.es>
15327 Ismael Ripoll <iripoll@disca.upv.es>
15328 Carlos O'Donell <carlos@redhat.com>
15331 * sysdeps/generic/stackguard-macros.h: Define
15332 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15333 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15334 Define __pointer_chk_guard_local.
15335 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15336 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15338 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15341 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15343 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15345 * include/string.h (__ffs): Declare as hidden.
15346 * string/ffs.c (__ffs): Define as hidden.
15347 * sysdeps/i386/ffs.c (__ffs): Likewise.
15348 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15349 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15350 * sysdeps/s390/ffs.c (__ffs): Likewise.
15351 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15353 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15355 * NEWS: Mention malloc probes.
15357 * malloc/arena.c (new_heap): New memory_heap_new probe.
15358 (grow_heap): New memory_heap_more probe.
15359 (shrink_heap): New memory_heap_less probe.
15360 (heap_trim): New memory_heap_free probe.
15361 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15362 (systrim): New memory_sbrk_less probe.
15363 * manual/probes.texi: Document them.
15365 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15366 * manual/probes.texi: Document it.
15368 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15369 (__libc_realloc): Add memory_realloc_retry probe.
15370 (__libc_memalign): Add memory_memalign_retry probe.
15371 (__libc_valloc): Add memory_valloc_retry probe.
15372 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15373 (__libc_calloc): Add memory_calloc_retry probe.
15374 * manual/probes.texi: Document them.
15376 * malloc/arena.c (get_free_list): Add probe
15377 memory_arena_reuse_free_list.
15378 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15379 and memory_arena_reuse.
15380 (arena_get2) [!PER_THREAD]: Likewise.
15381 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15382 memory_arena_reuse_realloc.
15383 * manual/probes.texi: Document them.
15385 * malloc/malloc.c (__libc_free): Add
15386 memory_mallopt_free_dyn_thresholds probe.
15387 (__libc_mallopt): Add multiple memory_mallopt probes.
15388 * manual/probes.texi: Document them.
15390 * malloc/malloc.c: Include stap-probe.h.
15391 (__libc_mallopt): Add memory_mallopt probe.
15392 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15393 * manual/probes.texi: New.
15394 * manual/Makefile (chapters): Add probes.
15395 * manual/threads.texi: Set next node.
15397 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15399 [BZ #15963, #13985]
15400 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15401 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15402 Add `Chinese' to `nan' entry name.
15404 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15406 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15407 (POLYNOMIAL): Likewise.
15408 (TAYLOR_SINCOS): Likewise.
15409 (TAYLOR_SLOW): Likewise.
15410 (__sin): Use TAYLOR_SINCOS.
15412 (slow): Use TAYLOR_SLOW.
15414 (bsloww): Likewise.
15415 (csloww): Likewise.
15417 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15419 * stdlib/strtod_l.c: Fix buffer overrun.
15421 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15423 * benchtests/Makefile (bench): Add sincos.
15424 * benchtests/bench-sincos.c: New file.
15426 * math/libm-test.inc (cos_test_data): New test inputs.
15427 (sin_test_data): Likewise.
15429 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15435 (sloww1): Likewise.
15436 (sloww2): Likewise.
15437 (bsloww1): Likewise.
15438 (bsloww2): Likewise.
15439 (cslow2): Likewise.
15440 (csloww1): Likewise.
15441 (csloww2): Likewise.
15443 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15452 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15454 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15455 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15456 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15457 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15458 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15459 * elf/cache.c (print_entry): Handle the new cache flags.
15461 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15462 Aldy Hernandez <aldyh@redhat.com>
15464 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15465 Change condition to [_SOFT_FLOAT].
15466 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15467 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15468 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15469 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15470 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15472 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15473 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15474 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15475 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15476 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15477 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15478 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15481 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15484 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15486 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15487 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15488 (__longjmp): Use LOAD_GP to load saved GPRs.
15489 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15490 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15491 (__sigsetjmp): Use SAVE_GP to save GPRs.
15493 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15494 Do not append -msoft-float.
15495 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15497 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15499 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15501 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15504 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15505 (_FPU_GETCW): Use initial "__" on variable and field names but not
15506 on macro parameter name.
15507 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15508 parentheses around reference to macro parameter.
15510 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15512 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15514 (ctype_startup): Use uint32_t in cast and sizeof for
15517 2013-09-11 Jia Liu <proljc@gmail.com>
15519 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15521 [__FreeBSD__]: Likewise.
15523 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15525 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15526 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15527 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15528 (strchr): Remove __strchr_sse42 ifunc selection.
15529 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15530 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15532 2013-09-11 Will Newton <will.newton@linaro.org>
15534 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15535 parameter to RES. Remove hardcoded 1000 value.
15536 * benchtests/bench-skeleton.c (main): Pass RES parameter
15537 to TIMING_INIT and multiply result by 1000.
15539 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15543 2013-09-11 Andreas Schwab <schwab@suse.de>
15545 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15547 (O_TMPFILE) [__USE_GNU]: Define.
15548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15551 2013-09-11 Will Newton <will.newton@linaro.org>
15554 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15557 2013-09-11 Will Newton <will.newton@linaro.org>
15560 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15563 2013-09-11 Will Newton <will.newton@linaro.org>
15566 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15569 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15571 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15572 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15573 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15575 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15577 2013-09-10 Allan McRae <allan@archlinux.org>
15580 * manual/arith.texi (Parsing of Floats): Clarify
15584 * manual/install.texi (Running make install): Mention
15586 * INSTALL: Regenerated.
15588 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15590 * csu/init-first.c (_init): Remove the !SHARED condition around
15591 FPU control word initialization.
15592 * elf/dl-support.c (_dl_fpu_control): New variable.
15593 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15594 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15595 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15596 * math/test-fpucw-static.c: New file.
15597 * math/test-fpucw-ieee.c: New file.
15598 * math/test-fpucw-ieee-static.c: New file.
15599 * math/Makefile (tests): Add `test-fpucw-ieee' and
15601 (tests-static): New variable.
15602 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15604 [($(build-shared),yes)]
15605 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15607 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15610 2013-09-09 Allan McRae <allan@archlinux.org>
15613 * manual/string.texi (Collation Functions): Fix typo in
15615 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15618 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15621 * libio/memstream.c (open_memstream): Fix memory leak.
15622 * libio/wmemstream.c (open_wmemstream): Likewise.
15625 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15627 2013-09-09 Will Newton <will.newton@linaro.org>
15629 * malloc/Makefile: Add tst-realloc to tests.
15630 * malloc/tst-realloc.c: New file.
15632 2013-09-09 Allan McRae <allan@archlinux.org>
15635 * COPYING: Update from GNU website to fix FSF address.
15636 * COPYING.LIB: Likewise.
15638 2013-09-06 David S. Miller <davem@davemloft.net>
15640 * po/zh_TW.po: Update Chinese (traditional) translation from
15641 translation project.
15643 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15644 Joseph Myers <joseph@codesourcery.com>
15646 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15648 (obstack_chunk_alloc): New macro.
15649 (obstack_chunk_free): Likewise.
15650 (record_offset): New function.
15651 (init_locale_data): Likewise.
15652 (align_locale_data): Likewise.
15653 (add_locale_empty): Likewise.
15654 (add_locale_raw_data): Likewise.
15655 (add_locale_raw_obstack): Likewise.
15656 (add_locale_string): Likewise.
15657 (add_locale_wstring): Likewise.
15658 (add_locale_uint32): Likewise.
15659 (add_locale_uint32_array): Likewise.
15660 (add_locale_char): Likewise.
15661 (start_locale_structure): Likewise.
15662 (end_locale_structure): Likewise.
15663 (start_locale_prelude): Likewise.
15664 (end_locale_prelude): Likewise.
15665 (write_locale_data): Take locale_file structure rather than an
15667 * locale/programs/locfile.h: Include "obstack.h".
15668 (struct locale_file): Change to store locale file contents instead
15670 (init_locale_data): New prototype.
15671 (align_locale_data): Likewise.
15672 (add_locale_empty): Likewise.
15673 (add_locale_raw_data): Likewise.
15674 (add_locale_raw_obstack): Likewise.
15675 (add_locale_string): Likewise.
15676 (add_locale_wstring): Likewise.
15677 (add_locale_uint32): Likewise.
15678 (add_locale_uint32_array): Likewise.
15679 (add_locale_char): Likewise.
15680 (start_locale_structure): Likewise.
15681 (end_locale_structure): Likewise.
15682 (start_locale_prelude): Likewise.
15683 (end_locale_prelude): Likewise.
15684 (write_locale_data): Update prototype.
15685 * locale/programs/3level.h (struct TABLE): Remove result field.
15686 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15687 Use new locale_file interface.
15688 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15689 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15690 * locale/programs/ld-address.c (address_output): Use new
15691 locale_file interface.
15692 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15694 (collate_finish): Don't call collseq_table_finalize.
15695 (collate_output): Use new locale_file interface.
15696 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15698 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15699 (TABLE): Move defines earlier in file.
15700 (ELEMENT): Likewise.
15701 (DEFAULT): Likewise.
15702 (wctrans_table_add): Move macro and inline function earlier in
15704 (struct wctype_table): Move type earlier in file.
15705 (add_locale_wctype_table): New static prototype.
15706 (struct locale_ctype_t): Use logical types instead of struct iovec
15707 pointers for members.
15708 (ctype_output): Use new locale_file interface.
15709 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15710 new locale_file interface.
15711 (allocate_arrays): Update for use of new locale_file interface.
15712 * locale/programs/ld-identification.c (identification_output): Use
15713 new locale_file interface.
15714 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15715 * locale/programs/ld-messages.c (messages_output): Likewise.
15716 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15717 * locale/programs/ld-name.c (name_output): Likewise.
15718 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15719 * locale/programs/ld-paper.c (paper_output): Likewise.
15720 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15721 * locale/programs/ld-time.c (time_output): Likewise.
15723 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15725 * benchtests/Makefile: Add memrchr benchmark.
15726 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15727 benchmark as memrchr.
15728 * benchtests/bench-memrchr-ifunc.c: New file.
15729 * benchtests/bench-memrchr.c: New file.
15731 2013-09-06 Will Newton <will.newton@linaro.org>
15733 * benchtests/Makefile (string-bench): Add memcpy.
15735 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15736 Cong Wang <amwang@redhat.com>
15739 * sysdeps/unix/sysv/linux/bits/in.h
15740 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15741 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15742 before __USE_KERNEL_IPV6_DEFS uses.
15743 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15745 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15746 sockaddr_in6, or ipv6_mreq.
15748 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15750 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15751 memory access for final bytes in some large inputs.
15752 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15754 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15756 * string/test-memrchr.c: New file.
15757 * string/test-memrchr-ifunc.c: New file.
15758 * string/Makefile: Add new memrchr testcase.
15760 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15762 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15763 fanotify_init returns EPERM.
15765 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15767 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15769 (top level): Treat second token from macro or constant entries for
15770 allowed headers as allowed.
15771 * include/complex.h: Condition internal declarations on
15773 * include/fenv.h: Condition include of <stdbool.h> and internal
15774 declarations on [!_ISOMAC].
15776 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15779 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15781 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15783 * configure.in (--enable-versioning): Remove configure option.
15784 (libc_cv_asm_symver_directive): Remove configure test.
15785 (libc_cv_ld_version_script_option): Likewise.
15786 (VERSIONING): Remove variable and AC_SUBST.
15787 (DO_VERSIONING): Remove AC_DEFINE.
15788 * configure: Regenerated.
15789 * config.h.in (DO_VERSIONING): Remove macro.
15790 * Makerules [$(versioning) = yes]: Change conditionals to
15791 [$(build-shared) = yes].
15792 * config.make.in (versioning): Remove variable.
15793 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15794 [$(build-shared) = yes].
15795 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15796 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15797 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15798 [$(build-shared) = yes].
15799 * extra-lib.mk [$(versioning) = yes]: Likewise.
15800 * hurd/Makefile [$(versioning) = yes]: Likewise.
15801 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15803 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15805 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15806 [SHARED && !NO_HIDDEN].
15807 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15809 [SHARED && DO_VERSIONING]: Likewise..
15810 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15811 [$(build-shared) = yes].
15812 * manual/install.texi (--disable-versioning): Remove
15814 * INSTALL: Regenerated.
15815 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15817 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15818 [$(build-shared) = yes].
15819 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15820 * sysdeps/i386/i686/multiarch/strstr-c.c
15821 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15822 [SHARED && !NO_HIDDEN].
15823 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15824 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15825 * sysdeps/powerpc/powerpc32/dl-machine.c
15826 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15827 * sysdeps/powerpc/powerpc32/sysdep.h
15828 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15829 to [SHARED && PIC && !NO_HIDDEN].
15830 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15831 conditional to [SHARED].
15833 2013-09-04 Will Newton <will.newton@linaro.org>
15835 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15836 * benchtests/bench-string.h: Include bench-timing.h instead
15837 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15838 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15839 call to HP_TIMING_DIFF_INIT.
15840 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15841 instead of hp-timing.h macros.
15842 * benchtests/bench-memchr.c: Likewise.
15843 * benchtests/bench-memcmp.c: Likewise.
15844 * benchtests/bench-memcpy.c: Likewise.
15845 * benchtests/bench-memmem.c: Likewise.
15846 * benchtests/bench-memmove.c: Likewise.
15847 * benchtests/bench-memset.c: Likewise.
15848 * benchtests/bench-rawmemchr.c: Likewise.
15849 * benchtests/bench-strcasecmp.c: Likewise.
15850 * benchtests/bench-strcasestr.c: Likewise.
15851 * benchtests/bench-strcat.c: Likewise.
15852 * benchtests/bench-strchr.c: Likewise.
15853 * benchtests/bench-strcmp.c: Likewise.
15854 * benchtests/bench-strcpy.c: Likewise.
15855 * benchtests/bench-strcpy_chk.c: Likewise.
15856 * benchtests/bench-strlen.c: Likewise.
15857 * benchtests/bench-strncasecmp.c: Likewise.
15858 * benchtests/bench-strncat.c: Likewise.
15859 * benchtests/bench-strncmp.c: Likewise.
15860 * benchtests/bench-strncpy.c: Likewise.
15861 * benchtests/bench-strnlen.c: Likewise.
15862 * benchtests/bench-strpbrk.c: Likewise.
15863 * benchtests/bench-strrchr.c: Likewise.
15864 * benchtests/bench-strspn.c: Likewise.
15865 * benchtests/bench-strstr.c: Likewise.
15867 2013-09-04 Will Newton <will.newton@linaro.org>
15869 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15871 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15874 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15875 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15876 * math/libm-test.inc (lgamma_test_data): Add more tests.
15877 * sysdeps/i386/fpu/libm-test-ulps: Update.
15878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15880 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15882 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15886 Add strcmp-sse2-unaligned
15887 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15889 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15891 * Versions.def (libc): Add GLIBC_2.19.
15893 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15895 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15896 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15898 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15901 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15902 intermediate calculations in recurrence.
15903 (__ieee754_ynf): Likewise.
15904 * math/libm-test.inc (jn_test_data): Do not allow spurious
15905 underflow exception. Add more tests.
15906 (yn_test_data): Add more tests.
15907 * sysdeps/i386/fpu/libm-test-ulps: Update.
15908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15910 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15914 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15916 * csu/init-first.c: Fix then/than typos.
15917 * locale/programs/ld-collate.c: Likewise.
15918 * locale/programs/linereader.h: Likewise.
15919 * manual/charset.texi: Likewise.
15920 * manual/filesys.texi: Likewise.
15921 * manual/stdio.texi: Likewise.
15922 * manual/string.texi: Likewise.
15923 * stdlib/fmtmsg.c: Likewise.
15924 * sysdeps/i386/stpncpy.S: Likewise.
15925 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15926 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15927 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15928 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15930 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15932 * elf/dl-open.c: Fix typos.
15933 * iconvdata/gbbig5.c: Likewise.
15934 * iconvdata/iso-2022-jp.c: Likewise.
15935 * iconv/gconv_int.h: Likewise.
15936 * iconv/loop.c: Likewise.
15937 * nis/rpcsvc/nis.h: Likewise.
15938 * resolv/ns_name.c: Likewise.
15939 * stdio-common/vfscanf.c: Likewise.
15940 * streams/stropts.h: Likewise.
15941 * sunrpc/rpc_thread.c: Likewise.
15942 * sysdeps/i386/strpbrk.S: Likewise.
15943 * sysdeps/ieee754/k_standard.c: Likewise.
15944 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15946 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15947 * sysdeps/mach/hurd/profil.c: Likewise.
15948 * sysdeps/s390/dl-procinfo.h: Likewise.
15949 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15950 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15951 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15952 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15955 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15957 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15960 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15962 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15963 aix specific files.
15964 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15965 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15966 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15967 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15968 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15969 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15970 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15971 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15973 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15974 Roland McGrath <roland@hack.frob.com>
15976 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15977 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15979 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15981 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15982 __executable_start symbol instead of _start.
15984 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15986 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15987 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15989 * sysdeps/gnu/ldsodefs.h: ... this new file.
15991 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15992 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15993 instead of ELFOSABI_LINUX.
15995 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15996 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15997 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15998 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16000 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16001 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16002 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16004 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16005 (ibm_extended_long_double): Add ieee_nan member.
16006 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16007 (do_test): New function.
16009 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16011 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16012 functions, renamed from truncdfsf_test, trunctfsf_test,
16014 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16016 (do_test): Run all these.
16018 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16020 * argp/argp-help.c: Fix typos.
16021 * argp/argp-parse.c: Likewise.
16022 * debug/backtracesyms.c: Likewise.
16023 * elf/elf.h: Likewise.
16024 * malloc/malloc.c: Likewise.
16025 * nis/nis_print.c: Likewise.
16026 * resolv/res_comp.c: Likewise.
16027 * stdlib/stdlib.h: Likewise.
16028 * sunrpc/clnt_tcp.c: Likewise.
16029 * sunrpc/clnt_udp.c: Likewise.
16030 * sunrpc/clnt_unix.c: Likewise.
16031 * sysdeps/unix/bsd/ptsname.c: Likewise.
16032 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16033 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16040 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16042 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16044 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16047 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16050 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16051 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16052 ($(objpfx)bug-dl-leaf): New rule.
16053 ($(objpfx)bug-dl-leaf.so): Likewise.
16054 ($(objpfx)bug-dl-leaf.out): Likewise.
16055 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16056 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16057 * dlfcn/bug-dl-leaf.c: New test.
16058 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16059 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16060 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16061 (dlclose): Likewise.
16062 (dlmopen): Likewise.
16064 2013-08-27 Roland McGrath <roland@hack.frob.com>
16066 * include/netdb.h [!_ISOMAC]:
16067 Don't include <tls.h>.
16068 (h_errno, __libc_h_errno): Move declaration and macros out of
16071 * include/resolv.h [_RESOLV_H_]:
16072 Don't include <tls.h>.
16073 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16074 * resolv/res_libc.c: Don't include <tls.h>.
16075 (_res): Use __attribute__ ((nocommon)) in place of
16076 __attribute__ ((section (".bss"))).
16078 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16079 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16081 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16083 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16084 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16086 * resolv/res_mkquery.c: Include <sys/time.h>.
16088 * inet/ifreq.c: Moved to ...
16089 * sysdeps/unix/ifreq.c: ... here.
16090 * inet/ifreq.c: New file, true stub version.
16092 * socket/sa_len.c: New file.
16093 * socket/Makefile (aux): Add it.
16094 * sysdeps/unix/sysv/linux/Makefile
16095 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16096 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16097 and #include <socket/sa_len.c>.
16098 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16099 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16101 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16102 * bits/socket.h: ... here.
16104 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16105 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16106 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16108 2013-08-27 Andreas Schwab <schwab@suse.de>
16111 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16112 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16113 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16114 * string/test-strcasecmp.c (test_main): Run tests in several
16116 * string/test-strncasecmp.c (test_main): Likewise.
16118 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16119 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16120 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16122 (__strncasecmp_ssse3) [PIC]: Likewise.
16124 2013-08-26 Roland McGrath <roland@hack.frob.com>
16126 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16128 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16129 instead of explicitly declaring xdecrypt.
16130 * nis/nss_nis/nis-publickey.c: Likewise.
16132 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16135 * nscd/aicache.c: Include res_hconf.h.
16136 (addhstaiX): Initialize res_hconf.
16138 2013-08-26 Andreas Schwab <schwab@suse.de>
16140 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16141 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16143 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16145 * nscd/aicache.c (addhstaiX): Fix indentation.
16147 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16149 * configure.ac: Quote $build_pt_chown test.
16150 * configure: Regenerated.
16152 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16155 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16156 * math/s_cexpf.c (__cexpf): Likewise.
16157 * math/s_cexpl.c (__cexpl): Likewise.
16158 * math/libm-test.inc (cexp_test_data): Correct expected return
16159 value for NaN + i0. Add another test.
16161 2013-08-22 David S. Miller <davem@davemloft.net>
16163 * po/ca.po: Update Catalan translation from translation project.
16164 * po/uk.po: Add Ukrainian translations from translation project.
16166 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16169 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16170 is infinite, not alongside NaN test.
16171 * math/s_fdimf.c (__fdimf): Likewise.
16172 * math/s_fdiml.c (__fdiml): Likewise.
16173 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16174 errno is unchanged.
16176 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16178 * argp/argp-help.c: Fix typos.
16179 * crypt/speeds.c: Likewise.
16180 * csu/check_fds.c: Likewise.
16181 * elf/dl-load.c: Likewise.
16182 * elf/dl-open.c: Likewise.
16183 * elf/reldep3.c: Likewise.
16184 * elf/reldep.c: Likewise.
16185 * elf/sprof.c: Likewise.
16186 * iconv/iconv_charmap.c: Likewise.
16187 * iconv/skeleton.c: Likewise.
16188 * iconv/strtab.c: Likewise.
16189 * io/lockf64.c: Likewise.
16190 * libio/libioP.h: Likewise.
16191 * resolv/gai_notify.c: Likewise.
16192 * resolv/ns_name.c: Likewise.
16193 * resolv/ns_samedomain.c: Likewise.
16194 * resolv/res_send.c: Likewise.
16195 * stdlib/random.c: Likewise.
16196 * sunrpc/rpc/xdr.h: Likewise.
16197 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16198 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16199 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16200 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16201 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16203 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16204 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16205 * sysdeps/mach/hurd/check_fds.c: Likewise.
16206 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16207 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16208 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16209 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16210 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16211 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16212 * sysdeps/pthread/aio_notify.c: Likewise.
16213 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16214 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16215 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16216 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16217 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16219 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16221 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16222 version if bit_Slow_SSE4_2 is set.
16223 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16224 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16226 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16229 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16230 trampoline stack frame information.
16231 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16232 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16233 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16234 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16235 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16236 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16237 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16238 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16240 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16241 interrupting a syscall and set with option SA_SIGINFO.
16243 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16246 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16247 argument is infinite.
16248 * math/s_cprojf.c (__cprojf): Likewise.
16249 * math/s_cprojl.c (__cprojl): Likewise.
16250 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16251 * math/libm-test.inc (cproj_test_data): Add more tests.
16253 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16255 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16256 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16257 size. Use __ffs to determine corresponding shift.
16259 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16260 Roland McGrath <roland@hack.frob.com>
16262 * Makefile (INSTALL): Remove trailing blank lines from output of
16265 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16267 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16268 Align 32 bit compat elf_greg to 8 bytes.
16270 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16272 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16274 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16276 * string/strcoll_l.c (coll_seq): New structure.
16277 (get_next_seq_cached): New function.
16278 (get_next_seq): New function.
16279 (do_compare): New function.
16280 (STRCOLL): Use GNU style definition. Simplify implementation
16281 by using get_next_seq, get_next_seq_cached and do_compare.
16283 2013-08-16 Florian Weimer <fweimer@redhat.com>
16287 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16289 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16291 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16292 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16293 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16295 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16296 GETDENTS_64BIT_ALIGNED.
16297 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16298 * manual/filesys.texi (Reading/Closing Directory): Document
16299 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16301 * manual/conf.texi (Limits for Files): Add portability note to
16302 NAME_MAX, PATH_MAX.
16303 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16305 2013-08-13 Andreas Schwab <schwab@suse.de>
16308 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16310 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16311 LDBL_MAX_EXP >= 16384]: Add tests for it.
16313 2013-08-12 David S. Miller <davem@davemloft.net>
16315 * version.h (RELEASE): Set to "development".
16316 (VERSION): Set to "2.18.90".
16317 * NEWS: Add 2.19 section.
16319 2013-08-03 David S. Miller <davem@davemloft.net>
16321 * po/ko.po: Update Korean translation from translation project.
16323 2013-08-01 David S. Miller <davem@davemloft.net>
16325 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16326 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16329 2013-07-30 David S. Miller <davem@davemloft.net>
16331 * po/fr.po: Update French translation from translation project.
16333 2013-07-28 David S. Miller <davem@davemloft.net>
16335 * po/cs.po: Update Czech translation from translation project.
16337 * po/sv.po: Update Swedish translation from translation project.
16339 2013-07-27 David S. Miller <davem@davemloft.net>
16341 * po/eo.po: Update Esperanto translation from translation project.
16343 * po/vi.po: Update Vietnamese translation from translation project.
16345 * po/de.po: Update German translation from translation project.
16347 2013-07-26 David S. Miller <davem@davemloft.net>
16349 * po/bg.po: Update Bulgarian translation from translation project.
16351 * po/nl.po: Update Dutch translation from translation project.
16352 * po/pl.po: Update Polish translation from translation project.
16353 * po/ru.po: Update Russian translation from translation project.
16355 2013-07-24 David S. Miller <davem@davemloft.net>
16357 * po/libc.pot: Update.
16359 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16361 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16362 variable page size.
16363 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16364 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16365 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16367 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16369 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16371 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16372 Andreas Schwab <schwab@suse.de>
16373 Roland McGrath <roland@hack.frob.com>
16374 Joseph Myers <joseph@codesourcery.com>
16375 Carlos O'Donell <carlos@redhat.com>
16378 * config.h.in: Define HAVE_PT_CHOWN.
16379 * config.make.in (build-pt-chown): New variable.
16380 * configure.in (--enable-pt_chown): New configure option.
16381 * configure: Regenerate.
16382 * login/Makefile: Include Makeconfig. Build pt_chown only if
16383 build-pt-chown is enabled.
16384 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16385 pt_chown to fix pty ownership.
16386 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16388 * manual/install.texi (Configuring and compiling): Mention
16389 --enable-pt_chown. Add @findex for grantpt.
16390 * INSTALL: Regenerate.
16392 2013-07-20 David S. Miller <davem@davemloft.net>
16394 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16395 difference between 32-bit and 64-bit.
16397 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16400 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16401 Avoid system header dependency with -ffreestanding.
16402 ($(objpfx)bits/syscall%d): Likewise.
16404 2013-07-13 David S. Miller <davem@davemloft.net>
16406 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16407 underflows from atanl/atan2l due to bug 15319.
16408 (casinh_test_data): Likewise.
16410 2013-07-07 David S. Miller <davem@davemloft.net>
16412 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16414 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16416 * sysdeps/i386/fpu/libm-test-ulps: Update.
16417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16419 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16421 * configure.in (--enable-lock-elision): Fix message text.
16422 * INSTALL: Regenerate.
16423 * configure: Regenerate.
16425 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16429 2013-07-03 Andreas Jaeger <aj@suse.de>
16431 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16433 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16434 (ptrace_peeksiginfo_args): Add.
16435 (__ptrace_peeksiginfo_flags): Add.
16436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16440 2013-07-03 Allan McRae <allan@archlinux.org>
16442 * sysdeps/i386/fpu/libm-test-ulps: Update.
16444 2013-07-02 David S. Miller <davem@davemloft.net>
16446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16448 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16452 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16454 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16457 2013-07-02 Andi Kleen <ak@linux.intel.com>
16459 * config.h.in (ENABLE_LOCK_ELISION): Add.
16460 * configure.in (--enable-lock-elision): Add option.
16461 * manual/install.texi: Document --enable lock elision.
16462 * configure: Regenerate
16463 * INSTALL: Regenerate.
16465 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16467 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16468 SSE4.2 strcasecmp for libc.a.
16469 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16471 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16474 * soft-fp/op-common.h (_FP_FMA): New macro.
16475 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16476 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16477 (_FP_MUL_MEAT_1_imm): ... here.
16478 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16479 (_FP_MUL_MEAT_1_wide): ... here.
16480 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16481 (_FP_MUL_MEAT_1_hard): ... here.
16482 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16483 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16484 (_FP_MUL_MEAT_2_wide): ... here.
16485 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16486 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16487 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16488 (_FP_MUL_MEAT_2_gmp): ... here.
16489 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16490 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16491 (_FP_MUL_MEAT_4_wide): ... here.
16492 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16493 (_FP_MUL_MEAT_4_gmp): ... here.
16494 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16495 (_FP_WFRACBITS_DW_S): Likewise.
16496 (_FP_WFRACXBITS_DW_S): Likewise.
16497 (_FP_HIGHBIT_DW_S): Likewise.
16498 (FP_FMA_S): Likewise.
16499 (_FP_FRAC_HIGH_DW_S): Likewise.
16500 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16501 (_FP_WFRACBITS_DW_D): Likewise.
16502 (_FP_WFRACXBITS_DW_D): Likewise.
16503 (_FP_HIGHBIT_DW_D): Likewise.
16504 (FP_FMA_D): Likewise.
16505 (_FP_FRAC_HIGH_DW_D): Likewise.
16506 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16507 (_FP_WFRACBITS_DW_E): Likewise.
16508 (_FP_WFRACXBITS_DW_E): Likewise.
16509 (_FP_HIGHBIT_DW_E): Likewise.
16510 (FP_FMA_E): Likewise.
16511 (_FP_FRAC_HIGH_DW_E): Likewise.
16512 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16513 (_FP_WFRACBITS_DW_Q): Likewise.
16514 (_FP_WFRACXBITS_DW_Q): Likewise.
16515 (_FP_HIGHBIT_DW_Q): Likewise.
16516 (FP_FMA_Q): Likewise.
16517 (_FP_FRAC_HIGH_DW_Q): Likewise.
16518 * soft-fp/fmasf4.c: New file.
16519 * soft-fp/fmadf4.c: Likewise.
16520 * soft-fp/fmatf4.c: Likewise.
16522 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16525 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16529 (index_Slow_SSE4_2): Likewise.
16530 (index_Prefer_PMINUB_for_stringop): Likewise.
16531 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16532 bit_Slow_SSE4_2 is set.
16533 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16534 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16536 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16538 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16539 rtld_global._dl_hwcap2.
16540 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16542 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16543 POWER8 feature descriptions defined in _dl_hwcap2.
16544 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16545 string handling for POWER8 feature bits.
16546 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16547 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16548 _dl_powerpc_cap_flags.
16549 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16550 * sysdeps/powerpc/rtld-global-offsets.sym
16551 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16552 _dl_hwcap2 in the rtld_global_ro structure.
16554 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16556 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16557 hardware capabilities in support of AT_HWCAP2.
16558 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16559 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16561 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16562 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16563 explicitly the unknown a_type display mechanism is used.
16564 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16565 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16567 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16568 to macro prototype for AT_HWCAP2 support.
16569 * sysdeps/i386/dl-procinfo.h: Likewise.
16570 * sysdeps/s390/dl-procinfo.h: Likewise.
16571 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16572 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16573 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16574 return -1 for unknown a_type display fallback.
16575 * sysdeps/sparc/dl-procinfo.h: Likewise.
16576 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16577 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16579 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16581 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16582 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16584 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16587 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16588 mprotect making __stack_prot writable.
16590 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16591 Joseph Myers <joseph@codesourcery.com>
16593 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16594 as being properly aligned.
16596 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16598 * dlfcn/modstatic5.c: New file.
16599 * dlfcn/tststatic5.c: New file.
16600 * dlfcn/Makefile (tests): Add tststatic5.
16601 (tests-static): Likewise.
16602 (modules-names): Add modstatic5.
16603 (tststatic5-ENV): New variable.
16604 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16607 * elf/dl-support.c (_dl_main_map): New variable.
16608 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16609 (_dl_nns, _dl_load_adds): Set to 1.
16610 (_dl_initial_searchlist): Refer to _dl_main_map.
16611 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16612 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16613 call to _dl_get_origin.
16614 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16616 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16617 * dlfcn/modstatic3.c: New file.
16618 * dlfcn/tststatic3.c: New file.
16619 * dlfcn/tststatic4.c: New file.
16620 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16621 (tests-static): Likewise.
16622 (modules-names): Add modstatic3.
16623 (tststatic3-ENV, tststatic4-ENV): New variables.
16624 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16625 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16627 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16629 * configure.in (CC): Require GCC version 4.4 or later.
16630 * configure: Regenerated.
16631 * manual/install.texi (Tools for Compilation): Update GCC version
16633 * INSTALL: Regenerated.
16635 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16638 * string/test-memcmp.c (check2): New.
16639 (main): Call check2.
16641 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16643 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16646 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16648 (dl_open_worker) [!SHARED]: ... here.
16650 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16652 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16654 2013-06-25 Richard Henderson <rth@redhat.com>
16656 * locale/programs/locarchive.c: Include <libc-internal.h>
16658 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16660 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16661 trailing whitespace removed.
16663 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16666 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16667 * locale/programs/locarchive.c: Include libc-mmap.h.
16668 (prepare_address_space): Take two new outputs (the mmap base and len).
16669 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16671 (create_archive): Declare new mmap base and len values for
16672 prepare_address_space, and store the result in ah.
16673 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16674 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16675 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16676 Declare new mmap base and len values for
16677 prepare_address_space, and store the result in new_ah.
16678 (open_archive): Declare new mmap base and len values for
16679 prepare_address_space, and store the result in ah.
16680 (close_archive): If ah->mmap_base is not NULL, use that and
16681 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16682 * sysdeps/generic/libc-mmap.h: New file.
16684 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16686 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16687 (ALIGN_UP): Likewise.
16688 (PTR_ALIGN_DOWN): Likewise.
16689 (PTR_ALIGN_UP): Likewise.
16691 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16693 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16694 entry mapped to PPC_PLATFORM_POWER8.
16695 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16697 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16698 (_dl_string_platform): Add case for exporting platform position for
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16701 search path to sysdeps/powerpc/powerpc32/power8 directory.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16703 search path to sysdeps/powerpc/powerpc64/power8 directory.
16704 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16705 power7 directories.
16706 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16707 power7 directories.
16709 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16711 * INSTALL: Regenerate.
16713 * nscd/connections.c (nscd_init): Fix comment.
16715 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16717 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16720 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16721 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16723 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16725 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16727 (DL_DST_REQ_STATIC): Remove macro.
16729 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16732 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16733 with a shift of 0 bits.
16735 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16737 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16740 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16743 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16745 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16747 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16748 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16749 accepts -fno-tree-loop-distribute-patterns.
16750 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16751 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16753 * string/memset.c (memset): Likewise.
16754 * string/test-memmove.c (simple_memmove): Disable loop transformation
16756 * string/test-memset.c (simple_memset): Likewise.
16757 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16758 * benchtests/bench-memset.c (simple_memset): Likewise.
16759 * configure: Regenerated.
16761 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16763 * math/test-misc.c (main): Ignore fesetround failure when failures
16764 of subsequent rounding tests would be ignored.
16767 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16768 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16769 * math/fegetenv.c (__fegetenv): Return 0.
16770 * math/fegetexcept.c (fegetexcept): Return 0.
16771 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16773 * math/feholdexcpt.c (feholdexcept): Return 0.
16774 * math/fesetenv.c (__fesetenv): Return 0.
16775 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16776 argument FE_TONEAREST.
16777 * math/feupdateenv.c (__feupdateenv): Return 0.
16778 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16780 2013-06-18 Roland McGrath <roland@hack.frob.com>
16782 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16783 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16784 ($(objpfx)rtld-%.os rules): Use them.
16786 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16791 2013-06-17 Roland McGrath <roland@hack.frob.com>
16793 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16794 length of target pattern, then descending length of dependency pattern.
16795 * configure.in (AWK): Require gawk 3.1.2 or newer.
16796 * manual/install.texi (Tools for Compilation): Say that we do.
16797 * configure: Regenerated.
16799 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16800 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16801 * scripts/sysd-rules.awk: ... this new script.
16802 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16803 than a glob-style pattern.
16805 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16807 * math/test-misc.c (main): Do not treat incorrectly rounded
16808 conversions as failure unless ROUNDING_TESTS passes.
16810 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16813 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16814 restore exception state around main square root computation, then
16815 check for inexactness explicitly.
16817 * math/libm-test.inc (fma_test_data): Add another test.
16819 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16821 * manual/threads.texi (Non-POSIX Extensions): New document
16822 node. Document pthread_getattr_default_np and
16823 pthread_setattr_default_np.
16825 * Versions.def (libpthread): Add GLIBC_2.18.
16826 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16835 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16846 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16849 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16851 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16852 H.J. Lu <hjl.tools@gmail.com>
16855 * sysdeps/x86_64/rtld-memset.c: Remove file.
16856 * sysdeps/x86_64/rtld-memset.S: New file.
16858 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16860 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16861 (test_in_one_mode): Take arguments for whether the rounding mode
16862 is supported for each floating-point type.
16863 (do_test): Pass new arguments to test_in_one_mode using
16866 2013-06-13 Roland McGrath <roland@hack.frob.com>
16868 * posix/tst-waitid.c (do_test): Distinguish different instances of
16869 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16870 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16871 before entering the kernel for waitpid.
16873 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16875 * NEWS: Fix note on clock function precision. Text by Roland
16878 2013-06-13 Roland McGrath <roland@hack.frob.com>
16880 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16881 it into place only when and if the sanity check passes.
16883 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16885 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16886 output for whether conversion result is exact. Take argument
16887 indicating whether type is IBM long double.
16888 (round_for_all): Change need_exact field to ibm_ld.
16889 * stdlib/tst-strtod-round.c (struct exactness): New type.
16890 (struct test): Change bool ld_ok field to struct exactness exact.
16891 (TEST): Update all definitions for change to field.
16892 (tests): Regenerate array contents.
16893 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16894 field value. Check for IBM long double here.
16895 (do_test): Update calls to test_in_one_mode.
16897 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16900 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16901 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16903 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16906 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16907 generated by the compiler on loop optimizations.
16908 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16909 general definitions.
16911 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16913 * math/bug-nextafter.c: Include <math-tests.h>.
16914 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16916 * math/bug-nexttoward.c: Include <math-tests.h>.
16917 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16919 * math/test-misc.c: Include <math-tests.h>.
16920 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16923 2013-06-12 Andreas Jaeger <aj@suse.de>
16925 * po/ia.po: Update Interlingua translation from translation
16928 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16930 * include/fenv.h: Include stdbool.h.
16931 (struct rm_ctx): New structure.
16932 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16934 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16935 (SET_RESTORE_ROUNDF): Likewise.
16936 (SET_RESTORE_ROUNDL): Likewise.
16937 (SET_RESTORE_ROUND_NOEX): Likewise.
16938 (SET_RESTORE_ROUND_NOEXF): Likewise.
16939 (SET_RESTORE_ROUND_NOEXL): Likewise.
16940 (SET_RESTORE_ROUND_53BIT): Likewise.
16941 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16942 (libc_feresetround_noexf_ctx): Likewise.
16943 (libc_feresetround_noexl_ctx): Likewise.
16944 (libc_feholdsetround_53bit_ctx): Likewise.
16945 (libc_feresetround_53bit_ctx): Likewise.
16946 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16947 (libc_feholdexcept_setround_sse_ctx): New function.
16948 (libc_fesetenv_sse_ctx): Likewise.
16949 (libc_feupdateenv_sse_ctx): Likewise.
16950 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16951 (libc_feholdexcept_setround_387_ctx): Likewise.
16952 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16953 (libc_feholdsetround_387_prec_ctx): Likewise.
16954 (libc_feholdsetround_387_ctx): Likewise.
16955 (libc_feholdsetround_387_53bit_ctx): Likewise.
16956 (libc_feholdsetround_sse_ctx): Likewise.
16957 (libc_feresetround_sse_ctx): Likewise.
16958 (libc_feresetround_387_ctx): Likewise.
16959 (libc_feupdateenv_387_ctx): Likewise.
16960 (libc_feholdexcept_setroundf_ctx): Define macro.
16961 (libc_fesetenvf_ctx): Likewise.
16962 (libc_feupdateenvf_ctx): Likewise.
16963 (libc_feholdsetroundf_ctx): Likewise.
16964 (libc_feresetroundf_ctx): Likewise.
16965 (libc_feholdexcept_setround_ctx): Likewise.
16966 (libc_fesetenv_ctx): Likewise.
16967 (libc_feupdateenv_ctx): Likewise.
16968 (libc_feholdsetround_ctx): Likewise.
16969 (libc_feresetround_ctx): Likewise.
16970 (libc_feholdexcept_setroundl_ctx): Likewise.
16971 (libc_feupdateenvl_ctx): Likewise.
16972 (libc_feholdsetroundl_ctx): Likewise.
16973 (libc_feresetroundl_ctx): Likewise.
16974 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16975 (libc_feresetround_53bit_ctx): Likewise.
16977 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16979 * locale/iso-639.def: Convert to UTF-8.
16981 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16983 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16984 (EXCEPTION_TESTS_double): Likewise.
16985 (EXCEPTION_TESTS_long_double): Likewise.
16986 (EXCEPTION_TESTS): Likewise.
16987 * math/libm-test.inc (test_exceptions): Only test exceptions if
16988 EXCEPTION_TESTS (FLOAT).
16990 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16992 * benchtests/Makefile (string-bench): Add strcpy_chk and
16994 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16995 * benchtests/bench-stpcpy_chk.c: New file.
16996 * benchtests/bench-strcpy_chk-ifunc.c: New file.
16997 * benchtests/bench-strcpy_chk.c: New file.
16998 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17000 (do_test): Likewise.
17002 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17004 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17005 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17006 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17007 with tabs where appropriate.
17008 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17010 [PPC_PLATFORM_PPC440]: Likewise.
17011 [PPC_PLATFORM_PPC464]: Likewise.
17012 [PPC_PLATFORM_PPC476]: Likewise.
17013 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17014 ppc464, and ppc476 platform strings merging from ports/
17017 2013-06-11 Andreas Schwab <schwab@suse.de>
17020 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17021 (from_ucs4_idx): Regenerate.
17022 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17023 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17024 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17025 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17026 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17027 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17028 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17029 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17030 from FROM_LOOP and TO_LOOP specific macros.
17031 (BODY): Handle combining characters.
17032 * iconvdata/BIG5HKSCS.irreversible: Update.
17033 * iconvdata/BIG5HKSCS.precomposed: New file.
17034 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17036 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17038 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17040 * include/sys/time.h: Fix indentation and add copyright header.
17042 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17043 (do_test): Likewise.
17044 * string/test-memchr.c (do_one_test): Likewise.
17045 (do_test): Likewise.
17046 * string/test-memcmp.c (do_one_test): Likewise.
17047 (do_test): Likewise.
17048 * string/test-memcpy.c (do_one_test): Likewise.
17049 (do_test): Likewise.
17050 * string/test-memmem.c (do_one_test): Likewise.
17051 (do_test): Likewise.
17052 (do_random_tests): Likewise.
17053 * string/test-memmove.c (do_one_test): Likewise.
17054 (do_test): Likewise.
17055 * string/test-memset.c (do_one_test): Likewise.
17056 (do_test): Likewise.
17057 * string/test-rawmemchr.c (do_one_test): Likewise.
17058 (do_test): Likewise.
17059 * string/test-strcasecmp.c (do_one_test): Likewise.
17060 (do_test): Likewise.
17061 * string/test-strcasestr.c (do_one_test): Likewise.
17062 (do_test): Likewise.
17063 * string/test-strcat.c (do_one_test): Likewise.
17064 (do_test): Likewise.
17065 * string/test-strchr.c (do_one_test): Likewise.
17066 (do_test): Likewise.
17067 * string/test-strcmp.c (do_one_test): Likewise.
17068 (do_test): Likewise.
17069 * string/test-strcpy.c (do_one_test): Likewise.
17070 (do_test): Likewise.
17071 * string/test-string.h: Likewise.
17072 (test_init): Likewise.
17073 * string/test-strlen.c (do_one_test): Likewise.
17074 (do_test): Likewise.
17075 * string/test-strncasecmp.c (do_one_test): Likewise.
17076 (do_test): Likewise.
17077 * string/test-strncat.c (do_one_test): Likewise.
17078 (do_test): Likewise.
17079 * string/test-strncmp.c (do_one_test): Likewise.
17080 (do_test_limit): Likewise.
17081 (do_test): Likewise.
17082 * string/test-strncpy.c (do_one_test): Likewise.
17083 (do_test): Likewise.
17084 * string/test-strnlen.c (do_one_test): Likewise.
17085 (do_test): Likewise.
17086 * string/test-strpbrk.c (do_one_test): Likewise.
17087 (do_test): Likewise.
17088 * string/test-strrchr.c (do_one_test): Likewise.
17089 (do_test): Likewise.
17090 * string/test-strspn.c (do_one_test): Likewise.
17091 (do_test): Likewise.
17092 * string/test-strstr.c (do_one_test): Likewise.
17093 (do_test): Likewise.
17095 * benchtests/Makefile (string-bench): Add string benchmarks.
17096 * benchtests/bench-bcopy-ifunc.c: New file.
17097 * benchtests/bench-bcopy.c: New file.
17098 * benchtests/bench-bzero-ifunc.c: New file.
17099 * benchtests/bench-bzero.c: New file.
17100 * benchtests/bench-memccpy-ifunc.c: New file.
17101 * benchtests/bench-memccpy.c: New file.
17102 * benchtests/bench-memchr-ifunc.c: New file.
17103 * benchtests/bench-memchr.c: New file.
17104 * benchtests/bench-memcmp-ifunc.c: New file.
17105 * benchtests/bench-memcmp.c: New file.
17106 * benchtests/bench-memmem-ifunc.c: New file.
17107 * benchtests/bench-memmem.c: New file.
17108 * benchtests/bench-memmove-ifunc.c: New file.
17109 * benchtests/bench-memmove.c: New file.
17110 * benchtests/bench-mempcpy-ifunc.c: New file.
17111 * benchtests/bench-mempcpy.c: New file.
17112 * benchtests/bench-memset-ifunc.c: New file.
17113 * benchtests/bench-memset.c: New file.
17114 * benchtests/bench-rawmemchr-ifunc.c: New file.
17115 * benchtests/bench-rawmemchr.c: New file.
17116 * benchtests/bench-stpcpy-ifunc.c: New file.
17117 * benchtests/bench-stpcpy.c: New file.
17118 * benchtests/bench-stpncpy-ifunc.c: New file.
17119 * benchtests/bench-stpncpy.c: New file.
17120 * benchtests/bench-strcasecmp-ifunc.c: New file.
17121 * benchtests/bench-strcasecmp.c: New file.
17122 * benchtests/bench-strcasestr-ifunc.c: New file.
17123 * benchtests/bench-strcasestr.c: New file.
17124 * benchtests/bench-strcat-ifunc.c: New file.
17125 * benchtests/bench-strcat.c: New file.
17126 * benchtests/bench-strchr-ifunc.c: New file.
17127 * benchtests/bench-strchr.c: New file.
17128 * benchtests/bench-strchrnul-ifunc.c: New file.
17129 * benchtests/bench-strchrnul.c: New file.
17130 * benchtests/bench-strcmp-ifunc.c: New file.
17131 * benchtests/bench-strcmp.c: New file.
17132 * benchtests/bench-strcpy-ifunc.c: New file.
17133 * benchtests/bench-strcpy.c: New file.
17134 * benchtests/bench-strcspn-ifunc.c: New file.
17135 * benchtests/bench-strcspn.c: New file.
17136 * benchtests/bench-strlen-ifunc.c: New file.
17137 * benchtests/bench-strlen.c: New file.
17138 * benchtests/bench-strncasecmp-ifunc.c: New file.
17139 * benchtests/bench-strncasecmp.c: New file.
17140 * benchtests/bench-strncat-ifunc.c: New file.
17141 * benchtests/bench-strncat.c: New file.
17142 * benchtests/bench-strncmp-ifunc.c: New file.
17143 * benchtests/bench-strncmp.c: New file.
17144 * benchtests/bench-strncpy-ifunc.c: New file.
17145 * benchtests/bench-strncpy.c: New file.
17146 * benchtests/bench-strnlen-ifunc.c: New file.
17147 * benchtests/bench-strnlen.c: New file.
17148 * benchtests/bench-strpbrk-ifunc.c: New file.
17149 * benchtests/bench-strpbrk.c: New file.
17150 * benchtests/bench-strrchr-ifunc.c: New file.
17151 * benchtests/bench-strrchr.c: New file.
17152 * benchtests/bench-strspn-ifunc.c: New file.
17153 * benchtests/bench-strspn.c: New file.
17154 * benchtests/bench-strstr-ifunc.c: New file.
17155 * benchtests/bench-strstr.c: New file.
17157 * benchtests/Makefile: Disable parallel execution of targets.
17158 (string-bench): Add memcpy.
17159 (benchset): New variable to store a list of benchmark sets.
17160 (bench-func): Renamed from bench.
17161 (bench-set): New target.
17162 (bench): Depend on bench-func and bench-set.
17163 * benchtests/README: Add section on benchmark sets.
17164 * benchtests/bench-memcpy-ifunc.c: New file.
17165 * benchtests/bench-memcpy.c: New file.
17166 * benchtests/bench-string.h: New file.
17168 2013-06-11 Andreas Schwab <schwab@suse.de>
17171 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17172 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17173 values in the triple.
17174 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17175 terminator in the group key.
17177 2013-06-11 Andreas Jaeger <aj@suse.de>
17179 * po/zh_TW.po: Update Chinese (traditional) translation from
17180 translation project.
17182 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17184 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17185 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17186 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17187 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17188 (clock_getcpuclockid): Likewise.
17189 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17190 Add weak_alias and libc_hidden_def.
17191 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17192 * rt/clock_gettime.c (clock_gettime): Rename to
17193 __clock_gettime. Add weak_alias and libc_hidden_def.
17194 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17195 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17196 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17197 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17198 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17200 * rt/clock_settime.c (clock_settime): Rename to
17201 __clock_settime. Add weak_alias and libc_hidden_def.
17202 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17204 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17206 * mach/err_boot.sub: Remove trailing whitespace.
17207 * mach/err_ipc.sub: Likewise.
17208 * mach/err_mach.sub: Likewise.
17210 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17211 (ROUNDING_TESTS_double): Likewise.
17212 (ROUNDING_TESTS_long_double): Likewise.
17213 (ROUNDING_TESTS): Likewise.
17214 * math/libm-test.inc: Include <math-tests.h>.
17215 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17216 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17217 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17218 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17220 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17222 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17225 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17227 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17228 otherwise empty TRANS lines.
17229 * sysdeps/gnu/errlist.c: Regenerated.
17231 * catgets/gencat.c (error_print): Use (void) in function
17233 * crypt/crypt_util.c (__init_des): Likewise.
17234 * crypt/speeds.c (Stop): Likewise.
17236 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17237 * inet/ruserpass.c (token): Likewise.
17238 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17239 * intl/localealias.c (extend_alias_table): Likewise.
17240 * intl/plural-exp.c (init_germanic_plural): Likewise.
17241 * libio/fcloseall.c (__fcloseall): Likewise.
17242 * libio/genops.c (_IO_flush_all): Likewise.
17243 (_IO_flush_all_linebuffered): Likewise.
17244 (_IO_cleanup): Likewise.
17245 (_IO_iter_begin): Likewise.
17246 (_IO_iter_end): Likewise.
17247 (_IO_list_lock): Likewise.
17248 (_IO_list_unlock): Likewise.
17249 (_IO_list_resetlock): Likewise.
17250 * libio/getchar.c (getchar): Likewise.
17251 * libio/getchar_u.c (getchar_unlocked): Likewise.
17252 * libio/getwchar.c (getwchar): Likewise.
17253 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17254 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17255 * login/getpt.c (__getpt): Likewise.
17256 * login/tst-utmp.c (main): Likewise.
17257 * malloc/hooks.c (__malloc_check_init): Likewise.
17258 * malloc/malloc.c (__malloc_stats): Likewise.
17259 * malloc/mtrace.c (tr_break): Likewise.
17260 (mtrace): Likewise.
17261 (muntrace): Likewise.
17262 * misc/fstab.c (endfsent): Likewise.
17263 * misc/getclktck.c (__getclktck): Likewise.
17264 * misc/getdtsz.c (__getdtablesize): Likewise.
17265 * misc/gethostid.c (gethostid): Likewise.
17266 * misc/getpagesize.c (__getpagesize): Likewise.
17267 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17268 (__get_nprocs): Likewise.
17269 (__get_phys_pages): Likewise.
17270 (__get_avphys_pages): Likewise.
17271 * misc/getttyent.c (getttyent): Likewise.
17272 (setttyent): Likewise.
17273 (endttyent): Likewise.
17274 * misc/getusershell.c (getusershell): Likewise.
17275 (endusershell): Likewise.
17276 (setusershell): Likewise.
17277 (initshells): Likewise.
17278 * misc/hsearch.c (__hdestroy): Likewise.
17279 * misc/sync.c (sync): Likewise.
17280 * misc/syslog.c (closelog_internal): Likewise.
17281 (closelog): Likewise.
17282 * misc/ttyslot.c (ttyslot): Likewise.
17283 * misc/vhangup.c (vhangup): Likewise.
17284 * posix/fork.c (__fork): Likewise.
17285 * posix/getegid.c (__getegid): Likewise.
17286 * posix/geteuid.c (__geteuid): Likewise.
17287 * posix/getgid.c (__getgid): Likewise.
17288 * posix/getpid.c (__getpid): Likewise.
17289 * posix/getppid.c (__getppid): Likewise.
17290 * posix/getuid.c (__getuid): Likewise.
17291 * posix/pause.c (pause): Likewise.
17292 * posix/setpgrp.c (setpgrp): Likewise.
17293 * posix/setsid.c (__setsid): Likewise.
17294 * posix/test-vfork.c (noop): Likewise.
17295 * resolv/gethnamaddr.c (_endhtent): Likewise.
17296 (_gethtent): Likewise.
17297 (ht_endhostent): Likewise.
17298 (gethostent): Likewise.
17299 (dns_service): Likewise.
17300 * stdlib/drand48.c (drand48): Likewise.
17301 * stdlib/lrand48.c (lrand48): Likewise.
17302 * stdlib/mrand48.c (mrand48): Likewise.
17303 * stdlib/rand.c (rand): Likewise.
17304 * stdlib/random.c (__random): Likewise.
17305 * stdlib/setenv.c (clearenv): Likewise.
17306 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17307 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17308 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17309 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17310 (__get_nprocs): Likewise.
17311 (__get_phys_pages): Likewise.
17312 (__get_avphys_pages): Likewise.
17313 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17314 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17315 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17316 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17317 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17318 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17319 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17320 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17321 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17322 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17323 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17324 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17325 * sysdeps/posix/clock.c (clock): Likewise.
17326 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17327 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17328 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17329 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17330 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17332 (__get_nprocs_conf): Likewise.
17333 (__get_phys_pages): Likewise.
17334 (__get_avphys_pages): Likewise.
17335 * time/clock.c (clock): Likewise.
17336 * time/tzset.c (__tzname_max): Likewise.
17338 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17340 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17341 (__bswap_32): Do not use "register".
17342 * crypt/crypt.c (_ufc_doit_r): Likewise.
17343 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17344 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17345 * gmon/gmon.c (__monstartup): Likewise.
17346 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17347 * hurd/hurdmalloc.c (more_memory): Likewise.
17348 (malloc): Likewise.
17350 (realloc): Likewise.
17351 (malloc_fork_prepare): Likewise.
17352 (malloc_fork_parent): Likewise.
17353 (malloc_fork_child): Likewise.
17354 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17355 (_svcauth_des): Likewise.
17356 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17357 * inet/inet_net.c (inet_network): Likewise.
17358 * inet/inet_netof.c (inet_netof): Likewise.
17359 * inet/rcmd.c (__validuser2_sa): Likewise.
17360 * io/fts.c (fts_open): Likewise.
17361 (fts_load): Likewise.
17362 (fts_close): Likewise.
17363 (fts_read): Likewise.
17364 (fts_children): Likewise.
17365 (fts_build): Likewise.
17366 (fts_stat): Likewise.
17367 (fts_sort): Likewise.
17368 (fts_alloc): Likewise.
17369 (fts_lfree): Likewise.
17370 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17371 (_IO_file_xsgetn): Likewise.
17372 (_IO_file_xsgetn_mmap): Likewise.
17373 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17374 (_IO_cookie_write): Likewise.
17375 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17376 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17377 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17378 * malloc/obstack.c (_obstack_begin): Likewise.
17379 (_obstack_begin_1): Likewise.
17380 (_obstack_newchunk): Likewise.
17381 (_obstack_allocated_p): Likewise.
17382 (obstack_free): Likewise.
17383 (_obstack_memory_used): Likewise.
17384 * misc/getttyent.c (getttynam): Likewise.
17385 (getttyent): Likewise.
17388 * misc/getusershell.c (initshells): Likewise.
17389 * misc/syslog.c (__vsyslog_chk): Likewise.
17390 * misc/ttyslot.c (ttyslot): Likewise.
17391 * nis/nis_hash.c (__nis_hash): Likewise.
17392 * posix/fnmatch_loop.c (FCT): Likewise.
17393 * posix/getconf.c (print_all): Likewise.
17395 * posix/getopt.c (exchange): Likewise.
17396 * posix/glob.c (globfree): Likewise.
17397 (prefix_array): Likewise.
17398 (__glob_pattern_type): Likewise.
17399 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17400 (NS_GET32): Likewise.
17401 (NS_PUT16): Likewise.
17402 (NS_PUT32): Likewise.
17403 * resolv/gethnamaddr.c (getanswer): Likewise.
17404 (gethostbyname2): Likewise.
17405 (gethostbyaddr): Likewise.
17406 (_gethtent): Likewise.
17407 (_gethtbyname2): Likewise.
17408 (_gethtbyaddr): Likewise.
17409 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17410 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17411 * resolv/res_init.c (__res_vinit): Likewise.
17412 (net_mask): Likewise.
17413 * resolv/res_mkquery.c (outchar): Likewise.
17415 * stdio-common/printf_fp.c (outchar): Likewise.
17417 * stdio-common/printf_fphex.c (outchar): Likewise.
17419 * stdio-common/printf_size.c (outchar): Likewise.
17421 * stdio-common/test_rdwr.c (main): Likewise.
17422 * stdio-common/tfformat.c (matches): Likewise.
17423 * stdio-common/vfprintf.c (outchar): Likewise.
17424 (printf_unknown): Likewise.
17425 (buffered_vfprintf): Likewise.
17426 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17427 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17428 (ReadFile): Likewise.
17429 * stdlib/qsort.c (SWAP): Likewise.
17430 (_quicksort): Likewise.
17431 * stdlib/setenv.c (__add_to_environ): Likewise.
17432 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17433 * stdlib/strtol_l.c (__strtol_l): Likewise.
17434 * stdlib/tst-strtod.c (main): Likewise.
17435 * stdlib/tst-strtol.c (main): Likewise.
17436 * stdlib/tst-strtoll.c (main): Likewise.
17437 * string/bits/string2.h (__strcmp_cc): Likewise.
17438 (__strcmp_cg): Likewise.
17439 (__strcspn_c1): Likewise.
17440 (__strcspn_c2): Likewise.
17441 (__strcspn_c3): Likewise.
17442 (__strspn_c1): Likewise.
17443 (__strspn_c2): Likewise.
17444 (__strspn_c3): Likewise.
17445 (__strsep_1c): Likewise.
17446 (__strsep_2c): Likewise.
17447 (__strsep_3c): Likewise.
17448 * string/memccpy.c (__memccpy): Likewise.
17449 * string/stpcpy.c (__stpcpy): Likewise.
17450 * string/strcmp.c (strcmp): Likewise.
17451 * string/strrchr.c (strrchr): Likewise.
17452 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17454 * sysdeps/mach/hurd/getcwd.c
17455 (_hurd_canonicalize_directory_name_internal): Likewise.
17456 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17457 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17458 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17459 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17460 Likewise, in both definitions.
17461 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17463 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17464 64] (__bswap_64): Likewise.
17465 * time/test_time.c (main): Likewise.
17466 * time/tzfile.c (__tzfile_read): Likewise.
17467 (__tzfile_compute): Likewise.
17468 * time/tzset.c (__tzset_parse_tz): Likewise.
17469 (tzset_internal): Likewise.
17470 (compute_change): Likewise.
17471 * wcsmbs/wcscat.c (__wcscat): Likewise.
17472 * wcsmbs/wcschr.c (wcschr): Likewise.
17473 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17474 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17475 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17476 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17477 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17478 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17479 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17480 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17481 * wcsmbs/wmemset.c (wmemset): Likewise.
17483 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17485 * scripts/config.guess: Update to version 2013-05-16.
17486 * scripts/config.sub: Update to version 2013-04-24.
17487 * scripts/install-sh: Update to version 2011-11-20.07.
17488 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17489 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17491 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17493 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17494 * elf/sln.c: Likewise.
17495 * hurd/hurd/ioctl.h: Likewise.
17496 * hurd/hurdmalloc.c: Likewise.
17497 * hurd/xattr.c: Likewise.
17498 * include/shlib-compat.h: Likewise.
17499 * inet/ruserpass.c: Likewise.
17500 * libio/iofgets_u.c: Likewise.
17501 * libio/iofgetws_u.c: Likewise.
17502 * locale/programs/ld-identification.c: Likewise.
17503 * locale/programs/ld-time.c: Likewise.
17504 * mach/msg-destroy.c: Likewise.
17505 * nss/nss_files/files-netgrp.c: Likewise.
17506 * resolv/res_data.c: Likewise.
17507 * soft-fp/op-1.h: Likewise.
17508 * soft-fp/op-2.h: Likewise.
17509 * soft-fp/op-4.h: Likewise.
17510 * soft-fp/op-common.h: Likewise.
17511 * stdio-common/printf_fphex.c: Likewise.
17512 * stdlib/strtod_l.c: Likewise.
17513 * sunrpc/rpc/clnt.h: Likewise.
17514 * sysdeps/generic/framestate.c: Likewise.
17515 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17516 * sysdeps/i386/bsd-setjmp.S: Likewise.
17517 * sysdeps/i386/__longjmp.S: Likewise.
17518 * sysdeps/i386/setjmp.S: Likewise.
17519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17521 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17522 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17524 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17525 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17526 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17527 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17528 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17529 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17530 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17531 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17532 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17533 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17534 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17537 * sysdeps/ieee754/support.c: Likewise.
17538 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17539 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17540 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17541 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17542 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17543 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17544 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17545 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17546 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17547 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17548 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17549 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17550 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17551 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17552 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17553 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17554 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17557 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17559 * posix/transbug.c: Remove executable mode.
17561 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17563 * crypt/speeds.c: Remove trailing whitespace.
17564 * dlfcn/default.c: Likewise.
17565 * elf/ifuncdep2.c: Likewise.
17566 * elf/ifuncmain1.c: Likewise.
17567 * elf/ifuncmain1vis.c: Likewise.
17568 * elf/testobj.h: Likewise.
17569 * elf/tst-stackguard1.c: Likewise.
17570 * gmon/sys/gmon.h: Likewise.
17571 * hurd/hurdmsg.c: Likewise.
17572 * hurd/new-fd.c: Likewise.
17573 * hurd/ports-get.c: Likewise.
17574 * iconvdata/ibm1008_420.c: Likewise.
17575 * inet/tst-getni1.c: Likewise.
17576 * inet/tst-getni2.c: Likewise.
17577 * libio/ioungetc.c: Likewise.
17578 * libio/wfiledoalloc.c: Likewise.
17579 * manual/libm-err-tab.pl: Likewise.
17580 * math/w_dremf.c: Likewise.
17581 * misc/ftruncate.c: Likewise.
17582 * posix/bug-glob2.c: Likewise.
17583 * posix/tst-pcre.c: Likewise.
17584 * posix/wait4.c: Likewise.
17585 * resolv/README: Likewise.
17586 * resolv/res_debug.h: Likewise.
17587 * resolv/tst-inet_ntop.c: Likewise.
17588 * setjmp/bug269-setjmp.c: Likewise.
17589 * soft-fp/extended.h: Likewise.
17590 * soft-fp/op-1.h: Likewise.
17591 * soft-fp/op-2.h: Likewise.
17592 * soft-fp/op-4.h: Likewise.
17593 * soft-fp/op-8.h: Likewise.
17594 * soft-fp/testit.c: Likewise.
17595 * stdio-common/bug16.c: Likewise.
17596 * stdlib/random.c: Likewise.
17597 * sunrpc/rpcsvc/rquota.x: Likewise.
17598 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17599 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17600 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17601 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17602 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17603 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17604 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17605 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17606 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17607 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17608 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17609 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17610 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17611 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17612 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17613 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17614 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17615 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17616 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17617 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17618 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17619 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17620 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17621 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17622 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17625 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17627 * sysdeps/ieee754/s_lib_version.c: Likewise.
17628 * sysdeps/mach/hurd/check_fds.c: Likewise.
17629 * sysdeps/mach/hurd/getsockname.c: Likewise.
17630 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17631 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17632 * sysdeps/powerpc/bits/link.h: Likewise.
17633 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17634 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17635 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17636 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17637 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17638 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17639 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17640 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17641 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17642 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17643 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17644 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17645 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17646 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17647 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17648 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17649 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17650 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17651 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17652 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17653 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17654 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17655 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17656 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17657 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17658 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17659 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17660 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17661 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17662 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17663 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17664 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17665 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17666 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17667 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17668 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17669 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17670 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17671 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17672 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17673 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17674 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17675 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17676 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17677 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17678 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17679 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17680 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17681 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17682 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17686 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17687 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17688 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17689 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17690 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17691 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17692 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17693 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17694 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17695 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17696 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17697 * sysdeps/powerpc/sysdep.h: Likewise.
17698 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17699 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17700 * sysdeps/sh/dl-trampoline.S: Likewise.
17701 * sysdeps/sh/memset.S: Likewise.
17702 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17703 * sysdeps/sh/strlen.S: Likewise.
17704 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17705 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17706 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17707 * sysdeps/sparc/sparc32/rem.S: Likewise.
17708 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17709 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17710 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17711 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17712 * sysdeps/sparc/sparc32/urem.S: Likewise.
17713 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17714 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17715 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17716 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17717 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17718 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17719 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17720 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17721 * sysdeps/unix/bsd/times.c: Likewise.
17722 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17723 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17727 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17729 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17730 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17731 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17732 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17733 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17734 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17735 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17736 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17737 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17738 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17739 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17740 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17741 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17742 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17743 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17744 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17745 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17746 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17747 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17748 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17749 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17750 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17751 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17752 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17753 * sysdeps/x86_64/strcspn.S: Likewise.
17755 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17757 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17758 generated file. Regenerate properly from gen-translit.pl.
17759 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17760 locale/C-translit.h.
17762 2013-06-05 Andreas Schwab <schwab@suse.de>
17765 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17766 week as 6 instead of -1.
17767 * time/tst-strptime.c (day_tests): Add test case.
17769 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17771 * sysdeps/generic/math_private.h
17772 (libc_feholdexcept_setround_53bit): Replace with
17773 libc_feholdsetround_53bit.
17774 (libc_feupdateenv_53bit): Replace with
17775 libc_feresetround_53bit.
17776 (SET_RESTORE_ROUND_53BIT): Adjust.
17778 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17780 * string/test-strchrnul.c: Add copyright header.
17782 * posix/tst-getaddrinfo4.c: Increase test timeout.
17784 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17787 * math/libm-test.inc (MAX_EXP): Remove
17789 (ulp): Use MIN_EXP - MANT_DIG.
17790 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17792 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17794 * po/be.po: Revert last change.
17795 * po/zh_CN.po: Likewise.
17796 * po/header.pot: Likewise.
17798 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17800 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17801 link-libc-deps to empty as target-specific variable.
17802 * Makerules (link-libc-args): New variable.
17803 (libc-for-link): Likewise.
17804 (link-libc-deps): Likewise.
17805 (lib%.so): Depend on $(link-libc-deps). Link with
17807 (build-module): Link with $(link-libc-args).
17808 (build-module-asneeded): Likewise.
17809 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17811 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17812 target-specific variable.
17813 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17814 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17815 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17817 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17819 ($(objpfx)libpcprofile.so): Likewise.
17820 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17822 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17823 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17824 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17826 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17827 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17828 * login/Makefile ($(objpfx)libutil.so): Likewise.
17829 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17830 * math/Makefile ($(objpfx)libm.so): Likewise.
17831 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17832 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17833 variable instead of depending directly on libc.
17834 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17835 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17837 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17839 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17840 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17841 ($(objpfx)libanl.so): Likewise.
17842 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17844 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17846 * sysdeps/i386/fpu/Makefile: Remove file.
17847 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17848 ($(objpfx)libm.so): Remove dependency on ld.so.
17850 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17853 * nis/yp_xdr.c (XDRMAXNAME): Define.
17854 (XDRMAXRECORD): Define.
17855 (xdr_domainname): Use XDRMAXNAME.
17856 (xdr_mapname): Likewise.
17857 (xdr_peername): Likewise.
17858 (xdr_keydat): Use XDRMAXRECORD.
17859 (xdr_valdat): Likewise.
17861 2013-05-30 Jeff Law <law@redhat.com>
17864 * manual/errno.texi (ESTALE): Update to account for more than
17865 just NFS file systems.
17866 * sysdeps/gnu/errlist.c: Regenerated.
17868 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17871 * elf/Makefile (tests): Add tst-null-argv.
17872 (modules-names): Add tst-null-argv-lib.
17873 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17874 (tst-null-argv-ENV): Set environment for tst-null-argv.
17875 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17876 (RTLD_PROGNAME): New macro.
17877 * elf/tst-null-argv.c: New test case.
17878 * elf/tst-null-argv-lib.c: Library for test case.
17879 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17880 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17881 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17882 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17883 * elf/dl-init.c (call_init): Likewise.
17884 (_dl_init): Likewise.
17885 * elf/dl-load.c (print_search_path): Likewise.
17886 (_dl_map_object): Likewise.
17887 * elf/dl-lookup.c (do_lookup_x): Likewise.
17888 (add_dependency): Likewise.
17889 (_dl_lookup_symbol_x): Likewise.
17890 (_dl_debug_bindings): Likewise.
17891 * elf/dl-open.c (_dl_show_scope): Likewise.
17892 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17893 * elf/dl-version.c (match_symbol): Likewise.
17894 (_dl_check_map_versions): Likewise.
17895 * elf/rtld.c (dl_main): Likewise.
17896 (print_unresolved): Use RTLD_PROGNAME.
17897 (print_missing_version): Likewise.
17898 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17899 (elf_machine_rela): Likewise.
17900 * sysdeps/powerpc/powerpc32/dl-machine.c
17901 (__process_machine_rela): Likewise.
17902 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17904 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17906 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17908 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17909 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17911 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17915 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17917 * po/be.po: Add descriptive title.
17918 * po/zh_CN.po: Likewise.
17919 * po/header.pot: Likewise.
17921 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17923 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17925 (enlarge_archive): Likewise.
17927 2013-05-28 Ben North <ben@redfrontdoor.org>
17929 * manual/arith.texi (frexp): It is the magnitude of the return
17930 value which lies in [0.5, 1), not the return value itself.
17932 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17936 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17938 * stdio-common/bug26.c (main): Correct fscanf template.
17940 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17941 declare _dl_skip_args.
17943 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17946 * manual/platform.texi: Add missing @end deftypefun.
17948 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17951 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17952 bit of mantissa of 2^16382.
17953 * math/libm-test.inc (hypot_test_data): Add more tests.
17955 * math/libm-test.inc: Add drem and pow10 to list of tested
17957 (pow10_test): New function.
17958 (drem_test): Likewise.
17959 (drem_test_tonearest): Likewise.
17960 (drem_test_towardzero): Likewise.
17961 (drem_test_downward): Likewise.
17962 (drem_test_upward): Likewise.
17963 (main): Call the new functions.
17965 * math/libm-test.inc (finite_test_data): Remove.
17966 (finite_test): Run tests from isfinite_test_data.
17967 (gamma_test_data): Remove.
17968 (gamma_test): Run tests from lgamma_test_data.
17969 * sysdeps/i386/fpu/libm-test-ulps: Update.
17970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17972 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17974 * manual/platform.texi: Add PowerPC PPR function set documentation.
17975 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17978 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17980 * math/libm-test.inc (MAX_EXP): Define.
17982 (ulp): New function.
17983 (check_float_internal): Use ULPDIFF.
17984 (cpow_test): Disable failing test.
17985 (check_ulp): Test ulp() implemetnation.
17986 (main): Call check_ulp before starting tests.
17988 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17990 * math/gen-libm-test.pl (generate_testfile): Do not handle
17991 START_DATA and END_DATA.
17992 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17994 (acos_tonearest_test_data): Likewise.
17995 (acos_towardzero_test_data): Likewise.
17996 (acos_downward_test_data): Likewise.
17997 (acos_upward_test_data): Likewise.
17998 (acosh_test_data): Likewise.
17999 (asin_test_data): Likewise.
18000 (asin_tonearest_test_data): Likewise.
18001 (asin_towardzero_test_data): Likewise.
18002 (asin_downward_test_data): Likewise.
18003 (asin_upward_test_data): Likewise.
18004 (asinh_test_data): Likewise.
18005 (atan_test_data): Likewise.
18006 (atanh_test_data): Likewise.
18007 (atan2_test_data): Likewise.
18008 (cabs_test_data): Likewise.
18009 (cacos_test_data): Likewise.
18010 (cacosh_test_data): Likewise.
18011 (carg_test_data): Likewise.
18012 (casin_test_data): Likewise.
18013 (casinh_test_data): Likewise.
18014 (catan_test_data): Likewise.
18015 (catanh_test_data): Likewise.
18016 (cbrt_test_data): Likewise.
18017 (ccos_test_data): Likewise.
18018 (ccosh_test_data): Likewise.
18019 (ceil_test_data): Likewise.
18020 (cexp_test_data): Likewise.
18021 (cimag_test_data): Likewise.
18022 (clog_test_data): Likewise.
18023 (clog10_test_data): Likewise.
18024 (conj_test_data): Likewise.
18025 (copysign_test_data): Likewise.
18026 (cos_test_data): Likewise.
18027 (cos_tonearest_test_data): Likewise.
18028 (cos_towardzero_test_data): Likewise.
18029 (cos_downward_test_data): Likewise.
18030 (cos_upward_test_data): Likewise.
18031 (cosh_test_data): Likewise.
18032 (cosh_tonearest_test_data): Likewise.
18033 (cosh_towardzero_test_data): Likewise.
18034 (cosh_downward_test_data): Likewise.
18035 (cosh_upward_test_data): Likewise.
18036 (cpow_test_data): Likewise.
18037 (cproj_test_data): Likewise.
18038 (creal_test_data): Likewise.
18039 (csin_test_data): Likewise.
18040 (csinh_test_data): Likewise.
18041 (csqrt_test_data): Likewise.
18042 (ctan_test_data): Likewise.
18043 (ctan_tonearest_test_data): Likewise.
18044 (ctan_towardzero_test_data): Likewise.
18045 (ctan_downward_test_data): Likewise.
18046 (ctan_upward_test_data): Likewise.
18047 (ctanh_test_data): Likewise.
18048 (ctanh_tonearest_test_data): Likewise.
18049 (ctanh_towardzero_test_data): Likewise.
18050 (ctanh_downward_test_data): Likewise.
18051 (ctanh_upward_test_data): Likewise.
18052 (erf_test_data): Likewise.
18053 (erfc_test_data): Likewise.
18054 (exp_test_data): Likewise.
18055 (exp_tonearest_test_data): Likewise.
18056 (exp_towardzero_test_data): Likewise.
18057 (exp_downward_test_data): Likewise.
18058 (exp_upward_test_data): Likewise.
18059 (exp10_test_data): Likewise.
18060 (exp2_test_data): Likewise.
18061 (expm1_test_data): Likewise.
18062 (fabs_test_data): Likewise.
18063 (fdim_test_data): Likewise.
18064 (finite_test_data): Likewise.
18065 (floor_test_data): Likewise.
18066 (fma_test_data): Likewise.
18067 (fma_towardzero_test_data): Likewise.
18068 (fma_downward_test_data): Likewise.
18069 (fma_upward_test_data): Likewise.
18070 (fmax_test_data): Likewise.
18071 (fmin_test_data): Likewise.
18072 (fmod_test_data): Likewise.
18073 (fpclassify_test_data): Likewise.
18074 (frexp_test_data): Likewise.
18075 (gamma_test_data): Likewise.
18076 (hypot_test_data): Likewise.
18077 (ilogb_test_data): Likewise.
18078 (isfinite_test_data): Likewise.
18079 (isgreater_test_data): Likewise.
18080 (isgreaterequal_test_data): Likewise.
18081 (isinf_test_data): Likewise.
18082 (isless_test_data): Likewise.
18083 (islessequal_test_data): Likewise.
18084 (islessgreater_test_data): Likewise.
18085 (isnan_test_data): Likewise.
18086 (isnormal_test_data): Likewise.
18087 (issignaling_test_data): Likewise.
18088 (isunordered_test_data): Likewise.
18089 (j0_test_data): Likewise.
18090 (j1_test_data): Likewise.
18091 (jn_test_data): Likewise.
18092 (ldexp_test_data): Likewise.
18093 (lgamma_test_data): Likewise.
18094 (lrint_test_data): Likewise.
18095 (lrint_tonearest_test_data): Likewise.
18096 (lrint_towardzero_test_data): Likewise.
18097 (lrint_downward_test_data): Likewise.
18098 (lrint_upward_test_data): Likewise.
18099 (llrint_test_data): Likewise.
18100 (llrint_tonearest_test_data): Likewise.
18101 (llrint_towardzero_test_data): Likewise.
18102 (llrint_downward_test_data): Likewise.
18103 (llrint_upward_test_data): Likewise.
18104 (log_test_data): Likewise.
18105 (log10_test_data): Likewise.
18106 (log1p_test_data): Likewise.
18107 (log2_test_data): Likewise.
18108 (logb_test_data): Likewise.
18109 (logb_downward_test_data): Likewise.
18110 (lround_test_data): Likewise.
18111 (llround_test_data): Likewise.
18112 (modf_test_data): Likewise.
18113 (nearbyint_test_data): Likewise.
18114 (nextafter_test_data): Likewise.
18115 (nexttoward_test_data): Likewise.
18116 (pow_test_data): Likewise.
18117 (pow_tonearest_test_data): Likewise.
18118 (pow_towardzero_test_data): Likewise.
18119 (pow_downward_test_data): Likewise.
18120 (pow_upward_test_data): Likewise.
18121 (remainder_test_data): Likewise.
18122 (remainder_tonearest_test_data): Likewise.
18123 (remainder_towardzero_test_data): Likewise.
18124 (remainder_downward_test_data): Likewise.
18125 (remainder_upward_test_data): Likewise.
18126 (remquo_test_data): Likewise.
18127 (rint_test_data): Likewise.
18128 (rint_tonearest_test_data): Likewise.
18129 (rint_towardzero_test_data): Likewise.
18130 (rint_downward_test_data): Likewise.
18131 (rint_upward_test_data): Likewise.
18132 (round_test_data): Likewise.
18133 (scalb_test_data): Likewise.
18134 (scalbn_test_data): Likewise.
18135 (scalbln_test_data): Likewise.
18136 (signbit_test_data): Likewise.
18137 (sin_test_data): Likewise.
18138 (sin_tonearest_test_data): Likewise.
18139 (sin_towardzero_test_data): Likewise.
18140 (sin_downward_test_data): Likewise.
18141 (sin_upward_test_data): Likewise.
18142 (sincos_test_data): Likewise.
18143 (sinh_test_data): Likewise.
18144 (sinh_tonearest_test_data): Likewise.
18145 (sinh_towardzero_test_data): Likewise.
18146 (sinh_downward_test_data): Likewise.
18147 (sinh_upward_test_data): Likewise.
18148 (sqrt_test_data): Likewise.
18149 (tan_test_data): Likewise.
18150 (tan_tonearest_test_data): Likewise.
18151 (tan_towardzero_test_data): Likewise.
18152 (tan_downward_test_data): Likewise.
18153 (tan_upward_test_data): Likewise.
18154 (tanh_test_data): Likewise.
18155 (tgamma_test_data): Likewise.
18156 (trunc_test_data): Likewise.
18157 (y0_test_data): Likewise.
18158 (y1_test_data): Likewise.
18159 (yn_test_data): Likewise.
18160 (significand_test_data): Likewise.
18162 * math/gen-libm-test.pl (@functions): Remove variable.
18163 (generate_testfile): Don't handle START and END lines.
18164 * math/libm-test.inc (START): New macro.
18166 (END_COMPLEX): Likewise.
18167 (acos_test): Use END macro without arguments.
18168 (acos_test_tonearest): Likewise.
18169 (acos_test_towardzero): Likewise.
18170 (acos_test_downward): Likewise.
18171 (acos_test_upward): Likewise.
18172 (acosh_test): Likewise.
18173 (asin_test): Likewise.
18174 (asin_test_tonearest): Likewise.
18175 (asin_test_towardzero): Likewise.
18176 (asin_test_downward): Likewise.
18177 (asin_test_upward): Likewise.
18178 (asinh_test): Likewise.
18179 (atan_test): Likewise.
18180 (atanh_test): Likewise.
18181 (atan2_test): Likewise.
18182 (cabs_test): Likewise.
18183 (cacos_test): Use END_COMPLEX macro without arguments.
18184 (cacosh_test): Likewise.
18185 (carg_test): Use END macro without arguments.
18186 (casin_test): Use END_COMPLEX macro without arguments.
18187 (casinh_test): Likewise.
18188 (catan_test): Likewise.
18189 (catanh_test): Likewise.
18190 (cbrt_test): Use END macro without arguments.
18191 (ccos_test): Use END_COMPLEX macro without arguments.
18192 (ccosh_test): Likewise.
18193 (ceil_test): Use END macro without arguments.
18194 (cexp_test): Use END_COMPLEX macro without arguments.
18195 (cimag_test): Use END macro without arguments.
18196 (clog_test): Use END_COMPLEX macro without arguments.
18197 (clog10_test): Likewise.
18198 (conj_test): Likewise.
18199 (copysign_test): Use END macro without arguments.
18200 (cos_test): Likewise.
18201 (cos_test_tonearest): Likewise.
18202 (cos_test_towardzero): Likewise.
18203 (cos_test_downward): Likewise.
18204 (cos_test_upward): Likewise.
18205 (cosh_test): Likewise.
18206 (cosh_test_tonearest): Likewise.
18207 (cosh_test_towardzero): Likewise.
18208 (cosh_test_downward): Likewise.
18209 (cosh_test_upward): Likewise.
18210 (cpow_test): Use END_COMPLEX macro without arguments.
18211 (cproj_test): Likewise.
18212 (creal_test): Use END macro without arguments.
18213 (csin_test): Use END_COMPLEX macro without arguments.
18214 (csinh_test): Likewise.
18215 (csqrt_test): Likewise.
18216 (ctan_test): Likewise.
18217 (ctan_test_tonearest): Likewise.
18218 (ctan_test_towardzero): Likewise.
18219 (ctan_test_downward): Likewise.
18220 (ctan_test_upward): Likewise.
18221 (ctanh_test): Likewise.
18222 (ctanh_test_tonearest): Likewise.
18223 (ctanh_test_towardzero): Likewise.
18224 (ctanh_test_downward): Likewise.
18225 (ctanh_test_upward): Likewise.
18226 (erf_test): Use END macro without arguments.
18227 (erfc_test): Likewise.
18228 (exp_test): Likewise.
18229 (exp_test_tonearest): Likewise.
18230 (exp_test_towardzero): Likewise.
18231 (exp_test_downward): Likewise.
18232 (exp_test_upward): Likewise.
18233 (exp10_test): Likewise.
18234 (exp2_test): Likewise.
18235 (expm1_test): Likewise.
18236 (fabs_test): Likewise.
18237 (fdim_test): Likewise.
18238 (finite_test): Likewise.
18239 (floor_test): Likewise.
18240 (fma_test): Likewise.
18241 (fma_test_towardzero): Likewise.
18242 (fma_test_downward): Likewise.
18243 (fma_test_upward): Likewise.
18244 (fmax_test): Likewise.
18245 (fmin_test): Likewise.
18246 (fmod_test): Likewise.
18247 (fpclassify_test): Likewise.
18248 (frexp_test): Likewise.
18249 (gamma_test): Likewise.
18250 (hypot_test): Likewise.
18251 (ilogb_test): Likewise.
18252 (isfinite_test): Likewise.
18253 (isgreater_test): Likewise.
18254 (isgreaterequal_test): Likewise.
18255 (isinf_test): Likewise.
18256 (isless_test): Likewise.
18257 (islessequal_test): Likewise.
18258 (islessgreater_test): Likewise.
18259 (isnan_test): Likewise.
18260 (isnormal_test): Likewise.
18261 (issignaling_test): Likewise.
18262 (isunordered_test): Likewise.
18263 (j0_test): Likewise.
18264 (j1_test): Likewise.
18265 (jn_test): Likewise.
18266 (ldexp_test): Likewise.
18267 (lgamma_test): Likewise.
18268 (lrint_test): Likewise.
18269 (lrint_test_tonearest): Likewise.
18270 (lrint_test_towardzero): Likewise.
18271 (lrint_test_downward): Likewise.
18272 (lrint_test_upward): Likewise.
18273 (llrint_test): Likewise.
18274 (llrint_test_tonearest): Likewise.
18275 (llrint_test_towardzero): Likewise.
18276 (llrint_test_downward): Likewise.
18277 (llrint_test_upward): Likewise.
18278 (log_test): Likewise.
18279 (log10_test): Likewise.
18280 (log1p_test): Likewise.
18281 (log2_test): Likewise.
18282 (logb_test): Likewise.
18283 (logb_test_downward): Likewise.
18284 (lround_test): Likewise.
18285 (llround_test): Likewise.
18286 (modf_test): Likewise.
18287 (nearbyint_test): Likewise.
18288 (nextafter_test): Likewise.
18289 (nexttoward_test): Likewise.
18290 (pow_test): Likewise.
18291 (pow_test_tonearest): Likewise.
18292 (pow_test_towardzero): Likewise.
18293 (pow_test_downward): Likewise.
18294 (pow_test_upward): Likewise.
18295 (remainder_test): Likewise.
18296 (remainder_test_tonearest): Likewise.
18297 (remainder_test_towardzero): Likewise.
18298 (remainder_test_downward): Likewise.
18299 (remainder_test_upward): Likewise.
18300 (remquo_test): Likewise.
18301 (rint_test): Likewise.
18302 (rint_test_tonearest): Likewise.
18303 (rint_test_towardzero): Likewise.
18304 (rint_test_downward): Likewise.
18305 (rint_test_upward): Likewise.
18306 (round_test): Likewise.
18307 (scalb_test): Likewise.
18308 (scalbn_test): Likewise.
18309 (scalbln_test): Likewise.
18310 (signbit_test): Likewise.
18311 (sin_test): Likewise.
18312 (sin_test_tonearest): Likewise.
18313 (sin_test_towardzero): Likewise.
18314 (sin_test_downward): Likewise.
18315 (sin_test_upward): Likewise.
18316 (sincos_test): Likewise.
18317 (sinh_test): Likewise.
18318 (sinh_test_tonearest): Likewise.
18319 (sinh_test_towardzero): Likewise.
18320 (sinh_test_downward): Likewise.
18321 (sinh_test_upward): Likewise.
18322 (sqrt_test): Likewise.
18323 (tan_test): Likewise.
18324 (tan_test_tonearest): Likewise.
18325 (tan_test_towardzero): Likewise.
18326 (tan_test_downward): Likewise.
18327 (tan_test_upward): Likewise.
18328 (tanh_test): Likewise.
18329 (tgamma_test): Likewise.
18330 (trunc_test): Likewise.
18331 (y0_test): Likewise.
18332 (y1_test): Likewise.
18333 (yn_test): Likewise.
18334 (significand_test): Likewise.
18336 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18339 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18341 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18344 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18345 __ppc_mdoio and __ppc_mdoom.
18346 * manual/platform.texi: Document new functions __ppc_yield,
18347 __ppc_mdoio and __ppc_mdoom.
18349 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18351 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18352 (main): Mention "tls" pseudo-hwcap is legacy.
18353 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18355 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18357 * math/gen-libm-test.pl (parse_args): Output only string of
18358 arguments as text for test name, not full call or descriptions of
18359 tests for extra outputs.
18360 (generate_testfile): Do not pass function name to parse_args.
18361 Generate this_func variable from START.
18362 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18364 (struct test_ff_f_data): Likewise.
18365 (test_ff_f_data_nexttoward): Likewise.
18366 (struct test_fi_f_data): Likewise.
18367 (struct test_fl_f_data): Likewise.
18368 (struct test_if_f_data): Likewise.
18369 (struct test_fff_f_data): Likewise.
18370 (struct test_c_f_data): Likewise.
18371 (struct test_f_f1_data): Likewise. Remove field extra_name.
18372 (struct test_fF_f1_data): Likewise.
18373 (struct test_ffI_f1_data): Likewise.
18374 (struct test_c_c_data): Rename test_name field to arg_str.
18375 (struct test_cc_c_data): Likewise.
18376 (struct test_f_i_data): Likewise.
18377 (struct test_ff_i_data): Likewise.
18378 (struct test_f_l_data): Likewise.
18379 (struct test_f_L_data): Likewise.
18380 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18382 (COMMON_TEST_SETUP): New macro.
18383 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18384 (COMMON_TEST_CLEANUP): Likewise.
18385 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18386 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18388 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18389 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18391 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18392 (RUN_TEST_fff_f): Take argument string. Call new setup and
18394 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18395 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18397 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18398 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18400 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18401 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18403 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18404 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18406 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18407 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18409 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18410 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18412 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18413 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18415 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18416 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18418 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18419 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18421 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18422 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18424 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18425 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18427 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18428 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18430 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18431 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18433 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18434 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18436 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18437 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18439 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18441 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18443 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18444 to _sifields.sigfault.
18445 (si_addr_lsb): Define new macro.
18446 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18447 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18448 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18450 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18453 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18455 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18457 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18458 loading the domain.
18460 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18462 * math/gen-libm-test.pl (parse_args): Do not include expected
18463 result in test name.
18464 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18465 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18466 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18467 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18468 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18471 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18473 * benchtests/Makefile: Sort function entries.
18475 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18476 tanh, asinh, acosh, atanh.
18477 * benchtests/acos-inputs: New file.
18478 * benchtests/acosh-inputs: New file.
18479 * benchtests/asin-inputs: New file.
18480 * benchtests/asinh-inputs: New file.
18481 * benchtests/atanh-inputs: New file.
18482 * benchtests/cosh-inputs: New file.
18483 * benchtests/log-inputs: New file.
18484 * benchtests/sinh-inputs: New file.
18485 * benchtests/tanh-inputs: New file.
18487 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18490 * posix/tst-getaddrinfo4.c: New test.
18491 * posix/Makefile (tests): Add it.
18493 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18496 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18497 when no services were used.
18498 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18499 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18501 2013-05-21 Andreas Schwab <schwab@suse.de>
18504 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18505 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18507 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18508 redundant variable declarations and reallocation of buffer when
18509 parsing as IPv6 address. Always set NSS status when called from
18510 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18511 buffer too small. Correct computation of needed size.
18512 * nss/Makefile (tests): Add test-digits-dots.
18513 * nss/test-digits-dots.c: New test.
18515 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18517 * benchtests/Makefile: Remove instructions for adding
18519 * benchtests/README: New file to explain how to execute and
18520 enhance the benchmark tests.
18522 2013-05-21 Andreas Schwab <schwab@suse.de>
18525 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18526 * setjmp/tst-sigsetjmp.c: New test.
18528 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18530 * sysdeps/x86_64/memset.S (memset): New implementation.
18531 (__bzero): Likewise.
18532 (__memset_tail): New function.
18534 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18536 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18537 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18538 __memcpy_sse2_unaligned ifunc selection.
18539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18540 Add memcpy-sse2-unaligned.S.
18541 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18542 Add: __memcpy_sse2_unaligned.
18544 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18548 math_force_eval before restoring floating-point envrionment.
18549 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18552 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18554 (__nearbyintl): Use math_force_eval before restoring
18555 floating-point environment.
18556 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18558 * math/gen-libm-test.pl (special_functions): Remove.
18559 (parse_args): Don't handle TEST_extra. Handle functions with no
18561 * math/libm-test.inc (struct test_sincos_data): Replace with
18562 struct test_fFF_11_data.
18563 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18564 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18565 (sincos_test_data): Change element type to struct
18566 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18567 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18568 RUN_TEST_LOOP_sincos.
18569 * math/README.libm-test: Don't mention special handling of
18570 individual functions.
18571 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18572 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18573 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18574 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18575 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18578 * math/gen-libm-test.pl (get_variable): Remove function.
18579 (parse_args): Don't show pointer parameters to call in test
18580 names. Use "extra output N" in test names for extra outputs
18581 rather than naming variables.
18583 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18586 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18587 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18588 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18590 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18592 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18595 * math/gen-libm-test.pl (@tests): Remove variable.
18596 ($count): Likewise.
18597 (new_test): Remove function.
18598 (show_exceptions): New function.
18599 (special_functions): Use show_exceptions instead of new_test.
18600 (parse_args): Likewise.
18601 (generate_testfile): Pass only function name in generated call to
18602 print_max_error or print_complex_max_error.
18603 (get_ulps): Do not handle complex tests specially.
18604 (output_test): Rename to ...
18605 (get_all_ulps_for_test): ... this. Return a string rather than
18606 printing to a file. Require ulps to be present.
18607 (output_ulps): Generate arrays rather than #defines.
18608 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18609 (struct ulp_data): New type.
18610 (BUILD_COMPLEX_ULP): Remove macro.
18611 (compare_ulp_data): New function.
18612 (find_ulps): Likewise.
18613 (find_test_ulps): Likewise.
18614 (find_function_ulps): Likewise.
18615 (find_complex_function_ulps): Likewise.
18616 (print_max_error): Determine allowed ulps using
18617 find_function_ulps.
18618 (print_complex_max_error): Determine allowed ulps using
18619 find_complex_function_ulps.
18620 (check_float_internal): Determine max ulps using find_test_ulps.
18621 (check_float): Do not take max_ulp parameter. Update call to
18622 check_float_internal.
18623 (check_complex): Likewise.
18624 (check_int): Do not take max_ulp parameter.
18625 (check_long): Likewise.
18626 (check_bool): Likewise.
18627 (check_longlong): Likewise.
18628 (struct test_f_f_data): Remove max_ulp field.
18629 (struct test_ff_f_data): Likewise.
18630 (struct test_ff_f_data_nexttoward): Likewise.
18631 (struct test_fi_f_data): Likewise.
18632 (struct test_fl_f_data): Likewise.
18633 (struct test_if_f_data): Likewise.
18634 (struct test_fff_f_data): Likewise.
18635 (struct test_c_f_data): Likewise.
18636 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18637 (struct test_fF_f1_data): Likewise.
18638 (struct test_ffI_f1_data): Likewise.
18639 (struct test_c_c_data): Remove max_ulp field.
18640 (struct test_cc_c_data): Likewise.
18641 (struct test_f_i_data): Likewise.
18642 (struct test_ff_i_data): Likewise.
18643 (struct test_f_l_data): Likewise.
18644 (struct test_f_L_data): Likewise.
18645 (struct test_sincos_data): Likewise.
18646 (RUN_TEST_f_f): Do not handle ulps.
18647 (RUN_TEST_LOOP_f_f): Likewise.
18648 (RUN_TEST_2_f): Likewise.
18649 (RUN_TEST_LOOP_2_f): Likewise.
18650 (RUN_TEST_fff_f): Likewise.
18651 (RUN_TEST_LOOP_fff_f): Likewise.
18652 (RUN_TEST_c_f): Likewise.
18653 (RUN_TEST_LOOP_c_f): Likewise.
18654 (RUN_TEST_f_f1): Likewise.
18655 (RUN_TEST_LOOP_f_f1): Likewise.
18656 (RUN_TEST_fF_f1): Likewise.
18657 (RUN_TEST_LOOP_fF_f1): Likewise.
18658 (RUN_TEST_fI_f1): Likewise.
18659 (RUN_TEST_LOOP_fI_f1): Likewise.
18660 (RUN_TEST_ffI_f1): Likewise.
18661 (RUN_TEST_LOOP_ffI_f1): Likewise.
18662 (RUN_TEST_c_c): Likewise.
18663 (RUN_TEST_LOOP_c_c): Likewise.
18664 (RUN_TEST_cc_c): Likewise.
18665 (RUN_TEST_LOOP_cc_c): Likewise.
18666 (RUN_TEST_f_i): Likewise.
18667 (RUN_TEST_LOOP_f_i): Likewise.
18668 (RUN_TEST_f_i_tg): Likewise.
18669 (RUN_TEST_LOOP_f_i_tg): Likewise.
18670 (RUN_TEST_ff_i_tg): Likewise.
18671 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18672 (RUN_TEST_f_b): Likewise.
18673 (RUN_TEST_LOOP_f_b): Likewise.
18674 (RUN_TEST_f_b_tg): Likewise.
18675 (RUN_TEST_LOOP_f_b_tg): Likewise.
18676 (RUN_TEST_f_l): Likewise.
18677 (RUN_TEST_LOOP_f_l): Likewise.
18678 (RUN_TEST_f_L): Likewise.
18679 (RUN_TEST_LOOP_f_L): Likewise.
18680 (RUN_TEST_sincos): Likewise.
18681 (RUN_TEST_LOOP_sincos): Likewise.
18683 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18687 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18688 main case of finite arguments, set rounding mode to FE_TONEAREST
18689 and discard exceptions.
18690 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18692 (remainder_tonearest_test_data): New variable.
18693 (remainder_test_tonearest): New function.
18694 (remainder_towardzero_test_data): New variable.
18695 (remainder_test_towardzero): New function.
18696 (remainder_downward_test_data): New variable.
18697 (remainder_test_downward): New function.
18698 (remainder_upward_test_data): New variable.
18699 (remainder_test_upward): New function.
18700 (main): Call the new test functions.
18702 * math/libm-test.inc (struct test_f_f1_data): Remove field
18704 (struct test_fF_f1_data): Likewise.
18705 (struct test_ffI_f1_data): Likewise.
18706 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18707 based on value of EXTRA_EXPECTED.
18708 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18709 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18710 EXTRA_VAR based on value of EXTRA_EXPECTED.
18711 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18712 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18713 EXTRA_VAR based on value of EXTRA_EXPECTED.
18714 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18715 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18716 EXTRA_VAR based on value of EXTRA_EXPECTED.
18717 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18718 * math/gen-libm-test.pl (parse_args): Don't output initializers
18719 for extra output values.
18721 * math/libm-test.inc (check_int): Expect result to be exactly
18722 equal to expected value and do not handle ulps.
18723 (check_long): Likewise.
18724 (check_longlong): Likewise.
18726 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18728 (cimag_test_data): Likewise.
18729 (conj_test_data): Likewise.
18730 (copysign_test_data): Likewise.
18731 (cproj_test_data): Likewise.
18732 (creal_test_data): Likewise.
18733 (fabs_test_data): Likewise.
18734 (fdim_test_data): Likewise.
18735 (finite_test_data): Likewise.
18736 (floor_test_data): Likewise.
18737 (fmax_test_data): Likewise.
18738 (fmin_test_data): Likewise.
18739 (fmod_test_data): Likewise.
18740 (fpclassify_test_data): Likewise.
18741 (frexp_test_data): Likewise.
18742 (ilogb_test_data): Likewise.
18743 (isfinite_test_data): Likewise.
18744 (isgreater_test_data): Likewise.
18745 (isgreaterequal_test_data): Likewise.
18746 (isinf_test_data): Likewise.
18747 (isless_test_data): Likewise.
18748 (islessequal_test_data): Likewise.
18749 (islessgreater_test_data): Likewise.
18750 (isnan_test_data): Likewise.
18751 (isnormal_test_data): Likewise.
18752 (issignaling_test_data): Likewise.
18753 (isunordered_test_data): Likewise.
18754 (ldexp_test_data): Likewise.
18755 (lrint_test_data): Likewise.
18756 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18757 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18758 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18759 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18760 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18761 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18763 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18764 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18765 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18766 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18768 (lrint_downward_test_data): Test for "inexact" exceptions.
18769 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18770 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18771 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18773 (lrint_upward_test_data): Test for "inexact" exceptions.
18774 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18776 (llrint_test_data): Test for "inexact" exceptions.
18777 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18778 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18779 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18780 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18781 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18782 (llrint_downward_test_data): Test for "inexact" exceptions.
18783 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18784 (llrint_upward_test_data): Test for "inexact" exceptions.
18785 (logb_test_data): Likewise.
18786 (logb_downward_test_data): Likewise.
18787 (nextafter_test_data): Likewise.
18788 (nexttoward_test_data): Likewise.
18789 (remainder_test_data): Likewise.
18790 (remquo_test_data): Likewise.
18791 (scalbn_test_data): Likewise.
18792 (scalbln_test_data): Likewise.
18793 (signbit_test_data): Likewise.
18794 (sqrt_test_data): Likewise.
18795 (significand_test_data): Likewise.
18797 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18800 * benchtests/bench-modf.c (struct args): Mark arg0 as
18802 * scripts/bench.pl: Mark members of struct args as volatile.
18804 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18807 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18808 negative infinity on POWER6 or lower.
18809 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18811 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18814 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18815 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18816 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18817 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18818 (_FP_SETQNAN): New macro.
18819 (_FP_SETQNAN_SEMIRAW): Likewise.
18820 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18821 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18822 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18823 (FP_EXTEND): Use _FP_FRAC_SNANP.
18824 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18825 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18827 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18829 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18832 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18834 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18835 with DIVIDE_BY_ZERO_EXCEPTION.
18836 (gamma_test_data): Likewise.
18837 (lgamma_test_data): Likewise.
18838 (log_test_data): Likewise.
18839 (log10_test_data): Likewise.
18840 (log2_test_data): Likewise.
18841 (tgamma_test_data): Likewise.
18843 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18844 (acos_test_tonearest): Likewise.
18845 (acos_test_towardzero): Likewise.
18846 (acos_test_downward): Likewise.
18847 (acos_test_upward): Likewise.
18848 (acosh_test): Likewise.
18849 (asin_test): Likewise.
18850 (asin_test_tonearest): Likewise.
18851 (asin_test_towardzero): Likewise.
18852 (asin_test_downward): Likewise.
18853 (asin_test_upward): Likewise.
18854 (asinh_test): Likewise.
18855 (atan_test): Likewise.
18856 (atanh_test): Likewise.
18857 (atan2_test): Likewise.
18858 (cabs_test): Likewise.
18859 (cacos_test): Likewise.
18860 (cacosh_test): Likewise.
18861 (casin_test): Likewise.
18862 (casinh_test): Likewise.
18863 (catan_test): Likewise.
18864 (catanh_test): Likewise.
18865 (cbrt_test): Likewise.
18866 (ccos_test): Likewise.
18867 (ccosh_test): Likewise.
18868 (cexp_test): Likewise.
18869 (clog_test): Likewise.
18870 (clog10_test): Likewise.
18871 (cos_test): Likewise.
18872 (cos_test_tonearest): Likewise.
18873 (cos_test_towardzero): Likewise.
18874 (cos_test_downward): Likewise.
18875 (cos_test_upward): Likewise.
18876 (cosh_test): Likewise.
18877 (cosh_test_tonearest): Likewise.
18878 (cosh_test_towardzero): Likewise.
18879 (cosh_test_downward): Likewise.
18880 (cosh_test_upward): Likewise.
18881 (cpow_test): Likewise.
18882 (csin_test): Likewise.
18883 (csinh_test): Likewise.
18884 (csqrt_test): Likewise.
18885 (ctan_test): Likewise.
18886 (ctan_test_tonearest): Likewise.
18887 (ctan_test_towardzero): Likewise.
18888 (ctan_test_downward): Likewise.
18889 (ctan_test_upward): Likewise.
18890 (ctanh_test): Likewise.
18891 (ctanh_test_tonearest): Likewise.
18892 (ctanh_test_towardzero): Likewise.
18893 (ctanh_test_downward): Likewise.
18894 (ctanh_test_upward): Likewise.
18895 (erf_test): Likewise.
18896 (erfc_test): Likewise.
18897 (exp_test): Likewise.
18898 (exp_test_tonearest): Likewise.
18899 (exp_test_towardzero): Likewise.
18900 (exp_test_downward): Likewise.
18901 (exp_test_upward): Likewise.
18902 (exp10_test): Likewise.
18903 (exp2_test): Likewise.
18904 (expm1_test): Likewise.
18905 (fmod_test): Likewise.
18906 (gamma_test): Likewise.
18907 (hypot_test): Likewise.
18908 (j0_test): Likewise.
18909 (j1_test): Likewise.
18910 (jn_test): Likewise.
18911 (lgamma_test): Likewise.
18912 (log_test): Likewise.
18913 (log10_test): Likewise.
18914 (log1p_test): Likewise.
18915 (log2_test): Likewise.
18916 (logb_test_downward): Likewise.
18917 (pow_test): Likewise.
18918 (pow_test_tonearest): Likewise.
18919 (pow_test_towardzero): Likewise.
18920 (pow_test_downward): Likewise.
18921 (pow_test_upward): Likewise.
18922 (remainder_test): Likewise.
18923 (remquo_test): Likewise.
18924 (sin_test): Likewise.
18925 (sin_test_tonearest): Likewise.
18926 (sin_test_towardzero): Likewise.
18927 (sin_test_downward): Likewise.
18928 (sin_test_upward): Likewise.
18929 (sincos_test): Likewise.
18930 (sinh_test): Likewise.
18931 (sinh_test_tonearest): Likewise.
18932 (sinh_test_towardzero): Likewise.
18933 (sinh_test_downward): Likewise.
18934 (sinh_test_upward): Likewise.
18935 (sqrt_test): Likewise.
18936 (tan_test): Likewise.
18937 (tan_test_tonearest): Likewise.
18938 (tan_test_towardzero): Likewise.
18939 (tan_test_downward): Likewise.
18940 (tan_test_upward): Likewise.
18941 (tanh_test): Likewise.
18942 (tgamma_test): Likewise.
18943 (y0_test): Likewise.
18944 (y1_test): Likewise.
18945 (yn_test): Likewise.
18947 * math/gen-libm-test.pl (adjust_arg): Remove function.
18948 (special_function): Remove argument $in_func. Only handle
18949 generating output for tables of tests, not inside functions.
18950 (parse_args): Likewise.
18951 (generate_testfile): Remove variable $in_func. Update call to
18953 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18954 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18955 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18956 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18957 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18958 (MAX_VALUE_INIT): Rename macro to max_value.
18959 (MIN_VALUE_INIT): Rename macro to min_value.
18960 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18961 (plus_zero): Remove variable.
18962 (minus_zero): Likewise.
18963 (plus_infty): Likewise.
18964 (minus_infty): Likewise.
18965 (qnan_value): Likewise.
18966 (max_value): Likewise.
18967 (min_value): Likewise.
18968 (min_subnorm_value): Likewise.
18970 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18972 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18973 uint64_t or uint32_t usage.
18974 * crypt/sha256-block.c: Likewise.
18975 * crypt/sha256-crypt.c: Likewise.
18976 * crypt/sha256.c: Likewise.
18977 * crypt/sha512-block.c: Likewise.
18978 * crypt/sha512-crypt.c: Likewise.
18979 * crypt/sha512.c: Likewise.
18980 * debug/backtrace-tst.c: Likewise.
18981 * debug/pcprofiledump.c: Likewise.
18982 * elf/cache.c: Likewise.
18983 * elf/dl-cache.c: Likewise.
18984 * elf/dl-misc.c: Likewise.
18985 * elf/dl-profile.c: Likewise.
18986 * elf/dl-support.c: Likewise.
18987 * elf/ldconfig.c: Likewise.
18988 * elf/sprof.c: Likewise.
18989 * iconv/dummy-repertoire.c: Likewise.
18990 * iconv/iconv_charmap.c: Likewise.
18991 * iconv/skeleton.c: Likewise.
18992 * iconvdata/8bit-generic.c: Likewise.
18993 * iconvdata/cp737.h: Likewise.
18994 * iconvdata/cp775.h: Likewise.
18995 * iconvdata/ibm1008.h: Likewise.
18996 * iconvdata/ibm1025.h: Likewise.
18997 * iconvdata/ibm1046.h: Likewise.
18998 * iconvdata/ibm1097.h: Likewise.
18999 * iconvdata/ibm1112.h: Likewise.
19000 * iconvdata/ibm1122.h: Likewise.
19001 * iconvdata/ibm1123.h: Likewise.
19002 * iconvdata/ibm1124.h: Likewise.
19003 * iconvdata/ibm1129.h: Likewise.
19004 * iconvdata/ibm1130.h: Likewise.
19005 * iconvdata/ibm1132.h: Likewise.
19006 * iconvdata/ibm1133.h: Likewise.
19007 * iconvdata/ibm1137.h: Likewise.
19008 * iconvdata/ibm1140.h: Likewise.
19009 * iconvdata/ibm1141.h: Likewise.
19010 * iconvdata/ibm1142.h: Likewise.
19011 * iconvdata/ibm1143.h: Likewise.
19012 * iconvdata/ibm1144.h: Likewise.
19013 * iconvdata/ibm1145.h: Likewise.
19014 * iconvdata/ibm1146.h: Likewise.
19015 * iconvdata/ibm1147.h: Likewise.
19016 * iconvdata/ibm1148.h: Likewise.
19017 * iconvdata/ibm1149.h: Likewise.
19018 * iconvdata/ibm1153.h: Likewise.
19019 * iconvdata/ibm1154.h: Likewise.
19020 * iconvdata/ibm1155.h: Likewise.
19021 * iconvdata/ibm1156.h: Likewise.
19022 * iconvdata/ibm1157.h: Likewise.
19023 * iconvdata/ibm1158.h: Likewise.
19024 * iconvdata/ibm1160.h: Likewise.
19025 * iconvdata/ibm1161.h: Likewise.
19026 * iconvdata/ibm1162.h: Likewise.
19027 * iconvdata/ibm1163.h: Likewise.
19028 * iconvdata/ibm1164.h: Likewise.
19029 * iconvdata/ibm1166.h: Likewise.
19030 * iconvdata/ibm1167.h: Likewise.
19031 * iconvdata/ibm12712.h: Likewise.
19032 * iconvdata/ibm1390.h: Likewise.
19033 * iconvdata/ibm1399.h: Likewise.
19034 * iconvdata/ibm16804.h: Likewise.
19035 * iconvdata/ibm4517.h: Likewise.
19036 * iconvdata/ibm4899.h: Likewise.
19037 * iconvdata/ibm4909.h: Likewise.
19038 * iconvdata/ibm4971.h: Likewise.
19039 * iconvdata/ibm5347.h: Likewise.
19040 * iconvdata/ibm803.h: Likewise.
19041 * iconvdata/ibm856.h: Likewise.
19042 * iconvdata/ibm901.h: Likewise.
19043 * iconvdata/ibm902.h: Likewise.
19044 * iconvdata/ibm9030.h: Likewise.
19045 * iconvdata/ibm9066.h: Likewise.
19046 * iconvdata/ibm921.h: Likewise.
19047 * iconvdata/ibm922.h: Likewise.
19048 * iconvdata/ibm9448.h: Likewise.
19049 * iconvdata/isiri-3342.h: Likewise.
19050 * iconvdata/jis0201.h: Likewise.
19051 * include/link.h: Likewise.
19052 * include/netdb.h: Likewise.
19053 * inet/check_native.c: Likewise.
19054 * inet/check_pf.c: Likewise.
19055 * inet/getipv4sourcefilter.c: Likewise.
19056 * inet/getnameinfo.c: Likewise.
19057 * inet/getsourcefilter.c: Likewise.
19058 * inet/htonl.c: Likewise.
19059 * inet/setipv4sourcefilter.c: Likewise.
19060 * inet/setsourcefilter.c: Likewise.
19061 * inet/test-inet6_opt.c: Likewise.
19062 * inet/tst-network.c: Likewise.
19063 * locale/C-collate.c: Likewise.
19064 * locale/C-ctype.c: Likewise.
19065 * locale/C-time.c: Likewise.
19066 * locale/C-translit.h: Likewise.
19067 * locale/loadarchive.c: Likewise.
19068 * locale/programs/3level.h: Likewise.
19069 * locale/programs/charmap.c: Likewise.
19070 * locale/programs/charmap.h: Likewise.
19071 * locale/programs/ld-address.c: Likewise.
19072 * locale/programs/ld-collate.c: Likewise.
19073 * locale/programs/ld-ctype.c: Likewise.
19074 * locale/programs/ld-identification.c: Likewise.
19075 * locale/programs/ld-measurement.c: Likewise.
19076 * locale/programs/ld-messages.c: Likewise.
19077 * locale/programs/ld-monetary.c: Likewise.
19078 * locale/programs/ld-name.c: Likewise.
19079 * locale/programs/ld-numeric.c: Likewise.
19080 * locale/programs/ld-paper.c: Likewise.
19081 * locale/programs/ld-telephone.c: Likewise.
19082 * locale/programs/ld-time.c: Likewise.
19083 * locale/programs/linereader.c: Likewise.
19084 * locale/programs/locale.c: Likewise.
19085 * locale/programs/locarchive.c: Likewise.
19086 * locale/programs/locfile.h: Likewise.
19087 * locale/programs/repertoire.c: Likewise.
19088 * locale/programs/simple-hash.c: Likewise.
19089 * locale/programs/simple-hash.h: Likewise.
19090 * malloc/memusage.c: Likewise.
19091 * malloc/memusagestat.c: Likewise.
19092 * nis/nis_defaults.c: Likewise.
19093 * nis/nis_hash.c: Likewise.
19094 * nis/nis_print.c: Likewise.
19095 * nis/nis_xdr.c: Likewise.
19096 * nscd/connections.c: Likewise.
19097 * nscd/hstcache.c: Likewise.
19098 * nscd/nscd_gethst_r.c: Likewise.
19099 * nscd/nscd_getserv_r.c: Likewise.
19100 * nscd/nscd_helper.c: Likewise.
19101 * nscd/servicescache.c: Likewise.
19102 * nss/makedb.c: Likewise.
19103 * nss/nss_db/db-XXX.c: Likewise.
19104 * nss/nss_db/db-initgroups.c: Likewise.
19105 * nss/nss_db/db-netgrp.c: Likewise.
19106 * nss/nss_files/files-network.c: Likewise.
19107 * nss/nss_files/files-parse.c: Likewise.
19108 * posix/bug-regex5.c: Likewise.
19109 * posix/fnmatch_loop.c: Likewise.
19110 * posix/regcomp.c: Likewise.
19111 * posix/regexec.c: Likewise.
19112 * posix/tst-rfc3484-2.c: Likewise.
19113 * posix/tst-rfc3484-3.c: Likewise.
19114 * posix/tst-rfc3484.c: Likewise.
19115 * resolv/nss_dns/dns-canon.c: Likewise.
19116 * resolv/nss_dns/dns-network.c: Likewise.
19117 * resolv/res_init.c: Likewise.
19118 * resolv/res_mkquery.c: Likewise.
19119 * resolv/tst-aton.c: Likewise.
19120 * stdlib/cxa_atexit.c: Likewise.
19121 * stdlib/cxa_finalize.c: Likewise.
19122 * stdlib/gen-fpioconst.c: Likewise.
19123 * stdlib/strtol_l.c: Likewise.
19124 * string/tst-endian.c: Likewise.
19125 * sunrpc/auth_des.c: Likewise.
19126 * sunrpc/clnt_udp.c: Likewise.
19127 * sunrpc/rtime.c: Likewise.
19128 * sunrpc/svcauth_des.c: Likewise.
19129 * sunrpc/xdr.c: Likewise.
19130 * sunrpc/xdr_intXX_t.c: Likewise.
19131 * sunrpc/xdr_rec.c: Likewise.
19132 * sysdeps/generic/ldconfig.h: Likewise.
19133 * sysdeps/generic/ldsodefs.h: Likewise.
19134 * sysdeps/generic/memusage.h: Likewise.
19135 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19137 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19138 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19139 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19141 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19145 * sysdeps/posix/getaddrinfo.c: Likewise.
19146 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19147 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19148 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19149 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19150 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19151 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19152 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19153 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19154 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19155 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19156 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19157 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19158 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19159 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19160 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19161 * sysdeps/x86_64/dl-tls.h: Likewise.
19162 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19163 * time/alt_digit.c: Likewise.
19164 * time/era.c: Likewise.
19165 * wcsmbs/tst-c16c32-1.c: Likewise.
19167 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19169 * math/libm-test.inc (struct test_sincos_data): New type.
19170 (RUN_TEST_LOOP_sincos): New macro.
19171 (sincos_test_data): New variable.
19172 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19174 2013-05-16 Richard Henderson <rth@redhat.com>
19176 * math/atest-exp2.c (LIMB64): New macro.
19177 (CONSTSZ): New macro.
19178 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19180 (print_mpn_fp): ... to function scope.
19181 (read_mpn_hex): Remove.
19182 (get_log2): Remove.
19183 (exp2_mpn): Use mp_log2.
19184 (main): Use mp_exp1.
19186 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19188 * math/libm-test.inc: Remove comment about not testing "inexact"
19190 (INEXACT_EXCEPTION): New macro.
19191 (NO_INEXACT_EXCEPTION): Likewise.
19192 (INVALID_EXCEPTION_OK): Update value.
19193 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19194 (OVERFLOW_EXCEPTION_OK): Likewise.
19195 (UNDERFLOW_EXCEPTION_OK): Likewise.
19196 (IGNORE_ZERO_INF_SIGN): Likewise.
19197 (ERRNO_UNCHANGED): Likewise.
19198 (ERRNO_EDOM): Likewise.
19199 (ERRNO_ERANGE): Likewise.
19200 (test_exceptions): Handle testing "inexact" exceptions.
19201 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19202 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19203 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19204 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19206 (rint_towardzero_test_data): Likewise.
19207 (rint_downward_test_data): Likewise.
19208 (rint_upward_test_data): Likewise.
19210 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19211 with OVERFLOW_EXCEPTION.
19212 (exp10_test_data): Likewise.
19213 (exp2_test_data): Likewise.
19214 (expm1_test_data): Likewise.
19215 (lgamma_test_data): Likewise.
19216 (pow_test_data): Likewise.
19217 (tgamma_test_data): Likewise.
19218 (yn_test_data): Remove duplicate test of overflow.
19220 * math/libm-test.inc (struct test_cc_c_data): New type.
19221 (RUN_TEST_LOOP_cc_c): New macro.
19222 (cpow_test_data): New variable.
19223 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19225 * math/libm-test.inc (struct test_f_L_data): New type.
19226 (RUN_TEST_LOOP_f_L): New macro.
19227 (llrint_test_data): New variable.
19228 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19229 (llrint_tonearest_test_data): New variable.
19230 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19231 (llrint_towardzero_test_data): New variable.
19232 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19233 (llrint_downward_test_data): New variable.
19234 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19235 (llrint_upward_test_data): New variable.
19236 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19237 (llround_test_data): New variable.
19238 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19240 2013-05-13 Peter Collingbourne <pcc@google.com>
19242 * math/atest-exp2.c (get_log2): Remove const attribute.
19244 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19246 * math/libm-test.inc (struct test_f_l_data): New type.
19247 (RUN_TEST_LOOP_f_l): New macro.
19248 (lrint_test_data): New variable.
19249 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19250 (lrint_tonearest_test_data): New variable.
19251 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19252 (lrint_towardzero_test_data): New variable.
19253 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19254 (lrint_downward_test_data): New variable.
19255 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19256 (lrint_upward_test_data): New variable.
19257 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19258 (lround_test_data): New variable.
19259 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19261 2013-05-15 Peter Collingbourne <pcc@google.com>
19263 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19264 (EXTRACT_WORDS64) Use where appropriate.
19265 (INSERT_WORDS64) Likewise.
19267 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19268 constraints with x constraints.
19269 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19271 * malloc/obstack.c (_obstack_compat): Add initializer.
19273 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19275 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19276 si_trapno and add si_addr_lsb to _sifields.sigfault.
19277 (si_trapno): Remove macro.
19278 (si_addr_lsb): Define new macro.
19279 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19281 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19283 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19284 instead of TEST_f_l.
19285 (llrint_test_tonearest): Likewise.
19286 (llrint_test_towardzero): Likewise.
19287 (llrint_test_downward): Likewise.
19288 (llrint_test_upward): Likewise.
19289 (llround_test): Likewise.
19291 * math/libm-test.inc (struct test_f_i_data): Add comment.
19292 (RUN_TEST_LOOP_f_b): New macro.
19293 (RUN_TEST_LOOP_f_b_tg): Likewise.
19294 (finite_test_data): New variable.
19295 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19296 (isfinite_test_data): New variable.
19297 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19298 (isinf_test_data): New variable.
19299 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19300 (isnan_test_data): New variable.
19301 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19302 (isnormal_test_data): New variable.
19303 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19304 (issignaling_test_data): New variable.
19305 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19306 (signbit_test_data): New variable.
19307 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19309 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19310 with INVALID_EXCEPTION.
19311 (acosh_test_data): Likewise.
19312 (asin_test_data): Likewise.
19313 (atanh_test_data): Likewise.
19314 (fmod_test_data): Likewise.
19315 (log_test_data): Likewise.
19316 (log10_test_data): Likewise.
19317 (log2_test_data): Likewise.
19318 (pow_test_data): Likewise.
19319 (sqrt_test_data): Likewise.
19320 (y0_test_data): Likewise.
19321 (y1_test_data): Likewise.
19322 (yn_test_data): Likewise.
19324 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19327 * math/libm-test.inc (struct test_ff_i_data): New type.
19328 (RUN_TEST_LOOP_ff_i_tg): New macro.
19329 (isgreater_test_data): New variable.
19330 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19331 (isgreaterequal_test_data): New variable.
19332 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19333 (isless_test_data): New variable.
19334 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19335 (islessequal_test_data): New variable.
19336 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19337 (islessgreater_test_data): New variable.
19338 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19339 (isunordered_test_data): New variable.
19340 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19342 2013-05-14 David S. Miller <davem@davemloft.net>
19344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19346 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19348 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19350 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19352 (struct test_f_i_data): Change type of max_ulp to int.
19354 * math/libm-test.inc (test_ffI_f1_data): New type.
19355 (RUN_TEST_LOOP_ffI_f1): New macro.
19356 (remquo_test_data): New variable.
19357 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19359 * setjmp/tst-setjmp-fp.c: New file.
19360 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19361 (link-libm): New variable.
19362 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19364 * math/libm-test.inc (struct test_f_i_data): New type.
19365 (RUN_TEST_LOOP_f_i): New macro.
19366 (RUN_TEST_LOOP_f_i_tg): Likewise.
19367 (fpclassify_test_data): New variable.
19368 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19369 (ilogb_test_data): New variable.
19370 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19372 * math/libm-test.inc (scalbln_test): Correct function name in END
19375 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19376 (RUN_TEST_LOOP_fI_f1): New macro.
19377 (frexp_test_data): New variable.
19378 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19380 * math/libm-test.inc (struct test_fF_f1_data): New type.
19381 (RUN_TEST_LOOP_fF_f1): New macro.
19382 (modf_test_data): New variable.
19383 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19385 * math/libm-test.inc (struct test_f_f1_data): New type.
19386 (RUN_TEST_LOOP_f_f1): New macro.
19387 (gamma_test_data): New variable.
19388 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19389 (lgamma_test_data): New variable.
19390 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19392 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19394 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19395 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19396 (main): Comment "tls" pseudo-hwcap.
19398 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19400 * math/libm-test.inc (struct test_fl_f_data): New type.
19401 (RUN_TEST_LOOP_fl_f): New variable.
19402 (scalbln_test_data): New variable.
19403 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19405 * math/libm-test.inc (struct test_fi_f_data): New type.
19406 (RUN_TEST_LOOP_fi_f): New macro.
19407 (ldexp_test_data): New variable.
19408 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19409 (scalbn_test_data): New variable.
19410 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19412 * math/libm-test.inc (struct test_c_f_data): New type.
19413 (RUN_TEST_LOOP_c_f): New macro.
19414 (cabs_test_data): New variable.
19415 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19416 (carg_test_data): New variable.
19417 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19418 (cimag_test_data): New variable.
19419 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19420 (creal_test_data): New variable.
19421 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19423 * math/libm-test.inc (struct test_if_f_data): New type.
19424 (RUN_TEST_LOOP_if_f): New macro.
19425 (jn_test_data): New variable.
19426 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19427 (yn_test_data): New variable.
19428 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19430 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19432 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19434 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19435 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19437 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19439 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19440 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19441 (bench-deps): Add bench-timing.h.
19442 * benchtests-bench-skeleton.c: Include bench-timing.h.
19443 (main): Use TIMING_* macros instead of clock_gettime.
19444 * benchtests/bench-timing.h: New file.
19447 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19448 Renamed from _LIB_VERSION.
19449 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19451 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19453 * math/libm-test.inc (struct test_fff_f_data): New type.
19454 (RUN_TEST_LOOP_fff_f): New macro.
19455 (fma_test_data): New variable.
19456 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19457 (fma_towardzero_test_data): New variable.
19458 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19459 (fma_downward_test_data): New variable.
19460 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19461 (fma_upward_test_data): New variable.
19462 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19464 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19465 (struct test_c_c_data): New type.
19466 (RUN_TEST_LOOP_c_c): New macro.
19467 (cacos_test_data): New variable.
19468 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19469 (cacosh_test_data): New variable.
19470 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19471 (casin_test_data): New variable.
19472 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19473 (casinh_test_data): New variable.
19474 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19475 (catan_test_data): New variable.
19476 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19477 (catanh_test_data): New variable.
19478 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19479 (ccos_test_data): New variable.
19480 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19481 (ccosh_test_data): New variable.
19482 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19483 (cexp_test_data): New variable.
19484 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19485 (clog_test_data): New variable.
19486 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19487 (clog10_test_data): New variable.
19488 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19489 (conj_test_data): New variable.
19490 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19491 (cproj_test_data): New variable.
19492 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19493 (csin_test_data): New variable.
19494 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19495 (csinh_test_data): New variable.
19496 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19497 (csqrt_test_data): New variable.
19498 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19499 (ctan_test_data): New variable.
19500 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19501 (ctan_tonearest_test_data): New variable.
19502 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19503 (ctan_towardzero_test_data): New variable.
19504 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19505 (ctan_downward_test_data): New variable.
19506 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19507 (ctan_upward_test_data): New variable.
19508 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19509 (ctanh_test_data): New variable.
19510 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19511 (ctanh_tonearest_test_data): New variable.
19512 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19513 (ctanh_towardzero_test_data): New variable.
19514 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19515 (ctanh_downward_test_data): New variable.
19516 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19517 (ctanh_upward_test_data): New variable.
19518 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19519 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19522 * math/libm-test.inc (struct test_ff_f_data): New type.
19523 (struct test_ff_f_data_nexttoward): Likewise.
19524 (RUN_TEST_LOOP_2_f): New macro.
19525 (RUN_TEST_LOOP_ff_f): Likewise.
19526 (atan2_test_data): New variable.
19527 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19528 (copysign_test_data): New variable.
19529 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19530 (fdim_test_data): New variable.
19531 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19532 (fmax_test_data): New variable.
19533 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19534 (fmin_test_data): New variable.
19535 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19536 (fmod_test_data): New variable.
19537 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19538 (hypot_test_data): New variable.
19539 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19540 (nextafter_test_data): New variable.
19541 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19542 (nexttoward_test_data): New variable.
19543 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19544 (pow_test_data): New variable.
19545 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19546 (pow_tonearest_test_data): New variable.
19547 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19548 (pow_towardzero_test_data): New variable.
19549 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19550 (pow_downward_test_data): New variable.
19551 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19552 (pow_upward_test_data): New variable.
19553 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19554 (remainder_test_data): New variable.
19555 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19556 (scalb_test_data): New variable.
19557 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19558 * sysdeps/i386/fpu/libm-test-ulps: Update.
19560 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19562 * math/libm-test.inc (fma_test): Use max_value instead of local
19564 (nextafter_test): Likewise.
19566 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19567 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19568 (acos_downward_test_data): New variable.
19569 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19570 (acos_upward_test_data): New variable.
19571 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19572 (acosh_test_data): New variable.
19573 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19574 (asin_test_data): New variable.
19575 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19576 (asin_tonearest_test_data): New variable.
19577 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19578 (asin_towardzero_test_data): New variable.
19579 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19580 (asin_downward_test_data): New variable.
19581 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19582 (asin_upward_test_data): New variable.
19583 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19584 (asinh_test_data): New variable.
19585 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19586 (atan_test_data): New variable.
19587 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19588 (atanh_test_data): New variable.
19589 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19590 (cbrt_test_data): New variable.
19591 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19592 (ceil_test_data): New variable.
19593 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19594 (cos_test_data): New variable.
19595 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19596 (cos_tonearest_test_data): New variable.
19597 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19598 (cos_towardzero_test_data): New variable.
19599 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19600 (cos_downward_test_data): New variable.
19601 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19602 (cos_upward_test_data): New variable.
19603 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19604 (cosh_test_data): New variable.
19605 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19606 (cosh_tonearest_test_data): New variable.
19607 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19608 (cosh_towardzero_test_data): New variable.
19609 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19610 (cosh_downward_test_data): New variable.
19611 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19612 (cosh_upward_test_data): New variable.
19613 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19614 (erf_test_data): New variable.
19615 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19616 (erfc_test_data): New variable.
19617 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19618 (exp_test_data): New variable.
19619 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19620 (exp_tonearest_test_data): New variable.
19621 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19622 (exp_towardzero_test_data): New variable.
19623 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19624 (exp_downward_test_data): New variable.
19625 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19626 (exp_upward_test_data): New variable.
19627 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19628 (exp10_test_data): New variable.
19629 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19630 (exp2_test_data): New variable.
19631 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19632 (expm1_test_data): New variable.
19633 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19634 (fabs_test_data): New variable.
19635 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19636 (floor_test_data): New variable.
19637 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19638 (j0_test_data): New variable.
19639 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19640 (j1_test_data): New variable.
19641 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19642 (log_test_data): New variable.
19643 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19644 (log10_test_data): New variable.
19645 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19646 (log1p_test_data): New variable.
19647 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19648 (log2_test_data): New variable.
19649 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19650 (logb_test_data): New variable.
19651 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19652 (logb_downward_test_data): New variable.
19653 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19654 (nearbyint_test_data): New variable.
19655 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19656 (rint_test_data): New variable.
19657 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19658 (rint_tonearest_test_data): New variable.
19659 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19660 (rint_towardzero_test_data): New variable.
19661 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19662 (rint_downward_test_data): New variable.
19663 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19664 (rint_upward_test_data): New variable.
19665 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19666 (round_test_data): New variable.
19667 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19668 (sin_test_data): New variable.
19669 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19670 (sin_tonearest_test_data): New variable.
19671 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19672 (sin_towardzero_test_data): New variable.
19673 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19674 (sin_downward_test_data): New variable.
19675 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19676 (sin_upward_test_data): New variable.
19677 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19678 (sinh_test_data): New variable.
19679 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19680 (sinh_tonearest_test_data): New variable.
19681 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19682 (sinh_towardzero_test_data): New variable.
19683 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19684 (sinh_downward_test_data): New variable.
19685 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19686 (sinh_upward_test_data): New variable.
19687 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19688 (sqrt_test_data): New variable.
19689 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19690 (tan_test_data): New variable.
19691 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19692 (tan_tonearest_test_data): New variable.
19693 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19694 (tan_towardzero_test_data): New variable.
19695 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19696 (tan_downward_test_data): New variable.
19697 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19698 (tan_upward_test_data): New variable.
19699 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19700 (tanh_test_data): New variable.
19701 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19702 (tgamma_test_data): New variable.
19703 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19704 (trunc_test_data): New variable.
19705 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19706 (y0_test_data): New variable.
19707 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19708 (y1_test_data): New variable.
19709 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19710 (significand_test_data): New variable.
19711 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19713 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19716 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19718 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19720 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19722 2013-05-10 Andreas Jaeger <aj@suse.de>
19725 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19726 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19728 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19730 * math/gen-libm-test.pl (adjust_arg): New function.
19731 (special_functions): Handle generating output in both functions
19733 (parse_args): Likewise.
19734 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19735 $in_func argument to parse_args.
19736 * math/libm-test.inc (struct test_f_f_data): New type.
19737 (IF_ROUND_INIT_): New macro.
19738 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19739 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19740 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19741 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19742 (ROUND_RESTORE_): Likewise.
19743 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19744 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19745 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19746 (ROUND_RESTORE_FE_UPWARD): Likewise.
19747 (RUN_TEST_LOOP_f_f): New macro.
19748 (acos_test_data): New variable.
19749 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19750 (acos_tonearest_test_data): New variable.
19751 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19753 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19755 * benchtests/bench-skeleton.c (startup): Fix coding style.
19757 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19760 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19761 negative infinity argument.
19762 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19763 negative infinity argument.
19764 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19765 negative infinity argument.
19766 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19769 2013-05-10 Florian Weimer <fweimer@redhat.com>
19771 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19772 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19773 * iconv/iconv_prog.c (main): Likewise.
19774 * locale/programs/charmap-dir.c (charmap_readdir)
19775 (fopen_uncompressed): Likewise.
19776 * locale/programs/locfile.c (siblings_uncached)
19777 (write_locale_data): Use lstat64 instead of lstat.
19778 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19781 2013-05-10 Andreas Jaeger <aj@suse.de>
19784 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19786 Include <locale.h>.
19788 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19790 * elf/dl-close.c (_dl_close_worker): Add comments.
19792 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19795 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19797 (__ieee754_rem_pio2l): Update comments.
19800 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19802 (__ieee754_rem_pio2l): Update comments.
19804 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19805 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19807 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19810 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19811 (M_PI_34_LOG10El): Likewise.
19812 (M_PI2_LOG10El): Likewise.
19813 (M_PI4_LOG10El): Likewise.
19814 (M_PI_LOG10El): Likewise.
19816 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19820 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19822 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19823 (MINUS_ZERO_INIT): Likewise.
19824 (PLUS_INFTY_INIT): Likewise.
19825 (MINUS_INFTY_INIT): Likewise.
19826 (QNAN_VALUE_INIT): Likewise.
19827 (MAX_VALUE_INIT): Likewise.
19828 (MIN_VALUE_INIT): Likewise.
19829 (MIN_SUBNORM_VALUE_INIT): Likewise.
19830 (plus_zero): Initialize with PLUS_ZERO_INIT.
19831 (minus_zero): Initialize with MINUS_ZERO_INIT.
19832 (plus_infty): Initialize with PLUS_INFTY_INIT.
19833 (minus_infty): Initialize with MINUS_INFTY_INIT.
19834 (qnan_value): Initialize with QNAN_VALUE_INIT.
19835 (max_value): Initialize with MAX_VALUE_INIT.
19836 (min_value): Initialize with MIN_VALUE_INIT.
19837 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19839 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19840 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19841 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19842 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19844 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19845 (RUN_TEST_2_f): Likewise.
19846 (RUN_TEST_ff_f): Likewise.
19847 (RUN_TEST_fi_f): Likewise.
19848 (RUN_TEST_fl_f): Likewise.
19849 (RUN_TEST_fff_f): Likewise.
19850 (RUN_TEST_c_f): Likewise.
19851 (RUN_TEST_f_f1): Likewise.
19852 (RUN_TEST_fF_f1): Likewise.
19853 (RUN_TEST_fI_f1): Likewise.
19854 (RUN_TEST_ffI_f1): Likewise.
19855 (RUN_TEST_c_c): Likewise.
19856 (RUN_TEST_cc_c): Likewise.
19857 (RUN_TEST_f_i): Likewise.
19858 (RUN_TEST_f_i_tg): Likewise.
19859 (RUN_TEST_ff_i_tg): Likewise.
19860 (RUN_TEST_f_b): Likewise.
19861 (RUN_TEST_f_b_tg): Likewise.
19862 (RUN_TEST_f_l): Likewise.
19863 (RUN_TEST_f_L): Likewise.
19864 (RUN_TEST_sincos): Likewise.
19865 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19866 whether to show exceptions. Do not include ");\n" in return
19868 (special_functions): Output call to RUN_TEST_sincos instead of
19869 check_float calls. Update calls to new_test.
19870 (parse_args): Output call to single RUN_TEST_* macro instead of
19871 check_* calls and other assignments. Update calls to new_test.
19877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19878 input to result for tgamma overflow.
19879 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19880 (gamma_coeff): New variable.
19881 (NCOEFF): New macro.
19882 (gamma_positive): New function.
19883 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19884 underflow here. Use gamma_positive instead of exp (lgamma) for
19886 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19887 (gamma_coeff): New variable.
19888 (NCOEFF): New macro.
19889 (gammaf_positive): New function.
19890 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19891 underflow here. Use gamma_positive instead of exp (lgamma) for
19893 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19894 (gamma_coeff): New variable.
19895 (NCOEFF): New macro.
19896 (gammal_positive): New function.
19897 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19898 underflow here. Use gamma_positive instead of exp (lgamma) for
19900 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19901 (gamma_coeff): New variable.
19902 (NCOEFF): New macro.
19903 (gammal_positive): New function.
19904 (__ieee754_gammal_r): Handle positive infinity, overflow and
19905 underflow here. Handle NaN the same as positive infinity. Remove
19906 check x < 0xffffffff for negative integers. Use gamma_positive
19907 instead of exp (lgamma) for other arguments.
19908 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19909 (gamma_coeff): New variable.
19910 (NCOEFF): New macro.
19911 (gammal_positive): New function.
19912 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19913 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19914 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19915 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19916 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19917 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19918 * sysdeps/generic/math_private.h (__gamma_productf): New
19920 (__gamma_product): Likewise.
19921 (__gamma_productl): Likewise.
19922 * math/Makefile (libm-calls): Add gamma_product.
19923 * math/libm-test.inc (tgamma_test): Add more tests.
19924 * sysdeps/i386/fpu/libm-test-ulps: Update.
19925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19927 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19929 * benchtests/bench-skeleton.c (main): Preheat CPU.
19931 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19933 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19935 2013-05-07 Roland McGrath <roland@hack.frob.com>
19937 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19938 and _dl_skip_args_internal.
19940 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19942 * manual/message.texi (Message Translation): Talk about users.
19943 Message to key mapping impacts design.
19945 2013-05-06 Roland McGrath <roland@hack.frob.com>
19947 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19949 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19951 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19952 * sysdeps/wordsize-64/glob64.c: ... here.
19954 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19955 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19958 * debug/getlogin_r_chk.c: Moved to ...
19959 * login/getlogin_r_chk.c: ... here.
19960 * debug/Makefile (routines): Move getlogin_r_chk to ...
19961 * login/Makefile (routines): ... here.
19962 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19963 * login/Versions (libc: GLIBC_2.4): ... here.
19965 * io/poll.c (__poll): Renamed from poll.
19966 Add libc_hidden_def.
19967 (poll): Define as weak alias.
19969 * debug/ptsname_r_chk.c: Moved to ...
19970 * login/ptsname_r_chk.c: ... here.
19971 * debug/Makefile (routines): Move ptsname_r_chk to ...
19972 * login/Makefile (routines): ... here.
19973 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19974 * login/Versions (libc: GLIBC_2.4): ... here.
19976 * posix/getlogin.c: Moved to ...
19977 * login/getlogin.c: ... here.
19978 * posix/getlogin_r.c: Moved to ...
19979 * login/getlogin_r.c: ... here.
19980 * posix/getlogin_r.c: Moved to ...
19981 * login/getlogin_r.c: ... here.
19982 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19983 * login/Makefile (routines): ... here.
19984 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19985 * login/Versions (libc: GLIBC_2.0): ... here.
19987 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19988 (setrlimit): Define as weak alias.
19990 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19991 Call __ names for open, ftruncate, and close.
19992 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19993 (truncate): Define as weak alias.
19995 2013-05-06 Joseph Myers <joseph@codesourcery.com>
19997 * math/gen-libm-test.pl (parse_args): Initialize x before each
19998 test of frexp, modf and remquo.
20000 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20001 test signgam value.
20003 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20007 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20009 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20011 2013-05-06 Roland McGrath <roland@hack.frob.com>
20013 * elf/dl-writev.h: New file.
20014 * elf/dl-misc.c: Include it.
20015 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20016 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20018 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20020 * math/libm-test.inc (noXFails): Remove variable.
20021 (noXPasses): Likewise.
20022 (BUILD_COMPLEX_INT): Remove macro.
20023 (print_screen): Remove xfail argument.
20024 (print_screen_max_error): Likewise.
20025 (update_stats): Likewise.
20026 (print_max_error): Likewise. Update calls to other affected
20028 (print_complex_max_error): Likewise.
20029 (test_single_exception): Update calls to print_screen.
20030 (test_single_errno): Likewise.
20031 (check_float_internal): Remove xfail argument. Update calls to
20032 other affected functions.
20033 (check_float): Likewise.
20034 (check_complex): Likewise.
20035 (check_int): Likewise.
20036 (check_long): Likewise.
20037 (check_bool): Likewise.
20038 (check_longlong): Likewise.
20039 (main): Don't print noXFails and noXPasses.
20040 * math/gen-libm-test.pl (top level): Don't mention expected
20041 failure handling in comment.
20042 (new_test): Don't handle expected failures.
20043 (parse_args): Don't mention expected failure handling in comment.
20044 (generate_testfile): Don't handle expected failures.
20045 (parse_ulps): Likewise.
20046 (print_ulps_file): Likewise.
20047 (get_failure): Remove function.
20048 (output_test): Don't handle expected failures.
20049 * make/README.libm-test: Don't mention expected failure handling.
20051 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20052 (minus_zero): Likewise.
20053 (plus_infty): Likewise.
20054 (minus_infty): Likewise.
20055 (qnan_value): Likewise.
20056 (max_value): Likewise.
20057 (min_value): Likewise.
20058 (min_subnorm_value): Likewise.
20059 (initialize): Do not initialize those variables dynamically.
20061 2013-05-03 Roland McGrath <roland@hack.frob.com>
20063 * io/open.c (__open_2): Moved to ...
20064 * io/open_2.c: ... this new file.
20065 * io/open64.c (__open64_2): Moved to ...
20066 * io/open64_2.c: ... this new file.
20067 * io/openat.c (__openat_2): Moved to ...
20068 * io/openat_2.c: ... this new file.
20069 * io/openat64.c (__openat64_2): Moved to ...
20070 * io/openat64_2.c: ... this new file.
20071 * io/Makefile (routines): Add them.
20072 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20073 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20074 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20075 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20076 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20077 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20078 (__openat64): Add hidden_ver.
20079 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20080 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20082 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20083 Separately conditionalize setting of GLRO(dl_sysinfo) so
20084 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20085 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20087 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20089 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20090 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20092 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20093 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20094 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20095 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20096 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20098 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20100 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20101 test signgam value.
20103 * math/libm-test.inc (hypot_test): Do not use
20104 IGNORE_ZERO_INF_SIGN.
20106 2013-05-03 Andreas Jaeger <aj@suse.de>
20108 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20110 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20111 (PF_MAX): Adjust for VSOCK change.
20113 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20115 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20117 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20120 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20121 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20122 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20124 2013-05-02 David S. Miller <davem@davemloft.net>
20126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20128 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20130 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20132 2013-05-01 Roland McGrath <roland@hack.frob.com>
20134 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20136 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20139 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20140 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20141 Use __attribute__ ((__gnu_inline__)).
20142 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20143 Don't use __attribute__ ((__gnu_inline__)).
20145 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20148 * math/s_catan.c (__catan): Handle small real or imaginary part of
20149 input specially to avoid spurious underflow.
20150 * math/s_catanf.c (__catanf): Likewise.
20151 * math/s_catanh.c (__catanh): Likewise.
20152 * math/s_catanhf.c (__catanhf): Likewise.
20153 * math/s_catanhl.c (__catanhl): Likewise.
20154 * math/s_catanl.c (__catanl): Likewise.
20155 * math/libm-test.inc (catan_test): Add more tests.
20156 (catanh_test): Likewise.
20157 * sysdeps/i386/fpu/libm-test-ulps: Update.
20158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20160 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20164 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20167 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20168 accurately for denominator in atan2.
20169 * math/s_catanf.c (__catanf): Likewise.
20170 * math/s_catanh.c (__catanh): Likewise.
20171 * math/s_catanhf.c (__catanhf): Likewise.
20172 * math/s_catanhl.c (__catanhl): Likewise.
20173 * math/s_catanl.c (__catanl): Likewise.
20174 * math/libm-test.inc (catan_test): Add more tests.
20175 (catanh_test): Likewise.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20179 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20181 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20183 * benchtests/Makefile (bench): Remove slow benchmarks.
20184 * benchtests/atan-inputs: Add slow benchmark inputs.
20185 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20186 (BENCH_FUNC): Accept variant offset.
20188 * benchtests/bench-skeleton.c (main): Run benchmark for each
20190 * benchtests/cos-inputs: Add slow benchmark inputs.
20191 * benchtests/exp-inputs: Likewise.
20192 * benchtests/pow-inputs: Likewise.
20193 * benchtests/sin-inputs: Likewise.
20194 * benchtests/slowatan-inputs: Remove.
20195 * benchtests/slowatan.c: Remove.
20196 * benchtests/slowcos-inputs: Remove.
20197 * benchtests/slowcos.c: Remove.
20198 * benchtests/slowexp-inputs: Remove.
20199 * benchtests/slowexp.c: Remove.
20200 * benchtests/slowpow-inputs: Remove.
20201 * benchtests/slowpow.c: Remove.
20202 * benchtests/slowsin-inputs: Remove.
20203 * benchtests/slowsin.c: Remove.
20204 * benchtests/slowtan-inputs: Remove.
20205 * benchtests/slowtan.c: Remove.
20206 * benchtests/tan-inputs: Add slow benchmark inputs.
20207 * scripts/bench.pl: Parse comments and directives.
20209 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20211 ($(objpfx)bench-%.c): Remove *-ITER.
20212 * benchtests/bench-modf.c: Remove definition of ITER.
20213 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20214 (main): Loop for DURATION seconds instead of fixed number of
20216 * scripts/bench.pl: Don't expect iterations in parameters.
20218 2013-04-29 Roland McGrath <roland@hack.frob.com>
20220 * io/fchdir.c (__fchdir): Renamed from fchdir.
20221 (fchdir): Define as weak alias.
20223 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20225 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20226 (ERRNO_EDOM): Likewise.
20227 (ERRNO_ERANGE): Likewise.
20228 (noErrnoTests): New variable.
20229 (init_max_error): Set errno to 0.
20230 (test_single_errno): New function.
20231 (test_errno): Likewise.
20232 (check_float_internal): Call test_errno. Set errno to 0.
20233 (check_complex): Refer to errno tests in comment.
20234 (check_int): Call test_errno. Set errno to 0.
20235 (check_long): Likewise.
20236 (check_bool): Likewise.
20237 (check_longlong): Likewise.
20238 (cos_test): Use ERRNO_* flags for errno tests instead of
20240 (expm1_test): Likewise.
20241 (fmod_test): Likewise.
20242 (ilogb_test): Likewise.
20243 (lgamma_test): Likewise.
20244 (pow_test): Likewise.
20245 (remainder_test): Likewise.
20246 (sin_test): Likewise.
20247 (tan_test): Likewise.
20248 (yn_test): Likewise.
20249 (initialize): Set errno to 0.
20250 (main): Print number of errno tests.
20251 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20253 2013-04-29 Andreas Jaeger <aj@suse.de>
20256 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20260 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20261 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20265 * stdlib/random.c (__initstate): Return NULL if
20269 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20270 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20273 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20277 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20279 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20280 of individual tests.
20281 (casin_test): Likewise.
20282 (casinh_test): Likewise.
20284 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20287 * math/s_catan.c (__catan): Handle arguments with large real or
20288 imaginary part separately without squaring.
20289 * math/s_catanf.c (__catanf): Likewise.
20290 * math/s_catanh.c (__catanh): Likewise.
20291 * math/s_catanhf.c (__catanhf): Likewise.
20292 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20294 (__catanhl): Handle arguments with large real or imaginary part
20295 separately without squaring.
20296 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20298 (__catanl): Handle arguments with large real or imaginary part
20299 separately without squaring.
20300 * math/libm-test.inc (catan_test): Add more tests.
20301 (catanh_test): Likewise.
20302 * sysdeps/i386/fpu/libm-test-ulps: Update.
20303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20305 2013-04-27 Andreas Jaeger <aj@suse.de>
20308 * stdlib/stdlib.h: Update guards for qecvt.
20309 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20312 2013-04-27 Allan McRae <allan@archlinux.org>
20314 * sysdeps/i386/fpu/libm-test-ulps: Update.
20316 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20319 * math/s_catan.c: Include <float.h>.
20320 (__catan): Ensure underflow exception occurs for underflowed
20322 * math/s_catanf.c: Include <float.h>.
20323 (__catanf): Ensure underflow exception occurs for underflowed
20325 * math/s_catanh.c: Include <float.h>.
20326 (__catanh): Ensure underflow exception occurs for underflowed
20328 * math/s_catanhf.c: Include <float.h>.
20329 (__catanhf): Ensure underflow exception occurs for underflowed
20331 * math/s_catanhl.c: Include <float.h>.
20332 (__catanhl): Ensure underflow exception occurs for underflowed
20334 * math/s_catanl.c: Include <float.h>.
20335 (__catanl): Ensure underflow exception occurs for underflowed
20337 * math/libm-test.inc (catan_test): Add more tests.
20338 (catanh_test): Likewise.
20341 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20342 underflowed result.
20343 * math/s_ccoshf.c (__ccoshf): Likewise.
20344 * math/s_ccoshl.c (__ccoshl): Likewise.
20345 * math/s_csin.c (__csin): Likewise.
20346 * math/s_csinf.c (__csinf): Likewise.
20347 * math/s_csinh.c (__csinh): Likewise.
20348 * math/s_csinhf.c (__csinhf): Likewise.
20349 * math/s_csinhl.c (__csinhl): Likewise.
20350 * math/s_csinl.c (__csinl): Likewise.
20351 * math/libm-test.inc (ccos_test): Add more tests.
20352 (ccosh_test): Likewise.
20353 (csin_test): Likewise.
20354 (csinh_test): Likewise.
20356 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20358 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20359 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20360 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20361 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20362 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20363 powerpc/power5+/fpu folders.
20364 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20367 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20369 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20371 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20373 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20374 additions to variable.
20375 [$(config-machine) = x86_64] (modules-names): Likewise.
20376 ($(objpfx)tst-audit3): Remove dependency.
20377 ($(objpfx)tst-audit3.out): Likewise.
20378 ($(objpfx)tst-audit4): Likewise.
20379 ($(objpfx)tst-audit4.out): Likewise.
20380 ($(objpfx)tst-audit5): Likewise.
20381 ($(objpfx)tst-audit5.out): Likewise.
20382 ($(objpfx)tst-audit6): Likewise.
20383 ($(objpfx)tst-audit6.out): Likewise.
20384 ($(objpfx)tst-audit7): Likewise.
20385 ($(objpfx)tst-audit7.out): Likewise.
20386 (tst-audit3-ENV): Remove variable.
20387 (tst-audit4-ENV): Likewise.
20388 (tst-audit5-ENV): Likewise.
20389 (tst-audit6-ENV): Likewise.
20390 (tst-audit7-ENV): Likewise.
20391 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20392 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20393 addition to variable.
20394 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20395 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20396 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20397 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20398 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20399 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20400 tst-audit3, tst-audit4 and tst-audit5.
20401 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20402 tst-audit6 and tst-audit7.
20403 [$(subdir) = elf] (modules-names): Add audit modules for those
20405 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20406 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20407 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20408 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20409 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20410 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20411 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20412 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20413 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20414 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20415 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20416 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20417 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20418 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20419 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20420 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20422 [$(subdir) = elf && $(config-cflags-avx) = yes]
20423 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20424 [$(subdir) = elf && $(config-cflags-avx) = yes]
20425 (CFLAGS-tst-auditmod4a.c): Likewise.
20426 [$(subdir) = elf && $(config-cflags-avx) = yes]
20427 (CFLAGS-tst-auditmod4b.c): Likewise.
20428 [$(subdir) = elf && $(config-cflags-avx) = yes]
20429 (CFLAGS-tst-auditmod6b.c): Likewise.
20430 [$(subdir) = elf && $(config-cflags-avx) = yes]
20431 (CFLAGS-tst-auditmod6c.c): Likewise.
20432 [$(subdir) = elf && $(config-cflags-avx) = yes]
20433 (CFLAGS-tst-auditmod7b.c): Likewise.
20434 * elf/tst-audit3.c: Move to ...
20435 * sysdeps/x86_64/tst-audit3.c: ... here.
20436 * elf/tst-audit4.c: Move to ...
20437 * sysdeps/x86_64/tst-audit4.c: ... here.
20438 * elf/tst-audit5.c: Move to ...
20439 * sysdeps/x86_64/tst-audit5.c: ... here.
20440 * elf/tst-audit6.c: Move to ...
20441 * sysdeps/x86_64/tst-audit6.c: ... here.
20442 * elf/tst-audit7.c: Move to ...
20443 * sysdeps/x86_64/tst-audit7.c: ... here.
20444 * elf/tst-auditmod3a.c: Move to ...
20445 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20446 * elf/tst-auditmod3b.c: Move to ...
20447 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20448 * elf/tst-auditmod4a.c: Move to ...
20449 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20450 * elf/tst-auditmod4b.c: Move to ...
20451 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20452 * elf/tst-auditmod5a.c: Move to ...
20453 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20454 * elf/tst-auditmod5b.c: Move to ...
20455 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20456 * elf/tst-auditmod6a.c: Move to ...
20457 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20458 * elf/tst-auditmod6b.c: Move to ...
20459 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20460 * elf/tst-auditmod6c.c: Move to ...
20461 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20462 * elf/tst-auditmod7a.c: Move to ...
20463 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20464 * elf/tst-auditmod7b.c: Move to ...
20465 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20467 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20470 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20471 define unconditionally.
20472 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20473 define unconditionally.
20474 (INT8_C, INT16_C, etc.): Likewise.
20476 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20478 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20479 __ehdr_start with hidden visibility.
20481 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20483 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20485 * math/libm-test.inc (cos_test): Use accurate hex constants.
20486 (sincost_test): Likewise.
20488 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20490 * math/libm-test.inc (catan_test): Add more tests.
20491 (catanh_test): Likewise.
20493 * math/s_catanf.c (__catanf): Use suffixed floating-point
20495 * math/s_catanhf.c (__catanhf): Likewise.
20496 * math/s_catanhl.c (__catanhl): Likewise.
20497 * math/s_catanl.c (__catanl): Likewise.
20500 * math/s_catan.c (__catan): Calculate imaginary part of result
20501 with log1p not log unless computing log of number close to 0.
20502 * math/s_catanf.c (__catanf): Likewise.
20503 * math/s_catanl.c (__catanl): Likewise.
20504 * math/s_catanh.c (__catanh): Calculate real part of result with
20505 log1p not log unless computing log of number close to 0.
20506 * math/s_catanhf.c (__catanhf): Likewise.
20507 * math/s_catanhl.c (__catanhl): Likewise.
20508 * math/libm-test.inc (catan_test): Add more tests.
20509 (catanh_test): Likewise.
20510 * sysdeps/i386/fpu/libm-test-ulps: Update.
20511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20513 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20515 * benchtests/Makefile: Mention files in which fast and slow
20516 paths of math functions are implemented.
20518 2013-04-23 Roland McGrath <roland@hack.frob.com>
20520 * sysdeps/posix/timespec_get.c: New file.
20522 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20524 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20526 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20528 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20529 powerpc/power5/fpu folders.
20530 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20531 * benchtests/Makefile: Add modf testcase.
20532 * benchtests/bench-modf.c: New file: Benchmark test for mo
20534 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20537 * time/Makefile (tests): Add tst-strptime-whitespace.
20538 * time/strptime_l.c (get_number): Use ISSPACE.
20539 (__strptime_internal): Likewise.
20540 * time/tst-strptime-whitespace.c: New test case.
20542 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20544 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20546 (_nss_files_init): Set it here.
20548 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20550 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20551 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20554 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20556 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20558 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20560 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20563 2013-04-21 David S. Miller <davem@davemloft.net>
20565 * po/ru.po: Update Russion translation from translation project.
20567 2013-04-17 Adam Conrad <adconrad@0c3.net>
20569 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20572 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20574 * configure.in: Remove i386 configure warning. Remove i386 case.
20575 * configure: Regenerate.
20576 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20577 Add example to error message.
20578 * sysdeps/i386/configure: Regenerate.
20580 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20582 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20584 * benchtests/cos-inputs: New file.
20585 * benchtests/slowcos-inputs: New file.
20586 * benchtests/slowcos.c: New file.
20587 * benchtests/slowtan-inputs: New file.
20588 * benchtests/slowtan.c: New file.
20589 * benchtests/tan-inputs: New file.
20591 2013-04-16 Roland McGrath <roland@hack.frob.com>
20593 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20596 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20598 * benchtests/Makefile: Include cppflags-iterator.mk to add
20599 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20601 * Makefile.in (bench-clean): New target.
20602 * benchtests/Makefile (bench-clean): Likewise.
20604 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20606 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20608 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20610 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20612 2013-04-15 Andreas Schwab <schwab@suse.de>
20614 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20615 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20616 * nscd/pwdcache.c (cache_addpw): Likewise.
20617 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20620 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20622 * benchtests/Makefile (bench): Write all output to
20623 bench-out.tmp together.
20625 2013-04-15 Andreas Schwab <schwab@suse.de>
20627 * nscd/nscd.c (main): Don't fork again after closing files.
20629 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20631 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20633 * benchtests/Rules (bench-deps): Collect dependencies into a
20634 single variable. Add Makefile to dependencies.
20635 ($(objpfx)bench-%.c): Depend on bench-deps.
20637 2013-04-12 Roland McGrath <roland@hack.frob.com>
20638 Xavier Roche <roche+kml2@exalead.com>
20641 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20642 just that it's a file descriptor.
20643 * manual/llio.texi (Synchronizing AIO Operations): Update description
20644 for EBADF error from aio_fsync.
20646 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20648 * Rules (bench): Move target definition...
20649 * benchtests/Makefile: ... here.
20651 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20653 * math/libm-test.inc (cos_test): Fix PI/2 test.
20654 (sincos_test): Likewise.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20656 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20658 2013-04-11 Andreas Schwab <schwab@suse.de>
20661 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20662 accept exponent character only when digits were seen.
20663 * stdio-common/Makefile (tests): Add bug26.
20664 * stdio-common/bug26.c: New file.
20667 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20670 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20672 * Makeconfig (rtld-prefix): Define built linker prefix.
20673 * Rules (run-bench): Use it.
20674 * math/Makefile (run-regen-ulps): Likewise.
20676 * Rules (bench): Remove eval.
20678 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20679 Roland McGrath <roland@hack.frob.com>
20680 Ondrej Bilka <neleai@seznam.cz>
20683 * time/getdate.c: Include ctype.h and alloca.h.
20684 (__getdate_r): Trim leading and trailing spaces of input.
20685 * time/tst-getdate.c (tests): Add tests with leading and
20688 2013-04-08 Roland McGrath <roland@hack.frob.com>
20691 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20692 when computing value.
20694 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20696 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20697 Use testrun.sh to run libm tests.
20700 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20702 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20705 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20707 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20709 * Makefile.in (regen-ulps): New target.
20710 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20711 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20712 [ifneq (no,$(PERL)] (regen-ulps): New target.
20713 [ifeq (no,$(PERL)] (regen-ulps): New target.
20714 * math/libm-test.inc (ulps_file_name): Define.
20715 (output_dir): New variable.
20716 (options): Add "output-dir" option.
20717 (parse_opt): Handle 'o' case.
20718 (main): If output_dir is non-NULL use it as a prefix
20720 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20722 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20724 [BZ #10060, #10062]
20725 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20726 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20727 fail configure if __sync_val_compare_and_swap is not inlined.
20728 * sysdeps/i386/configure: Regenerate.
20729 * configure.in: Build for i686 when configured for i386.
20730 * configure: Regenerate.
20731 * README: Remove i386 reference.
20733 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20735 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20736 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20738 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20740 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20741 (lmsnanval): New variables.
20742 (F): Add conversion tests.
20743 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20744 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20746 * stdio-common/tstdiomisc.c (F): Properly collect individual
20749 [BZ #14686, #15336]
20750 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20751 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20752 Instead, use input NaN values or generate a qNaN by arithmetic
20753 operation. Also fix bugs to comply with the standard.
20754 * math/libm-test.inc (remainder_test): Add more tests.
20756 [BZ #15335, #15342]
20757 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20758 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20759 input NaN values or generate a qNaN by arithmetic operation.
20761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20764 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20767 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20770 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20771 underflowed result.
20772 * math/s_cexpf.c (__cexpf): Likewise.
20773 * math/s_cexpl.c (__cexpl): Likewise.
20774 * math/libm-test.inc (cexp_test): Add more tests.
20776 2013-04-03 Andreas Schwab <schwab@suse.de>
20779 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20780 order arrays from heap if bigger than alloca cutoff.
20782 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20784 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20785 (SNAN_TESTS_double): Refer to GCC PR56831.
20786 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20789 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20791 * Rules (bench): Move bench.out after the run is complete.
20793 * Rules (bench): Echo currently running benchmark.
20795 * benchtests/Makefile (bench): Add atan and slowatan.
20796 * benchtests/atan-inputs: New file.
20797 * benchtests/slowatan-inputs: New file.
20798 * benchtests/slowatan.c: New file.
20800 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20805 * sysdeps/unix/sysv/linux/kernel-features.h
20806 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20807 __ASSUME_XFS_RESTRICTED_CHOWN.
20808 * sysdeps/unix/sysv/linux/pathconf.c
20809 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20810 Save and restore errno.
20812 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20815 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20816 arguments using __kernel_casinh.
20817 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20818 arguments using __kernel_casinhf.
20819 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20820 arguments using __kernel_casinhl.
20821 * math/libm-test.inc (cacosh_test): Add more tests.
20822 * sysdeps/i386/fpu/libm-test-ulps: Update.
20823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20825 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20827 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20830 * bench/Makefile (bench): Add sin and slowsin.
20831 * benchtests/sin-inputs: New file.
20832 * benchtests/slowsin-inputs: New file.
20833 * benchtests/slowsin.c: New file.
20835 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20836 (bench): Add slowexp and slowpow.
20837 (exp-ITER): Increase iterations.
20838 (pow-ITER): Likewise.
20839 * benchtests/exp-inputs: Change input.
20840 * benchtests/pow-inputs: Likewise.
20841 * benchtests/slowexp-inputs: New file.
20842 * benchtests/slowexp.c: New file.
20843 * benchtests/slowpow-inputs: New file.
20844 * benchtests/slowpow.c: New file.
20846 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20848 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20850 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20851 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20852 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20853 * benchtests/Makefile: Add rint benchtest.
20854 * benchtests/rint-inputs: Input for rint benchtest.
20856 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20858 * Versions.def (libm): Add GLIBC_2.18.
20859 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20860 hidden libm prototypes.
20861 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20862 * math/Makefile (libm-calls): Add s_issignaling.
20863 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20864 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20865 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20867 * math/math.h [__USE_GNU] (issignaling): New macro.
20868 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20869 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20870 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20871 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20872 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20873 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20874 * manual/arith.texi (issignaling): New section.
20875 * manual/libm-err-tab.pl (@all_functions): Update comment.
20876 * math/gen-libm-test.pl (parse_args): Apply special handling for
20878 * math/libm-test.inc (print_float, issignaling_test): New
20880 (check_float_internal): Add issignaling checks.
20881 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20882 default definition.
20883 * sysdeps/powerpc/math-tests.h: New file.
20884 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20886 * math/test-snan.c (TEST_FUNC): Likewise.
20888 2013-03-30 David S. Miller <davem@davemloft.net>
20890 * po/de.po: Update from translation team.
20892 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20895 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20896 imaginary part less than 1.0 and real part less than 0.5
20898 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20899 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20900 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20901 (cacos_test): Add more tests.
20902 (casin_test): Likewise.
20903 (casinh_test): Likewise.
20904 * sysdeps/i386/fpu/libm-test-ulps: Update.
20905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20907 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20909 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20910 ONE with its value.
20912 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20913 (__pow_mp): Replace ONE and MONE with their values.
20914 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20915 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20916 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20917 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20918 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20919 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20921 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20923 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20924 (__pow_mp): Replace ZERO and MZERO with their values.
20925 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20926 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20927 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20928 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20929 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20930 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20933 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20935 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20937 2013-03-28 Roland McGrath <roland@hack.frob.com>
20939 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20940 Declare with __attribute__ ((weak)).
20941 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20942 Call __call_tls_dtors only if it's not NULL.
20944 2013-03-28 Roland McGrath <roland@hack.frob.com>
20946 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20947 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20948 magic __ehdr_start linker symbol if it's defined.
20949 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20950 them up here if it was already done.
20952 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20953 (_dl_aux_init): Use const in cast when setting it.
20954 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20955 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20956 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20958 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20960 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20961 * csu/libc-tls.c: Nor here.
20962 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20964 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20965 (__libc_message): Never call vsyslog.
20967 2013-03-28 Alan Modra <amodra@gmail.com>
20969 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20971 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20974 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20977 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20981 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20984 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20985 Don't add gid passed as argument.
20987 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20989 2013-03-27 Joseph Myers <joseph@codesourcery.com>
20992 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20993 imaginary part between 1.0 and 1.5 and real part less than 0.5
20995 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20996 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20997 * math/libm-test.inc (cacos_test): Add more tests.
20998 (casin_test): Likewise.
20999 (casinh_test): Likewise.
21000 * sysdeps/i386/fpu/libm-test-ulps: Update.
21001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21003 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21005 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21008 (denorm): Likewise.
21009 (__dbl_mp): Likewise.
21010 (add_magnitudes): Likewise.
21011 (sub_magnitudes): Likewise.
21019 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21021 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21022 (__dubcos): Likewise.
21023 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21024 (__ieee754_acos): Likewise.
21025 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21026 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21027 (__exp1): Likewise.
21028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21031 (my_log2): Likewise.
21032 (checkint): Likewise.
21033 * sysdeps/ieee754/dbl-64/e_remainder.c
21034 (__ieee754_remainder): Likewise.
21035 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21036 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21037 (bsloww): Likewise.
21038 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21040 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21041 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21042 MANTISSA_STORE_T to store computations on mantissa. Use
21043 macros for rounding and division.
21044 (denorm): Likewise.
21045 (__dbl_mp): Likewise.
21046 (add_magnitudes): Likewise.
21047 (sub_magnitudes): Likewise.
21050 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21051 powers of two in terms of TWOPOW macro.
21052 (mp_no): Make type of mantissa as MANTISSA_T.
21053 [!RADIXI]: Define RADIXI.
21054 [!TWO52]: Define TWO52.
21055 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21057 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21059 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21060 llroundl symbol when building for PPC32.
21062 2013-03-24 Mark H Weaver <mhw@netris.org>
21064 * manual/arith.texi (Normalization Functions): Fix prototypes for
21065 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21067 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21070 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21071 high value to check if expl overflow.
21072 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21073 to check for underflow and overflow.
21074 * math/libm-test.inc: Add exp test.
21076 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21079 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21082 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21084 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21087 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21089 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21090 wrap blocks consisting of several statements.
21092 * sysdeps/generic/math-tests.h: New file.
21093 * sysdeps/i386/fpu/math-tests.h: Likewise.
21094 * math/test-snan.c: Include it.
21095 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21097 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21100 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21101 (__ieee754_j0l): Do not improve calculations using cos of twice
21102 input for inputs above LDBL_MAX / 2.0L.
21103 (__ieee754_y0l): Likewise.
21104 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21105 (__ieee754_j1l): Do not improve calculations using cos of twice
21106 input for inputs above LDBL_MAX / 2.0L.
21107 (__ieee754_y1l): Likewise.
21108 * math/libm-test.inc (j0_test): Add another test.
21109 (j1_test): Likewise.
21110 (y0_test): Likewise.
21111 (y1_test): Likewise.
21112 * sysdeps/i386/fpu/libm-test-ulps: Update.
21114 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21116 * Rules ($(objpfx)bench-%.c): Include code from a C source
21119 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21122 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21123 imaginary part 1.0 and real part less than 0.5 specially.
21124 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21125 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21126 * math/libm-test.inc (cacos_test): Add more tests.
21127 (casin_test): Likewise.
21128 (casinh_test): Likewise.
21129 * sysdeps/i386/fpu/libm-test-ulps: Update.
21130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21132 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21134 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21135 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21137 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21139 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21140 * config.make.in (config-cflags-sse4): Remove variable.
21141 (config-cflags-avx): Likewise.
21142 (config-cflags-sse2avx): Likewise.
21143 (config-cflags-novzeroupper): Likewise.
21144 (config-asflags-i686): Likewise.
21145 (have-mfma4): Likewise.
21146 (have-as-vis3): Likewise.
21148 * configure.in (MIG): Do not AC_SUBST.
21149 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21150 (libc_cv_cc_sse4): Do not AC_SUBST.
21151 (libc_cv_cc_avx): Likewise.
21152 (libc_cv_cc_sse2avx): Likewise.
21153 (libc_cv_cc_novzeroupper): Likewise.
21154 (libc_cv_cc_fma4): Likewise.
21155 (libc_cv_as_i686): Likewise.
21156 (libc_cv_sparc_as_vis3): Likewise.
21157 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21159 (config-asflags-i686): Likewise.
21160 (config-cflags-avx): Likewise.
21161 (config-cflags-sse2avx): Likewise.
21162 (have-mfma4): Likewise.
21163 (config-cflags-novzeroupper): Likewise.
21164 * sysdeps/mach/configure.in (MIG): Likewise.
21165 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21166 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21168 (config-cflags-avx): Likewise.
21169 (config-cflags-sse2avx): Likewise.
21170 (have-mfma4): Likewise.
21171 (config-cflags-novzeroupper): Likewise.
21172 * configure: Regenerated.
21173 * sysdeps/i386/configure: Likewise.
21174 * sysdeps/mach/configure: Likewise.
21175 * sysdeps/sparc/configure: Likewise.
21176 * sysdeps/x86_64/configure: Likewise.
21178 2013-03-20 Roland McGrath <roland@hack.frob.com>
21181 * locale/programs/localedef.c (options): Put N_ translation marker
21182 on argument names, not just descriptions.
21184 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21186 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21188 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21191 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21193 2013-03-19 Roland McGrath <roland@hack.frob.com>
21195 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21196 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21197 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21198 [!BEFORE_ABORT] (before_abort): New function.
21199 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21200 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21201 (writev_for_fatal): New function.
21202 (WRITEV_FOR_FATAL): New macro; call that.
21203 (backtrace_and_maps): New function.
21204 (BEFORE_ABORT): New macro; call that.
21205 (struct str_list): Type removed.
21206 (__libc_message, __libc_fatal): Functions removed.
21207 Include <sysdeps/posix/libc_fatal.c> instead.
21209 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21211 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21213 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21216 2013-03-19 Andreas Schwab <schwab@suse.de>
21218 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21219 * sysdeps/gnu/configure: Regenerate.
21221 * configure.in: Substitute libc_cv_rtlddir.
21222 * configure: Regenerate.
21223 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21224 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21225 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21226 * elf/Makefile (install-others, CFLAGS-interp.c)
21227 (ldso_install, common-ldd-rewrite): Likewise.
21228 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21229 $(inst_slibdir)/$(rtld-installed-name).
21230 * scripts/rellns-sh: Add -p option.
21231 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21234 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21236 * manual/nptl.texi: Renamed to ...
21237 * manual/threads.texi: ... this.
21238 * manual/Makefile (chapters): Update.
21240 2013-03-18 Roland McGrath <roland@hack.frob.com>
21243 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21244 on argument names, not just descriptions.
21245 * malloc/memusagestat.c (options): Likewise.
21246 * nss/getent.c (options): Likewise.
21248 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21251 * iconv/iconv_prog.c (options): Put N_ translation marker
21252 on argument names, not just descriptions.
21253 * iconv/iconvconfig.c (options): Likewise.
21255 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21257 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21258 implementation which is faster on all x86_64 architectures.
21259 Tested on AMD, Intel Nehalem, SNB, IVB.
21260 * sysdeps/x86_64/strnlen.S: Likewise.
21262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21263 Remove all multiarch strlen and strnlen versions.
21264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21265 Remove strlen and strnlen related parts.
21267 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21268 Inline strlen part.
21269 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21271 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21272 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21273 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21274 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21275 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21276 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21278 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21280 * manual/memory.texi (Malloc Tunable Parameters):
21281 Sort parameters alphabetically. Add comments for missing entries.
21283 2013-03-17 David S. Miller <davem@davemloft.net>
21285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21287 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21290 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21291 for arguments at most half maximum finite value.
21292 * math/libm-test.inc (j0_test): Add more tests.
21293 (j1_test): Likewise.
21294 (y0_test): Likewise.
21295 (y1_test): Likewise.
21296 * sysdeps/i386/fpu/libm-test-ulps: Update.
21297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21300 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21301 1 / x and functions P and Q for arguments above 0x1p256L.
21302 (__ieee754_y0l): Likewise.
21303 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21304 (__ieee754_y1l): Likewise.
21305 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21306 (j1_test): Likewise.
21307 (y0_test): Likewise.
21308 (y1_test): Likewise.
21310 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21312 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21315 2013-03-15 Roland McGrath <roland@hack.frob.com>
21317 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21318 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21319 zero since it's initialized to EXEC_PAGESIZE.
21321 * sysdeps/unix/sysv/linux/ldsodefs.h
21322 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21323 * sysdeps/generic/ldsodefs.h: ... here.
21325 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21327 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21329 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21331 * math/test-snan.c: Renamed from
21332 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21333 * math/Makefile (tests): Add test-snan.
21334 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21337 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21338 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21340 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21341 __builtin_nan family of functions.
21342 * math/libm-test.inc (initialize): Initialize qnan_value with
21343 __builtin_nan family of functions.
21344 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21346 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21348 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21349 storage class. Initialize qNaN_var and sNaN_var with
21350 __builtin_nan and __builtin_nans families of functions,
21353 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21354 (sqrt_test): Remove duplicate test with qNaN input.
21355 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21356 (round_test, signbit_test, significand_test): Note missing +/-Inf
21357 as well as qNaN tests.
21359 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21360 qNaN_var. Fix a few strings, too.
21361 * math/libm-test.inc (nan_value): Rename to qnan_value.
21362 * math/gen-libm-test.pl (%beautify): Adjust to that.
21363 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21364 * math/test-misc.c (main): Likewise.
21365 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21366 to __qnan_bytes, and __qnan_union, respectively.
21367 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21369 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21370 and lqnanval, respectively.
21371 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21372 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21373 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21374 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21376 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21377 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21380 * math/test-misc.c (main): Fix copy'n'pastos.
21381 * misc/tst-efgcvt.c (special): Likewise.
21383 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21384 Remove declarations.
21386 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21388 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21389 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21390 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21391 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21393 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21395 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21396 macro to return vdso values correctly in IFUNC implementations.
21397 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21398 Optimization by using IFUNC.
21400 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21401 Richard Henderson <rth@redhat.com>
21402 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21404 * Makefile.in (bench): New target.
21405 * NEWS: Mention the benchmark framework.
21406 * Rules (bench): Likewise.
21407 (binaries-bench): Generate binaries for functions to
21409 * benchtests/Makefile: New makefile for benchmark tests.
21410 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21412 * benchtests/exp-inputs: New input file for EXP function.
21413 * benchtests/pow-inputs: New input file for POW function.
21414 * scripts/bench.pl: New script to generate source files for
21415 benchmark programs.
21417 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21419 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21420 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21421 computations on mantissa. Use macros for rounding and
21423 (denorm): Likewise.
21424 (__dbl_mp): Likewise.
21425 (add_magnitudes): Likewise.
21426 (sub_magnitudes): Likewise.
21429 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21430 powers of two in terms of TWOPOW macro.
21431 (mp_no): Make type of mantissa as MANTISSA_T.
21432 [!RADIXI]: Define RADIXI.
21433 [!TWO52]: Define TWO52.
21434 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21436 * manual/nptl.texi (cindex): Modify threads to pthreads.
21438 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21440 * sysdeps/x86_64/preconfigure: Regenerated.
21442 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21445 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21447 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21448 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21450 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21451 * math/libm-test.inc (j0_test): Do not allow one spurious
21452 underflow exception.
21453 (y1_test): Likewise.
21455 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21457 * manual/Makefile (chapters): Add nptl.
21458 * manual/debug.texi (Debugging Support): Add link to Threads
21460 * manual/nptl.texi: New file.
21462 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21464 2013-03-14 Petr Baudis <pasky@ucw.cz>
21466 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21467 for non-NULL pointer before the memory validity test. Pointed
21468 out by Holger Brunck <holger.brunck@keymile.com>.
21470 2013-03-13 Andreas Schwab <schwab@suse.de>
21472 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21475 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21477 * timezone/zic.c: Update from tzcode 2013b.
21479 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21481 * manual/install.texi (Configuring and compiling):
21482 Mention i686 and i586.
21483 * INSTALL: Regenerate.
21485 2013-03-12 Roland McGrath <roland@hack.frob.com>
21487 * sysdeps/init_array/elf-init.c: New file.
21489 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21490 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21492 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21493 __gmon_start__ as global, but as static with a .preinit_array pointer.
21494 * sysdeps/init_array/gmon-start.c: New file. Use that.
21495 * sysdeps/init_array/crti.S: New file, empty except for comments.
21496 * sysdeps/init_array/crtn.S: Likewise.
21498 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21500 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21503 Remove Prefer_SSE_for_memop.
21504 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21505 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21506 HAS_PREFER_SSE_FOR_MEMOP.
21507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21510 Remove bzero, memset ifunc support.
21511 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21512 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21513 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21514 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21516 2013-03-11 Andreas Schwab <schwab@suse.de>
21519 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21522 (GLIBC_2.16): Remove pthread_atfork.
21524 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21526 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21527 (ptestcases.h): Likewise.
21529 2013-03-08 Roland McGrath <roland@hack.frob.com>
21531 * Makeconfig ($(common-objpfx)config.status): Depend on
21532 sysdeps/*/preconfigure{,.in} too.
21534 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21536 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21537 (__free_hook): Use void * instead of __malloc_ptr_t.
21538 (__malloc_hook): Likewise.
21539 (__realloc_hook): Likewise.
21540 (__memalign_hook): Likewise.
21541 (__after_morecore_hook): Likewise.
21542 * malloc/arena.c (save_malloc_hook): Likewise.
21543 (save_free_hook): Likewise.
21544 * malloc/hooks.c (malloc_hook_ini): Likewise.
21545 (realloc_hook_ini): Likewise.
21546 (memalign_hook_ini): Likewise.
21547 * malloc/malloc.c (malloc_hook_ini): Likewise.
21548 (realloc_hook_ini): Likewise.
21549 (memalign_hook_ini): Likewise.
21550 (__free_hook): Likewise.
21551 (__malloc_hook): Likewise.
21552 (__realloc_hook): Likewise.
21553 (__memalign_hook): Likewise.
21554 (__libc_malloc): Likewise.
21555 (__libc_free): Likewise.
21556 (__libc_realloc): Likewise.
21557 (__libc_memalign): Likewise.
21558 (__libc_valloc): Likewise.
21559 (__libc_pvalloc): Likewise.
21560 (__libc_calloc): Likewise.
21561 (__posix_memalign): Likewise.
21562 * malloc/morecore.c (__sbrk): Likewise.
21563 (__default_morecore): Likewise.
21565 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21567 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21568 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21569 __malloc_ptrdiff_t.
21571 * malloc/malloc.h (__malloc_size_t): Remove macro.
21572 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21574 (old_memalign_hook): Likewise.
21575 (old_realloc_hook): Likewise.
21576 (struct hdr): Likewise.
21578 (mallochook): Likewise.
21579 (memalignhook): Likewise.
21580 (reallochook): Likewise.
21581 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21582 (tr_old_realloc_hook): Likewise.
21583 (tr_old_memalign_hook): Likewise.
21584 (tr_mallochook): Likewise.
21585 (tr_reallochook): Likewise.
21586 (tr_memalignhook): Likewise.
21588 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21590 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21591 default_ldbl_pack and using as default implementation.
21592 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21594 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21595 redundant definition.
21596 (ldbl_insert_mantissa): Likewise.
21597 (ldbl_canonicalize): Likewise.
21598 (ldbl_nearbyint): Likewise.
21599 (ldbl_pack): Rename to ldbl_pack_ppc.
21600 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21601 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21602 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21604 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21607 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21608 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21609 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21611 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21612 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21613 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21615 2013-03-07 Andreas Jaeger <aj@suse.de>
21617 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21620 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21622 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21623 Include mpa.h and declare __MPEXP.
21624 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21625 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21626 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21627 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21628 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21629 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21630 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21632 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21633 (__slowpow): Use long double EXPL and LOGL functions to
21635 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21636 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21637 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21638 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21639 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21640 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21642 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21643 intermediate variable to calculate exponent.
21645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21649 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21650 [!NO__SQR]: Define __sqr.
21651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21652 and NO__SQR. Remove all code except __mul and __sqr. Include
21653 sysdeps/ieee754/dbl-64/mpa.c.
21654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21657 * posix/Makefile (tests): Add tst-pathconf.
21658 * posix/tst-pathconf.c: New test case.
21659 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21661 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21663 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21665 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21667 2013-03-06 Andreas Jaeger <aj@suse.de>
21669 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21670 definition via __MAP_ANONYMOUS.
21672 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21673 it's not part of Linux headers.
21675 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21676 (MAP_HUGE_MASK): Define.
21678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21680 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21681 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21683 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21684 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21686 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21689 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21691 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21692 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21693 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21694 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21695 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21696 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21698 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21702 Handle f2fs and efivarfs.
21704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21707 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21708 (EFIVARFS_MAGIC): Add.
21709 (F2FS_LINK_MAX): Add.
21711 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21713 * stdio-common/vfprintf.c: Replace __builtin_expect with
21716 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21719 * sysdeps/generic/bp-sym.h: Remove file.
21720 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21721 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21722 <bp-sym.h> and <bp-asm.h>.
21723 (__longjmp): Don't use BP_SYM.
21724 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21726 (memcpy): Don't use BP_SYM.
21727 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21728 <bp-sym.h> and <bp-asm.h>.
21729 (memcpy): Don't use BP_SYM.
21730 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21732 (memcpy): Don't use BP_SYM.
21733 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21735 (memset): Don't use BP_SYM.
21736 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21737 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21738 (__bzero): Don't use BP_SYM.
21739 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21740 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21741 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21742 <bp-sym.h> and <bp-asm.h>.
21743 (memcmp): Don't use BP_SYM. Remove comment about bounded
21745 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21746 <bp-sym.h> and <bp-asm.h>.
21747 (memcpy): Don't use BP_SYM.
21748 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21749 <bp-sym.h> and <bp-asm.h>.
21750 (memset): Don't use BP_SYM.
21751 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21752 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21753 (__bzero): Don't use BP_SYM.
21754 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21755 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21756 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21757 <bp-sym.h> and <bp-asm.h>.
21758 (strncmp): Don't use BP_SYM. Remove comment about bounded
21760 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21761 <bp-sym.h> and <bp-asm.h>.
21762 (memcpy): Don't use BP_SYM.
21763 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21764 <bp-sym.h> and <bp-asm.h>.
21765 (memset): Don't use BP_SYM.
21766 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21767 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21768 (__bzero): Don't use BP_SYM.
21769 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21770 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21771 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21772 <bp-sym.h> and <bp-asm.h>.
21773 (__memchr): Don't use BP_SYM.
21774 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21775 <bp-sym.h> and <bp-asm.h>.
21776 (memcmp): Don't use BP_SYM. Remove comment about bounded
21778 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21779 <bp-sym.h> and <bp-asm.h>.
21780 (memcpy): Don't use BP_SYM.
21781 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21782 <bp-sym.h> and <bp-asm.h>.
21783 (__mempcpy): Don't use BP_SYM.
21784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21785 <bp-sym.h> and <bp-asm.h>.
21786 (__memrchr): Don't use BP_SYM.
21787 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21788 <bp-sym.h> and <bp-asm.h>.
21789 (memset): Don't use BP_SYM.
21790 (__bzero): Likewise.
21791 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21792 <bp-sym.h> and <bp-asm.h>.
21793 (__rawmemchr): Don't use BP_SYM.
21794 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21795 <bp-sym.h> and <bp-asm.h>.
21796 (__STRCMP): Don't use BP_SYM.
21797 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21798 <bp-sym.h> and <bp-asm.h>.
21799 (strchr): Don't use BP_SYM.
21800 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21801 <bp-sym.h> and <bp-asm.h>.
21802 (__strchrnul): Don't use BP_SYM.
21803 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21804 <bp-sym.h> and <bp-asm.h>.
21805 (strlen): Don't use BP_SYM.
21806 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21807 <bp-sym.h> and <bp-asm.h>.
21808 (strncmp): Don't use BP_SYM. Remove comment about bounded
21810 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21811 <bp-sym.h> and <bp-asm.h>.
21812 (__strnlen): Don't use BP_SYM.
21813 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21814 <bp-sym.h> and <bp-asm.h>.
21815 (__GI__setjmp): Don't use BP_SYM.
21816 (_setjmp): Likewise.
21817 (__sigsetjmp): Likewise.
21818 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21819 (L(start_addresses)): Don't use BP_SYM.
21820 (_start): Likewise.
21821 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21823 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21824 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21825 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21826 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21827 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21829 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21830 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21831 about bounded pointers.
21832 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21833 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21834 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21836 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21837 about bounded pointers. Remove GKM FIXME comments.
21838 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21839 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21841 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21842 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21843 Remove GKM FIXME comments.
21844 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21845 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21846 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21848 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21849 about bounded pointers. Remove GKM FIXME comment.
21850 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21852 (strncmp): Don't use BP_SYM. Remove comment about bounded
21854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21855 <bp-sym.h> and <bp-asm.h>.
21856 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21858 <bp-sym.h> and <bp-asm.h>.
21859 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21862 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21864 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21867 2013-03-05 David S. Miller <davem@davemloft.net>
21869 * po/es.po: Update from translation team.
21871 2013-03-05 Andreas Jaeger <aj@suse.de>
21873 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21874 <bits/mman-linux.h>.
21875 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21877 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21878 <bits/mman-linux.h> to end of file.
21879 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21881 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21882 <bits/mman-linux.h> to end of file.
21883 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21885 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21886 <bits/mman-linux.h> to end of file.
21888 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21889 (MCL_CURRENT, MCL_FUTURE): Define here.
21891 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21894 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21896 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21898 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21900 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21901 fourth parameter needed for rt_sigprocmask syscall.
21902 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21903 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21904 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21905 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21906 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21907 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21909 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21912 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21913 comment about bounded pointers.
21914 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21915 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21917 2013-03-04 Andreas Jaeger <aj@suse.de>
21919 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21920 common definitions.
21922 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21923 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21924 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21925 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21926 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21927 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21929 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21932 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21933 __ieee754_sqrl instead of __sqrl.
21935 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21937 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21938 * sysdeps/powerpc/fpu_control.h: ... here.
21939 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21940 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21941 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21942 * sysdeps/powerpc/bits/mathinline.h: ... here.
21944 2013-03-01 Roland McGrath <roland@hack.frob.com>
21946 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21947 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21948 to just [NEED_DL_SYSINFO_DSO].
21949 * elf/dl-support.c: Likewise.
21950 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21951 * elf/rtld.c (dl_main): Likewise.
21952 * elf/setup-vdso.h (setup_vdso): Likewise.
21953 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21954 * sysdeps/unix/sysv/linux/dl-sysdep.c
21955 (_dl_discover_osversion): Likewise.
21957 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21959 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21960 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21962 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21964 * NEWS: Mention libm performance improvements and non-x86 PI
21967 * csu/libc-start.c (__pthread_initialize_minimal): Change
21968 function arguments.
21969 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21971 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21974 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21975 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21976 <bp-sym.h> and <bp-asm.h>.
21977 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21978 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21980 (memcpy): Don't use BP_SYM.
21981 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21983 (__mpn_add_n): Don't use BP_SYM.
21984 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21985 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21987 (__mpn_addmul_1): Don't use BP_SYM.
21988 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21989 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21991 (_setjmp): Don't use BP_SYM.
21992 (__novmx_setjmp): Likewise.
21993 (__GI__setjmp): Likewise.
21994 (__vmx_setjmp): Likewise.
21995 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21997 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21998 (__bzero): Don't use BP_SYM.
21999 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22000 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22001 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22002 <bp-sym.h> and <bp-asm.h>.
22003 (memcpy): Don't use BP_SYM.
22004 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22005 <bp-sym.h> and <bp-asm.h>.
22006 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22007 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22008 <bp-sym.h> and <bp-asm.h>.
22009 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22010 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22012 (__mpn_lshift): Don't use BP_SYM.
22013 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22014 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22016 (memset): Don't use BP_SYM.
22017 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22018 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22019 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22021 (__mpn_mul_1): Don't use BP_SYM.
22022 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22023 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22024 <bp-sym.h> and <bp-asm.h>.
22025 (memcmp): Don't use BP_SYM.
22026 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22027 <bp-sym.h> and <bp-asm.h>.
22028 (memcpy): Don't use BP_SYM.
22029 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22030 <bp-sym.h> and <bp-asm.h>.
22031 (memset): Don't use BP_SYM.
22032 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22033 <bp-sym.h> and <bp-asm.h>.
22034 (strncmp): Don't use BP_SYM.
22035 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22036 <bp-sym.h> and <bp-asm.h>.
22037 (memcpy): Don't use BP_SYM.
22038 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22039 <bp-sym.h> and <bp-asm.h>.
22040 (memset): Don't use BP_SYM.
22041 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22042 <bp-sym.h> and <bp-asm.h>.
22043 (__memchr): Don't use BP_SYM.
22044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22045 <bp-sym.h> and <bp-asm.h>.
22046 (memcmp): Don't use BP_SYM.
22047 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22048 <bp-sym.h> and <bp-asm.h>.
22049 (memcpy): Don't use BP_SYM.
22050 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22051 <bp-sym.h> and <bp-asm.h>.
22052 (__mempcpy): Don't use BP_SYM.
22053 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22054 <bp-sym.h> and <bp-asm.h>.
22055 (__memrchr): Don't use BP_SYM.
22056 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22057 <bp-sym.h> and <bp-asm.h>.
22058 (memset): Don't use BP_SYM.
22059 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22060 <bp-sym.h> and <bp-asm.h>.
22061 (__rawmemchr): Don't use BP_SYM.
22062 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22063 <bp-sym.h> and <bp-asm.h>.
22064 (__STRCMP): Don't use BP_SYM.
22065 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22066 <bp-sym.h> and <bp-asm.h>.
22067 (strchr): Don't use BP_SYM.
22068 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22069 <bp-sym.h> and <bp-asm.h>.
22070 (__strchrnul): Don't use BP_SYM.
22071 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22072 <bp-sym.h> and <bp-asm.h>.
22073 (strlen): Don't use BP_SYM.
22074 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22075 <bp-sym.h> and <bp-asm.h>.
22076 (strncmp): Don't use BP_SYM.
22077 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22078 <bp-sym.h> and <bp-asm.h>.
22079 (__strnlen): Don't use BP_SYM.
22080 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22082 (__mpn_rshift): Don't use BP_SYM.
22083 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22084 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22085 <bp-sym.h> and <bp-asm.h>.
22086 (__sigsetjmp): Don't use BP_SYM.
22087 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22088 (L(start_addresses)): Don't use BP_SYM.
22089 (_start): Likewise.
22090 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22092 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22093 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22094 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22095 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22097 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22098 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22099 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22100 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22102 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22104 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22105 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22107 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22109 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22110 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22111 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22113 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22115 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22117 (strncmp): Don't use BP_SYM,
22118 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22120 (__mpn_sub_n): Don't use BP_SYM.
22121 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22122 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22124 (__mpn_submul_1): Don't use BP_SYM.
22125 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22127 <bp-sym.h> and <bp-asm.h>.
22128 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22130 <bp-sym.h> and <bp-asm.h>.
22131 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22134 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22137 Use ZK to minimize writes to Z.
22138 (sub_magnitudes): Simplify code a bit.
22139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22140 Use ZK to minimize writes to Z.
22141 (sub_magnitudes): Simplify code a bit.
22143 2013-02-27 Roland McGrath <roland@hack.frob.com>
22145 * csu/gmon-start.c: Add special exception to license text.
22147 2013-02-27 Richard Henderson <rth@redhat.com>
22149 * scripts/config.guess: Update from config.git.
22150 * scripts/config.sub: Likewise.
22152 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22154 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22156 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22158 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22160 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22162 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22164 2013-02-26 Roland McGrath <roland@hack.frob.com>
22166 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22167 [$(build-shared = yes].
22169 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22171 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22172 (__mul): Reduce iterations for calculating mantissa.
22174 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22176 (__mpranred): Likewise.
22179 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22180 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22182 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22184 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22185 Define __attribute__.
22187 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22189 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22191 * posix/regex_internal.h (__attribute): Remove.
22192 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22193 (re_string_context_at): Likewise.
22194 (bitset_not): Use __attribute__ and mark function as possibly
22196 (bitset_merge): Likewise.
22197 (bitset_mask): Likewise.
22198 (re_string_char_size_at): Likewise.
22199 (re_string_wchar_at): Likewise.
22200 (re_string_elem_size_at): Likewise.
22202 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22204 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22208 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22212 (denorm): Likewise.
22213 (__dbl_mp): Likewise.
22214 (add_magnitudes): Likewise.
22215 (sub_magnitudes): Likewise.
22219 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22222 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22225 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22229 up changes with default code.
22230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22233 2013-02-24 Allan McRae <allan@archlinux.org>
22235 * manual/socket.texi (The Internet Namespace): Order menu items
22236 to match that in the file.
22238 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22239 node listing of the info page menu.
22241 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22244 * sysdeps/i386/bp-asm.h: Remove file.
22245 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22246 (PARMS): Do not use macros from bp-asm.h.
22250 (__mpn_add_n): Do not use BP_SYM
22251 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22253 (PARMS): Do not use macros from bp-asm.h.
22256 (__mpn_addmul_1): Do not use BP_SYM
22257 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22259 (PARMS): Do not use macros from bp-asm.h.
22260 (SIGMSK): Likewise.
22261 (_setjmp): Likewise. Do not use BP_SYM.
22262 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22264 (PARMS): Do not use macros from bp-asm.h.
22265 (SIGMSK): Likewise.
22266 (setjmp): Likewise. Do not use BP_SYM.
22267 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22269 (PARMS): Do not use macros from bp-asm.h.
22270 (__frexp): Do not use BP_SYM.
22272 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22274 (PARMS): Do not use macros from bp-asm.h.
22275 (__frexpf): Do not use BP_SYM.
22276 (frexpf): Likewise.
22277 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22279 (PARMS): Do not use macros from bp-asm.h.
22280 (__frexpl): Do not use BP_SYM.
22281 (frexpl): Likewise.
22282 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22284 (PARMS): Do not use macros from bp-asm.h.
22285 (__remquo): Do not use BP_SYM.
22286 (remquo): Likewise.
22287 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22289 (PARMS): Do not use macros from bp-asm.h.
22290 (__remquof): Do not use BP_SYM.
22291 (remquof): Likewise.
22292 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22294 (PARMS): Do not use macros from bp-asm.h.
22295 (__remquol): Do not use BP_SYM.
22296 (remquol): Likewise.
22297 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22299 (PARMS): Do not use macros from bp-asm.h.
22302 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22303 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22305 (PARMS): Do not use macros from bp-asm.h.
22306 (strlen): Do not use BP_SYM.
22307 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22309 (PARMS): Do not use macros from bp-asm.h.
22313 (__mpn_add_n): Do not use BP_SYM.
22314 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22316 (PARMS): Do not use macros from bp-asm.h.
22319 (__mpn_addmul_1): Do not use BP_SYM.
22320 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22323 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22325 (PARMS): Do not use macros from bp-asm.h.
22328 (__mpn_lshift): Do not use BP_SYM.
22329 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22331 (PARMS): Do not use macros from bp-asm.h.
22335 (memcpy): Likewise. Do not use BP_SYM.
22336 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22337 libc_hidden_def and weak_alias.
22338 (mempcpy): Do not use BP_SYM in weak_alias.
22339 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22341 (PARMS): Do not use macros from bp-asm.h.
22344 [!BZERO_P] (CHR): Likewise.
22345 (memset): Likewise. Do not use BP_SYM.
22346 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22348 (PARMS): Do not use macros from bp-asm.h.
22351 (__mpn_mul_1): Do not use BP_SYM.
22352 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22354 (PARMS): Do not use macros from bp-asm.h.
22357 (__mpn_rshift): Do not use BP_SYM.
22358 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22360 (PARMS): Do not use macros from bp-asm.h.
22363 (strchr): Likewise. Do not use BP_SYM.
22364 (index): Do not use BP_SYM in weak_alias.
22365 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22367 (PARMS): Do not use macros from bp-asm.h.
22370 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22371 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22373 (PARMS): Do not use macros from bp-asm.h.
22374 (strlen): Do not use BP_SYM.
22375 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22377 (PARMS): Do not use macros from bp-asm.h.
22381 (__mpn_sub_n): Do not use BP_SYM.
22382 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22384 (PARMS): Do not use macros from bp-asm.h.
22387 (__mpn_submul_1): Do not use BP_SYM.
22388 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22390 (PARMS): Do not use macros from bp-asm.h.
22394 (__mpn_add_n): Do not use BP_SYM.
22395 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22398 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22400 (PARMS): Do not use macros from bp-asm.h.
22403 (memcmp): Do not use BP_SYM.
22404 (bcmp): Do not use BP_SYM in weak_alias.
22405 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22407 (PARMS): Do not use macros from bp-asm.h.
22411 (memcpy): Likewise. Do not use BP_SYM.
22412 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22414 (PARMS): Do not use macros from bp-asm.h.
22418 (memmove): Likewise. Do not use BP_SYM.
22419 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22421 (PARMS): Do not use macros from bp-asm.h.
22425 (__mempcpy): Likewise. Do not use BP_SYM.
22426 (mempcpy): Do not use BP_SYM in weak_alias.
22427 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22429 (PARMS): Do not use macros from bp-asm.h.
22432 [!BZERO_P] (CHR): Likewise.
22433 (memset): Likewise. Do not use BP_SYM.
22434 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22436 (PARMS): Do not use macros from bp-asm.h.
22438 (strcmp): Do not use BP_SYM.
22439 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22441 (PARMS): Do not use macros from bp-asm.h.
22444 [USE_AS_STRTOK_R] (SAVE): Likewise.
22445 (FUNCTION): Likewise. Do not use BP_SYM.
22446 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22448 (strtok_r): Likewise.
22449 (__GI___strtok_r): Likewise.
22450 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22451 (PARMS): Do not use macros from bp-asm.h.
22454 (__mpn_lshift): Do not use BP_SYM.
22455 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22456 (PARMS): Do not use macros from bp-asm.h.
22459 (__memchr): Do not use BP_SYM.
22460 (memchr): Do not use BP_SYM in weak_alias.
22461 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22462 (PARMS): Do not use macros from bp-asm.h.
22465 (memcmp): Do not use BP_SYM.
22466 (bcmp): Do not use BP_SYM in weak_alias.
22467 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22468 (PARMS): Do not use macros from bp-asm.h.
22471 (__mpn_mul_1): Do not use BP_SYM.
22472 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22474 (PARMS): Do not use macros from bp-asm.h.
22477 (__rawmemchr): Do not use BP_SYM.
22478 (rawmemchr): Do not use BP_SYM in weak_alias.
22479 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22480 (PARMS): Do not use macros from bp-asm.h.
22483 (__mpn_rshift): Do not use BP_SYM.
22484 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22485 (PARMS): Do not use macros from bp-asm.h.
22486 (SIGMSK): Likewise.
22487 (__sigsetjmp): Likewise. Do not use BP_SYM.
22488 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22489 (_start): Do not use BP_SYM.
22490 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22491 (PARMS): Do not use macros from bp-asm.h.
22494 (__stpcpy): Likewise. Do not use BP_SYM.
22495 (stpcpy): Do not use BP_SYM in weak_alias.
22496 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22498 (PARMS): Do not use macros from bp-asm.h.
22502 (__stpncpy): Likewise. Do not use BP_SYM.
22503 (stpncpy): Do not use BP_SYM in weak_alias.
22504 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22505 (PARMS): Do not use macros from bp-asm.h.
22508 (strchr): Likewise. Do not use BP_SYM.
22509 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22511 (PARMS): Do not use macros from bp-asm.h.
22514 (__strchrnul): Likewise. Do not use BP_SYM.
22515 (strchrnul): Do not use BP_SYM in weak_alias.
22516 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22518 (PARMS): Do not use macros from bp-asm.h.
22520 (strcspn): Do not use BP_SYM.
22521 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22523 (PARMS): Do not use macros from bp-asm.h.
22526 (strpbrk): Likewise. Do not use BP_SYM.
22527 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22529 (PARMS): Do not use macros from bp-asm.h.
22532 (strrchr): Likewise. Do not use BP_SYM.
22533 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22534 (PARMS): Do not use macros from bp-asm.h.
22536 (strspn): Do not use BP_SYM.
22537 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22538 (PARMS): Do not use macros from bp-asm.h.
22542 (FUNCTION): Likewise. Do not use BP_SYM.
22543 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22545 (strtok_r): Likewise.
22546 (__GI___strtok_r): Likewise.
22547 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22548 (PARMS): Do not use macros from bp-asm.h.
22552 (__mpn_sub_n): Do not use BP_SYM.
22553 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22555 (PARMS): Do not use macros from bp-asm.h.
22558 (__mpn_submul_1): Do not use BP_SYM.
22559 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22561 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22563 (PARMS): Do not use macros from bp-asm.h.
22568 (__clone): Do not use BP_SYM.
22569 (clone): Do not use BP_SYM in weak_alias.
22570 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22572 (PARMS): Do not use macros from bp-asm.h.
22574 (__mmap64): Do not use BP_SYM.
22575 (mmap64): Do not use BP_SYM in weak_alias.
22576 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22577 <bp-sym.h> and <bp-asm.h>.
22578 (PARMS): Do not use macros from bp-asm.h.
22579 (__posix_fadvise64_l64): Do not use BP_SYM.
22580 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22581 (PARMS): Do not use macros from bp-asm.h.
22583 (semtimedop): Do not use BP_SYM.
22584 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22587 2013-02-21 Allan McRae <allan@archlinux.org>
22589 * manual/message.texi (Charset conversion in gettext):
22590 Move @end statement to beginning of line.
22592 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22599 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22600 (denorm): Likewise.
22601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22602 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22604 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22606 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22607 tail-call to the resolved function if pltexit isn't needed.
22609 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22611 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22612 or Y being zero as being unlikely.
22613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22616 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22618 * manual/nss.texi (System Databases and Name Service Switch):
22619 Remove frobnicate @pxref.
22621 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22623 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22624 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22626 2013-02-20 Petr Machata <pmachata@redhat.com>
22628 * elf/elf.h (R_ARM_TARGET1): New macro.
22629 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22630 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22631 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22632 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22633 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22634 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22635 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22636 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22637 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22638 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22639 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22640 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22641 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22642 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22643 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22644 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22645 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22646 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22647 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22648 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22649 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22650 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22651 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22652 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22653 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22654 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22655 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22656 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22657 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22658 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22659 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22660 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22661 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22662 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22663 (R_ARM_THM_GOT_BREL12): Likewise.
22664 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22665 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22666 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22667 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22668 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22669 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22670 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22671 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22672 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22674 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22676 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22677 __attribute_used__ to __attribute__ ((unused)).
22679 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22681 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22684 comment formatting.
22685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22687 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22690 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22692 (ENTER): Remove both macro definitions.
22694 (CHECK_BOUNDS_LOW): Likewise.
22695 (CHECK_BOUNDS_HIGH): Likewise.
22696 (CHECK_BOUNDS_BOTH): Likewise.
22697 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22698 (RETURN_BOUNDED_POINTER): Likewise.
22699 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22700 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22701 (POP_ERRNO_LOCATION_RETURN): Likewise.
22702 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22703 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22704 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22706 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22707 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22708 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22709 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22710 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22711 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22712 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22713 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22714 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22715 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22716 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22717 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22718 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22719 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22721 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22722 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22724 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22725 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22726 * sysdeps/i386/i586/memset.S (memset): Likewise.
22727 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22728 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22729 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22731 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22732 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22733 Change uses of L(2) to L(out).
22734 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22735 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22736 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22737 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22738 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22740 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22741 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22743 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22744 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22745 (RETURN): Do not use macro LEAVE.
22746 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22747 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22748 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22749 * sysdeps/i386/i686/memset.S (memset): Likewise.
22750 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22751 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22752 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22753 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22755 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22756 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22757 L(1_2) and L(1_3) into L(1).
22758 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22759 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22760 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22761 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22762 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22763 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22764 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22765 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22766 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22768 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22769 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22770 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22771 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22772 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22773 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22775 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22776 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22777 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22778 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22779 * sysdeps/i386/strspn.S (strspn): Likewise.
22780 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22782 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22783 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22784 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22785 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22786 L(1_3) into L(1_1).
22787 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22788 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22789 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22791 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22793 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22795 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22798 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22800 * math/atest-exp.c (exp_mpn): Remove ROUND.
22801 * math/atest-exp2.c (exp_mpn): Likewise.
22802 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22804 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22805 * stdlib/tst-tls-atexit-lib.c: Likewise.
22806 * stdlib/tst-tls-atexit.c: Likewise.
22808 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22810 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22811 and __attribute_alloc_size__.
22813 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22815 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22816 __attribute_alloc_size__.
22817 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22818 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22820 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22822 * include/programs/xmalloc.h: New file.
22823 * catgets/gencat.c: Include it.
22824 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22825 * elf/pldd.c: Likewise.
22826 * iconv/iconv_charmap.c: Likewise.
22827 * iconv/iconvconfig.c: Likewise.
22828 * iconv/strtab.c: Likewise.
22829 * locale/programs/locale.c: Likewise.
22830 * locale/programs/localedef.h: Likewise.
22831 * locale/programs/simple-hash.c: Likewise.
22832 * nscd/nscd.h: Likewise.
22833 * nss/makedb.c: Likewise.
22834 * sysdeps/generic/ldconfig.h: Likewise.
22836 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22838 * Versions.def: Add GLIBC_2.18.
22839 * include/link.h (struct link_map): New member l_tls_dtor_count.
22840 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22841 (__call_tls_dtors): Likewise.
22842 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22843 __cxa_thread_atexit_impl.
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22852 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22853 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22860 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22861 (tests): Add test case tst-tls-atexit.
22862 (modules-names): Add shared library for tst-tls-atexit.
22863 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22864 (GLIBC_PRIVATE): Add __call_tls_dtors.
22865 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22867 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22868 * stdlib/tst-tls-atexit.c: New test case.
22869 * stdlib/tst-tls-atexit-lib.c: New test case.
22871 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22873 * elf/Versions (ld): Add _dl_find_dso_for_object.
22874 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22875 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22876 (dl_open_worker): Use _dl_find_dso_for_object.
22877 * elf/dl-sym.c (do_sym): Likewise.
22878 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22880 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22882 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22883 Syntactic changes only.
22884 (_dl_runtime_profile): Do a tail-call to the resolved function.
22886 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22889 * sysdeps/x86_64/bp-asm.h: Remove file.
22890 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22891 <bp-sym.h> and <bp-asm.h>.
22892 (__clone): Do not use BP_SYM.
22893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22894 <bp-sym.h> and <bp-asm.h>.
22895 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22896 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22898 (_setjmp): Do not use BP_SYM.
22899 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22901 (setjmp): Do not use BP_SYM.
22902 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22904 (mempcpy): Do not use BP_SYM in weak_alias.
22905 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22907 (strchr): Do not use BP_SYM.
22908 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22910 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22911 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22912 (_start): Do not use BP_SYM.
22913 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22915 (strcat): Do not use BP_SYM.
22916 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22918 (STRCMP): Do not use BP_SYM.
22919 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22921 (STRCPY): Do not use BP_SYM.
22922 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22924 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22926 (FUNCTION): Do not use BP_SYM.
22927 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22929 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22931 2013-02-17 Andreas Jaeger <aj@suse.de>
22933 * time/Versions: Sort entries.
22934 * string/Versions: Likewise.
22935 * resolv/Versions: Likewise.
22936 * posix/Versions: Likewise.
22937 * iconv/Versions: Likewise.
22938 * elf/Versions: Likewise.
22939 * wcsmbs/Versions: Likewise.
22941 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22943 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22944 loop termination condition.
22946 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22947 variable to calculate EZ.
22950 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22951 the lower precision input.
22953 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22956 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22957 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22958 (run-via-rtld-prefix): Do not handle %-bp tests.
22959 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22960 (all-object-suffixes): Remove .ob.
22961 (bppfx): Remove variable.
22962 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22963 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22964 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22965 [$(build-bounded) = yes] (libtype.ob): Likewise.
22966 * Makerules (elide-routines.ob): Remove variable.
22967 (do-tests-clean): Do not handle *-bp.out.
22968 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22969 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22970 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22971 (tests): Do not include $(tests-bp.out).
22972 (xtests): Do not include $(xtests-bp.out).
22973 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22974 [$(build-bounded) = yes] ($(addprefix
22975 $(objpfx),$(binaries-bounded))): Remove rule.
22976 ($(objpfx)%-bp.out): Remove rule.
22977 * config.make.in (build-bounded): Remove variable.
22978 * crypt/Makefile [$(build-bounded) = yes]
22979 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22980 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22981 append to variable.
22982 [$(build-bounded) = yes] (install-lib): Likewise.
22983 [$(build-bounded) = yes] (generated): Likewise.
22984 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22986 * intl/Makefile [$(build-bounded) = yes]
22987 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22988 * math/Makefile [$(build-bounded) = yes]
22989 ($(tests:%=$(objpfx)%-bp): Likewise.
22990 * misc/Makefile [$(build-bounded) = yes]
22991 ($(objpfx)tst-tsearch-bp): Likewise.
22992 * nptl/Makeconfig (bounded-thread-library): Remove variable.
22993 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22995 * string/Makefile (o-objects.ob): Remove variable.
22996 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22997 (CFLAGS-.ob): Remove variable.
22998 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22999 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23000 both definitions of variable.
23001 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23002 (ASFLAGS-.ob): Remove variable.
23004 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23007 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23008 Remove __BOUNDED_POINTERS__ from condition.
23009 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23010 * string/bits/string2.h [!__NO_STRING_INLINES &&
23011 !__BOUNDED_POINTERS__]: Likewise.
23012 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23014 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23015 Remove conditional code.
23016 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23017 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23018 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23022 * csu/libc-start.c: Do not include <bp-sym.h>.
23023 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23024 * elf/dl-open.c: Do not include <bp-sym.h>.
23025 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23026 * math/fegetenv.c: Do not include <bp-sym.h>.
23027 (fegetenv): Do not use BP_SYM in versioned symbols.
23028 * nptl/sysdeps/pthread/bits/libc-lockP.h
23029 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23031 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23032 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23033 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23034 (__pthread_mutex_destroy): Likewise.
23035 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23036 (__pthread_mutex_lock): Likewise.
23037 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23038 (__pthread_mutex_trylock): Likewise.
23039 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23040 (__pthread_mutex_unlock): Likewise.
23041 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23042 (__pthread_mutexattr_init): Likewise.
23043 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23044 (__pthread_mutexattr_destroy): Likewise.
23045 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23046 (__pthread_mutexattr_settype): Likewise.
23047 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23048 (__pthread_rwlock_init): Likewise.
23049 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23050 (__pthread_rwlock_destroy): Likewise.
23051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23052 (__pthread_rwlock_rdlock): Likewise.
23053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23054 (__pthread_rwlock_tryrdlock): Likewise.
23055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23056 (__pthread_rwlock_wrlock): Likewise.
23057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23058 (__pthread_rwlock_trywrlock): Likewise.
23059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23060 (__pthread_rwlock_unlock): Likewise.
23061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23062 (__pthread_key_create): Likewise.
23063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23064 (__pthread_setspecific): Likewise.
23065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23066 (__pthread_getspecific): Likewise.
23067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23070 (_pthread_cleanup_push_defer): Likewise.
23071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23072 (_pthread_cleanup_pop_restore): Likewise.
23073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23074 (pthread_setcancelstate): Likewise.
23075 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23077 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23078 (memchr): Do not use BP_SYM in weak_alias.
23079 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23080 (fegetenv): Do not use BP_SYM in versioned symbols.
23081 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23082 (fesetenv): Do not use BP_SYM in versioned symbols.
23083 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23084 (feupdateenv): Do not use BP_SYM in versioned symbols.
23085 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23086 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23087 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23088 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23089 (open64): Do not use BP_SYM in weak_alias.
23090 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23091 (fegetenv): Do not use BP_SYM in versioned symbols.
23092 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23093 (fesetenv): Do not use BP_SYM in versioned symbols.
23094 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23095 (feupdateenv): Do not use BP_SYM in versioned symbols.
23096 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23097 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23098 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23099 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23100 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23101 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23102 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23104 (__libc_start_main): Do not use BP_SYM.
23106 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23109 redundant return line.
23111 (denorm): Likewise.
23112 (dbl_mp): Likewise.
23113 (sub_magnitudes): Likewise.
23119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23121 (denorm): Likewise.
23122 (dbl_mp): Likewise.
23123 (sub_magnitudes): Likewise.
23130 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23132 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23133 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23136 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23137 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23139 of __mul for squares.
23140 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23142 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23144 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23145 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23147 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23150 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23152 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23153 prototype or function definition. Rename ubp_* variables and
23154 parameters. Remove argv definitions conditional on
23155 [__BOUNDED_POINTERS__].
23156 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23157 * elf/dl-runtime.c (_dl_fixup): Likewise.
23158 * include/set-hooks.h (RUN_HOOK): Likewise.
23159 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23161 * string/strcpy.c (strcpy): Do not use __unbounded.
23162 * sysdeps/generic/frame.h (struct layout): Likewise.
23163 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23164 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23165 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23166 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23167 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23168 (__backtrace): Likewise.
23169 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23171 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23172 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23173 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23175 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23176 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23177 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23178 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23179 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23180 Do not use __unbounded.
23181 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23182 Rename __unboundedrlimits parameter to rlimits in prototype.
23183 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23184 Do not use __unbounded.
23185 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23186 not use __ptrvalue.
23187 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23188 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23189 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23190 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23191 __ptrvalue or __unbounded.
23192 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23193 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23195 (__new_msgctl): Do not use __ptrvalue.
23196 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23198 (__libc_msgrcv): Do not use __ptrvalue.
23199 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23200 startup_info): Do not use __unbounded.
23201 (__libc_start_main): Likewise. Rename ubp_* variables and
23202 parameters. Remove argv definitions conditional on
23203 [__BOUNDED_POINTERS__].
23204 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23206 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23208 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23210 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23212 (__new_shmctl): Do not use __ptrvalue.
23213 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23214 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23216 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23217 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23218 (__libc_sigaction): Likewise.
23219 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23220 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23222 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23224 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23226 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23228 * string/mempcpy.c: Implement by calling memcpy.
23230 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23237 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23238 values in the mantissa.
23240 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23241 minimize writes to Z.
23242 (sub_magnitudes): Simplify code a bit.
23244 2013-02-12 Roland McGrath <roland@hack.frob.com>
23246 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23247 from the message. The linker prefixes all warnings with that already.
23249 2013-02-12 Andreas Schwab <schwab@suse.de>
23252 * posix/regexec.c (extend_buffers): Add parameter min_len.
23253 (check_matching): Pass minimum needed length.
23254 (clean_state_log_if_needed): Likewise.
23255 (get_subexp): Likewise.
23256 * posix/Makefile (tests): Add bug-regex34.
23257 (bug-regex34-ENV): Define.
23258 * posix/bug-regex34.c: New file.
23261 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23262 elements compare against the byte sequence of it, not its name.
23263 * posix/Makefile (tests): Add bug-regex35.
23264 (bug-regex35-ENV): Define.
23265 * posix/bug-regex35.c: New file.
23267 2013-02-11 Tom de Vries <tom@codesourcery.com>
23269 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23271 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23272 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23273 (CHECK_EOL): Add undef.
23275 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23277 * bits/stdlib-bsearch.h: New file.
23278 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23279 * stdlib/stdlib.h: Likewise.
23281 2013-02-11 Roland McGrath <roland@hack.frob.com>
23283 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23284 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23286 * manual/search.texi (Array Search Function): Add missing const in
23288 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23289 declaration to use rlim_t.
23290 (Basic Scheduling Functions): Remove erroneous const from
23291 sched_getparam prototype. Remove erroneous * from
23292 sched_get_priority_max and sched_get_priority_min prototypes.
23293 (Resource Usage): Fix summary @comment on vtimes to refer to
23294 sys/vtimes.h rather than vtimes.h.
23295 Add missing *s in vtimes prototype.
23296 (Limits on Resources): Fix ulimit prototype to return long int.
23297 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23298 prototypes to use long int rather than double.
23299 (BSD Random): Fix initstate and setstate to use char *, not void *.
23300 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23301 prototype to make second argument 'struct aiocb64 *const[]'.
23302 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23303 (Status of AIO Operations): Remove erroneous const in aio_return and
23304 aio_return64 prototypes.
23305 (Synchronizing I/O): Fix sync prototype to return void.
23306 * manual/startup.texi (Suboptions): Remove an erroneous const in
23307 getsubopt prototype.
23308 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23309 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23310 use size_t rather than int.
23311 (Scanning All Users): Likewise for getpwent_r.
23312 (Setting Groups): Add missing const to setgroups prototype.
23313 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23314 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23315 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23316 'const void *' rather than 'const char *'.
23317 (Host Address Functions): Likewise for inet_ntop.
23318 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23319 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23320 ssize_t for return value.
23321 (Sending Data): Likewise for send, sendto, sendmsg.
23322 (Socket Option Functions): Add a missing const in setsockopt prototype.
23323 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23324 use wchar_t for the argument.
23325 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23326 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23328 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23329 double/float/long double for second argument.
23330 Fix return types of significand, significandf, significandl.
23331 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23332 argument in fchmod prototype.
23333 (File Owner): Use uid_t and gid_t in fchown prototype.
23334 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23335 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23336 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23337 use 'const struct dirent **' as argument types to CMP function pointer
23339 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23340 (File Times): Fix summary magic @comment for struct utimbuf and utime
23341 to refer to utime.h, not time.h.
23342 * manual/string.texi (Argz Functions): Add missing const in
23343 argz_extract and argz_next prototypes.
23344 (Finding Tokens in a String): Likewise for basename.
23345 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23346 (Copying and Concatenation): Fix typo in wmemmove prototype.
23347 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23348 (Signal Stack): Remove erroneous const in sigstack prototype.
23349 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23351 (Simple Calendar Time): Likewise for stime.
23352 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23354 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23355 say sys/sysctl.h instead.
23356 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23357 and vsyslog prototypes.
23359 2013-02-11 Tom de Vries <tom@codesourcery.com>
23361 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23364 2013-02-11 Roland McGrath <roland@hack.frob.com>
23366 * misc/sys/mman.h: Fix typo in mremap comment.
23368 2013-02-08 Roland McGrath <roland@hack.frob.com>
23370 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23371 the '\0' terminator.
23373 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23376 * debug/segfault.c: Don't include <bp-checks.h>.
23377 * sysdeps/generic/bp-checks.h: Remove file.
23378 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23379 (__GETDENTS): Don't use CHECK_N.
23380 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23381 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23382 (__getgroups): Don't use CHECK_N.
23383 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23384 (setgroups): Don't use CHECK_N.
23385 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23386 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23387 (__libc_msgrcv): Don't use CHECK_N.
23388 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23389 (__libc_msgsnd): Don't use CHECK_N.
23390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23392 (__libc_pread): Don't use CHECK_N.
23393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23394 include <bp-checks.h>.
23395 (__libc_pread64): Don't use CHECK_N.
23396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23397 include <bp-checks.h>.
23398 (__libc_pwrite): Don't use CHECK_N.
23399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23400 include <bp-checks.h>.
23401 (__libc_pwrite64): Don't use CHECK_N.
23402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23404 (__libc_pread): Don't use CHECK_N.
23405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23406 include <bp-checks.h>.
23407 (__libc_pread64): Don't use CHECK_N.
23408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23409 include <bp-checks.h>.
23410 (__libc_pwrite): Don't use CHECK_N.
23411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23412 include <bp-checks.h>.
23413 (__libc_pwrite64): Don't use CHECK_N.
23414 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23415 (do_pread): Don't use CHECK_N.
23416 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23417 (do_pread64): Don't use CHECK_N.
23418 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23419 (do_pwrite): Don't use CHECK_N.
23420 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23421 (do_pwrite64): Don't use CHECK_N.
23422 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23423 (__libc_readv): Don't use CHECK_N.
23424 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23425 (semop): Don't use CHECK_N.
23426 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23428 (semtimedop): Don't use CHECK_N.
23429 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23430 (__libc_pread): Don't use CHECK_N.
23431 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23433 (__libc_pread64): Don't use CHECK_N.
23434 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23436 (__libc_pwrite): Don't use CHECK_N.
23437 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23439 (__libc_pwrite64): Don't use CHECK_N.
23440 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23442 (__libc_msgrcv): Don't use CHECK_N.
23443 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23444 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23445 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23446 (__libc_writev): Don't use CHECK_N.
23448 2013-02-08 Roland McGrath <roland@hack.frob.com>
23450 * string/strcpy.c: Removed unused variable.
23452 * Makeconfig (+sysdep-includes): Define with := rather than =.
23453 Use an existing include/ subdir of each sysdeps dir before it.
23455 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23457 * nscd/connection.c (register_traced_file): Comment function.
23458 [HAVE_INOTIFY] (union __inev): Define.
23459 [HAVE_INOTIFY] (inotify_check_files): New function.
23460 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23461 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23463 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23465 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23467 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23468 loaded if not already and that a failure is permanent.
23470 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23473 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23474 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23476 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23479 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23480 (CHECK_1_NULL_OK): Likewise.
23481 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23482 (__fxstat): Do not use CHECK_1.
23483 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23485 (___fxstat64): Do not use CHECK_1.
23486 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23488 (__fxstatat): Do not use CHECK_1.
23489 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23491 (__fxstatat64): Do not use CHECK_1.
23492 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23494 (__fxstat): Do not use CHECK_1.
23495 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23497 (__fxstatat): Do not use CHECK_1.
23498 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23500 (__getresgid): Do not use CHECK_1.
23501 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23503 (__getresuid): Do not use CHECK_1.
23504 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23506 (__lxstat): Do not use CHECK_1.
23507 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23509 (__old_msgctl): Do not use CHECK_1.
23510 (__new_msgctl): Likewise.
23511 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23513 (__new_setrlimit): Do not use CHECK_1.
23514 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23516 (__old_shmctl): Do not use CHECK_1.
23517 (__new_shmctl): Likewise.
23518 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23520 (__xstat): Do not use CHECK_1.
23521 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23522 (__lxstat): Do not use CHECK_1.
23523 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23525 (___lxstat64): Do not use CHECK_1.
23526 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23527 (__old_msgctl): Do not use CHECK_1.
23528 (__new_msgctl): Likewise.
23529 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23531 (__gettimeofday): Do not use CHECK_1.
23532 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23533 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23534 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23536 (__gettimeofday): Do not use CHECK_1.
23537 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23538 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23539 (__new_shmctl): Do not use CHECK_1.
23540 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23542 (do_sigtimedwait): Do not use CHECK_1.
23543 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23545 (do_sigwaitinfo): Do not use CHECK_1.
23546 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23548 (msgctl): Do not use CHECK_1.
23549 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23551 (shmctl): Do not use CHECK_1.
23552 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23553 (ustat): Do not use CHECK_1.
23554 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23556 (__fxstat): Do not use CHECK_1.
23557 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23559 (__fxstatat): Do not use CHECK_1.
23560 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23562 (__lxstat): Do not use CHECK_1.
23563 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23565 (__xstat): Do not use CHECK_1.
23566 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23567 (__xstat): Do not use CHECK_1.
23568 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23569 (___xstat64): Do not use CHECK_1.
23572 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23574 (CHECK_BOUNDS_HIGH): Likewise.
23575 * string/strcpy.c: Do not include <bp-checks.h>.
23576 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23578 2013-02-07 Roland McGrath <roland@hack.frob.com>
23580 * nscd/nscd-client.h (__nscd_drop_map_ref):
23581 Add __attribute__ ((unused)).
23582 * nis/nss-nisplus.h (niserr2nss): Likewise.
23584 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23585 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23587 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23588 Remove inline keyword.
23589 * include/rounding-mode.h (round_away): Likewise.
23590 * libio/wfileops.c (adjust_wide_data): Likewise.
23591 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23592 (__m128i_strloadu_tolower): Likewise.
23593 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23594 (__m128i_strloadu_tolower): Likewise.
23595 * time/mktime.c (ydhms_diff): Likewise.
23596 * locale/elem-hash.h (elem_hash): Likewise.
23597 * locale/setlocale.c (setdata): Likewise.
23598 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23599 (re_string_wchar_at): Likewise.
23600 (bitset_not, bitset_merge, bitset_mask): Likewise.
23601 [!(__GNUC__ > 3)] (inline): Remove macro.
23602 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23603 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23604 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23605 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23606 * string/memcmp.c (memcmp_bytes): Likewise.
23607 * locale/programs/locarchive.c (compute_hashval): Likewise.
23608 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23609 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23610 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23611 * nss/getent.c (print_rpc, print_protocols): Likewise.
23612 (print_passwd, print_group, print_aliases): Likewise.
23613 * nis/nss-nisplus.h (niserr2nss): Likewise.
23614 * nscd/connections.c (restart_p): Likewise.
23615 Change return type to bool.
23617 2013-02-05 Roland McGrath <roland@hack.frob.com>
23619 * Makeconfig (all-Depend-files): Add existing
23620 $(sorted-subdirs:=/Depend) files.
23621 (all-subdirs): Remove nss.
23622 * sysdeps/unix/inet/Subdirs: Add it here instead.
23623 * hesiod/Depend: New file.
23625 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23626 instead of calling alloca.
23628 * io/lseek.c (__lseek): Rename to __libc_lseek.
23629 Define __lseek as an alias.
23631 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23633 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23635 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23636 else clause and remove check for non-standard endianness.
23638 2013-02-04 David S. Miller <davem@davemloft.net>
23640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23642 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23645 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23646 (__ubp_memchr): Remove prototype.
23647 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23648 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23649 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23650 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23651 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23653 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23654 (__ubp_memchr): Likewise.
23655 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23656 (__ubp_memchr): Likewise.
23657 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23658 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23659 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23660 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23662 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23663 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23664 (__getcwd): Do not use CHECK_STRING.
23665 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23667 (__real_chown): Do not use CHECK_STRING.
23668 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23670 (fchownat): Do not use CHECK_STRING.
23671 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23673 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23675 (__lchown): Do not use CHECK_STRING.
23676 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23677 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23678 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23679 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23681 include <bp-checks.h>.
23682 (truncate64): Do not use CHECK_STRING.
23683 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23685 (__real_chown): Do not use CHECK_STRING.
23686 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23688 (__lchown): Do not use CHECK_STRING.
23689 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23691 (__chown): Do not use CHECK_STRING.
23692 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23694 (truncate64): Do not use CHECK_STRING.
23695 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23697 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23698 (__xmknod): Do not use CHECK_STRING.
23699 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23701 (__xmknodat): Do not use CHECK_STRING.
23702 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23703 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23705 2013-02-04 Andreas Schwab <schwab@suse.de>
23708 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23709 * include/netdb.h: Likewise for h_errno.
23710 * elf/tst-stackguard1.c: Include <tls.h>.
23712 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23714 * elf/link.h (struct link_map): Extend the l_addr comment.
23715 * include/link.h (struct link_map): Likewise.
23717 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23720 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23721 (BOUNDED_1): Remove macro.
23722 * debug/backtrace.c: Don't include <bp-checks.h>.
23723 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23724 (__backtrace): Likewise.
23725 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23727 (__backtrace): Don't use BOUNDED_1.
23728 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23730 (__backtrace): Don't use BOUNDED_1.
23731 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23732 (__backtrace): Don't use BOUNDED_1.
23733 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23734 (shmat): Don't use BOUNDED_N.
23736 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23739 * sysdeps/generic/bp-start.h: Remove file.
23740 * csu/libc-start.c: Don't include <bp-start.h>.
23741 (LIBC_START_MAIN): Set up __environ directly instead of using
23742 INIT_ARGV_and_ENVIRON.
23743 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23747 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23749 (CHECK_FCNTL): Likewise.
23750 (CHECK_N_PAGES): Likewise.
23753 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23755 (CHECK_SIGSET_NULL_OK): Likewise.
23756 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23758 (sigpending): Don't use CHECK_SIGSET.
23759 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23761 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23762 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23764 (do_sigsuspend): Don't use CHECK_SIGSET.
23765 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23767 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23768 (do_sigwait): Don't use CHECK_SIGSET.
23769 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23771 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23772 include <bp-checks.h>.
23773 (sigpending): Don't use CHECK_SIGSET.
23774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23775 include <bp-checks.h>.
23776 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23777 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23779 (sigpending): Don't use CHECK_SIGSET.
23780 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23782 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23785 * sysdeps/generic/bp-semctl.h: Remove file.
23786 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23787 <bp-checks.h> and <bp-semctl.h>.
23788 (__old_semctl): Don't use CHECK_SEMCTL.
23789 (__new_semctl): Likewise.
23790 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23792 (__old_semctl): Don't use CHECK_SEMCTL.
23793 (__new_semctl): Likewise.
23794 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23795 <bp-checks.h> and <bp-semctl.h>.
23796 (__old_semctl): Don't use CHECK_SEMCTL.
23797 (__new_semctl): Likewise.
23798 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23799 <bp-checks.h> and <bp-semctl.h>.
23800 (semctl): Don't use CHECK_SEMCTL.
23803 * Makerules (elide-bp-thunks): Remove variable.
23804 (elide-routines.oS): Don't use $(elide-bp-thunks).
23805 (elide-routines.os): Likewise.
23806 (elide-routines.o): Likewise.
23807 (elide-routines.op): Likewise.
23808 (elide-routines.og): Likewise.
23809 (objects): Don't use $(bp-thunks).
23810 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23812 (common-generated): Do not add s-proto-bp.d.
23813 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23816 Do not generate makefile rules for bounded-pointer thunks.
23817 * sysdeps/generic/bp-thunks.h: Remove file.
23818 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23819 * sysdeps/unix/s-proto-bp.S: Likewise.
23822 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23823 parts of result separately when argument is not close to line from
23824 -i to i and one part of argument is small.
23825 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23826 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23827 * math/libm-test.inc (cacos_test): Add more tests.
23828 (casin_test): Likewise.
23829 (casinh_test): Likewise.
23830 * sysdeps/i386/fpu/libm-test-ulps: Update.
23831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23833 2013-01-31 David S. Miller <davem@davemloft.net>
23835 * po/de.po: Update from translation team.
23837 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23839 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23841 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23843 * configure.in (_AC_PROG_CC_C89): New definition.
23844 * configure: Regenerate.
23846 * configure.in (AC_PROG_CPP): New definition.
23847 * configure: Regenerate.
23849 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23851 * debug/tst-backtrace.h: New file.
23852 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23853 (ret): Remove variable.
23855 (FAIL): Remove macro.
23856 (NO_INLINE): Likewise.
23857 (fn1): Use match function instead of strstr.
23858 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23859 (ret): Remove variable.
23861 (FAIL): Remove macro.
23862 (NO_INLINE): Likewise.
23863 (fn): Use match function instead of strstr.
23864 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23865 (ret): Remove variable.
23867 (FAIL): Remove macro.
23868 (NO_INLINE): Likewise.
23869 (handle_signal): Use match function instead of strstr.
23870 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23871 (ret): Remove variable.
23873 (FAIL): Remove macro.
23874 (NO_INLINE): Likewise.
23875 (handle_signal): Use match function instead of strstr.
23877 2013-01-23 Roland McGrath <roland@hack.frob.com>
23879 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23881 2013-01-23 David S. Miller <davem@davemloft.net>
23883 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23884 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23885 argument of CAS if possible.
23886 * sysdeps/sparc/sparc64/bits/atomic.h
23887 (__arch_compare_and_exchange_val_32_acq): Likewise.
23888 (__arch_compare_and_exchange_val_64_acq): Likewise.
23890 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23892 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23893 * sysdeps/posix/ulimit.c: ... this.
23894 Include <limits.h>.
23895 * sysdeps/unix/bsd/ulimit.c: Remove file.
23897 2013-01-23 Adam Conrad <adconrad@0c3.net>
23899 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23900 (LDFLAGS-tst-array5): Likewise.
23902 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23905 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23906 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23907 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23908 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23910 2013-01-21 David S. Miller <davem@davemloft.net>
23912 * sysdeps/sparc/backtrace.c: New file.
23913 * sysdeps/sparc/sparc32/backtrace.h: New file.
23914 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23915 * sysdeps/sparc/sparc64/backtrace.h: New file.
23916 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23917 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23920 2013-01-21 Andreas Schwab <schwab@suse.de>
23923 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23926 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23932 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23933 Mark Mitchell <mark@codesourcery.com>
23934 Tom de Vries <tom@codesourcery.com>
23935 Paul Pluzhnikov <ppluzhnikov@google.com>
23937 * debug/tst-backtrace2.c: New file.
23938 * debug/tst-backtrace3.c: Likewise.
23939 * debug/tst-backtrace4.c: Likewise.
23940 * debug/tst-backtrace5.c: Likewise.
23941 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23942 (CFLAGS-tst-backtrace3.c): Likewise.
23943 (CFLAGS-tst-backtrace4.c): Likewise.
23944 (CFLAGS-tst-backtrace5.c): Likewise.
23945 (LDFLAGS-tst-backtrace2): Likewise.
23946 (LDFLAGS-tst-backtrace3): Likewise.
23947 (LDFLAGS-tst-backtrace4): Likewise.
23948 (LDFLAGS-tst-backtrace5): Likewise.
23949 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23950 tst-backtrace4 and tst-backtrace5.
23952 2013-01-18 Anton Blanchard <anton@samba.org>
23953 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23955 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23956 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23957 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23958 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23960 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23961 "+r" and remove output regs list as redundant. Add explicit inline
23962 asm to specify register of return val to work around compiler codegen
23963 bug. Remove (int) cast on return value. Add return type parameter to
23964 use in macro so that this macro does not truncate return value for
23966 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23967 pass to INTERNAL_VSYSCALL_NCS.
23968 (INLINE_VSYSCALL): Add 'long int' as return type to
23969 INTERNAL_VSYSCALL_NCS macro invocation.
23970 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23971 INTERNAL_VSYSCALL_NCS macro invocation.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23974 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23977 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23978 Fix application of SIMD FP exception mask.
23980 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23981 mp_no from a power of two.
23982 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23983 __mpexp_twomm1. Use __pow_mp.
23985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23988 2013-01-17 David S. Miller <davem@davemloft.net>
23990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23992 2013-01-17 Joseph Myers <joseph@codesourcery.com>
23995 * include/complex.h: Condition contents on [!_COMPLEX_H].
23996 (__kernel_casinhf): New prototype.
23997 (__kernel_casinh): Likewise.
23998 (__kernel_casinhl): Likewise.
23999 * math/Makefile (libm_calls): Add k_casinh.
24000 * math/k_casinh.c: New file.
24001 * math/k_casinhf.c: Likewise.
24002 * math/k_casinhl.c: Likewise.
24003 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24004 finite nonzero arguments.
24005 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24006 finite nonzero arguments.
24007 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24008 finite nonzero arguments.
24009 * math/s_casinh.c: Do not include <float.h>.
24010 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24011 * math/s_casinhf.c: Do not include <float.h>.
24012 (__casinhf): Move code for finite nonzero arguments to
24014 * math/s_casinhl.c: Do not include <float.h>.
24015 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24017 (__casinhl): Move code for finite nonzero arguments to
24019 * math/libm-test.inc (cacos_test): Add more tests.
24020 * sysdeps/i386/fpu/libm-test-ulps: Update.
24021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24023 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24025 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24026 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24027 [!HAVE_MREMAP]: Remove [defined linux] case.
24028 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24030 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24032 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24034 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24036 * elf/elf.h (R_386_SIZE32): New relocation.
24037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24039 (elf_machine_rela): Likewise.
24040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24041 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24043 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24045 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24046 (FP_FAST_FMA): Do not define.
24047 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24048 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24049 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24050 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24051 !_SOFT_FLOAT]: Likewise.
24052 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24053 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24055 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24056 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24057 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24058 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24059 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24060 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24063 2013-01-16 Andreas Schwab <schwab@suse.de>
24066 * include/stdlib.h (__mktemp): Add declaration.
24067 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24068 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24070 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24072 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24074 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24075 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24076 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24078 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24079 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24081 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24083 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24084 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24085 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24087 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24088 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24090 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24092 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24094 2013-01-15 David S. Miller <davem@davemloft.net>
24096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24097 trunc{,f} to libm-sysdep_routes.
24098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24108 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24109 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24110 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24111 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24112 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24113 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24116 nearbyint{,f} to libm-sysdep_routes.
24117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24128 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24130 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24131 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24133 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24134 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24135 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24137 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24138 libc_feholdexcept and libc_fesetenv.
24140 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24142 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24144 2013-01-14 David S. Miller <davem@davemloft.net>
24146 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24147 (SPARC_ASM_VIS2_IFUNC): Likewise.
24148 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24150 use of 'siam' instruction.
24151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24159 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24160 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24169 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24171 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24184 routines to libm-sysdep_routines.
24185 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24188 fdim/fdimf to libm-sysdep_routines.
24189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24197 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24198 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24199 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24200 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24202 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24204 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24205 to optimize copies.
24207 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24212 local variable MPTWO.
24213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24216 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24218 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24221 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24223 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24225 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24227 * manual/pattern.texi (glob_t): Document gl_flags.
24228 (glob64_t): Likewise.
24230 2013-01-11 David S. Miller <davem@davemloft.net>
24232 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24233 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24234 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24235 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24236 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24237 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24238 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24239 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24240 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24241 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24242 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24243 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24244 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24246 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24247 sparc V9 rather than using V8 code.
24248 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24249 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24253 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24256 2013-01-11 Roland McGrath <roland@hack.frob.com>
24258 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24259 not in the main loop.
24260 * configure: Regenerated.
24262 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24264 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24265 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24267 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24268 [!__GLIBC_HAVE_LONG_LONG] case.
24269 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24270 condition to just #else.
24271 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24272 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24273 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24274 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24276 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24277 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24278 #elif condition to just #else.
24279 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24280 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24281 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24282 #elif condition to just #else.
24284 2013-01-11 Steve Ellcey <sellcey@mips.com>
24286 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24287 (EF_MIPS_ARCH_64): Fix value.
24288 (EF_MIPS_ARCH_32R2): New.
24289 (EF_MIPS_ARCH_64R2): New.
24291 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24293 * Makeconfig (+link-pie-before-libc): New.
24294 (+link-pie-after-libc): Likewise.
24295 (+link-pie-tests): Likewise.
24296 (+link-pie): Rewritten.
24297 (link-before-libc): Remove $(config-LDFLAGS).
24298 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24299 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24300 (config-LDFLAGS): Renamed to ...
24301 (rtld-LDFLAGS): This.
24302 (rtld-tests-LDFLAGS): New macro.
24303 (link-libc-rpath-link): Likewise.
24304 (link-libc-tests-rpath-link): Likewise.
24305 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24306 (link-libc): Prepand $(link-libc-rpath-link).
24307 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24308 (test-program-prefix): New macro.
24309 (test-via-rtld-prefix): Likewise.
24310 (test-program-cmd): Likewise.
24311 (host-test-program-cmd): Likewise.
24312 * Makefile ($(common-objpfx)testrun.sh): Replace
24313 $(run-program-prefix) with $(test-program-prefix).
24314 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24316 ($(common-objpfx)shlib.lds): Likewise.
24317 (build-module-helper): Likewise.
24318 ($(common-objpfx)format.lds): Likewise.
24319 * Rules (binaries-pie-tests): New.
24320 (binaries-pie-notests): Likewise.
24321 (binaries-pie): Rewritten.
24322 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24323 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24324 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24325 (make-test-out): Replace $(host-built-program-cmd) with
24326 $(host-test-program-cmd).
24327 * config.make.in (build-hardcoded-path-in-tests): New variable.
24328 * configure.in (--enable-hardcoded-path-in-tests): New configure
24330 (hardcoded_path_in_tests): New AC_SUBST.
24331 * configure: Regenerated.
24332 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24333 $(built-program-cmd) with $(test-program-cmd).
24334 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24335 (test_program_cmd): This.
24336 * elf/Makefile ($(objpfx)order.out): Run test with
24337 $(test-program-prefix).
24338 ($(objpfx)order2.out): Likewise.
24339 ($(objpfx)tst-initorder.out): Likewise.
24340 ($(objpfx)tst-initorder2.out): Likewise.
24341 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24342 $(test-program-cmd).
24343 ($(objpfx)tst-array1-static.out): Likewise.
24344 ($(objpfx)tst-array2.out): Likewise.
24345 ($(objpfx)tst-array3.out): Likewise.
24346 ($(objpfx)tst-array4.out): Likewise.
24347 ($(objpfx)tst-array5.out): Likewise.
24348 ($(objpfx)tst-array5-static.out): Likewise.
24349 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24350 $(test-program-cmd).
24351 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24352 $(run-program-prefix) with $(test-program-prefix).
24353 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24354 (test_program_prefix): This.
24355 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24356 $(run-program-prefix) with $(test-program-prefix).
24357 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24358 (test_program_prefix): This.
24359 * iconvdata/tst-tables.sh: Likewise.
24360 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24361 $(run-program-prefix) with $(test-program-prefix).
24362 ($(objpfx)tst-translit.out): Likewise.
24363 ($(objpfx)tst-gettext2.out): Likewise.
24364 ($(objpfx)tst-gettext4.out): Likewise.
24365 ($(objpfx)tst-gettext6.out): Likewise.
24366 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24367 (test_program_prefix): This.
24368 * intl/tst-gettext2.sh: Likewise.
24369 * intl/tst-gettext4.sh Likewise.
24370 * intl/tst-gettext6.sh: Likewise.
24371 * intl/tst-translit.sh: Likewise.
24372 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24373 with $(test-program-cmd).
24374 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24375 $(run-program-prefix) with $(test-program-prefix).
24376 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24377 (test_program_prefix): This.
24378 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24379 $(run-program-prefix) with $(test-program-prefix).
24380 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24381 (test_program_prefix): This.
24382 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24383 * posix/Makefile ($(objpfx)globtest.out): Replace
24384 $(run-via-rtld-prefix) and $(test-wrapper) with
24385 $(test-program-prefix) and $(test-via-rtld-prefix).
24386 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24387 $(test-program-prefix).
24388 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24389 $(host-test-program-cmd).
24390 (tst-spawn-ARGS): Likewise.
24391 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24392 $(test-program-prefix).
24393 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24394 (test_via_rtld_prefix): This.
24395 (test_wrapper): Renamed to ...
24396 (test_program_prefix): This.
24397 (run_program_prefix): Replaced by test_program_prefix.
24398 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24399 (test_program_prefix): This.
24400 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24401 with $(host-test-program-cmd).
24402 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24403 $(run-program-prefix) with $(test-program-prefix).
24404 ($(objpfx)tst-printf.out): Likewise.
24405 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24406 $(test-program-cmd).
24407 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24408 (test_program_prefix): This.
24409 * stdio-common/tst-unbputc.sh: Likewise.
24410 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24411 $(run-program-prefix) with $(test-program-prefix).
24412 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24413 (test_program_prefix): This.
24414 * string/Makefile ($(objpfx)tst-svc.out): Replace
24415 $(built-program-cmd) with $(test-program-cmd).
24417 2013-01-11 Andreas Jaeger <aj@suse.de>
24420 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24421 value. Sync with Linux 3.7.
24423 2013-01-10 David S. Miller <davem@davemloft.net>
24425 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24426 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24427 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24429 2013-01-10 Roland McGrath <roland@hack.frob.com>
24431 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24433 * configure: Regenerated.
24435 2013-01-10 David S. Miller <davem@davemloft.net>
24437 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24438 sparc V9 rather than using V8 code.
24439 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24440 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24442 2013-01-10 Roland McGrath <roland@hack.frob.com>
24444 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24445 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24446 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24447 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24448 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24449 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24450 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24451 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24452 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24453 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24454 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24455 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24456 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24457 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24458 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24459 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24460 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24461 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24462 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24463 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24464 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24465 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24466 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24467 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24468 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24469 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24470 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24472 2013-01-10 David S. Miller <davem@davemloft.net>
24474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24476 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24478 * posix/Makefile (tests-static): New variable.
24479 (tests): Add $(tests-static).
24480 (tst-exec-static-ARGS): New variable.
24481 (tst-spawn-static-ARGS): Likewise.
24482 * posix/tst-exec-static.c: New file.
24483 * posix/tst-spawn-static.c: Likewise.
24484 * posix/tst-exec.c: Support run directly.
24485 * posix/tst-spawn.c: Likewise.
24487 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24489 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24491 * math/bits/mathcalls.h (llrint): Likewise.
24492 (llround): Likewise.
24493 * stdlib/stdlib.h (struct drand48_data): Likewise.
24494 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24495 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24496 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24498 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24500 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24501 (elf_greg_t): Likewise.
24502 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24503 (__jmp_buf): Likewise.
24504 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24506 (llrint): Likewise, for all definitions.
24507 (llrintl): Likewise.
24509 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24510 Remove [__GNUC__] condition.
24511 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24512 condition to just [__USE_ISOC99].
24513 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24515 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24518 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24519 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24521 (_POSIX_V6_ILP32_OFF32): Likewise.
24522 (_XBS5_ILP32_OFF32): Likewise.
24523 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24524 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24526 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24528 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24530 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24531 doubles __mpexp_twomm1. Adjust usage.
24532 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24535 2013-01-10 Andreas Schwab <schwab@suse.de>
24538 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24539 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24541 2013-01-09 David S. Miller <davem@davemloft.net>
24544 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24545 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24546 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24547 (TCP_FASTOPEN): Define.
24548 (tcp_repair_opt): New structure.
24549 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24551 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24552 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24553 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24554 (tcp_cookie_transactions): New structure.
24556 2013-01-09 Anton Blanchard <anton@samba.org>
24558 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24559 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24560 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24561 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24563 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24565 * include/features.h (__USE_ANSI): Remove.
24567 2013-01-09 Roland McGrath <roland@hack.frob.com>
24569 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24571 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24573 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24575 * sysdeps/s390/fpu/libm-test-ulps: Update.
24577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24579 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24583 (denorm): Likewise.
24584 (__mp_dbl): Likewise.
24585 (__dbl_mp): Likewise.
24586 (add_magnitudes): Likewise.
24587 (sub_magnitudes): Likewise.
24593 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24597 (denorm): Likewise.
24598 (__mp_dbl): Likewise.
24599 (__dbl_mp): Likewise.
24600 (add_magnitudes): Likewise.
24601 (sub_magnitudes): Likewise.
24607 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24611 (denorm): Likewise.
24612 (__mp_dbl): Likewise.
24613 (__dbl_mp): Likewise.
24614 (add_magnitudes): Likewise.
24615 (sub_magnitudes): Likewise.
24622 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24624 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24625 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24626 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24627 2 && __USE_EXTERN_INLINES]: Likewise.
24629 2013-01-08 Andreas Jaeger <aj@suse.de>
24632 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24634 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24635 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24637 2013-01-07 Anton Blanchard <anton@samba.org>
24639 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24640 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24641 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24642 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24643 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24644 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24645 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24646 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24648 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24649 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24650 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24651 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24652 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24653 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24654 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24655 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24656 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24657 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24658 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24659 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24660 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24661 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24662 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24663 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24664 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24665 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24666 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24668 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24669 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24671 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24672 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24673 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24674 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24676 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24677 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24679 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24680 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24681 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24683 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24685 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24686 (__MALLOC_PMT): Likewise.
24687 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24688 [__GNUC__], only on [_LIBC].
24689 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24690 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24691 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24692 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24693 forward declaration.
24694 (realloc_hook_ini): Likewise.
24695 (memalign_hook_ini): Likewise.
24696 (__libc_memalign): Do not use __MALLOC_PMT in variable
24698 (__libc_valloc): Likewise.
24699 (__libc_pvalloc): Likewise.
24700 (__libc_calloc): Likewise.
24701 (__posix_memalign): Likewise.
24704 * math/s_casinh.c: Include <float.h>.
24705 (__casinh): Do not do computation with squaring and square root
24706 for large arguments.
24707 * math/s_casinhf.c: Include <float.h>.
24708 (__casinhf): Do not do computation with squaring and square root
24709 for large arguments.
24710 * math/s_casinhl.c: Include <float.h>.
24711 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24712 (__casinhl): Do not do computation with squaring and square root
24713 for large arguments.
24714 * math/libm-test.inc (casin_test): Add more tests.
24715 (casinh_test): Likewise.
24716 * sysdeps/i386/fpu/libm-test-ulps: Update.
24717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24719 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24721 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24722 (__x86_64_raw_data_cache_size): Likewise.
24723 (__x86_64_data_cache_size_half): Likewise.
24724 (__x86_64_raw_data_cache_size_half): Likewise.
24725 (__x86_64_shared_cache_size): Likewise.
24726 (__x86_64_raw_shared_cache_size): Likewise.
24727 (__x86_64_shared_cache_size_half): Likewise.
24728 (__x86_64_raw_shared_cache_size_half): Likewise.
24729 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24731 (__x86_data_cache_size): This.
24732 (__x86_64_raw_data_cache_size): Renamed to ...
24733 (__x86_raw_data_cache_size): This.
24734 (__x86_64_data_cache_size_half): Renamed to ...
24735 (__x86_data_cache_size_half): This.
24736 (__x86_64_raw_data_cache_size_half): Renamed to ...
24737 (__x86_raw_data_cache_size_half): This.
24738 (__x86_64_shared_cache_size): Renamed to ...
24739 (__x86_shared_cache_size): This.
24740 (__x86_64_raw_shared_cache_size): Renamed to ...
24741 (__x86_raw_shared_cache_size): This.
24742 (__x86_64_shared_cache_size_half): Renamed to ...
24743 (__x86_shared_cache_size_half): This.
24744 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24745 (__x86_raw_shared_cache_size_half): This.
24746 * sysdeps/x86_64/memcpy.S: Updated.
24747 * sysdeps/x86_64/memset.S: Likewise.
24748 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24749 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24750 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24752 2013-01-04 David S. Miller <davem@davemloft.net>
24754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24756 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24758 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24759 1 to avoid redefinition warning.
24760 (__USE_GNU): Don't define.
24761 (init_signaling_nan): Protoize.
24763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24765 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24767 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24769 (__cpymn): Likewise.
24770 (norm): Remove commented code.
24771 (denorm): Likewise.
24772 (__mp_dbl): Likewise.
24774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24775 (__cpymn): Likewise.
24776 (norm): Remove commented code.
24777 (denorm): Likewise.
24778 (__mp_dbl): Likewise.
24781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24782 mp_no value for 1.0 and 2.0.
24783 (norm): Use RADIXI instead of radixi.d.
24784 (denorm): Likewise.
24785 (__mul): Use 0.0 instead of zero.d.
24786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24787 mp_no value for 1.0 and 2.0.
24788 (norm): Use RADIXI instead of radixi.d.
24789 (denorm): Likewise.
24790 (__mul): Use 0.0 instead of zero.d.
24792 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24795 * math/s_casinh.c (__casinh): Reduce finite argument to first
24796 quadrant then set signs of results at the end.
24797 * math/s_casinhf.c (__casinhf): Likewise.
24798 * math/s_casinhl.c (__casinhl): Likewise.
24799 * math/libm-test.inc (casin_test): Add more tests.
24800 (casinh_test): Likewise.
24801 * sysdeps/i386/fpu/libm-test-ulps: Update.
24802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24804 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24806 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24808 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24810 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24812 (denorm): Likewise.
24813 (__mp_dbl): Likewise.
24816 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24817 and adjust the header comment.
24819 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24820 variable name from declaration.
24822 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24825 Initialize COMMON_CPUID_INDEX_7 element.
24826 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24827 (CPUID_RTM): Likewise.
24828 (HAS_RTM): Likewise.
24829 (COMMON_CPUID_INDEX_7): New enum.
24831 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24834 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24835 size is zero, record memory as freed.
24837 2013-01-03 Andreas Jaeger <aj@suse.de>
24839 * po/ia.po: Add new Interlingua translation.
24841 2012-01-03 Allan McRae <allan@archlinux.org>
24843 * locale/programs/localedef.c: Fix description of '--posix' flag.
24845 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24847 * NEWS: Update dates in second copyright notice.
24848 * README: Update copyright dates in example.
24849 * manual/libc.texinfo: Update copyright dates.
24850 * scripts/test-installation.pl: Update copyright date in --version
24853 * hurd/ctty-input.c: Fix copyright notice formatting.
24854 * hurd/ctty-output.c: Likewise.
24855 * hurd/dtable.c: Likewise.
24856 * hurd/hurd-raise.c: Likewise.
24857 * hurd/hurdprio.c: Likewise.
24858 * hurd/msgportdemux.c: Likewise.
24859 * misc/sys/file.h: Likewise.
24860 * misc/sys/ioctl.h: Likewise.
24861 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24862 * sysdeps/mach/hurd/chdir.c: Likewise.
24863 * sysdeps/mach/hurd/fchdir.c: Likewise.
24864 * sysdeps/mach/hurd/rename.c: Likewise.
24865 * sysdeps/mach/hurd/rmdir.c: Likewise.
24866 * sysdeps/mach/hurd/seekdir.c: Likewise.
24867 * sysdeps/mach/hurd/setsid.c: Likewise.
24868 * sysdeps/posix/wait3.c: Likewise.
24870 * All files with FSF copyright notices: Update copyright dates
24871 using scripts/update-copyrights.
24872 * intl/plural.c: Regenerated.
24873 * locale/programs/charmap-kw.h: Likewise.
24874 * locale/programs/locfile-kw.h: Likewise.
24876 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24878 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24881 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24882 calculation loop and add branch prediction.
24884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24885 check access beyond bounds of m1np.
24887 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24889 (__inv): Remove local variable MPTWO to use the global
24891 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24892 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24894 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24895 MP3HALFS static const.
24897 2013-01-01 David S. Miller <davem@davemloft.net>
24899 * po/ca.po: Update from translation team.
24901 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24903 * scripts/update-copyrights: New file.
24904 * Makeconfig: Reformat copyright notice.
24905 * ctype/ctype.h: Likewise.
24906 * debug/swprintf_chk.c: Likewise.
24907 * elf/dl-cache.c: Likewise.
24908 * elf/dl-debug.c: Likewise.
24909 * elf/dl-object.c: Likewise.
24910 * grp/initgroups.c: Likewise.
24911 * hurd/Makefile: Likewise.
24912 * hurd/hurd/signal.h: Likewise.
24913 * hurd/hurdfault.c: Likewise.
24914 * hurd/hurdioctl.c: Likewise.
24915 * hurd/hurdlookup.c: Likewise.
24916 * hurd/intr-msg.c: Likewise.
24917 * iconv/gconv_open.c: Likewise.
24918 * libio/swprintf.c: Likewise.
24919 * locale/lc-ctype.c: Likewise.
24920 * locale/nl_langinfo.c: Likewise.
24921 * mach/Machrules: Likewise.
24922 * mach/Makefile: Likewise.
24923 * malloc/obstack.h: Likewise.
24924 * manual/Makefile: Likewise.
24925 * manual/tsort.awk: Likewise.
24926 * misc/bits/stab.def: Likewise.
24927 * nis/nis_print_group_entry.c: Likewise.
24928 * nis/nis_table.c: Likewise.
24929 * nis/nss_compat/compat-pwd.c: Likewise.
24930 * nis/nss_compat/compat-spwd.c: Likewise.
24931 * po/Makefile: Likewise.
24932 * posix/fnmatch.c: Likewise.
24933 * posix/regex.h: Likewise.
24934 * resolv/Makefile: Likewise.
24935 * resolv/nss_dns/dns-network.c: Likewise.
24936 * resolv/res_hconf.c: Likewise.
24937 * scripts/gen-sorted.awk: Likewise.
24938 * soft-fp/soft-fp.h: Likewise.
24939 * stdio-common/printf.h: Likewise.
24940 * stdlib/monetary.h: Likewise.
24941 * stdlib/random.c: Likewise.
24942 * stdlib/random_r.c: Likewise.
24943 * sysdeps/generic/Makefile: Likewise.
24944 * sysdeps/gnu/Makefile: Likewise.
24945 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24947 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24949 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24952 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24953 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24955 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24956 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24957 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24958 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24959 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24960 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24963 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24964 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24965 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24966 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24968 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24969 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24972 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24973 * sysdeps/mach/hurd/errnos.awk: Likewise.
24974 * sysdeps/mach/hurd/fork.c: Likewise.
24975 * sysdeps/mach/hurd/getcwd.c: Likewise.
24976 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24977 * sysdeps/mach/hurd/mmap.c: Likewise.
24978 * sysdeps/mach/hurd/utimes.c: Likewise.
24979 * sysdeps/mach/hurd/xmknod.c: Likewise.
24980 * sysdeps/posix/profil.c: Likewise.
24981 * sysdeps/posix/readdir_r.c: Likewise.
24982 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24983 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24984 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24985 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24987 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24988 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24989 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24991 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24992 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24993 * sysdeps/pthread/lio_listio.c: Likewise.
24994 * sysdeps/sparc/dl-procinfo.h: Likewise.
24995 * sysdeps/unix/i386/sysdep.S: Likewise.
24996 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24997 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24998 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24999 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25001 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25002 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25003 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25004 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25005 * sysdeps/wordsize-32/divdi3.c: Likewise.
25006 * time/sys/time.h: Likewise.
25007 * wcsmbs/Makefile: Likewise.
25009 2013-01-01 David S. Miller <davem@davemloft.net>
25011 * po/fr.po: Update from translation team.
25013 * catgets/gencat.c: Update copyright year.
25014 * csu/version.c: Likewise.
25015 * debug/catchsegv.sh: Likewise.
25016 * debug/pcprofiledump.c: Likewise.
25017 * debug/xtrace.sh: Likewise.
25018 * elf/ldconfig.c: Likewise.
25019 * elf/ldd.bash.in: Likewise.
25020 * elf/pldd.c: Likewise.
25021 * elf/sotruss.ksh: Likewise.
25022 * elf/sprof.c: Likewise.
25023 * iconv/iconv_prog.c: Likewise.
25024 * iconv/iconvconfig.c: Likewise.
25025 * locale/programs/locale.c: Likewise.
25026 * locale/programs/localedef.c: Likewise.
25027 * login/programs/pt_chown.c: Likewise.
25028 * malloc/memusage.sh: Likewise.
25029 * malloc/memusagestat.c: Likewise.
25030 * malloc/mtrace.pl: Likewise.
25031 * nscd/nscd.c: Likewise.
25032 * nss/getent.c: Likewise.
25033 * nss/makedb.c: Likewise.
25034 * posix/getconf.c: Likewise.
25036 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25038 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25041 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25043 * math/bits/mathcalls.h (modf): Use __nonnull.
25045 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25047 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25048 (split): Use macro CN instead of the bare value.
25049 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25052 instead of the bare value.
25053 (power1): Likewise.
25055 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25057 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25059 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25061 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25063 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25064 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25065 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25066 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25068 2012-12-28 Andreas Jaeger <aj@suse.de>
25070 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25071 values are from Linux 3.7.
25073 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25074 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25076 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25078 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25081 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25083 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25084 variables with preprocessor constants.
25085 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25086 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25087 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25089 2012-12-27 Bruno Haible <bruno@clisp.org>
25092 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25095 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25098 and use variable directly.
25099 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25101 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25103 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25106 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25108 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25109 include directive. Remove local variable MPONE.
25110 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25111 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25112 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25114 2012-12-25 David S. Miller <davem@davemloft.net>
25116 * version.h (RELEASE): Set to "development".
25117 (VERSION): Set to "2.17.90".
25118 * NEWS: Add 2.18 section.
25120 2012-12-21 David S. Miller <davem@davemloft.net>
25122 * po/hr.po: Update from translation team.
25124 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25126 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25128 2012-12-19 Steve Ellcey <sellcey@mips.com>
25130 * NEWS: Mention new memcpy for MIPS.
25132 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25134 * manual/contrib.texi (Contributors): Spelling correction.
25136 2012-12-15 David S. Miller <davem@davemloft.net>
25138 * po/ru.po: Update from translation team.
25140 2012-12-13 David S. Miller <davem@davemloft.net>
25142 * NEWS: Mention IFUNC testsuite enhancements.
25144 * po/pl.po: Update from translation team.
25145 * po/bg.po: Likewise.
25147 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25148 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25150 2012-12-11 David S. Miller <davem@davemloft.net>
25152 * po/sv.po: Update from translation team.
25154 * po/vi.po: Update from translation team.
25156 * po/cs.po: Update from translation team.
25158 * po/de.po: Update from translation team.
25159 * po/eo.po: Likewise.
25160 * po/nl.po: Likewise.
25162 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25165 * manual/argp.texi (Argp Helper Functions): Move node to follow
25166 Argp Parsing State.
25169 * manual/conf.texi (Limits on File System Capacity): Mention if
25170 terminating null is included in the max size.
25172 2012-12-10 Andreas Jaeger <aj@suse.de>
25174 * po/cs.po: Update from translation team.
25176 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25178 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25179 void pointer and cast to uintptr_t.
25180 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25182 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25183 * sysdeps/s390/s390-64/memset.S: Likewise.
25185 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25188 * menual/message.texi (Message Translation): Fix typos.
25189 (Helper programs for gettext): Likewise.
25191 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25194 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25197 2012-12-07 David S. Miller <davem@davemloft.net>
25199 * po/libc.pot: Update.
25201 2012-12-07 Richard Henderson <rth@redhat.com>
25204 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25205 normal/normal case to before the switch.
25206 (_FP_DIV): Likewise.
25208 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25209 Mike Frysinger <vapier@gentoo.org>
25211 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25212 check for __NR_fadvise64_64.
25214 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25216 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25217 0, not just to plain "0" as a statement.
25218 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25221 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25223 * NEWS: Use sourceware.org in Bugzilla URL.
25225 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25228 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25230 * stdio-common/tst-put-error.c (do_test): Add newline to the
25231 padded test to ensure flush.
25233 2012-12-05 Jeff Law <law@redhat.com>
25235 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25237 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25239 * README: Don't refer to ports add-on as distributed separately.
25240 Mention AArch64 in list of systems supported in the ports add-on.
25242 * LICENSES: Add more non-FSF copyright and license notices.
25244 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25247 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25249 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25250 10000 as width of padded output.
25252 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25254 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25257 variable LX with __attribute__ ((unused)).
25258 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25260 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25261 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25262 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25263 with __attribute__ ((unused)).
25265 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25267 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25269 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25271 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25272 (CFLAGS-nldbl-acos.c): New variable.
25273 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25274 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25275 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25276 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25277 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25278 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25279 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25280 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25281 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25282 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25283 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25284 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25285 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25286 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25287 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25288 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25289 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25290 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25291 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25292 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25293 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25294 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25295 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25296 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25297 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25298 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25299 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25300 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25301 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25302 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25303 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25304 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25305 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25306 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25307 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25308 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25309 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25310 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25311 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25312 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25313 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25314 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25315 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25316 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25317 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25318 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25319 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25320 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25321 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25322 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25323 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25324 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25325 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25326 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25327 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25328 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25329 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25330 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25331 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25332 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25333 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25334 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25335 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25336 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25337 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25338 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25339 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25340 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25341 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25342 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25343 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25344 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25345 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25346 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25347 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25348 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25349 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25350 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25351 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25352 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25353 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25354 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25355 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25356 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25357 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25358 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25359 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25360 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25361 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25362 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25363 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25364 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25365 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25366 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25367 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25368 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25369 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25372 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25376 whole low double instead of just low 47 bits when splitting values
25379 2012-12-03 Allan McRae <allan@archlinux.org>
25381 * manual/stdio.texi (Predefined Printf Handlers): Remove
25382 @hsep and @vsep usage.
25384 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25386 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25387 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25389 2012-12-03 Jeff Law <law@redhat.com>
25391 * time/sys/time.h (settimeofday): Do not mark TV argument
25394 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25396 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25397 when currently writing and seek to current position when not.
25398 * libio/Makefile (tests): Remove bug-fclose1.
25399 * libio/bug-fclose1.c: Delete.
25401 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25403 * manual/arith.texi (feenableexcept): Fix typo.
25404 (fedisableexcept): Likewise.
25406 2012-11-30 Roland McGrath <roland@hack.frob.com>
25408 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25409 second, differently-typed declaration, rather than a cast.
25411 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25413 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25414 * include/rpc/svc.h: ... here.
25416 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25419 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25420 depending n and resplen2 to catch cases where answer
25423 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25425 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25426 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25428 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25430 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25432 2012-11-29 Roland McGrath <roland@hack.frob.com>
25434 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25436 2012-11-28 Jeff Law <law@redhat.com>
25439 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25440 dataset_temporary. Track alloca usage into alloca_used.
25441 If dataset is large allocate and release it via malloc/free.
25443 2012-06-04 Florian Weimer <fweimer@redhat.com>
25446 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25448 2012-11-28 David S. Miller <davem@davemloft.net>
25450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25452 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25455 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25456 of pi/2 rounded to nearest to 64 bits.
25457 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25458 nearest to 64 bits.
25459 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25462 2012-11-28 Jeff Law <law@redhat.com>
25463 Martin Osvald <mosvald@redhat.com>
25466 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25467 * sunrpc/svc.c: Include time.h.
25468 (__svc_accept_failed): New function.
25469 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25470 any reason other than EINTR, call __svc_accept_failed.
25471 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25472 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25474 2012-11-28 Andreas Schwab <schwab@suse.de>
25476 * scripts/abilist.awk: Also handle indirect functions in .opd
25479 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25482 * sysdeps/x86/fpu/powl_helper.c: New file.
25483 * sysdeps/x86/fpu/Makefile: Likewise.
25484 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25486 (__ieee754_powl): Use __powl_helper for finite arguments except
25487 integer exponents below 8.
25488 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25490 (__ieee754_powl): Use __powl_helper for finite arguments except
25491 integer exponents below 8.
25492 * math/libm-test.inc (pow_test): Add more tests and enable some
25493 previously disabled tests.
25494 * sysdeps/i386/fpu/libm-test-ulps: Update.
25495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25497 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25498 Carlos O'Donell <carlos_odonell@mentor.com>
25500 * nss/makedb.c (is_prime): Assert that input is odd and greater
25501 than 4. Note that fact in a comment too.
25502 (next_prime): Add 4 to input.
25504 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25507 * libio/Makefile (tests): Add test case tst-fwrite-error.
25508 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25509 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25510 * libio/tst-fwrite-error.c: New test case.
25512 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25514 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25515 before casting to void *.
25516 * include/libc-internal.h (__pointer_type): New macro.
25517 (__integer_if_pointer_type_sub): Likewise.
25518 (__integer_if_pointer_type): Likewise.
25519 (cast_to_integer): Likewise.
25520 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25521 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25522 before casting to atomic64_t.
25523 (atomic_exchange_acq): Likewise.
25524 (__arch_exchange_and_add_body): Likewise.
25525 (__arch_add_body): Likewise.
25526 (atomic_add_negative): Likewise.
25527 (atomic_add_zero): Likewise.
25529 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25531 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25532 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25533 (add_fdes): Likewise.
25534 (linear_search_fdes): Likewise.
25535 (binary_search_unencoded_fdes): Likewise.
25537 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25539 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25541 2012-11-24 Adam Conrad <adconrad@0c3.net>
25543 * configure.in: Autodetect C++ header directories.
25544 * configure: Regenerated.
25546 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25548 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25550 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25554 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25556 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25557 LDBL_MANT_DIG == 106]: Disable some tests.
25558 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25560 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25564 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25565 input for small inputs. Return +/- pi/2 for large inputs.
25566 * math/libm-test.inc (atan_test): Add more tests.
25568 * sysdeps/generic/unwind-dw2-fde-glibc.c
25569 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25570 __attribute__ ((unused)).
25573 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25574 x * y if x and y are nonzero and z is zero.
25577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25578 nonzero exponents with absolute value below 0x1p-117 to +/-
25582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25583 up arguments below 2**-450, not just those below 2**-500.
25584 * math/libm-test.inc (hypot_test): Add another test.
25587 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25588 Return a+b for ratio over 2**120, not 2**60.
25589 * math/libm-test.inc (hypot_test): Add another test.
25591 * math/libm-test.inc (clog_test): Use
25592 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25593 (clog10_test): Likewise.
25596 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25598 2012-11-22 Andreas Schwab <schwab@suse.de>
25600 * sysdeps/i386/fpu/libm-test-ulps: Update.
25602 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25604 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25605 printf output with newline.
25607 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25610 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25611 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25612 -z nodlopen, -z initfirst and -z execstack support.
25613 * configure: Regenerated.
25615 * elf/elf.h (DF_1_NODIRECT): New macro.
25616 (DF_1_IGNMULDEF): Likewise.
25617 (DF_1_NOKSYMS): Likewise.
25618 (DF_1_NOHDR): Likewise.
25619 (DF_1_EDITED): Likewise.
25620 (DF_1_NORELOC): Likewise.
25621 (DF_1_SYMINTPOSE): Likewise.
25622 (DF_1_GLOBAUDIT): Likewise.
25623 (DF_1_SINGLETON): Likewise.
25624 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25625 DT_1_SUPPORTED_MASK bits.
25626 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25628 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25630 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25632 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25634 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25637 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25638 (sendmmsg): Move declarations...
25639 * socket/sys/socket.h: ... here.
25640 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25641 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25643 * socket/recvmmsg.c: ... this new file.
25644 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25645 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25646 definition of __sendmmsg hidden.
25647 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25648 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25649 Move ENOSYS stub into and include it from...
25650 * socket/sendmmsg.c: ... this new file.
25651 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25652 (sysdep_routines): Move recvmmsg and sendmmsg...
25653 * socket/Makefile (routines): ... here.
25654 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25655 (GLIBC_PRIVATE): Add __sendmmsg.
25656 * include/sys/socket.h (__sendmmsg): Add declarations.
25657 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25660 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25662 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25663 variable I1 with __attribute__ ((unused)).
25664 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25666 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25668 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25669 DUMMY variables with __attribute__ ((unused)).
25671 * bits/byteswap.h: Include <bits/types.h>.
25672 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25674 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25676 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25677 string_t. Do not manually set errno.
25678 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25679 length with __strnlen. Make sure to both set errno and return it on
25682 2012-11-19 David S. Miller <davem@davemloft.net>
25684 With help from Joseph Myers.
25685 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25686 very large arguments properly.
25687 * math/libm-test.inc (atan_test): New tests.
25688 (atan2_test): New tests.
25689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25692 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25695 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25698 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25699 [POSIX] (EADDRNOTAVAIL): Likewise.
25700 [POSIX] (EAFNOSUPPORT): Likewise.
25701 [POSIX] (EALREADY): Likewise.
25702 [POSIX] (ECONNABORTED): Likewise.
25703 [POSIX] (ECONNREFUSED): Likewise.
25704 [POSIX] (ECONNRESET): Likewise.
25705 [POSIX] (EDESTADDRREQ): Likewise.
25706 [POSIX] (EDQUOT): Likewise.
25707 [POSIX] (EHOSTUNREACH): Likewise.
25708 [POSIX] (EIDRM): Likewise.
25709 [POSIX] (EISCONN): Likewise.
25710 [POSIX] (ELOOP): Likewise.
25711 [POSIX] (EMULTIHOP): Likewise.
25712 [POSIX] (ENETDOWN): Likewise.
25713 [POSIX] (ENETUNREACH): Likewise.
25714 [POSIX] (ENOBUFS): Likewise.
25715 [POSIX] (ENODATA): Likewise.
25716 [POSIX] (ENOLINK): Likewise.
25717 [POSIX] (ENOMSG): Likewise.
25718 [POSIX] (ENOPROTOOPT): Likewise.
25719 [POSIX] (ENOSR): Likewise.
25720 [POSIX] (ENOSTR): Likewise.
25721 [POSIX] (ENOTCONN): Likewise.
25722 [POSIX] (ENOTSOCK): Likewise.
25723 [POSIX] (EOPNOTSUPP): Likewise.
25724 [POSIX] (EOVERFLOW): Likewise.
25725 [POSIX] (EPROTO): Likewise.
25726 [POSIX] (EPROTONOSUPPORT): Likewise.
25727 [POSIX] (EPROTOTYPE): Likewise.
25728 [POSIX] (ESTALE): Likewise.
25729 [POSIX] (ETIME): Likewise.
25730 [POSIX] (ETXTBSY): Likewise.
25731 [POSIX] (EWOULDBLOCK): Likewise.
25732 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25733 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25734 [POSIX] (SEEK_CUR): Likewise.
25735 [POSIX] (SEEK_END): Likewise.
25736 [POSIX || UNIX98] (mode_t): Do not require.
25737 [POSIX] (off_t): Likewise.
25738 [POSIX] (pid_t): Likewise.
25739 [POSIX] (sys/stat.h): Do not allow header.
25740 [POSIX] (unistd.h): Likewise.
25741 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25742 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25743 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25744 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25746 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25747 sigevent): Specify elements.
25748 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25750 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25751 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25753 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25754 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25755 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25756 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25757 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25758 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25759 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25760 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25761 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25762 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25763 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25764 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25765 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25766 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25768 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25770 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25772 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25774 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25775 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25776 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25777 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25778 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25779 Specify lower bound on value.
25780 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25781 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25782 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25783 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25784 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25785 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25786 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25787 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25789 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25791 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25792 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25793 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25794 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25795 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25796 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25797 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25798 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25799 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25800 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25801 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25802 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25803 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25804 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25805 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25806 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25808 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25810 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25811 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25812 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25813 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25814 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25815 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25817 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25818 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25819 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25820 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25821 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25822 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25823 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25825 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25826 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25827 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25828 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25829 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25830 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25831 specify as optional.
25832 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25833 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25834 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25835 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25836 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25837 [XPG3] (NL_LANGMAX): Likewise.
25838 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25839 [POSIX || XPG3] (NL_NMAX): Likewise.
25840 [POSIX || XPG3] (NL_SETMAX): Likewise.
25841 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25842 [XPG3] (NZERO): Likewise.
25843 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25844 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25845 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25846 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25847 (REG_ERANGE): Expect.
25848 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25850 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25851 Use (void) in prototype.
25852 [POSIX] (*_t): Allow.
25853 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25854 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25855 (WRDE_BADVAL): Expect.
25857 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25859 [XPG3 || XPG4] (O_RSYNC): Likewise.
25860 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25862 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25863 [XPG3 || XPG4] (sigqueue): Likewise.
25864 [XPG3 || XPG4] (sigtimedwait): Likewise.
25865 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25866 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25867 [XPG3 || XPG4] (vsnprintf): Likewise.
25868 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25870 [XPG3 || XPG4] (blksize_t): Likewise.
25871 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25873 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25874 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25875 [XPG3 || XPG4] (struct itimerspec): Likewise.
25876 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25877 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25878 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25879 [XPG3 || XPG4] (clockid_t): Likewise.
25880 [XPG3 || XPG4] (timer_t): Likewise.
25881 [XPG3 || XPG4] (clock_getres): Likewise.
25882 [XPG3 || XPG4] (clock_gettime): Likewise.
25883 [XPG3 || XPG4] (clock_settime): Likewise.
25884 [XPG3 || XPG4] (nanosleep): Likewise.
25885 [XPG3 || XPG4] (timer_create): Likewise.
25886 [XPG3 || XPG4] (timer_delete): Likewise.
25887 [XPG3 || XPG4] (timer_gettime): Likewise.
25888 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25889 [XPG3 || XPG4] (timer_settime): Likewise.
25890 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25891 [XPG3 || XPG4] (getlogin_r): Likewise.
25892 [XPG3 || XPG4] (pread): Likewise.
25893 [XPG3 || XPG4] (pthread_atfork): Likewise.
25894 [XPG3 || XPG4] (pwrite): Likewise.
25897 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25900 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25902 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25903 finalizing MALLSTREAM.
25905 * sysdeps/mach/hurd/syncfs.c: New file.
25907 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25910 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25911 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25912 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25913 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25914 (_nss_dns_gethostbyname4_r): Likewise.
25915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25916 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25918 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25921 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25923 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25925 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25926 * elf/cache.c (print_entry): Print ",AArch64" for
25929 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25930 * elf/cache.c (print_entry): Print ",hard-float" for
25933 2012-11-18 David S. Miller <davem@davemloft.net>
25935 With help from Joseph Myers.
25936 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25938 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25940 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25941 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25943 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25944 * math/libm-test.inc (y0_test): New tests.
25945 (y1_test): New tests.
25946 * sysdeps/i386/fpu/libm-test-ulps: Update.
25947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25950 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25952 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25954 * configure: Regenerated.
25956 2012-11-17 David S. Miller <davem@davemloft.net>
25959 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25960 nonzero exponents with absolute value below 0x1p-128 to +/-
25963 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25965 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25967 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25969 * posix/getconf-speclist.c: New file.
25970 * posix/posix-envs.def: Likewise.
25971 * posix/confstr.c (START_ENV_GROUP): New macro.
25972 (END_ENV_GROUP): Likewise.
25973 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25974 (KNOWN_PRESENT_ENV_STRING): Likewise.
25975 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25976 (UNKNOWN_ENVIRONMENT): Likewise.
25977 (confstr): Include posix-envs.def instead of handling
25978 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25979 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25980 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25981 (END_ENV_GROUP): Likewise.
25982 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25983 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25984 (UNKNOWN_ENVIRONMENT): Likewise.
25985 (__sysconf): Include posix-envs.def instead of handling associated
25986 cases directly here.
25987 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25988 preprocessing getconf-speclist.c rather than running getconf or
25989 generating empty file.
25991 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
25993 * scripts/check-local-headers.sh: Ignore 'mach' headers.
25995 2012-11-16 Andrej Lajovic <natrij@gmail.com>
25998 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26000 2012-11-16 David S. Miller <davem@davemloft.net>
26002 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26003 smaller than LDBL_EPSILON/2.0L, just return xm1.
26005 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26007 * elf/tst-array1.c (init): Set constructor priority to 1000.
26008 (fini): Set destructor priority to 1000.
26009 * elf/tst-array2dep.c: Likewise.
26011 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26014 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26015 (_IO_new_file_xsputn): Also return EOF if none of the input
26016 data was written when overflow failed.
26017 * libio/iopadn.c (_IO_padn): Likewise.
26018 * libio/iowpadn.c (_IO_wpadn): Likewise.
26019 * stdio-common/tst-put-error.c: Add copyright notice.
26020 (do_test): Add case for printing padded string.
26021 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26022 _IO_padn returned error.
26023 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26024 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26027 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26029 * libio/libioP.h: Add comment note that the references to C++
26030 bits are now obsolete.
26032 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26034 * math/libm-test.inc (check_complex): Use asprintf.
26036 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26038 * debug/pcprofiledump.c (print_version): Update copyright year.
26039 * malloc/memusagestat.c (print_version): Likewise.
26041 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26044 * elf/Makefile (tests): Add tst-audit8.
26045 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26046 ($(objpfx)tst-audit8.out): New target.
26047 (tst-audit8-ENV): New variable.
26048 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26049 audit if l_reloc_result is NULL.
26050 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26051 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26052 * elf/tst-audit8.c: New file.
26054 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26056 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26057 * misc/Makefile (CFLAGS-select.c): Define.
26058 * posix/Makefile (CFLAGS-pause.c): Define.
26060 2012-11-13 David S. Miller <davem@davemloft.net>
26062 * crypt/Makefile: Move test targets after toplevel Rules
26063 inclusion. Grab any necessary sysdep routines when linking.
26064 * crypt/md5.c (md5_process_block): Remove define, we will always
26065 name it __md5_process_block.
26066 (md5_finish_ctx): Update md5_process_block call.
26067 (md5_stream): Likewise.
26068 (md5_process_bytes): Likewise.
26069 (md5_process_block): Rename to __md5_process_block and move to ...
26070 * crypt/md5-block.c: ... here.
26071 * crypt/sha256.c (sha256_process_block): Move to ...
26072 * crypt/sha256-block.c: ... here.
26073 * crypt/sha512.c (sha512_process_block): Move to ...
26074 * crypt/sha512-block.c: ... here.
26075 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26077 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26078 * sysdeps/sparc/sparc64/multiarch/Makefile
26079 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26081 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26082 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26084 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26085 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26086 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26087 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26088 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26089 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26090 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26092 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26094 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26095 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26097 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26099 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26101 * timezone/tzselect.ksh: Update from tzcode git revision
26102 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26103 * timezone/zdump.c: Likewise.
26104 * timezone/zic.c: Likewise.
26105 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26106 in TZVERSION setting, not $(PKGVERSION).
26107 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26108 REPORT_BUGS_TO settings.
26111 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26114 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26116 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26117 detection to immediately after _FP_ROUND().
26118 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26121 2012-11-11 David S. Miller <davem@davemloft.net>
26123 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26125 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26126 __close rather than their public counterparts.
26128 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26130 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26132 [UNIX98] (sem_timedwait): Do not expect.
26133 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26134 [XPG4 || UNIX98] (sockatmark): Do not expect.
26135 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26136 (clock_getcpuclockid): Do not expect.
26137 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26138 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26140 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26141 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26142 [UNIX98] (vwscanf): Likewise.
26143 [UNIX98] (vswscanf): Likewise.
26145 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26147 * timezone/version.h: Remove file.
26148 * timezone/README: Do not refer to version.h.
26149 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26150 $(objpfx)version.h.
26151 ($(objpfx)zdump.o): Likewise.
26152 ($(objpfx)version.h): New target.
26154 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26156 * timezone/README: Don't mention modification to tzselect.ksh.
26157 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26158 work on unmodified tzselect.ksh. Substitute version numbers in
26161 * Makefile (format-me): Remove.
26162 (INSTALL): Adjust indentation. Use commands directly instead of
26163 using $(format-me).
26165 * aclocal.m4 (ACX_PKGVERSION): New macro.
26166 (ACX_BUGURL): Likewise.
26167 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26168 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26169 (REPORT_BUGS_TO): Likewise.
26170 * configure: Regenerated.
26171 * config.h.in (PKGVERSION): New macro.
26172 (REPORT_BUGS_TO): Likewise.
26173 * config.make.in (PKGVERSION): New variable.
26174 (PKGVERSION_TEXI): Likewise.
26175 (REPORT_BUGS_TO): Likewise.
26176 (REPORT_BUGS_TEXI): Likewise.
26177 * Makefile (format-me): Use -I$(common-objpfx)manual.
26178 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26179 ($(common-objpfx)manual/%): New target.
26180 (manual/%): Remove target.
26181 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26182 (print_version): Use PKGVERSION.
26183 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26184 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26185 and REPORT_BUGS_TO.
26186 ($(objpfx)xtrace): Likewise.
26187 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26188 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26189 (print_version): Use PKGVERSION.
26190 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26191 (do_version): Use PKGVERSION.
26192 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26194 (common-ldd-rewrite): Likewise.
26195 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26196 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26197 (print_version): Use PKGVERSION.
26198 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26199 * elf/pldd.c (argp_program_bug_address): Remove variable.
26200 (more_help): New function.
26201 (argp): Use more_help.
26202 (print_version): Use PKGVERSION.
26203 * elf/sln.c (main): Use PKGVERSION.
26204 (usage): Use REPORT_BUGS_TO.
26205 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26206 (top level): Use PKGVERSION.
26207 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26208 (print_version): Use PKGVERSION.
26209 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26210 (print_version): Use PKGVERSION.
26211 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26212 (print_version): Use PKGVERSION.
26213 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26214 (print_version): Use PKGVERSION.
26215 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26216 (print_version): Use PKGVERSION.
26217 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26218 (print_version): Use PKGVERSION.
26219 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26221 ($(objpfx)memusage): Likewise.
26222 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26223 (do_version): Use PKGVERSION.
26224 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26225 (print_version): Use PKGVERSION.
26226 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26227 ($PKGVERSION): New variable.
26228 ($REPORT_BUGS_TO): Likewise.
26229 (usage): Use $REPORT_BUGS_TO.
26230 (top level): Use $PKGVERSION.
26231 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26232 ($(objpfx)pkgvers.texi): New rule.
26233 ($(objpfx)stamp-pkgvers): Likewise.
26234 * manual/install.texi: Include pkgvers.texi.
26235 (--with-pkgversion): Document new configure option.
26236 (--with-bugurl): Likewise.
26237 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26238 than necessarily for this particular distribution. Use
26239 REPORT_BUGS_TO for where to report bugs.
26240 * INSTALL: Regenerated.
26241 * manual/libc.texinfo: Include pkgvers.texi.
26242 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26243 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26244 (print_version): Use PKGVERSION.
26245 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26246 (print_version): Use PKGVERSION.
26247 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26248 (print_version): Use PKGVERSION.
26249 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26250 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26252 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26253 (print_version): Use PKGVERSION.
26254 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26255 (print_version): Use PKGVERSION.
26256 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26259 * timezone/checktab.awk: Update from tzcode 2012i.
26260 * timezone/ialloc.c: Likewise.
26261 * timezone/private.h: Likewise.
26262 * timezone/scheck.c: Likewise.
26263 * timezone/tzfile.h: Likewise.
26264 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26265 (TZVERSION): Hardcode tzcode version number.
26266 * timezone/zdump.c: Update from tzcode 2012i.
26267 * timezone/zic.c: Likewise.
26268 * timezone/version.h: New file.
26269 * timezone/README: Describe version.h. Update upstream location.
26272 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26273 (mktemp): Enable declaration.
26274 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26275 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26276 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26277 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26279 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26281 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26283 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26285 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26291 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26292 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26293 for copies of such integer values.
26294 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26295 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26297 2012-11-09 Andreas Jaeger <aj@suse.de>
26299 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26300 definitions and declarations that are provided by
26301 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26303 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26305 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26306 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26307 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26310 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26312 * elf/elf.h: Update comment before AArch64 relocations.
26314 2012-11-07 David S. Miller <davem@davemloft.net>
26316 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26317 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26318 (__start_context): Declare.
26319 (__makecontext_ret): Delete.
26320 (__makecontext): Hook up __start_context instead of
26322 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26323 (sysdep_routines): Add __start_context when in stdlib.
26325 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26327 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26328 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26329 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26331 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26332 (READELF): New variable. Use it instead of hardcoded "readelf".
26334 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26336 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26337 * sysdeps/x86/Makefile: Here.
26338 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26339 * sysdeps/x86/tst-xmmymm.sh: This.
26341 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26343 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26345 [UNIX98] (pthread_barrier_t): Do not expect.
26346 [UNIX98] (pthread_barrierattr_t): Likewise.
26347 [UNIX98] (pthread_spinlock_t): Likewise.
26348 [UNIX98] (pthread_barrier_destroy): Likewise.
26349 [UNIX98] (pthread_barrier_init): Likewise.
26350 [UNIX98] (pthread_barrier_wait): Likewise.
26351 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26352 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26353 [UNIX98] (pthread_barrierattr_init): Likewise.
26354 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26355 [UNIX98] (pthread_getcpuclockid): Likewise.
26356 [UNIX98] (pthread_mutex_timedlock): Likewise.
26357 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26358 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26359 [UNIX98] (pthread_sigmask): Likewise.
26360 [UNIX98] (pthread_spin_destroy): Likewise.
26361 [UNIX98] (pthread_spin_init): Likewise.
26362 [UNIX98] (pthread_spin_lock): Likewise.
26363 [UNIX98] (pthread_spin_trylock): Likewise.
26364 [UNIX98] (pthread_spin_unlock): Likewise.
26365 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26367 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26368 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26369 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26370 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26371 [XPG3 || XPG4] (pthread_key_t): Likewise.
26372 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26373 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26374 [XPG3 || XPG4] (pthread_once_t): Likewise.
26375 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26376 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26377 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26378 [XPG3 || XPG4] (pthread_t): Likewise.
26380 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26382 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26384 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26385 Change function return type to int.
26387 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26388 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26389 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26390 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26391 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26392 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26393 [!POSIX] (posix_madvise): Likewise.
26394 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26396 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26397 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26398 (mode_t): Likewise.
26399 (posix_mem_offset): Likewise.
26400 (posix_typed_mem_get_info): Likewise.
26401 (posix_typed_mem_open): Likewise.
26403 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26404 Change condition to [XOPEN2K8].
26406 * conform/conformtest.pl: Preprocess allow-header data with -x c
26407 instead of from stdin.
26408 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26409 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26410 [C99-based standards] (cerfc): Likewise.
26411 [C99-based standards] (cexp2): Likewise.
26412 [C99-based standards] (cexpm1): Likewise.
26413 [C99-based standards] (clog10): Likewise.
26414 [C99-based standards] (clog1p): Likewise.
26415 [C99-based standards] (clog2): Likewise.
26416 [C99-based standards] (clgamma): Likewise.
26417 [C99-based standards] (ctgamma): Likewise.
26418 [C99-based standards] (cerff): Likewise.
26419 [C99-based standards] (cerfcf): Likewise.
26420 [C99-based standards] (cexp2f): Likewise.
26421 [C99-based standards] (cexpm1f): Likewise.
26422 [C99-based standards] (clog10f): Likewise.
26423 [C99-based standards] (clog1pf): Likewise.
26424 [C99-based standards] (clog2f): Likewise.
26425 [C99-based standards] (clgammaf): Likewise.
26426 [C99-based standards] (ctgammaf): Likewise.
26427 [C99-based standards] (cerfl): Likewise.
26428 [C99-based standards] (cerfcl): Likewise.
26429 [C99-based standards] (cexp2l): Likewise.
26430 [C99-based standards] (cexpm1l): Likewise.
26431 [C99-based standards] (clog10l): Likewise.
26432 [C99-based standards] (clog1pl): Likewise.
26433 [C99-based standards] (clog2l): Likewise.
26434 [C99-based standards] (clgammal): Likewise.
26435 [C99-based standards] (ctgammal): Likewise.
26436 * conform/data/inttypes.h-data [C99-based standards]: Include
26437 stdint.h-data. Remove all expectations for stdint.h contents.
26438 [C99-based standards] (PRI*): Do not allow.
26439 [C99-based standards] (SCN*): Likewise.
26440 [C99-based standards] (*_t): Likewise.
26441 [C99-based-standards] (PRId8): Expect macro.
26442 [C99-based-standards] (PRIi8): Likewise.
26443 [C99-based-standards] (PRIo8): Likewise.
26444 [C99-based-standards] (PRIu8): Likewise.
26445 [C99-based-standards] (PRIx8): Likewise.
26446 [C99-based-standards] (PRIX8): Likewise.
26447 [C99-based-standards] (SCNd8): Likewise.
26448 [C99-based-standards] (SCNi8): Likewise.
26449 [C99-based-standards] (SCNo8): Likewise.
26450 [C99-based-standards] (SCNu8): Likewise.
26451 [C99-based-standards] (SCNx8): Likewise.
26452 [C99-based-standards] (PRIdLEAST8): Likewise.
26453 [C99-based-standards] (PRIiLEAST8): Likewise.
26454 [C99-based-standards] (PRIoLEAST8): Likewise.
26455 [C99-based-standards] (PRIuLEAST8): Likewise.
26456 [C99-based-standards] (PRIxLEAST8): Likewise.
26457 [C99-based-standards] (PRIXLEAST8): Likewise.
26458 [C99-based-standards] (SCNdLEAST8): Likewise.
26459 [C99-based-standards] (SCNiLEAST8): Likewise.
26460 [C99-based-standards] (SCNoLEAST8): Likewise.
26461 [C99-based-standards] (SCNuLEAST8): Likewise.
26462 [C99-based-standards] (SCNxLEAST8): Likewise.
26463 [C99-based-standards] (PRIdFAST8): Likewise.
26464 [C99-based-standards] (PRIiFAST8): Likewise.
26465 [C99-based-standards] (PRIoFAST8): Likewise.
26466 [C99-based-standards] (PRIuFAST8): Likewise.
26467 [C99-based-standards] (PRIxFAST8): Likewise.
26468 [C99-based-standards] (PRIXFAST8): Likewise.
26469 [C99-based-standards] (SCNdFAST8): Likewise.
26470 [C99-based-standards] (SCNiFAST8): Likewise.
26471 [C99-based-standards] (SCNoFAST8): Likewise.
26472 [C99-based-standards] (SCNuFAST8): Likewise.
26473 [C99-based-standards] (SCNxFAST8): Likewise.
26474 [C99-based-standards] (PRId16): Likewise.
26475 [C99-based-standards] (PRIi16): Likewise.
26476 [C99-based-standards] (PRIo16): Likewise.
26477 [C99-based-standards] (PRIu16): Likewise.
26478 [C99-based-standards] (PRIx16): Likewise.
26479 [C99-based-standards] (PRIX16): Likewise.
26480 [C99-based-standards] (SCNd16): Likewise.
26481 [C99-based-standards] (SCNi16): Likewise.
26482 [C99-based-standards] (SCNo16): Likewise.
26483 [C99-based-standards] (SCNu16): Likewise.
26484 [C99-based-standards] (SCNx16): Likewise.
26485 [C99-based-standards] (PRIdLEAST16): Likewise.
26486 [C99-based-standards] (PRIiLEAST16): Likewise.
26487 [C99-based-standards] (PRIoLEAST16): Likewise.
26488 [C99-based-standards] (PRIuLEAST16): Likewise.
26489 [C99-based-standards] (PRIxLEAST16): Likewise.
26490 [C99-based-standards] (PRIXLEAST16): Likewise.
26491 [C99-based-standards] (SCNdLEAST16): Likewise.
26492 [C99-based-standards] (SCNiLEAST16): Likewise.
26493 [C99-based-standards] (SCNoLEAST16): Likewise.
26494 [C99-based-standards] (SCNuLEAST16): Likewise.
26495 [C99-based-standards] (SCNxLEAST16): Likewise.
26496 [C99-based-standards] (PRIdFAST16): Likewise.
26497 [C99-based-standards] (PRIiFAST16): Likewise.
26498 [C99-based-standards] (PRIoFAST16): Likewise.
26499 [C99-based-standards] (PRIuFAST16): Likewise.
26500 [C99-based-standards] (PRIxFAST16): Likewise.
26501 [C99-based-standards] (PRIXFAST16): Likewise.
26502 [C99-based-standards] (SCNdFAST16): Likewise.
26503 [C99-based-standards] (SCNiFAST16): Likewise.
26504 [C99-based-standards] (SCNoFAST16): Likewise.
26505 [C99-based-standards] (SCNuFAST16): Likewise.
26506 [C99-based-standards] (SCNxFAST16): Likewise.
26507 [C99-based-standards] (PRId32): Likewise.
26508 [C99-based-standards] (PRIi32): Likewise.
26509 [C99-based-standards] (PRIo32): Likewise.
26510 [C99-based-standards] (PRIu32): Likewise.
26511 [C99-based-standards] (PRIx32): Likewise.
26512 [C99-based-standards] (PRIX32): Likewise.
26513 [C99-based-standards] (SCNd32): Likewise.
26514 [C99-based-standards] (SCNi32): Likewise.
26515 [C99-based-standards] (SCNo32): Likewise.
26516 [C99-based-standards] (SCNu32): Likewise.
26517 [C99-based-standards] (SCNx32): Likewise.
26518 [C99-based-standards] (PRIdLEAST32): Likewise.
26519 [C99-based-standards] (PRIiLEAST32): Likewise.
26520 [C99-based-standards] (PRIoLEAST32): Likewise.
26521 [C99-based-standards] (PRIuLEAST32): Likewise.
26522 [C99-based-standards] (PRIxLEAST32): Likewise.
26523 [C99-based-standards] (PRIXLEAST32): Likewise.
26524 [C99-based-standards] (SCNdLEAST32): Likewise.
26525 [C99-based-standards] (SCNiLEAST32): Likewise.
26526 [C99-based-standards] (SCNoLEAST32): Likewise.
26527 [C99-based-standards] (SCNuLEAST32): Likewise.
26528 [C99-based-standards] (SCNxLEAST32): Likewise.
26529 [C99-based-standards] (PRIdFAST32): Likewise.
26530 [C99-based-standards] (PRIiFAST32): Likewise.
26531 [C99-based-standards] (PRIoFAST32): Likewise.
26532 [C99-based-standards] (PRIuFAST32): Likewise.
26533 [C99-based-standards] (PRIxFAST32): Likewise.
26534 [C99-based-standards] (PRIXFAST32): Likewise.
26535 [C99-based-standards] (SCNdFAST32): Likewise.
26536 [C99-based-standards] (SCNiFAST32): Likewise.
26537 [C99-based-standards] (SCNoFAST32): Likewise.
26538 [C99-based-standards] (SCNuFAST32): Likewise.
26539 [C99-based-standards] (SCNxFAST32): Likewise.
26540 [C99-based-standards] (PRId64): Likewise.
26541 [C99-based-standards] (PRIi64): Likewise.
26542 [C99-based-standards] (PRIo64): Likewise.
26543 [C99-based-standards] (PRIu64): Likewise.
26544 [C99-based-standards] (PRIx64): Likewise.
26545 [C99-based-standards] (PRIX64): Likewise.
26546 [C99-based-standards] (SCNd64): Likewise.
26547 [C99-based-standards] (SCNi64): Likewise.
26548 [C99-based-standards] (SCNo64): Likewise.
26549 [C99-based-standards] (SCNu64): Likewise.
26550 [C99-based-standards] (SCNx64): Likewise.
26551 [C99-based-standards] (PRIdLEAST64): Likewise.
26552 [C99-based-standards] (PRIiLEAST64): Likewise.
26553 [C99-based-standards] (PRIoLEAST64): Likewise.
26554 [C99-based-standards] (PRIuLEAST64): Likewise.
26555 [C99-based-standards] (PRIxLEAST64): Likewise.
26556 [C99-based-standards] (PRIXLEAST64): Likewise.
26557 [C99-based-standards] (SCNdLEAST64): Likewise.
26558 [C99-based-standards] (SCNiLEAST64): Likewise.
26559 [C99-based-standards] (SCNoLEAST64): Likewise.
26560 [C99-based-standards] (SCNuLEAST64): Likewise.
26561 [C99-based-standards] (SCNxLEAST64): Likewise.
26562 [C99-based-standards] (PRIdFAST64): Likewise.
26563 [C99-based-standards] (PRIiFAST64): Likewise.
26564 [C99-based-standards] (PRIoFAST64): Likewise.
26565 [C99-based-standards] (PRIuFAST64): Likewise.
26566 [C99-based-standards] (PRIxFAST64): Likewise.
26567 [C99-based-standards] (PRIXFAST64): Likewise.
26568 [C99-based-standards] (SCNdFAST64): Likewise.
26569 [C99-based-standards] (SCNiFAST64): Likewise.
26570 [C99-based-standards] (SCNoFAST64): Likewise.
26571 [C99-based-standards] (SCNuFAST64): Likewise.
26572 [C99-based-standards] (SCNxFAST64): Likewise.
26573 [C99-based-standards] (PRIdMAX): Likewise.
26574 [C99-based-standards] (PRIiMAX): Likewise.
26575 [C99-based-standards] (PRIoMAX): Likewise.
26576 [C99-based-standards] (PRIuMAX): Likewise.
26577 [C99-based-standards] (PRIxMAX): Likewise.
26578 [C99-based-standards] (PRIXMAX): Likewise.
26579 [C99-based-standards] (SCNdMAX): Likewise.
26580 [C99-based-standards] (SCNiMAX): Likewise.
26581 [C99-based-standards] (SCNoMAX): Likewise.
26582 [C99-based-standards] (SCNuMAX): Likewise.
26583 [C99-based-standards] (SCNxMAX): Likewise.
26584 [C99-based-standards] (PRIdPTR): Likewise.
26585 [C99-based-standards] (PRIiPTR): Likewise.
26586 [C99-based-standards] (PRIoPTR): Likewise.
26587 [C99-based-standards] (PRIuPTR): Likewise.
26588 [C99-based-standards] (PRIxPTR): Likewise.
26589 [C99-based-standards] (PRIXPTR): Likewise.
26590 [C99-based-standards] (SCNdPTR): Likewise.
26591 [C99-based-standards] (SCNiPTR): Likewise.
26592 [C99-based-standards] (SCNoPTR): Likewise.
26593 [C99-based-standards] (SCNuPTR): Likewise.
26594 [C99-based-standards] (SCNxPTR): Likewise.
26595 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26597 * conform/data/stdint.h-data: Update comments to clarify
26599 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26601 [C99-based standards] (INT8_MAX): Likewise.
26602 [C99-based standards] (INT16_MIN): Likewise.
26603 [C99-based standards] (INT16_MAX): Likewise.
26604 [C99-based standards] (INT32_MIN): Likewise.
26605 [C99-based standards] (INT32_MAX): Likewise.
26606 [C99-based standards] (INT64_MIN): Likewise.
26607 [C99-based standards] (INT64_MAX): Likewise.
26608 [C99-based standards] (UINT8_MAX): Likewise.
26609 [C99-based standards] (UINT16_MAX): Likewise.
26610 [C99-based standards] (UINT32_MAX): Likewise.
26611 [C99-based standards] (UINT64_MAX): Likewise.
26612 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26613 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26614 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26615 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26616 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26617 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26618 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26619 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26620 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26621 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26622 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26623 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26624 [C99-based standards] (INT_FAST8_MIN): Likewise.
26625 [C99-based standards] (INT_FAST8_MAX): Likewise.
26626 [C99-based standards] (INT_FAST16_MIN): Likewise.
26627 [C99-based standards] (INT_FAST16_MAX): Likewise.
26628 [C99-based standards] (INT_FAST32_MIN): Likewise.
26629 [C99-based standards] (INT_FAST32_MAX): Likewise.
26630 [C99-based standards] (INT_FAST64_MIN): Likewise.
26631 [C99-based standards] (INT_FAST64_MAX): Likewise.
26632 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26633 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26634 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26635 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26636 [C99-based standards] (INTPTR_MIN): Likewise.
26637 [C99-based standards] (INTPTR_MAX): Likewise.
26638 [C99-based standards] (UINTPTR_MAX): Likewise.
26639 [C99-based standards] (INTMAX_MIN): Likewise.
26640 [C99-based standards] (INTMAX_MAX): Likewise.
26641 [C99-based standards] (UINTMAX_MAX): Likewise.
26642 [C99-based standards] (PTRDIFF_MIN): Likewise.
26643 [C99-based standards] (PTRDIFF_MAX): Likewise.
26644 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26645 [C99-based standards] (SIZE_MAX): Likewise.
26646 [C99-based standards] (WCHAR_MAX): Likewise.
26647 [C99-based standards] (WINT_MAX): Likewise.
26648 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26649 constraint on value.
26650 [C99-based standards] (WCHAR_MIN): Likewise.
26651 [C99-based standards] (WINT_MIN): Likewise.
26652 [C99-based standards] (*_t): Allow.
26653 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26654 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26655 Include math.h-data and complex.h-data. Remove all expectations
26656 of math.h and complex.h contents.
26657 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26659 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26660 (struct tm): Expect tag.
26661 [C99-based-standards] (wcstof): Expect function.
26662 [C99-based-standards] (wcstold): Likewise.
26663 [C99-based-standards] (wcstoll): Likewise.
26664 [C99-based-standards] (wcstoull): Likewise.
26665 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26666 macro-int-constant. Specify type.
26667 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26668 constraint on value.
26669 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26671 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26673 [ISO C standards]: Do not allow headers.
26674 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26675 wcs[abcdefghijklmnopqrstuvwxyz]*.
26676 [ISO C standards] (*_t): Do not allow.
26677 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26679 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26680 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26682 [ISO C standards]: Do not allow headers.
26683 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26684 is[abcdefghijklmnopqrstuvwxyz]*.
26685 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26686 to[abcdefghijklmnopqrstuvwxyz]*.
26687 [ISO C standards] (*_t): Do not allow.
26688 * conform/data/stdalign.h-data: New file.
26689 * conform/data/stdbool.h-data: Likewise.
26690 * conform/data/stdnoreturn.h-data: Likewise.
26692 2012-11-07 Roland McGrath <roland@hack.frob.com>
26695 * manual/filesys.texi (Directory Entries): Typo fix.
26696 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26698 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26700 * elf/elf.h (EM_AARCH64): New macro.
26701 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26702 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26703 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26704 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26705 (R_AARCH64_TLSDESC): Likewise.
26706 (NT_ARM_TLS): Likewise.
26707 (NT_ARM_HW_BREAK): Likewise.
26708 (NT_ARM_HW_WATCH): Likewise.
26710 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26713 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26714 (__ieee754_powl): Saturate nonzero exponents with absolute value
26715 below 0x1p-79 to +/- 0x1p-79.
26716 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26717 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26718 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26719 nonzero exponents with absolute value below 0x1p-32 to +/-
26721 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26722 (__ieee754_powl): Saturate nonzero exponents with absolute value
26723 below 0x1p-79 to +/- 0x1p-79.
26724 * math/libm-test.inc (pow_test): Add more tests.
26726 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26728 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26729 _dl_s390_cap_flags with kernel. Increase string length.
26730 (_dl_s390_platforms): Add z196 and zEC12.
26732 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26734 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26735 Change XOPEN21K to XOPEN2K.
26737 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26739 * string/memmove.c: Use memcpy when possible.
26741 2012-11-06 Andreas Jaeger <aj@suse.de>
26743 * po/eo.po: Update from translation team.
26745 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26749 exponent and small x and y exponents, scale x or y up. Increase
26750 by 2 the exponent used in scaling up.
26751 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26753 * math/libm-test.inc (fma_test): Add more tests.
26754 (fma_test_towardzero): Likewise.
26755 (fma_test_downward): Likewise.
26756 (fma_test_upward): Likewise.
26758 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26761 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26765 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26766 namespace for names of struct fields.
26767 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26769 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26770 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26772 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26775 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26777 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26779 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26783 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26786 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26789 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26790 definitely overflow as x * y not x * y + z.
26791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26793 * math/libm-test.inc (fma_test): Add more tests.
26794 (fma_test_towardzero): Likewise.
26795 (fma_test_downward): Likewise.
26796 (fma_test_upward): Likewise.
26798 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26802 * include/stub-tag.h: Remove file.
26803 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26805 * manual/maint.texi (Porting): Don't reference it.
26806 * Makerules ($(objpfx)stubs): Likewise.
26807 * dirent/closedir.c: Don't include <stub-tag.h>.
26808 * dirent/dirfd.c: Likewise.
26809 * dirent/fdopendir.c: Likewise.
26810 * dirent/getdents.c: Likewise.
26811 * dirent/getdents64.c: Likewise.
26812 * dirent/opendir.c: Likewise.
26813 * dirent/readdir.c: Likewise.
26814 * dirent/readdir64.c: Likewise.
26815 * dirent/readdir64_r.c: Likewise.
26816 * dirent/readdir_r.c: Likewise.
26817 * dirent/rewinddir.c: Likewise.
26818 * dirent/seekdir.c: Likewise.
26819 * dirent/telldir.c: Likewise.
26820 * gmon/profil.c: Likewise.
26821 * grp/setgroups.c: Likewise.
26822 * inet/if_index.c: Likewise.
26823 * io/access.c: Likewise.
26824 * io/chdir.c: Likewise.
26825 * io/chmod.c: Likewise.
26826 * io/chown.c: Likewise.
26827 * io/close.c: Likewise.
26828 * io/dup.c: Likewise.
26829 * io/dup2.c: Likewise.
26830 * io/dup3.c: Likewise.
26831 * io/euidaccess.c: Likewise.
26832 * io/faccessat.c: Likewise.
26833 * io/fchdir.c: Likewise.
26834 * io/fchmod.c: Likewise.
26835 * io/fchmodat.c: Likewise.
26836 * io/fchown.c: Likewise.
26837 * io/fchownat.c: Likewise.
26838 * io/fcntl.c: Likewise.
26839 * io/flock.c: Likewise.
26840 * io/fstatfs.c: Likewise.
26841 * io/fstatfs64.c: Likewise.
26842 * io/fstatvfs.c: Likewise.
26843 * io/fstatvfs64.c: Likewise.
26844 * io/futimens.c: Likewise.
26845 * io/fxstat.c: Likewise.
26846 * io/fxstat64.c: Likewise.
26847 * io/fxstatat.c: Likewise.
26848 * io/fxstatat64.c: Likewise.
26849 * io/getcwd.c: Likewise.
26850 * io/isatty.c: Likewise.
26851 * io/lchmod.c: Likewise.
26852 * io/lchown.c: Likewise.
26853 * io/link.c: Likewise.
26854 * io/linkat.c: Likewise.
26855 * io/lseek.c: Likewise.
26856 * io/lseek64.c: Likewise.
26857 * io/lxstat64.c: Likewise.
26858 * io/mkdir.c: Likewise.
26859 * io/mkdirat.c: Likewise.
26860 * io/mkfifo.c: Likewise.
26861 * io/mkfifoat.c: Likewise.
26862 * io/open.c: Likewise.
26863 * io/open64.c: Likewise.
26864 * io/openat.c: Likewise.
26865 * io/openat64.c: Likewise.
26866 * io/pipe.c: Likewise.
26867 * io/pipe2.c: Likewise.
26868 * io/poll.c: Likewise.
26869 * io/posix_fadvise.c: Likewise.
26870 * io/posix_fadvise64.c: Likewise.
26871 * io/posix_fallocate.c: Likewise.
26872 * io/posix_fallocate64.c: Likewise.
26873 * io/read.c: Likewise.
26874 * io/readlink.c: Likewise.
26875 * io/readlinkat.c: Likewise.
26876 * io/rmdir.c: Likewise.
26877 * io/sendfile.c: Likewise.
26878 * io/sendfile64.c: Likewise.
26879 * io/statfs.c: Likewise.
26880 * io/statfs64.c: Likewise.
26881 * io/statvfs.c: Likewise.
26882 * io/statvfs64.c: Likewise.
26883 * io/symlink.c: Likewise.
26884 * io/symlinkat.c: Likewise.
26885 * io/ttyname.c: Likewise.
26886 * io/ttyname_r.c: Likewise.
26887 * io/umask.c: Likewise.
26888 * io/unlink.c: Likewise.
26889 * io/unlinkat.c: Likewise.
26890 * io/utime.c: Likewise.
26891 * io/utimensat.c: Likewise.
26892 * io/write.c: Likewise.
26893 * io/xmknod.c: Likewise.
26894 * io/xmknodat.c: Likewise.
26895 * io/xstat.c: Likewise.
26896 * io/xstat64.c: Likewise.
26897 * login/getpt.c: Likewise.
26898 * login/grantpt.c: Likewise.
26899 * login/unlockpt.c: Likewise.
26900 * math/e_acoshl.c: Likewise.
26901 * math/e_acosl.c: Likewise.
26902 * math/e_asinl.c: Likewise.
26903 * math/e_atan2l.c: Likewise.
26904 * math/e_atanhl.c: Likewise.
26905 * math/e_coshl.c: Likewise.
26906 * math/e_expl.c: Likewise.
26907 * math/e_fmodl.c: Likewise.
26908 * math/e_gammal_r.c: Likewise.
26909 * math/e_hypotl.c: Likewise.
26910 * math/e_j0l.c: Likewise.
26911 * math/e_j1l.c: Likewise.
26912 * math/e_jnl.c: Likewise.
26913 * math/e_lgammal_r.c: Likewise.
26914 * math/e_log10l.c: Likewise.
26915 * math/e_log2l.c: Likewise.
26916 * math/e_logl.c: Likewise.
26917 * math/e_powl.c: Likewise.
26918 * math/e_rem_pio2l.c: Likewise.
26919 * math/e_sinhl.c: Likewise.
26920 * math/e_sqrtl.c: Likewise.
26921 * math/fclrexcpt.c: Likewise.
26922 * math/fedisblxcpt.c: Likewise.
26923 * math/feenablxcpt.c: Likewise.
26924 * math/fegetenv.c: Likewise.
26925 * math/fegetexcept.c: Likewise.
26926 * math/fegetround.c: Likewise.
26927 * math/feholdexcpt.c: Likewise.
26928 * math/fesetenv.c: Likewise.
26929 * math/fesetround.c: Likewise.
26930 * math/feupdateenv.c: Likewise.
26931 * math/fgetexcptflg.c: Likewise.
26932 * math/fraiseexcpt.c: Likewise.
26933 * math/fsetexcptflg.c: Likewise.
26934 * math/ftestexcept.c: Likewise.
26935 * math/k_cosl.c: Likewise.
26936 * math/k_rem_pio2l.c: Likewise.
26937 * math/k_sinl.c: Likewise.
26938 * math/k_tanl.c: Likewise.
26939 * math/s_asinhl.c: Likewise.
26940 * math/s_atanl.c: Likewise.
26941 * math/s_cbrtl.c: Likewise.
26942 * math/s_erfl.c: Likewise.
26943 * math/s_expm1l.c: Likewise.
26944 * math/s_log1pl.c: Likewise.
26945 * math/s_tanhl.c: Likewise.
26946 * misc/acct.c: Likewise.
26947 * misc/brk.c: Likewise.
26948 * misc/chflags.c: Likewise.
26949 * misc/chroot.c: Likewise.
26950 * misc/fchflags.c: Likewise.
26951 * misc/fgetxattr.c: Likewise.
26952 * misc/flistxattr.c: Likewise.
26953 * misc/fremovexattr.c: Likewise.
26954 * misc/fsetxattr.c: Likewise.
26955 * misc/fsync.c: Likewise.
26956 * misc/ftruncate.c: Likewise.
26957 * misc/futimes.c: Likewise.
26958 * misc/futimesat.c: Likewise.
26959 * misc/getdomain.c: Likewise.
26960 * misc/getdtsz.c: Likewise.
26961 * misc/gethostid.c: Likewise.
26962 * misc/gethostname.c: Likewise.
26963 * misc/getloadavg.c: Likewise.
26964 * misc/getpagesize.c: Likewise.
26965 * misc/getsysstats.c: Likewise.
26966 * misc/getxattr.c: Likewise.
26967 * misc/gtty.c: Likewise.
26968 * misc/ioctl.c: Likewise.
26969 * misc/lgetxattr.c: Likewise.
26970 * misc/listxattr.c: Likewise.
26971 * misc/llistxattr.c: Likewise.
26972 * misc/lremovexattr.c: Likewise.
26973 * misc/lsetxattr.c: Likewise.
26974 * misc/lutimes.c: Likewise.
26975 * misc/madvise.c: Likewise.
26976 * misc/mincore.c: Likewise.
26977 * misc/mlock.c: Likewise.
26978 * misc/mlockall.c: Likewise.
26979 * misc/mmap.c: Likewise.
26980 * misc/mprotect.c: Likewise.
26981 * misc/msync.c: Likewise.
26982 * misc/munlock.c: Likewise.
26983 * misc/munlockall.c: Likewise.
26984 * misc/munmap.c: Likewise.
26985 * misc/preadv.c: Likewise.
26986 * misc/preadv64.c: Likewise.
26987 * misc/ptrace.c: Likewise.
26988 * misc/pwritev.c: Likewise.
26989 * misc/pwritev64.c: Likewise.
26990 * misc/readv.c: Likewise.
26991 * misc/reboot.c: Likewise.
26992 * misc/remap_file_pages.c: Likewise.
26993 * misc/removexattr.c: Likewise.
26994 * misc/revoke.c: Likewise.
26995 * misc/select.c: Likewise.
26996 * misc/setdomain.c: Likewise.
26997 * misc/setegid.c: Likewise.
26998 * misc/seteuid.c: Likewise.
26999 * misc/sethostid.c: Likewise.
27000 * misc/sethostname.c: Likewise.
27001 * misc/setregid.c: Likewise.
27002 * misc/setreuid.c: Likewise.
27003 * misc/setxattr.c: Likewise.
27004 * misc/sstk.c: Likewise.
27005 * misc/stty.c: Likewise.
27006 * misc/swapoff.c: Likewise.
27007 * misc/swapon.c: Likewise.
27008 * misc/sync.c: Likewise.
27009 * misc/syncfs.c: Likewise.
27010 * misc/syscall.c: Likewise.
27011 * misc/truncate.c: Likewise.
27012 * misc/ualarm.c: Likewise.
27013 * misc/usleep.c: Likewise.
27014 * misc/ustat.c: Likewise.
27015 * misc/utimes.c: Likewise.
27016 * misc/vhangup.c: Likewise.
27017 * misc/writev.c: Likewise.
27018 * posix/_exit.c: Likewise.
27019 * posix/alarm.c: Likewise.
27020 * posix/execve.c: Likewise.
27021 * posix/fexecve.c: Likewise.
27022 * posix/fork.c: Likewise.
27023 * posix/fpathconf.c: Likewise.
27024 * posix/getaddrinfo.c: Likewise.
27025 * posix/getegid.c: Likewise.
27026 * posix/geteuid.c: Likewise.
27027 * posix/getgid.c: Likewise.
27028 * posix/getgroups.c: Likewise.
27029 * posix/getlogin.c: Likewise.
27030 * posix/getlogin_r.c: Likewise.
27031 * posix/getpgid.c: Likewise.
27032 * posix/getpid.c: Likewise.
27033 * posix/getppid.c: Likewise.
27034 * posix/getresgid.c: Likewise.
27035 * posix/getresuid.c: Likewise.
27036 * posix/getsid.c: Likewise.
27037 * posix/getuid.c: Likewise.
27038 * posix/glob64.c: Likewise.
27039 * posix/nanosleep.c: Likewise.
27040 * posix/pathconf.c: Likewise.
27041 * posix/pause.c: Likewise.
27042 * posix/posix_madvise.c: Likewise.
27043 * posix/pread.c: Likewise.
27044 * posix/pread64.c: Likewise.
27045 * posix/pwrite.c: Likewise.
27046 * posix/pwrite64.c: Likewise.
27047 * posix/sched_getaffinity.c: Likewise.
27048 * posix/sched_getp.c: Likewise.
27049 * posix/sched_gets.c: Likewise.
27050 * posix/sched_primax.c: Likewise.
27051 * posix/sched_primin.c: Likewise.
27052 * posix/sched_rr_gi.c: Likewise.
27053 * posix/sched_setaffinity.c: Likewise.
27054 * posix/sched_setp.c: Likewise.
27055 * posix/sched_sets.c: Likewise.
27056 * posix/sched_yield.c: Likewise.
27057 * posix/setgid.c: Likewise.
27058 * posix/setlogin.c: Likewise.
27059 * posix/setpgid.c: Likewise.
27060 * posix/setresgid.c: Likewise.
27061 * posix/setresuid.c: Likewise.
27062 * posix/setsid.c: Likewise.
27063 * posix/setuid.c: Likewise.
27064 * posix/sleep.c: Likewise.
27065 * posix/spawni.c: Likewise.
27066 * posix/sysconf.c: Likewise.
27067 * posix/times.c: Likewise.
27068 * posix/wait.c: Likewise.
27069 * posix/wait3.c: Likewise.
27070 * posix/wait4.c: Likewise.
27071 * posix/waitpid.c: Likewise.
27072 * resolv/gai_sigqueue.c: Likewise.
27073 * resource/getpriority.c: Likewise.
27074 * resource/getrlimit.c: Likewise.
27075 * resource/getrusage.c: Likewise.
27076 * resource/nice.c: Likewise.
27077 * resource/setpriority.c: Likewise.
27078 * resource/setrlimit.c: Likewise.
27079 * resource/ulimit.c: Likewise.
27080 * rt/aio_cancel.c: Likewise.
27081 * rt/aio_fsync.c: Likewise.
27082 * rt/aio_read.c: Likewise.
27083 * rt/aio_sigqueue.c: Likewise.
27084 * rt/aio_suspend.c: Likewise.
27085 * rt/aio_write.c: Likewise.
27086 * rt/clock_getres.c: Likewise.
27087 * rt/clock_gettime.c: Likewise.
27088 * rt/clock_nanosleep.c: Likewise.
27089 * rt/clock_settime.c: Likewise.
27090 * rt/lio_listio.c: Likewise.
27091 * rt/mq_close.c: Likewise.
27092 * rt/mq_getattr.c: Likewise.
27093 * rt/mq_notify.c: Likewise.
27094 * rt/mq_open.c: Likewise.
27095 * rt/mq_receive.c: Likewise.
27096 * rt/mq_send.c: Likewise.
27097 * rt/mq_setattr.c: Likewise.
27098 * rt/mq_timedreceive.c: Likewise.
27099 * rt/mq_timedsend.c: Likewise.
27100 * rt/mq_unlink.c: Likewise.
27101 * rt/shm_open.c: Likewise.
27102 * rt/shm_unlink.c: Likewise.
27103 * rt/timer_create.c: Likewise.
27104 * rt/timer_delete.c: Likewise.
27105 * rt/timer_getoverr.c: Likewise.
27106 * rt/timer_gettime.c: Likewise.
27107 * rt/timer_settime.c: Likewise.
27108 * setjmp/__longjmp.c: Likewise.
27109 * setjmp/setjmp.c: Likewise.
27110 * signal/kill.c: Likewise.
27111 * signal/killpg.c: Likewise.
27112 * signal/raise.c: Likewise.
27113 * signal/sigaction.c: Likewise.
27114 * signal/sigaltstack.c: Likewise.
27115 * signal/sigblock.c: Likewise.
27116 * signal/sigignore.c: Likewise.
27117 * signal/sigintr.c: Likewise.
27118 * signal/signal.c: Likewise.
27119 * signal/sigpause.c: Likewise.
27120 * signal/sigpending.c: Likewise.
27121 * signal/sigqueue.c: Likewise.
27122 * signal/sigreturn.c: Likewise.
27123 * signal/sigset.c: Likewise.
27124 * signal/sigsetmask.c: Likewise.
27125 * signal/sigstack.c: Likewise.
27126 * signal/sigsuspend.c: Likewise.
27127 * signal/sigtimedwait.c: Likewise.
27128 * signal/sigvec.c: Likewise.
27129 * signal/sigwait.c: Likewise.
27130 * signal/sigwaitinfo.c: Likewise.
27131 * signal/sysv_signal.c: Likewise.
27132 * socket/accept.c: Likewise.
27133 * socket/accept4.c: Likewise.
27134 * socket/bind.c: Likewise.
27135 * socket/connect.c: Likewise.
27136 * socket/getpeername.c: Likewise.
27137 * socket/getsockname.c: Likewise.
27138 * socket/getsockopt.c: Likewise.
27139 * socket/isfdtype.c: Likewise.
27140 * socket/listen.c: Likewise.
27141 * socket/recv.c: Likewise.
27142 * socket/recvfrom.c: Likewise.
27143 * socket/recvmsg.c: Likewise.
27144 * socket/send.c: Likewise.
27145 * socket/sendmsg.c: Likewise.
27146 * socket/sendto.c: Likewise.
27147 * socket/setsockopt.c: Likewise.
27148 * socket/shutdown.c: Likewise.
27149 * socket/sockatmark.c: Likewise.
27150 * socket/socket.c: Likewise.
27151 * socket/socketpair.c: Likewise.
27152 * stdio-common/ctermid.c: Likewise.
27153 * stdio-common/cuserid.c: Likewise.
27154 * stdio-common/remove.c: Likewise.
27155 * stdio-common/rename.c: Likewise.
27156 * stdio-common/renameat.c: Likewise.
27157 * stdio-common/tempname.c: Likewise.
27158 * stdlib/getcontext.c: Likewise.
27159 * stdlib/makecontext.c: Likewise.
27160 * stdlib/setcontext.c: Likewise.
27161 * stdlib/swapcontext.c: Likewise.
27162 * stdlib/system.c: Likewise.
27163 * streams/fattach.c: Likewise.
27164 * streams/fdetach.c: Likewise.
27165 * streams/getmsg.c: Likewise.
27166 * streams/getpmsg.c: Likewise.
27167 * streams/putmsg.c: Likewise.
27168 * streams/putpmsg.c: Likewise.
27169 * sysdeps/unix/bsd/getpt.c: Likewise.
27170 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27171 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27172 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27175 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27176 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27177 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27178 * sysvipc/msgctl.c: Likewise.
27179 * sysvipc/msgget.c: Likewise.
27180 * sysvipc/msgrcv.c: Likewise.
27181 * sysvipc/msgsnd.c: Likewise.
27182 * sysvipc/semctl.c: Likewise.
27183 * sysvipc/semget.c: Likewise.
27184 * sysvipc/semop.c: Likewise.
27185 * sysvipc/semtimedop.c: Likewise.
27186 * sysvipc/shmat.c: Likewise.
27187 * sysvipc/shmctl.c: Likewise.
27188 * sysvipc/shmdt.c: Likewise.
27189 * sysvipc/shmget.c: Likewise.
27190 * termios/tcdrain.c: Likewise.
27191 * termios/tcflow.c: Likewise.
27192 * termios/tcflush.c: Likewise.
27193 * termios/tcgetattr.c: Likewise.
27194 * termios/tcgetpgrp.c: Likewise.
27195 * termios/tcsendbrk.c: Likewise.
27196 * termios/tcsetattr.c: Likewise.
27197 * termios/tcsetpgrp.c: Likewise.
27198 * time/adjtime.c: Likewise.
27199 * time/clock.c: Likewise.
27200 * time/getitimer.c: Likewise.
27201 * time/gettimeofday.c: Likewise.
27202 * time/setitimer.c: Likewise.
27203 * time/settimeofday.c: Likewise.
27204 * time/stime.c: Likewise.
27205 * time/time.c: Likewise.
27207 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27209 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27212 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27214 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27216 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27219 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27220 FE_TONEAREST before applying Dekker multiplication and Knuth
27221 addition. Clear inexact exceptions and check for exact zero
27222 results afterwards.
27223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27224 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27225 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27226 * math/libm-test.inc (fma_test): Add more tests.
27227 (fma_test_towardzero): Likewise.
27228 (fma_test_downward): Likewise.
27229 (fma_test_upward): Likewise.
27230 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27232 (libc_fesetround): New macro.
27233 (libc_fesetroundf): Likewise.
27234 (libc_fesetroundl): Likewise.
27235 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27237 (libc_fesetround_387): Likewise.
27238 (libc_fesetroundf): New macro.
27239 (libc_fesetround): Likewise.
27240 (libc_fesetroundl): Likewise.
27241 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27243 (libc_fesetroundf): New macro.
27244 (libc_fesetround): Likewise.
27245 (libc_fesetroundl): Likewise.
27246 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27247 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27248 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27250 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27251 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27253 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27254 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27256 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27260 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27261 integer constant usable in #if and use that to give value to enum
27263 (FE_DIVBYZERO): Likewise.
27264 (FE_UNDERFLOW): Likewise.
27265 (FE_OVERFLOW): Likewise.
27266 (FE_INVALID): Likewise.
27267 (FE_INVALID_SNAN): Likewise.
27268 (FE_INVALID_ISI): Likewise.
27269 (FE_INVALID_IDI): Likewise.
27270 (FE_INVALID_ZDZ): Likewise.
27271 (FE_INVALID_IMZ): Likewise.
27272 (FE_INVALID_COMPARE): Likewise.
27273 (FE_INVALID_SOFTWARE): Likewise.
27274 (FE_INVALID_SQRT): Likewise.
27275 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27276 (FE_TONEAREST): Likewise.
27277 (FE_TOWARDZERO): Likewise.
27278 (FE_UPWARD): Likewise.
27279 (FE_DOWNWARD): Likewise.
27280 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27281 (FE_DIVBYZERO): Likewise.
27282 (FE_OVERFLOW): Likewise.
27283 (FE_UNDERFLOW): Likewise.
27284 (FE_INEXACT): Likewise.
27285 (FE_TONEAREST): Likewise.
27286 (FE_DOWNWARD): Likewise.
27287 (FE_UPWARD): Likewise.
27288 (FE_TOWARDZERO): Likewise.
27289 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27290 (FE_UNDERFLOW): Likewise.
27291 (FE_OVERFLOW): Likewise.
27292 (FE_DIVBYZERO): Likewise.
27293 (FE_INVALID): Likewise.
27294 (FE_TONEAREST): Likewise.
27295 (FE_TOWARDZERO): Likewise.
27296 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27297 (FE_OVERFLOW): Likewise.
27298 (FE_UNDERFLOW): Likewise.
27299 (FE_DIVBYZERO): Likewise.
27300 (FE_INEXACT): Likewise.
27301 (FE_TONEAREST): Likewise.
27302 (FE_TOWARDZERO): Likewise.
27303 (FE_UPWARD): Likewise.
27304 (FE_DOWNWARD): Likewise.
27305 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27306 (FE_DIVBYZERO): Likewise.
27307 (FE_OVERFLOW): Likewise.
27308 (FE_UNDERFLOW): Likewise.
27309 (FE_INEXACT): Likewise.
27310 (FE_TONEAREST): Likewise.
27311 (FE_DOWNWARD): Likewise.
27312 (FE_UPWARD): Likewise.
27313 (FE_TOWARDZERO): Likewise.
27315 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27317 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27319 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27321 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27322 commands. Quote $PWD.
27323 (blacklist_exports): Don't use remove_newlines. Replace "declare
27325 (remove_newlines): Remove.
27327 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27329 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27330 * stdlib/stdlib.h (atof): Moved to ...
27331 * include/bits/stdlib-float.h: Here. New file.
27332 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27333 * stdlib/bits/stdlib-float.h: New file.
27334 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27336 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27339 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27341 * conform/conformtest.pl (@headers): Add fenv.h.
27342 * conform/data/fenv.h-data: New file.
27343 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27344 include of <math/fenv.h>.
27346 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27347 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27348 && !UNIX98]. Enables tests for XOPEN2K8.
27349 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27350 POSIX2008]: Likewise.
27352 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27353 (struct rusage): Do not expect type or its members.
27356 * math/math.h (FP_NAN): Define macro to integer constant usable in
27357 #if and use that to give value to enum constant.
27358 (FP_INFINITE): Likewise.
27359 (FP_ZERO): Likewise.
27360 (FP_SUBNORMAL): Likewise.
27361 (FP_NORMAL): Likewise.
27363 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27365 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27366 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27369 2012-11-02 Roland McGrath <roland@hack.frob.com>
27371 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27372 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27373 autoconf-time if not.
27374 * configure.in: Remove AC_PREREQ.
27376 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27378 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27379 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27380 of the internal implementation.
27382 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27384 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27385 except include of <misc/sys/syslog.h>.
27387 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27390 function returns with a NULL context exit with zero.
27392 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27394 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27396 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27398 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27399 (run_program_cmd): This.
27400 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27401 (tst_langinfo): New variable. Use it.
27403 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27405 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27406 floating point opcodes.
27408 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27410 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27413 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27415 * sysdeps/mach/hurd/powerpc: Remove directory.
27416 * sysdeps/mach/powerpc: Likewise.
27418 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27420 * scripts/check-local-headers.sh: Ignore c++ headers.
27422 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27424 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27425 __libc_cleanup_region_start argument.
27427 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27431 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27432 x * y using scaling, not as x * y + z.
27433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27434 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27435 * math/libm-test.inc (fma_test): Add more tests.
27436 (fma_test_towardzero): Likewise.
27437 (fma_test_downward): Likewise.
27438 (fma_test_upward): Likewise.
27440 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27442 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27444 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27446 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27449 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27451 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27453 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27460 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27463 Fix the order of the list for glibc 2.17.
27464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27467 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27471 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27474 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27475 for low part of x being zero before using __atanl (y).
27476 * math/libm-test.inc (atan2_test): Add another test.
27478 * manual/install.texi (Configuring and compiling): Document
27479 general use of test-wrapper and test-wrapper-env.
27480 * INSTALL: Regenerated.
27482 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27483 (__fma): Do not extract and scale down low bits on after-rounding
27484 systems when result rounded to normal precision would have normal
27486 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27487 (__fmal): Do not extract and scale down low bits on after-rounding
27488 systems when result rounded to normal precision would have normal
27490 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27491 (__fmal): Do not extract and scale down low bits on after-rounding
27492 systems when result rounded to normal precision would have normal
27494 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27496 (fma_test): Add more tests.
27497 (fma_test_towardzero): Likewise.
27498 (fma_test_downward): Likewise.
27499 (fma_test_upward): Likewise.
27501 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27503 * sysdeps/i386/tininess.h: Renamed to ...
27504 * sysdeps/x86/tininess.h: This.
27505 * sysdeps/x86_64/tininess.h: Removed.
27507 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27509 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27510 input. Use $(build-program-cmd).
27511 ($(objpfx)tst-array1-static.out): Likewise.
27512 ($(objpfx)tst-array2.out): Likewise.
27513 ($(objpfx)tst-array3.out): Likewise.
27514 ($(objpfx)tst-array4.out): Likewise.
27515 ($(objpfx)tst-array5.out): Likewise.
27516 ($(objpfx)tst-array5-static.out): Likewise.
27518 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27520 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27523 * nss/nsswitch.h (nss_interface_function): Provide new
27524 macro for use with NSS functions.
27525 * grp/initgroups.c: Use new macro.
27526 * nss/getXXbyYY.c: Likewise.
27527 * nss/getXXbyYY_r.c: Likewise.
27528 * nss/getXXent.c: Likewise.
27529 * nss/getXXent_r.c: Likewise.
27530 * sysdeps/posix/getaddrinfo.c: Likewise.
27532 2012-10-30 Andreas Jaeger <aj@suse.de>
27534 * po/ru.po: Update Russion translation from translation project.
27536 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27541 result and shift together with sticky bit instead of replicating
27542 round-to-nearest rounding.
27543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27545 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27546 missing underflow exceptions.
27547 (fma_test_towardzero): Add more tests.
27548 (fma_test_downward): Likewise.
27549 (fma_test_upward): Likewise.
27552 * sysdeps/generic/tininess.h: New file.
27553 * sysdeps/i386/tininess.h: Likewise.
27554 * sysdeps/sh/tininess.h: Likewise.
27555 * sysdeps/x86_64/tininess.h: Likewise.
27556 * stdlib/tst-strtod-underflow.c: Likewise.
27557 * stdlib/tst-tininess.c: Likewise.
27558 * stdlib/strtod_l.c: Include <tininess.h>.
27559 (round_and_return): Do not set errno for exact underflow cases.
27560 Force an underflow exception when setting errno for underflow.
27561 Determine underflow based on rounding to normal precision if
27562 TININESS_AFTER_ROUNDING.
27563 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27564 ERANGE for exact underflow cases.
27565 * stdlib/Makefile (tests): Add tst-tininess and
27566 tst-strtod-underflow.
27567 ($(objpfx)tst-tininess): Use $(link-libm).
27568 ($(objpfx)tst-strtod-underflow): Likewise.
27570 2012-10-30 Andreas Jaeger <aj@suse.de>
27573 * elf/Makefile (tests): Remove conditional for have-initfini-array
27574 since this is now always required and the variable does not exist
27576 (tests-static): Likewise.
27577 (modules-names): Likewise.
27579 * po/eo.po: Add Esperanto translation from translation project.
27581 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27582 merged with constructor/destructor.
27583 (init_array): Likewise.
27584 * elf/tst-array2dep.c (fini_array): Likewise.
27585 (init_array): Likewise.
27587 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27589 * manual/message.texi: Delete @cartouche tags.
27591 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27593 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27595 * sysdeps/mach/hurd/fsync.c: Likewise.
27597 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27598 [_POSIX_REALTIME_SIGNALS]: Change condition to
27599 [_POSIX_REALTIME_SIGNALS > 0].
27601 2012-10-27 Andreas Jaeger <aj@suse.de>
27603 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27604 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27605 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27606 [__WORDSIZE != 64]: Likewise.
27608 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27610 * iconvdata/tst-table.sh: Remove ${SHELL}.
27611 * iconvdata/tst-tables.sh: Likewise.
27613 2012-10-25 David S. Miller <davem@davemloft.net>
27615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27616 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27621 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27622 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27623 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27626 2012-10-25 Roland McGrath <roland@hack.frob.com>
27628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27629 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27632 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27633 Jim Blandy <jimb@codesourcery.com>
27635 * scripts/cross-test-ssh.sh: New file.
27636 * manual/install.texi (Configuring and compiling): Document use of
27638 * INSTALL: Regenerated.
27640 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27642 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27645 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27647 * Makeconfig (run-program-prefix): Fix comment.
27649 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27650 Jim Blandy <jimb@codesourcery.com>
27652 * Makeconfig (test-wrapper): New variable,
27653 (test-wrapper-env): Likewise.
27654 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27655 (run-built-tests): Define to yes.
27656 (run-program-prefix): Use $(test-wrapper).
27657 (built-program-cmd): Likewise.
27658 * Rules (make-test-out): Use $(test-wrapper-env) and
27659 $(host-built-program-cmd).
27660 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27661 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27663 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27664 $(test-wrapper-env) to tst-rtld-load-self.sh.
27665 ($(objpfx)order2.out): Use $(test-wrapper).
27666 ($(objpfx)tst-initorder.out): Likewise.
27667 ($(objpfx)tst-initorder2.out): Likewise.
27668 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27669 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27670 (test_wrapper_env): New variable. Use it to run ld.so.
27671 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27672 Use it to run ld.so.
27673 (test_wrapper_env): Likewise.
27674 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27675 $(test-wrapper) to run-iconv-test.sh.
27676 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27677 (ICONV): Use $test_wrapper.
27678 * posix/Makefile ($(objpfx)globtest.out): Pass
27679 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27680 globtest.sh, not $(run-program-prefix).
27681 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27682 (test_wrapper): Likewise.
27683 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27684 set together with run_via_rtld_prefix.
27685 (run_program_prefix): Define in terms of test_wrapper and
27686 run_via_rtld_prefix.
27688 2012-10-24 Roland McGrath <roland@hack.frob.com>
27690 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27691 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27695 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27696 Declare __clock_getres, __clock_gettime, __clock_settime,
27697 __clock_nanosleep, and __clock_getcpuclockid.
27698 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27699 Remove librt_hidden_def (clock_gettime).
27700 * sysdeps/unix/clock_gettime.c: Likewise.
27701 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27702 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27703 * rt/clock_getres.c: Define __clock_getres as an alias.
27704 * sysdeps/posix/clock_getres.c: Likewise.
27705 * rt/clock_settime.c: Define __clock_settime as an alias.
27706 * sysdeps/unix/clock_settime.c: Likewise.
27707 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27708 * sysdeps/unix/clock_nanosleep.c: Likewise.
27709 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27710 * rt/clock-compat.c: New file.
27711 * rt/Makefile (librt-routines): Add clock-compat and move
27712 $(clock-routines) to ...
27713 (routines): ... here, new variable.
27714 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27715 Don't add get_clockfreq here.
27716 * rt/Versions (libc: GLIBC_2.17): New version set.
27717 Add clock_* symbols here.
27718 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27720 (GLIBC_2.17): Add clock_* symbols.
27721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27723 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27732 * NEWS: Mention the move.
27734 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27735 Use __open, __read, __close rather than their public counterparts.
27736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27737 (__get_clockfreq_via_cpuinfo): Likewise.
27738 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27739 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27741 * config.h.in (HAVE_IFUNC): New #undef.
27742 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27744 * configure: Regenerated.
27746 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27748 * configure.in: Move READELF check to start of file.
27749 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27750 libc_cv_asm_gnu_indirect_function in the process.
27751 * configure: Regenerated.
27753 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27755 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27756 send the output to /dev/null.
27757 (libc_cv_cc_with_libunwind): Likewise.
27758 (libc_cv_as_noexecstack): Likewise.
27759 * configure: Regenerate.
27761 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27763 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27765 * posix/globtest.sh (TMPDIR): Do not set.
27766 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27767 (testout): Likewise.
27769 2012-10-24 Andreas Jaeger <aj@suse.de>
27771 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27772 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27773 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27774 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27775 posix_fadvise64, posix_fallocate64.
27777 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27778 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27779 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27781 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27783 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27786 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27787 <bits/fcntl-linux.h>.
27788 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27790 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27791 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27792 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27793 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27794 [__WORDSIZE != 64]: Likewise.
27796 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27798 * Makeconfig (run-built-tests): New variable.
27799 * Rules [$(cross-compiling) = yes]: Change condition to
27800 [$(run-built-tests) = no].
27801 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27802 to [$(run-built-tests) = yes].
27803 * elf/Makefile [$(cross-compiling) = no]: Likewise
27804 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27805 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27806 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27807 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27808 * io/Makefile [$(cross-compiling) = no]: Likewise.
27809 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27810 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27811 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27812 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27813 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27814 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27815 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27816 * string/Makefile [$(cross-compiling) = no]: Likewise.
27818 * posix/Makefile ($(objpfx)globtest.out): Pass
27819 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27820 $(rtld-installed-name).
27821 * posix/globtest.sh (elf_objpfx): Remove variable.
27822 (rtld_installed_name): Likewise.
27823 (library_path): Likewise.
27824 (run_program_prefix): New variable. Use for running globtest
27827 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27828 Joseph Myers <joseph@codesourcery.com>
27830 * Makeconfig (host-built-program-cmd): New variable.
27831 * elf/Makefile (tst-stackguard1-ARGS): Use
27832 $(host-built-program-cmd).
27833 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27834 (tst-spawn-ARGS): Likewise.
27835 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27837 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27838 Jim Blandy <jimb@codesourcery.com>
27840 * Makeconfig (run-via-rtld-prefix): New variable.
27841 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27842 (built-program-cmd): Likewise.
27844 2012-10-22 Andreas Jaeger <aj@suse.de>
27846 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27847 __O_RSYNC if it exists, otherwise to O_SYNC.
27849 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27850 Joseph Myers <joseph@codesourcery.com>
27852 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27854 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27856 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27859 2012-10-22 Andreas Jaeger <aj@suse.de>
27861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27866 bits/fcntl-linux.h.
27868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27869 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27876 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27877 Joseph Myers <joseph@codesourcery.com>
27879 * config.make.in (NM): New variable.
27881 2012-10-21 Andreas Jaeger <aj@suse.de>
27883 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27884 definitions and declarations that are provided by
27885 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27887 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27890 * elf/Makefile (tests-static): Add tst-leaks1-static.
27891 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27892 ($(objpfx)tst-leaks1-static): New rule.
27893 ($(objpfx)tst-leaks1-static-mem): Likewise.
27894 (tst-leaks1-static-ENV): New macro.
27895 * elf/dl-open.c (dl_open_worker): Check the main application
27896 only if SHARED is defined.
27897 * elf/tst-leaks1-static.c: New file.
27899 2012-10-20 Andreas Jaeger <aj@suse.de>
27901 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27902 generic values for Linux.
27903 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27904 and declarations that are provided by <bits/fcntl-linux.h> and
27905 include <bits/fcntl-linux.h>.
27906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27907 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27909 2012-10-20 Roland McGrath <roland@hack.frob.com>
27911 * io/fcntl.h: Move include of <bits/types.h> to the top and
27912 include it unconditionally.
27914 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27916 * wcsmbs/Makefile (tests-ifunc): New variable.
27917 (tests): Add $(tests-ifunc).
27918 * wcsmbs/test-wcschr-ifunc.c: New file.
27919 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27920 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27921 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27922 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27923 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27925 * string/Makefile (tests-ifunc): New variable.
27926 (tests): Add $(tests-ifunc).
27927 * string/test-memccpy.c (TEST_NAME): New macro.
27928 * string/test-memchr.c (TEST_NAME): Likewise.
27929 * string/test-memcmp.c (TEST_NAME): Likewise.
27930 * string/test-memcpy.c (TEST_NAME): Likewise.
27931 * string/test-memmem.c (TEST_NAME): Likewise.
27932 * string/test-memmove.c (TEST_NAME): Likewise.
27933 * string/test-memset.c (TEST_NAME): Likewise.
27934 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27935 * string/test-stpcpy.c (TEST_NAME): Likewise.
27936 * string/test-stpncpy.c (TEST_NAME): Likewise.
27937 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27938 * string/test-strcasestr.c (TEST_NAME): Likewise.
27939 * string/test-strcat.c (TEST_NAME): Likewise.
27940 * string/test-strchr.c (TEST_NAME): Likewise.
27941 * string/test-strcmp.c(TEST_NAME): Likewise.
27942 * string/test-strcpy.c (TEST_NAME): Likewise.
27943 * string/test-strcspn.c (TEST_NAME): Likewise.
27944 * string/test-strlen.c (TEST_NAME): Likewise.
27945 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27946 * string/test-strncmp.c (TEST_NAME): Likewise.
27947 * string/test-strncpy.c (TEST_NAME): Likewise.
27948 * string/test-strnlen.c (TEST_NAME): Likewise.
27949 * string/test-strpbrk.c (TEST_NAME): Likewise.
27950 * string/test-strrchr.c (TEST_NAME): Likewise.
27951 * string/test-strspn.c (TEST_NAME): Likewise.
27952 * string/test-strstr.c (TEST_NAME): Likewise.
27953 * string/test-bcopy-ifunc.c: New file.
27954 * string/test-bzero-ifunc.c: Likewise.
27955 * string/test-memccpy-ifunc.c: Likewise.
27956 * string/test-memchr-ifunc.c: Likewise.
27957 * string/test-memcmp-ifunc.c: Likewise.
27958 * string/test-memcpy-ifunc.c: Likewise.
27959 * string/test-memmem-ifunc.c: Likewise.
27960 * string/test-memmove-ifunc.c: Likewise.
27961 * string/test-mempcpy-ifunc.c: Likewise.
27962 * string/test-memset-ifunc.c: Likewise.
27963 * string/test-rawmemchr-ifunc.c: Likewise.
27964 * string/test-stpcpy-ifunc.c: Likewise.
27965 * string/test-stpncpy-ifunc.c: Likewise.
27966 * string/test-strcasecmp-ifunc.c: Likewise.
27967 * string/test-strcasestr-ifunc.c: Likewise.
27968 * string/test-strcat-ifunc.c: Likewise.
27969 * string/test-strchr-ifunc.c: Likewise.
27970 * string/test-strchrnul-ifunc.c: Likewise.
27971 * string/test-strcmp-ifunc.c: Likewise.
27972 * string/test-strcpy-ifunc.c: Likewise.
27973 * string/test-strcspn-ifunc.c: Likewise.
27974 * string/test-strlen-ifunc.c: Likewise.
27975 * string/test-strncasecmp-ifunc.c: Likewise.
27976 * string/test-strncat-ifunc.c: Likewise.
27977 * string/test-strncmp-ifunc.c: Likewise.
27978 * string/test-strncpy-ifunc.c: Likewise.
27979 * string/test-strnlen-ifunc.c: Likewise.
27980 * string/test-strpbrk-ifunc.c: Likewise.
27981 * string/test-strrchr-ifunc.c: Likewise.
27982 * string/test-strspn-ifunc.c: Likewise.
27983 * string/test-strstr-ifunc.c: Likewise.
27985 * debug/Makefile (tests-ifunc): New variable.
27986 (tests): Add $(tests-ifunc).
27987 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27988 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27989 * debug/test-stpcpy_chk-ifunc.c: New file.
27990 * debug/test-strcpy_chk-ifunc.c: Likewise.
27992 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27995 * elf/dl-load.c (open_verify): Retry read if the entire ELF
27996 header is not read in.
27998 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28000 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28001 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28002 directly. Pass built executable to script as
28003 $(built-program-cmd).
28004 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28005 $testprogram without using LD_LIBRARY_PATH and $ldso.
28007 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28008 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28009 $(rtld-installed-name).
28010 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28011 (rtld_installed_name): Likewise.
28012 (library_path): Likewise.
28013 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28014 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28015 $(run-program-prefix) to tst-tables.sh.
28016 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28017 it to run tst-table-from and tst-table-to.
28018 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28019 Pass it to tst-table.sh.
28020 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28021 $(run-program-prefix) to tst-gettext.sh.
28022 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28024 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28026 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28027 to run tst-gettext.
28028 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28029 to run tst-gettext2.
28030 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28031 to run tst-translit.
28032 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28033 $(run-program-prefix) to tst-mtrace.sh.
28034 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28036 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28037 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28038 $(rtld-installed-name).
28039 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28040 (rtld_installed_name): Likewise.
28041 (run_program_prefix): New variable. Use it to run wordexp-test.
28043 * Makeconfig (ARCH): Remove all definitions.
28044 (machine): Likewise.
28045 [ARCH]: Remove conditional code.
28046 [!objdir]: Give error.
28047 [!objdir] (objpfx): Remove.
28048 [!objdir] (common-objpfx): Likewise.
28049 [!objdir] (common-objdir): Likewise.
28050 * configure.in (config_makefile): Remove. Hardcode Makefile in
28051 AC_CONFIG_FILES call.
28052 * configure: Regenerated.
28055 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28057 (testout): Likewise.
28059 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28060 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28061 $(rtld-installed-name).
28062 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28063 (rtld_installed_name): Likwise.
28064 (runit): Remove function.
28065 (run_getconf): New variable, Use it for running getconf binary.
28067 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28070 * string/test-memmem.c (check_result): New function.
28071 (do_one_test): Use it.
28072 (check1): New function.
28073 (test_main): Use it.
28075 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28077 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28079 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28081 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28082 (_G_LSEEK64): Likewise.
28083 (_G_MMAP64): Likewise.
28084 (_G_FSTAT64): Likewise.
28085 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28086 (_G_LSEEK64): Likewise.
28087 (_G_MMAP64): Likewise.
28088 (_G_FSTAT64): Likewise.
28089 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28090 unconditional. Call __mmap64 directly.
28091 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28092 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28093 __lseek64 directly.
28094 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28095 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28097 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28098 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28099 __lseek64 directly.
28100 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28101 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28102 __lseek64 directly.
28103 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28104 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28105 __lseek64 directly.
28106 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28107 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28108 __fxstat64 directly.
28109 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28110 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28112 (freopen64) [!_G_OPEN64]: Remove conditional code.
28113 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28115 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28116 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28118 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28119 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28121 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28122 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28124 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28125 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28127 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28128 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28130 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28131 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28133 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28135 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28138 * manual/memory.texi (Malloc Tunable Parameters): Add note
28139 about free list pointers overwriting some perturb bytes.
28140 Wording suggested by Roland McGrath.
28142 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28144 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28145 (lgamma_test): Likewise.
28146 (tgamma_test): Likewise.
28148 2012-10-16 Florian Weimer <fweimer@redhat.com>
28151 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28152 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28154 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28156 * NEWS: Mention BZ #14716.
28157 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28158 when removing AVAILABLE1_USES_J macro.
28160 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28162 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28163 (__bswap_64): __uint64_t for unsigned 64-bit int.
28165 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28167 * include/string.h (memmem): Declare libc hidden alias.
28168 * string/memmem.c (memmem): Define libc hidden alias.
28169 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28170 __read, __close instead of open, read, close.
28172 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28174 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28175 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28177 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28178 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28179 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28181 (__rawmemchr_sse2): Likewise.
28182 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28183 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28184 (__strchr_sse2): Likewise.
28185 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28186 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28187 (__strcasecmp_sse2): Likewise.
28188 (__strncasecmp_sse2): Likewise.
28189 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28190 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28191 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28192 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28193 (__strrchr_sse2): Likewise.
28194 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28196 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28197 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28198 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28199 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28200 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28201 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28202 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28203 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28204 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28205 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28206 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28207 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28208 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28209 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28210 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28211 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28212 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28213 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28214 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28215 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28216 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28217 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28218 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28219 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28220 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28221 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28222 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28223 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28224 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28225 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28227 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28229 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28230 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28231 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28232 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28234 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28236 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28237 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28238 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28239 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28241 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28242 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28243 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28244 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28245 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28246 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28247 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28248 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28249 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28250 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28251 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28252 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28253 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28254 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28255 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28256 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28257 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28258 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28259 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28260 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28261 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28262 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28263 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28264 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28265 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28266 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28267 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28268 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28269 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28270 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28271 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28272 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28273 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28274 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28275 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28276 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28277 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28278 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28279 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28280 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28281 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28283 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28284 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28285 * include/ifunc-impl-list.h: New file.
28286 * misc/ifunc-impl-list.c: Likewise.
28287 * misc/Makefile (routines): Add ifunc-impl-list.
28288 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28289 * string/test-string.h: Include <ifunc-impl-list.h>.
28290 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28291 TEST_NAME]: New variables.
28292 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28294 (test_init): Call __libc_ifunc_impl_list to initialize
28295 func_list if TEST_IFUNC and TEST_NAME are defined.
28297 * string/Makefile (strop-tests): Add bcopy and bzero.
28298 * string/test-bcopy.c: New file.
28299 * string/test-bzero.c: Likewise.
28300 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28302 * string/test-memset.c: Support bzero test if TEST_BZERO is
28304 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28306 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28308 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28311 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28313 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28314 * configure: Regenerated.
28316 * Makeconfig (+link-static-before-libc): Don't include
28317 $(link-static-libc).
28319 * libio/libio.h (_IO_pos_t): Remove.
28321 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28323 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28326 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28328 * crypt/crypt-entry.c: Include fips-private.h.
28329 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28330 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28331 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28332 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28334 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28336 * crypt/crypt-private.h: Include stdbool.h.
28337 (_ufc_setup_salt_r): Return bool.
28338 * crypt/crypt-entry.c: Include errno.h.
28339 (__crypt_r): Return NULL with EINVAL for bad salt.
28340 * crypt/crypt_util.c (bad_for_salt): New.
28341 (_ufc_setup_salt_r): Check that salt is long enough and within
28342 the specified alphabet.
28343 * crypt/badsalttest.c: New file.
28344 * crypt/Makefile (tests): Add it.
28345 ($(objpfx)badsalttest): New.
28347 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28349 * NEWS: Add entry for BZ #14602.
28351 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28353 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28355 * math/libm-test.inc: Update comment listing what functions and
28357 (isgreater_test): New function.
28358 (isgreaterequal_test): Likewise.
28359 (isless_test): Likewise.
28360 (islessequal_test): Likewise.
28361 (islessgreater_test): Likewise.
28362 (isunordered_test): Likewise.
28363 (main): Call the new functions.
28365 2012-10-09 Roland McGrath <roland@hack.frob.com>
28367 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28368 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28369 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28370 * sysdeps/i386/configure: Regenerated.
28371 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28372 * sysdeps/mach/configure: Regenerated.
28373 * sysdeps/mach/hurd/configure: Regenerated.
28374 * sysdeps/powerpc/configure: Regenerated.
28375 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28376 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28377 * sysdeps/s390/s390-32/configure: Regenerated.
28378 * sysdeps/s390/s390-64/configure: Regenerated.
28379 * sysdeps/sh/configure: Regenerated.
28380 * sysdeps/sparc/configure: Regenerated.
28381 * sysdeps/unix/sysv/linux/configure: Regenerated.
28382 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28383 * sysdeps/x86_64/configure: Regenerated.
28385 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28386 defined. Don't check if MAP is NULL.
28388 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28390 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28391 (_G_stat64): Likewise.
28392 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28393 (_G_stat64): Likewise.
28394 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28395 instead of struct _G_stat64.
28396 * libio/fileops.c (mmap_remap_check): Likewise.
28397 (decide_maybe_mmap): Likewise.
28398 (_IO_new_file_seekoff): Likewise.
28399 (_IO_file_stat): Likewise.
28400 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28402 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28403 instead of struct _G_stat64.
28404 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28406 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28409 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28411 (CHECK_EOL): New macro.
28412 (two_way_short_needle): Check beginning of haystack for EOL. Use
28414 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28415 Replace with CHECK_EOL.
28416 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28417 Replace with CHECK_EOL.
28419 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28421 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28423 * math/libm-test.inc: Update comment listing what functions and
28425 (finite_test): New function.
28426 (isinf_test): Likewise.
28427 (isnan_test): Likewise.
28428 (fpclassify_test): Test subnormal input.
28429 (isfinite_test): Likewise.
28430 (isnormal_test): Likewise.
28431 (main): Call the new functions.
28433 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28436 * Makerules (%.dynsym): Force C locale when running
28437 $(OBJDUMP) --dynamic-syms.
28439 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28441 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28444 2012-10-06 David S. Miller <davem@davemloft.net>
28446 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28447 upper 32-bits of the length value in %o2 since we use branch-on-register
28448 tests which consider the entire 64-bit register.
28450 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28452 * string/test-strstr.c (check2): Add a test for page boundary.
28454 2012-10-05 David S. Miller <davem@davemloft.net>
28456 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28457 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28459 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28461 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28462 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28463 and bzero when HWCAP_SPARC_CRYPTO is present.
28465 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28468 * string/test-strstr.c (check2): New function.
28469 (test_main): Call check2.
28471 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28473 * string/bug-strcasestr1.c (do_test): Moved to ...
28474 * string/test-strcasestr.c (check1): Here. New function.
28475 (do_one_test): Break out result checking code into ...
28476 (check_result): This. New function.
28477 (do_one_test): Call check_result.
28478 (test_main): Call check1.
28479 * string/bug-strchr1.c (do_test): Moved to ...
28480 * string/test-strchr.c (check1): Here. New function.
28481 (do_one_test): Break out result checking code into ...
28482 (check_result): This. New function.
28483 (do_one_test): Call check_result.
28484 (test_main): Call check1.
28485 * string/bug-strstr1.c (main): Moved to ...
28486 * string/test-strstr.c (check1): Here. New function.
28487 (do_one_test): Break out result checking code into ...
28488 (check_result): This. New function.
28489 (do_one_test): Call check_result.
28490 (test_main): Call check1.
28491 * string/bug-strcasestr1.c: Removed.
28492 * string/bug-strchr1.c: Likewise.
28493 * string/bug-strstr1.c: Likewise.
28495 * elf/Makefile (dl-routines): Add hwcaps.
28496 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28497 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28498 (_dl_important_hwcaps): Moved to ...
28499 * elf/dl-hwcaps.c: Here. New file.
28500 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28503 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28504 if IS_IN_rtld isn't defined.
28506 * elf/dl-support.c (_dl_sysinfo_map): New.
28507 Include "get-dynamic-info.h" and "setup-vdso.h".
28508 (_dl_non_dynamic_init): Call setup_vdso.
28509 * elf/dynamic-link.h: Don't include <assert.h>.
28510 (elf_get_dynamic_info): Moved to ...
28511 * elf/get-dynamic-info.h: Here. New file.
28512 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28513 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28514 * elf/setup-vdso.h: Here. New file.
28515 * elf/rtld.c: Include "setup-vdso.h".
28516 (dl_main): Call setup_vdso.
28518 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28520 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28521 creal in comment listing functions tested. List finite, isinf,
28522 isnan, isless, islessequal, isgreater, isgreaterequal,
28523 islessgreater, isunordered, lgamma_r and pow10 as functions and
28524 macros not tested. Mention which functions not tested are aliases
28525 for other functions. Fix typo. Note that signs of NaNs are not
28528 * scripts/config.guess: Update from config.git.
28529 * scripts/config.sub: Likewise.
28531 2012-10-04 Roland McGrath <roland@hack.frob.com>
28533 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28534 * misc/madvise.c (madvise): Renamed to __madvise.
28535 Make madvise a weak alias.
28536 * include/sys/mman.h: Declare __madvise.
28537 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28538 * sysdeps/unix/syscalls.list
28539 (madvise): Make __madvise the strong name, and madvise a weak alias.
28540 * sysdeps/unix/sysv/linux/syscalls.list
28541 (madvise, mmap): Remove redundant entries.
28542 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28543 * malloc/malloc.c (mtrim): Likewise.
28544 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28546 2012-10-03 Roland McGrath <roland@hack.frob.com>
28548 * sysdeps/mach/hurd/dl-cache.c: File removed.
28549 * config.h.in (USE_LDCONFIG): New #undef.
28550 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28551 * configure: Regenerated.
28552 * elf/Makefile (dl-routines): Add dl-cache only under
28553 [$(use-ldconfig) = yes].
28554 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28555 cache on [USE_LDCONFIG].
28556 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28558 * elf/rtld.c (dl_main): Likewise.
28560 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28562 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28563 _SC_LEVEL4_CACHE_LINESIZE.
28565 2012-10-03 Roland McGrath <roland@hack.frob.com>
28567 * sysdeps/unix/bsd/confstr.h: File removed.
28569 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28571 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28574 2012-10-02 Roland McGrath <roland@hack.frob.com>
28576 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28577 Make 'mapoff' field ElfW(Off) rather than off_t.
28579 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28581 * nscd/Makefile: Remove nscd-cflags and all its users.
28582 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28583 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28586 * malloc.c (malloc_printerr): Clarify error message.
28588 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28592 Set bit_FMA_Usable if FMA is supported.
28593 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28595 (bit_FMA4_Usable): Updated.
28596 (index_FMA_Usable): New macro.
28597 (CPUID_FMA): Likewise
28598 (HAS_FMA): Defined with bit_FMA_Usable.
28600 2012-10-01 Roland McGrath <roland@hack.frob.com>
28602 * bits/types.h (__swblk_t): Type removed.
28603 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28604 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28606 (__SWBLK_T_TYPE): Likewise.
28607 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28608 (__SWBLK_T_TYPE): Likewise.
28609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28610 (__SWBLK_T_TYPE): Likewise.
28611 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28612 (__SWBLK_T_TYPE): Likewise.
28614 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28615 Honza Horak <hhorak@redhat.com>
28617 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28618 (xdr_mapname): Use YPMAXMAP as maxsize.
28619 (xdr_peername): Use YPMAXPEER as maxsize.
28620 (xdr_keydat): Use YPAXRECORD as maxsize.
28621 (xdr_valdat): Use YPMAXRECORD as maxsize.
28623 2012-10-01 Roland McGrath <roland@hack.frob.com>
28625 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28627 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28628 * csu/init-first.c: ... here.
28629 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28630 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28631 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28632 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28633 * sysdeps/i386/init-first.c: File removed.
28634 * sysdeps/sh/init-first.c: File removed.
28636 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28640 if x * y might underflow to zero and z is zero.
28641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28642 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28643 * math/libm-test.inc (min_subnorm_value): New variable.
28644 (fma_test): Add more tests.
28645 (fma_test_towardzero): Likewise.
28646 (fma_test_downward): Likewise
28647 (fma_test_upward): Likewise.
28648 (initialize): Set min_subnorm_value.
28650 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28655 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28656 mode for addition resulting in exact zero.
28657 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28658 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28660 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28661 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28662 * math/libm-test.inc (fma_test): Add more tests.
28663 (fma_test_towardzero): New function.
28664 (fma_test_downward): Likewise.
28665 (fma_test_upward): Likewise.
28666 (main): Call the new functions.
28668 2012-09-28 David S. Miller <davem@davemloft.net>
28670 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28672 2012-09-28 Roland McGrath <roland@hack.frob.com>
28674 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28675 instead of SIGALRM.
28677 * sysdeps/gnu/_G_config.h: Moved to ...
28678 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28679 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28680 * sysdeps/generic/_G_config.h: ... here.
28682 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28684 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28686 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28687 Conditionalize target on [libnss_test1.so-version].
28689 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28691 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28692 (elfobjdir): Move out of conditionals.
28694 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28695 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28696 (__nss_lookup_function): Conditionalize label remove_from_tree on
28697 [!DO_STATIC_NSS || SHARED], matching its only use.
28699 2012-09-28 David S. Miller <davem@davemloft.net>
28701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28702 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28704 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28706 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28708 when HWCAP_SPARC_CRYPTO is present.
28710 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28712 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28714 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28717 * stdio-common/vfprintf.c (process_string_arg): Revert
28720 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28722 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28724 * stdio-common/tst-sprintf.c: Include <locale.h>
28725 (main): Test sprintf's handling of incomplete multibyte
28728 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28730 * elf/dl-runtime.c (VERSYMIDX): Removed.
28731 * elf/dl-version.c (VERSYMIDX): Likewise.
28732 * elf/do-rel.h (VERSYMIDX): Likewise.
28733 (VALIDX): Likewise.
28734 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28735 * elf/rtld.c (VALIDX): Likewise.
28736 (ADDRIDX): Likewise.
28737 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28738 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28739 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28740 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28741 (VALIDX): Likewise.
28742 (ADDRIDX): Likewise.
28744 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28746 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28748 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28751 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28753 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28754 addresses are in the same scope as 192.0.2/24.
28755 * posix/gai.conf: Document new scope table defaults.
28757 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28760 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28761 for ftell. Compute offsets from write pointers instead.
28762 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28764 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28767 * libio/Makefile (tests): New test case tst-fseek.
28768 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28769 combination works in wide mode.
28770 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28771 state when the external buffer state changes.
28773 2012-09-27 David S. Miller <davem@davemloft.net>
28776 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28777 pass reloc->r_addend in as the 'high' argument to
28778 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28782 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28784 * rt/tst-aio2.c: Include <pthread.h>.
28785 * rt/tst-aio3.c: Likewise.
28787 2012-09-27 Steve Ellcey <sellcey@mips.com>
28789 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28791 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28793 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28794 contents on [SHARED].
28796 2012-09-26 Marek Polacek <polacek@redhat.com>
28800 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28801 for C++ and GCC <4.3 as well as for non GCC compilers.
28803 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28807 2012-09-25 Roland McGrath <roland@hack.frob.com>
28809 * Makefile.in (all, install): Declare with .PHONY.
28810 Reported by Michael Hope <michael.hope@linaro.org>.
28812 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28814 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28815 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28817 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28819 (sydep_routines): Add the new and the internal functions.
28820 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28821 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28823 (GLIBC_2.17): Add the new function.
28824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28825 (GLIBC_2.17): Likewise.
28826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28827 (GLIBC_2.17): Likewise.
28828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28829 (GLIBC_2.17): Likewise.
28830 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28832 2012-09-25 Alan Modra <amodra@gmail.com>
28834 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28835 Add release barrier before setting once_control to say
28836 initialisation is done. Add hints on lwarx. Use macro in
28838 (clear_once_control): Add release barrier.
28840 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28843 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28845 * math/s_clog10.c (__clog10): Likewise.
28846 * math/s_clog10f.c (__clog10f): Likewise.
28847 * math/s_clog10l.c (__clog10l): Likewise.
28848 * math/s_clogf.c (__clogf): Likewise.
28849 * math/s_clogl.c (__clogl): Likewise.
28850 * math/Makefile (libm-calls): Add x2y2m1.
28851 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28852 (__x2y2m1): Likewise.
28853 (__x2y2m1l): Likewise.
28854 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28855 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28859 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28860 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28861 * sysdeps/i386/fpu/libm-test-ulps: Update.
28862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28865 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28866 int as type of variable DEPTH.
28867 (glob): Use size_t instead of int as type of variables NEWCOUNT
28870 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28872 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28873 Add s_sincosf-sse2.
28874 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28875 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28876 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28877 macros for using routine as __sincosf_ia32.
28878 Use macro for function declaration and weak_alias.
28879 * sysdeps/i386/fpu/libm-test-ulps: Update.
28881 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28884 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28885 subnormal argument.
28886 * math/s_cexpf.c (__cexpf): Likewise.
28887 * math/s_csinf.c (__csinf): Likewise.
28888 * math/s_csinhf.c (__csinhf): Likewise.
28889 * math/s_ctanf.c (__ctanf): Likewise.
28890 * math/s_ctanhf.c (__ctanhf): Likewise.
28891 * math/s_ccosh.c (__ccoshf): Likewise.
28892 * math/s_cexp.c (__cexpl): Likewise.
28893 * math/s_csin.c (__csin): Likewise.
28894 * math/s_csinh.c (__csinh): Likewise.
28895 * math/s_ctan.c (__ctan): Likewise.
28896 * math/s_ctanh.c (ctanh): Likewise.
28897 * math/s_ccoshl.c (__ccoshl): Likewise.
28898 * math/s_cexpl.c (__cexpl): Likewise.
28899 * math/s_csinl.c (__csinl): Likewise.
28900 * math/s_csinhl.c (__csinhl): Likewise.
28901 * math/s_ctanl.c (__ctanl): Likewise.
28902 * math/s_ctanhl.c (__ctanhl): Likewise.
28904 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28906 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28907 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28908 (_IO_off_t): Define to __off_t, not _G_off_t.
28909 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28910 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28911 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28912 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28913 type of __dummy and __dummy2 fields.
28914 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28915 (_G_ssize_t): Likewise.
28916 (_G_off_t): Likewise.
28917 (_G_pid_t): Likewise.
28918 (_G_uid_t): Likewise.
28919 (_G_wchar_t): Likewise.
28920 (_G_wint_t): Likewise.
28921 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28922 (_G_ssize_t): Likewise.
28923 (_G_off_t): Likewise.
28924 (_G_pid_t): Likewise.
28925 (_G_uid_t): Likewise.
28926 (_G_wchar_t): Likewise.
28927 (_G_wint_t): Likewise.
28928 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28929 (_G_ssize_t): Likewise.
28930 (_G_off_t): Likewise.
28931 (_G_pid_t): Likewise.
28932 (_G_uid_t): Likewise.
28933 (_G_wchar_t): Likewise.
28934 (_G_wint_t): Likewise.
28936 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28938 * malloc/arena.c: Include malloc-sysdep.h.
28939 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28940 is sufficient to shrink the heap or an unmap is needed.
28941 * sysdeps/generic/malloc-sysdep.h: New file. Define
28942 new function check_may_shrink_heap.
28943 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28944 new function check_may_shrink_heap.
28946 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28948 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28951 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28953 * catgets/test-gencat.sh: Add "set -e".
28954 * elf/tst-pathopt.sh: Likewise.
28955 * grp/tst_fgetgrent.sh: Likewise.
28956 * iconvdata/run-iconv-test.sh: Likewise.
28957 * intl/tst-gettext.sh: Likewise.
28958 * intl/tst-gettext2.sh: Likewise.
28959 * intl/tst-gettext4.sh: Likewise.
28960 * intl/tst-gettext6.sh: Likewise.
28961 * intl/tst-translit.sh: Likewise.
28962 * io/ftwtest-sh: Likewise.
28963 * libio/test-freopen.sh: Likewise.
28964 * malloc/tst-mtrace.sh: Likewise.
28965 * posix/globtest.sh: Likewise.
28966 * posix/tst-getconf.sh: Likewise.
28967 * posix/wordexp-tst.sh: Likewise.
28968 * stdio-common/tst-printf.sh: Likewise.
28969 * stdio-common/tst-unbputc.sh: Likewise.
28970 * stdlib/tst-fmtmsg.sh: Likewise.
28971 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28972 * catgets/Makefile: Do not specify -e option when running
28973 testsuite shell scripts.
28974 * elf/Makefile: Likewise.
28975 * grp/Makefile: Likewise.
28976 * iconvdata/Makefile: Likewise.
28977 * intl/Makefile: Likewise.
28978 * io/Makefile: Likewise.
28979 * libio/Makefile: Likewise.
28980 * malloc/Makefile: Likewise.
28981 * posix/Makefile: Likewise.
28982 * stdio-common/Makefile: Likewise.
28983 * stdlib/Makefile: Likewise.
28984 * sysdeps/x86_64/Makefile: Likewise.
28986 * io/ftwtest-sh: Add copyright header.
28987 * posix/globtest.sh: Likewise.
28988 * posix/tst-getconf.sh: Likewise.
28989 * posix/wordexp-tst.sh: Likewise.
28990 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28992 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
28995 * Makeconfig (+link): Defined as $(+link-static) if
28996 $(build-shared) isn't yes.
28997 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28999 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29001 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29004 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29005 new chunk size with MALLOC_ALIGN_MASK.
29007 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29010 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29012 (__printf_fphex): Determine rounding using get_rounding_mode and
29014 * stdio-common/tst-printf-round.c (struct hex_test): New
29016 (hex_tests): New variable.
29017 (test_hex_in_one_mode): New function.
29018 (do_test): Also run tests for hex float output.
29020 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29022 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29023 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29024 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29025 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29026 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29027 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29028 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29029 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29031 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29033 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29034 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29035 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29036 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29038 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29041 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29043 * elf/tst-rtld-load-self.sh: New test.
29044 * elf/Makefile: Run it.
29046 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29048 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29049 (tst-writev-ENV): Remove.
29050 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29052 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29054 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29056 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29058 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29060 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29062 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29063 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29064 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29067 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29070 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29071 * config.make.in (have-cpp-asm-debuginfo): Removed.
29072 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29073 * configure: Regenerated.
29075 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29078 * stdio-common/printf_fp.c: Include <stdbool.h> and
29080 (___printf_fp): Determine rounding using get_rounding_mode and
29082 * stdio-common/tst-printf-round.c: New file.
29083 * stdio-common/Makefile (tests): Add tst-printf-round.
29084 (link-libm): New variable.
29085 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29087 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29090 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29091 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29093 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29096 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29098 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29099 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29100 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29101 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29103 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29106 * include/rounding-mode.h: New file.
29107 * sysdeps/generic/get-rounding-mode.h: Likewise.
29108 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29109 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29110 (MAX_VALUE): New macro.
29111 (MIN_VALUE): Likewise.
29112 (overflow_value): New function.
29113 (underflow_value): Likewise.
29114 (round_and_return): Use overflow_value and underflow_value to
29115 determine return values in overflow and underflow cases. Use
29116 round_away to determine rounding depending on rounding mode.
29117 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29118 determine return values in overflow and underflow cases.
29119 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29120 (struct test_results): New structure.
29121 (struct test): Use struct test_results to store expected results
29122 for all rounding modes.
29123 (TEST): Include expected results for all rounding modes.
29124 (test_in_one_mode): New function.
29125 (do_test): Use test_in_one_mode to compute and check results.
29126 Check results for all rounding modes.
29127 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29130 2012-12-09 Allan McRae <allan@archlinux.org>
29132 * sysdeps/i386/fpu/libm-test-ulps: Update
29134 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29136 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29137 (_G_int32_t): Likewise.
29138 (_G_uint16_t): Likewise.
29139 (_G_uint32_t): Likewise.
29140 (_G_HAVE_BOOL): Likewise.
29141 (_G_HAVE_ATEXIT): Likewise.
29142 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29143 (_G_HAVE_IO_FILE_OPEN): Likewise.
29144 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29145 (_G_int32_t): Likewise.
29146 (_G_uint16_t): Likewise.
29147 (_G_uint32_t): Likewise.
29148 (_G_HAVE_BOOL): Likewise.
29149 (_G_HAVE_ATEXIT): Likewise.
29150 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29151 (_G_HAVE_IO_FILE_OPEN): Likewise.
29152 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29153 (_G_int32_t): Likewise.
29154 (_G_uint16_t): Likewise.
29155 (_G_uint32_t): Likewise.
29156 (_G_HAVE_BOOL): Likewise.
29157 (_G_HAVE_ATEXIT): Likewise.
29158 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29159 (_G_HAVE_IO_FILE_OPEN): Likewise.
29161 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29163 * csu/libc-tls.c: Update copyright years.
29165 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29167 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29168 [!_G_USING_THUNKS]: Remove conditional code.
29169 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29170 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29172 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29173 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29174 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29175 (_G_VTABLE_LABEL_PREFIX): Likewise.
29176 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29177 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29178 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29179 (_G_VTABLE_LABEL_PREFIX): Likewise.
29180 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29181 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29182 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29183 (_G_VTABLE_LABEL_PREFIX): Likewise.
29184 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29186 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29188 * libio/Makefile: Include ../Makeconfig before tests.
29189 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29190 only if $(build-shared) is yes.
29192 * iconv/gconv_db.c: Update copyright years.
29194 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29196 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29197 unwind info if defined PIC. Fix special cases description.
29198 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29200 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29202 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29204 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29206 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29208 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29211 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29212 (LDLIBS-tst-chk4): This.
29213 (LDFLAGS-tst-chk5): Renamed to ...
29214 (LDLIBS-tst-chk5): This.
29215 (LDFLAGS-tst-chk6): Renamed to ...
29216 (LDLIBS-tst-chk6): This.
29217 (LDFLAGS-tst-lfschk4): Renamed to ...
29218 (LDLIBS-tst-lfschk4): This.
29219 (LDFLAGS-tst-lfschk5): Renamed to ...
29220 (LDLIBS-tst-lfschk5): This.
29221 (LDFLAGS-tst-lfschk6): Renamed to ...
29222 (LDLIBS-tst-lfschk6): This.
29224 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29225 on $(common-objpfx)soversions.mk.
29227 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29230 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29233 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29235 * malloc/arena.c (arena_get_retry): New function that gets
29236 another arena for the caller to try its request on.
29237 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29238 current arena cannot fulfill the request.
29239 (__libc_memalign): Likewise.
29240 (__libc_memalign): Likewise.
29241 (__libc_pvalloc): Likewise.
29242 (__libc_calloc): Likewise.
29244 2012-09-05 John Tobey <john.tobey@gmail.com>
29247 * manual/arith.texi (Operations on Complex): Fix description
29248 of carg branch cut.
29250 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29253 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29257 * manual/memory.texi (Memory): Make order of menu items match
29260 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29262 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29263 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29264 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29266 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29268 * csu/libc-tls.c (static_dtv): Renamed to ...
29269 (_dl_static_dtv): This. Make it global.
29270 (_dl_initial_dtv): Removed.
29271 (__libc_setup_tls): Updated.
29272 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29273 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29276 2012-09-06 Petr Machata <pmachata@redhat.com>
29278 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29279 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29280 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29281 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29283 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29286 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29287 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29290 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29293 * Makeconfig (link-static-before-libc): Replace $(+prector)
29295 (link-static-after-libc): Replace $(+postctor) with
29297 (link-bounded): Replace $(+prector)/$(+postctor) with
29298 $(+prectorT)/$(+postctorT).
29299 (+prectorT): New macro.
29300 (+postctorT): Likewise.
29302 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29304 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29305 (round_str): Handle values above the maximum for IBM long double
29307 * stdlib/tst-strtod-round.c (tests): Regenerated.
29309 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29311 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29313 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29314 zarch_nohighgprs around the zarch optimized routines.
29315 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29316 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29317 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29320 2012-09-05 David S. Miller <davem@davemloft.net>
29322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29324 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29325 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29326 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29327 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29330 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29332 * malloc/arena.c: Fold copyright years.
29333 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29335 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29337 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29339 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29341 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29343 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29345 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29346 change internal state upon failure.
29348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29350 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29351 * malloc/memusage.c (mmap): Likewise.
29352 (mmap64, mremap): Likewise. Adjust name in comment.
29354 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29356 * libio/fileops.c: Fix typos in comments.
29357 * libio/oldfileops.c: Likewise.
29358 * libio/wfileops.c: Likewise.
29360 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29363 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29364 (tst-malloc-usable-ENV): Set environment for test case.
29365 * malloc/hooks.c (malloc_check_get_size): New function to get
29367 * malloc/malloc.c (musable): Use malloc_check_get_size.
29368 * malloc/tst-malloc-usable.c: New test case.
29370 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29372 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29374 2012-09-05 Allan McRae <allan@archlinux.org>
29377 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29378 determine header location.
29379 * configure: Regenerated.
29381 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29383 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29385 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29386 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29388 (test): Regenerate.
29390 2012-09-04 David S. Miller <davem@davemloft.net>
29392 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29393 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29394 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29396 2012-09-04 Florian Weimer <fweimer@redhat.com>
29398 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29401 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29403 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29406 * libio/iogetdelim.c: Include <limits.h>.
29407 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29408 + len + 1 would overflow.
29410 2012-09-03 Andreas Jaeger <aj@suse.de>
29412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29413 * sysdeps/i386/fpu/libm-test-ulps: Update.
29415 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29417 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29418 Add s_sinf-sse2, s_conf-sse2.
29420 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29421 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29422 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29423 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29425 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29426 for using routine as __sinf_ia32.
29427 Use macro for function declaration and weak_alias.
29428 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29429 for using routine as __cosf_ia32.
29430 Use macro for function declaration and weak_alias.
29432 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29433 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29435 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29436 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29439 * math/libm-test.inc (cos_test): Add more test cases.
29440 (sin_test): Likewise.
29441 (sincos_test): Likewise.
29443 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29445 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29446 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29448 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29450 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29453 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29454 first element of the GOT.
29455 (elf_machine_load_address): Return the difference between
29456 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29458 2012-09-01 Allan McRae <allan@archlinux.org>
29461 * configure.in (AWK): Require gawk version 3.0 or later.
29462 * configure: Regenerated.
29464 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29466 * sysdeps/unix/sysv/linux/kernel-features.h
29467 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29468 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29469 [__NR_clock_getres]: Make code unconditional.
29470 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29471 (clock_getcpuclockid): Remove code left unreachable by removal of
29473 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29474 code unconditional.
29475 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29476 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29477 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29478 Make code unconditional.
29479 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29480 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29481 * sysdeps/unix/sysv/linux/clock_settime.c
29482 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29484 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29485 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29487 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29490 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29491 scripts/test-installation.pl.
29493 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29494 and $ld_so_version if it is set.
29496 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29499 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29500 failure if reading from procfs failed.
29501 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29503 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29505 * sysdeps/unix/sysv/linux/kernel-features.h
29506 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29507 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29508 Remove conditional code.
29509 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29510 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29511 Remove conditional code.
29512 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29513 * sysdeps/unix/sysv/linux/i386/fxstat.c
29514 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29515 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29516 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29517 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29518 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29519 * sysdeps/unix/sysv/linux/i386/lxstat.c
29520 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29521 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29522 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29523 Remove conditional code.
29524 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29525 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29526 Remove conditional code.
29527 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29528 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29529 <kernel-features.h>.
29530 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29532 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29533 Remove conditional code.
29534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29535 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29536 Remove conditional.
29538 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29541 * NEWS: Add fixed bug number.
29543 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29546 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29547 underflowing exponent in case of negative sign.
29548 * stdlib/tst-strtod-round-data: Add more tests.
29549 * stdlib/tst-strtod-round.c (tests): Regenerated.
29552 * stdlib/strtod_l.c (NDIG): Remove.
29553 (HEXNDIG): Likewise.
29554 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29555 smallest representable value.
29556 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29557 lie within an exact representation of 1/2 ulp of the result.
29558 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29560 (TENS_P9_IDX): Define unconditionally.
29561 (TENS_P9_SIZE): Likewise.
29562 (TENS_P10_IDX): Likewise.
29563 (TENS_P10_SIZE): Likewise.
29564 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29565 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29566 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29567 entries for 10^2^13 and 10^2^14.
29568 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29569 (TENS_P13_IDX): Define.
29570 (TENS_P13_SIZE): Likewise.
29571 (TENS_P14_IDX): Likewise.
29572 (TENS_P14_SIZE): Likewise.
29573 (_fpioconst_pow10): Change array size to
29574 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29576 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29577 1024]: Add entries for 10^2^13 and 10^2^14.
29578 [LAST_POW10 > _LAST_POW10]: Remove #error.
29579 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29580 (_fpioconst_pow10): Change array size to
29581 FPIOCONST_POW10_ARRAY_SIZE.
29582 * stdlib/gen-fpioconst.c: New file.
29583 * stdlib/gen-tst-strtod-round.c: Likewise.
29584 * stdlib/tst-strtod-round-data: Likewise.
29585 * stdlib/tst-strtod-round.c: Likewise.
29586 * stdlib/Makefile (tests): Add tst-strtod-round.
29589 * stdlib/strtod_l.c: Include <stdint.h>.
29590 (NDEBUG): Do not define.
29591 (round_and_return): Change EXPONENT parameter to type intmax_t.
29592 Rearrange calculations to avoid internal overflow possibilities.
29593 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29594 Rearrange calculations to avoid internal overflow possibilities.
29595 Assert that number fits inside MPNSIZE limbs.
29596 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29597 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29598 calculations and add assertions to avoid internal overflow
29599 possibilities. Add casts to avoid signed/unsigned operations.
29600 * stdlib/tst-strtod-overflow.c: New file.
29601 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29603 2012-08-25 Marek Polacek <polacek@redhat.com>
29605 * time/time.h: Fix some typos in comments.
29607 2012-08-23 Roland McGrath <roland@hack.frob.com>
29609 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29610 * posix/tst-rfc3484-2.c: Likewise.
29611 * posix/tst-rfc3484-3.c: Likewise.
29613 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29615 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29616 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29618 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29620 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29621 #include of fxstatat64.c.
29623 2012-08-22 Roland McGrath <roland@hack.frob.com>
29625 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29626 * shadow/getspent_r.c: Likewise.
29627 * shadow/getspnam.c: Likewise.
29628 * shadow/getspnam_r.c: Likewise.
29629 * gshadow/getsgent.c: Likewise.
29630 * gshadow/getsgent_r.c: Likewise.
29631 * gshadow/getsgnam.c: Likewise.
29632 * gshadow/getsgnam_r.c: Likewise.
29633 * inet/getnetbyad.c: Likewise.
29634 * inet/getnetbyad_r.c: Likewise.
29635 * inet/getnetbynm.c: Likewise.
29636 * inet/getnetbynm_r.c: Likewise.
29637 * inet/getnetent.c: Likewise.
29638 * inet/getnetent_r.c: Likewise.
29639 * inet/getproto.c: Likewise.
29640 * inet/getproto_r.c: Likewise.
29641 * inet/getprtent.c: Likewise.
29642 * inet/getprtent_r.c: Likewise.
29643 * inet/getprtname.c: Likewise.
29644 * inet/getprtname_r.c: Likewise.
29645 * inet/getrpcbyname.c: Likewise.
29646 * inet/getrpcbyname_r.c: Likewise.
29647 * inet/getrpcbynumber.c: Likewise.
29648 * inet/getrpcbynumber_r.c: Likewise.
29649 * inet/getrpcent.c: Likewise.
29650 * inet/getrpcent_r.c: Likewise.
29651 * inet/getaliasent.c: Likewise.
29652 * inet/getaliasent_r.c: Likewise.
29653 * inet/getaliasname.c: Likewise.
29654 * inet/getaliasname_r.c: Likewise.
29655 * nscd/getgrgid_r.c: Likewise.
29656 * nscd/getgrnam_r.c: Likewise.
29657 * nscd/gethstbyad_r.c: Likewise.
29658 * nscd/gethstbynm3_r.c: Likewise.
29659 * nscd/getpwnam_r.c: Likewise.
29660 * nscd/getpwuid_r.c: Likewise.
29661 * nscd/getsrvbynm_r.c: Likewise.
29662 * nscd/getsrvbypt_r.c: Likewise.
29663 * nscd/gai.c: Likewise.
29665 * configure.in (build_nscd): New substituted variable, set
29666 by --disable-build-nscd and defaults to $use_nscd.
29667 * configure: Regenerated.
29668 * config.make.in (build-nscd): New substituted variable.
29669 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29670 Change conditional to require [$(build-nscd) = yes] as well.
29671 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29674 * configure.in (use_nscd): New substituted variable, set by
29675 --disable-nscd. If enabled, define USE_NSCD.
29676 * configure: Regenerated.
29677 * config.h.in: Add USE_NSCD.
29678 * config.make.in (use-nscd): New substituted variable.
29679 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29680 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29681 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29682 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29683 (CFLAGS-getgrnam_r.c): Likewise.
29684 (CFLAGS-initgroups.c): Likewise.
29685 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29686 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29688 * inet/getnetgrent_r.c
29689 (nscd_setnetgrent): New function, broken out of ...
29690 (setnetgrent): ... here. Call it.
29691 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29692 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29693 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29694 * nscd/Makefile (routines, aux): Move definitions after include of
29695 Makeconfig. Conditionalize on [$(use-nscd) != no].
29696 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29697 Conditionalize on [USE_NSCD].
29698 (is_nscd, nscd_init_cb): Likewise.
29699 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29700 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29701 * nss/nss_db/db-init.c: Likewise.
29702 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29704 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29705 (make_request): Use it.
29706 (cache_valid_p): New function.
29707 (__check_pf): Use it.
29708 * NEWS: Add item for --disable-nscd.
29710 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29712 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29713 to support sed >= 4.2.1-20-ga9bf076.
29714 * configure: Regenerated.
29716 2012-08-22 Roland McGrath <roland@hack.frob.com>
29718 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29719 Conditionalize whole body on [IREL].
29721 2012-08-22 Jeff Law <law@redhat.com>
29724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29725 if the family is PF_UNSPEC.
29727 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29729 * Makerules (lib-version): Rename from V.
29730 (install-lib-nosubdir): Change V to lib-version.
29732 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29735 * powerpc32/power6/wcschr.c: New file.
29736 * powerpc32/power6/wcscpy.c: New file.
29737 * powerpc32/power6/wcsrchr.c: New file.
29738 * powerpc64/power6/wcschr.c: New file.
29739 * powerpc64/power6/wcscpy.c: New file.
29740 * powerpc64/power6/wcsrchr.c: New file.
29742 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29744 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29745 (two_way_short_needle): Use it.
29746 * string/strstr.c (AVAILABLE1_USES_J): Define.
29747 * string/strcasestr.c: Likewise.
29749 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29751 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29754 * NEWS: Add an entry.
29755 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29756 define their defaults.
29757 (two_way_short_needle): Detect end-of-string on-the-fly.
29758 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29759 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29760 * string/bug-strcasestr1.c: New test.
29761 * string/Makefile: Run it.
29763 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29766 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29767 the first character.
29769 2012-08-21 Roland McGrath <roland@hack.frob.com>
29771 * csu/elf-init.c (__libc_csu_irel): Function removed.
29772 * csu/libc-start.c (apply_irel): New function.
29773 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29775 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29777 * sysdeps/unix/sysv/linux/kernel-features.h
29778 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29779 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29780 <kernel-features.h>.
29781 [__NR_fadvise64_64]: Make code unconditional.
29782 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29783 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29784 !__NR_fadvise64_64)]: Likewise.
29785 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29786 !__NR_fadvise64_64))]: Likewise.
29787 [__NR_fadvise64]: Make code unconditional.
29788 [!__NR_fadvise64]: Remove conditional code.
29789 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29790 <kernel-features.h>.
29791 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29793 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29796 not include <kernel-features.h>.
29797 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29799 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29801 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29802 include <kernel-features.h>.
29803 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29805 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29808 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29810 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29811 slight instruction rearrangements per scrollpipe analysis.
29812 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29814 2012-08-20 Roland McGrath <roland@hack.frob.com>
29816 * manual/syslog.texi (syslog; vsyslog, closelog):
29817 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29818 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29820 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29821 DSOCAPS to match condition on defining it.
29823 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29825 * sysdeps/unix/sysv/linux/kernel-features.h
29826 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29828 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29829 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29831 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29832 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29834 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29835 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29837 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29838 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29840 * sysdeps/unix/sysv/linux/kernel-features.h
29841 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29842 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29844 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29845 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29846 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29847 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29848 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29849 Make code unconditional.
29850 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29851 (__mmap64) [!__NR_mmap2]: Likewise.
29852 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29853 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29854 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29855 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29856 [__NR_mmap2]: Make code unconditional.
29857 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29858 (__mmap64) [!__NR_mmap2]: Likewise.
29860 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29862 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29864 2012-08-18 Andreas Jaeger <aj@suse.de>
29866 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29868 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29870 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29871 * include/unistd.h (__have_sock_cloexec): Likewise.
29872 (__have_pipe2): Likewise.
29873 (__have_dup3): Likewise.
29875 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29878 * include/unistd.h (__have_pipe2): Change define into an extern int.
29879 (__have_dup3): Likewise.
29880 * socket/have_sock_cloexec.c: Include fcntl.h.
29881 (__have_pipe2): New variable.
29882 (__have_dup3): Likewise.
29884 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29886 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29888 2012-08-17 Marek Polacek <polacek@redhat.com>
29890 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29891 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29893 2012-08-17 Roland McGrath <roland@hack.frob.com>
29895 * configure.in: Add AC_SUBST for sysheaders.
29896 * configure: Regenerated.
29897 * config.make.in (sysheaders): New substituted variable.
29899 * sysdeps/unix/mkfifo.c: Moved ...
29900 * sysdeps/posix/mkfifo.c: ... here.
29901 * sysdeps/unix/mkfifoat.c: Moved ...
29902 * sysdeps/posix/mkfifoat.c: ... here.
29904 * sysdeps/unix/utime.c: Moved ...
29905 * sysdeps/posix/utime.c: ... here.
29907 * sysdeps/unix/time.c: Moved ...
29908 * sysdeps/posix/time.c: ... here.
29909 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29910 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29912 * sysdeps/unix/nice.c: Moved ...
29913 * sysdeps/posix/nice.c: ... here.
29915 * sysdeps/unix/alarm.c: Moved ...
29916 * sysdeps/posix/alarm.c: ... here.
29918 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29920 2012-08-17 Jeff Law <law@redhat.com>
29922 * intl/Makefile (codeset_mo): New variable.
29923 ($(codeset_mo)): New target.
29924 (tst-codeset.out): Depend on that. Remove explicit rule.
29925 (tst-gettext3.out, tst-gettext5.out): Likewise.
29926 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29927 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29928 * intl/tst-codeset.sh: Remove.
29929 * intl/tst-gettext3.sh: Likewise.
29930 * intl/tst-gettext5.sh: Likewise.
29932 2012-08-17 Roland McGrath <roland@hack.frob.com>
29934 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29935 * sysdeps/unix/syscalls.list: ... here.
29937 * sysdeps/posix/getaddrinfo.c
29938 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29939 (gaiconf_init, gaiconf_reload): Use them.
29940 [!_STATBUF_ST_NSEC]
29941 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29942 Define using time_t rather than struct timespec.
29944 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29945 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29947 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29949 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29950 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29953 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29954 __libc_cleanup_push argument.
29956 * bits/param.h: New file.
29957 * misc/sys/param.h: New file.
29958 * include/sys/param.h: New file.
29959 * misc/Makefile (headers): Add bits/param.h.
29960 * sysdeps/generic/sys/param.h: File removed.
29961 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29962 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29963 * sysdeps/mach/hurd/bits/param.h: New file.
29964 * sysdeps/mach/hurd/sys/param.h: File removed.
29966 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29969 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29971 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29972 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29975 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29976 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29977 rather than -D_IO_MTSAFE_IO conditionally.
29978 * stdio-common/Makefile (CPPFLAGS): Likewise.
29979 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29980 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29981 Use $(libio-mtsafe).
29982 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29983 of -D_IO_MTSAFE_IO.
29984 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29985 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29986 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29987 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29988 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29989 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29990 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29991 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29992 (CFLAGS-fread_u_chk.c): Likewise.
29993 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29994 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29995 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29996 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29997 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29998 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29999 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30000 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30001 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30003 * libio/Makefile: Test [$(libc-reentrant) = yes]
30004 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30007 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30008 * sysdeps/pthread/configure: File removed.
30009 * sysdeps/pthread/Makeconfig: New file.
30010 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30011 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30013 2012-08-16 Gary Benson <gbenson@redhat.com>
30015 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30016 unmapping the first object in a namespace.
30018 2012-08-16 Roland McGrath <roland@hack.frob.com>
30020 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30021 (__internal_setnetgrent): ... this. Add internal_function to
30022 definition. Add libc_hidden_def.
30023 (setnetgrent): Update caller.
30024 (internal_endnetgrent): Renamed to ...
30025 (__internal_endnetgrent): ... this. Add internal_function to
30026 definition. Add libc_hidden_def.
30027 (endnetgrent): Update caller.
30028 (internal_getnetgrent_r): Renamed to ...
30029 (__internal_getnetgrent_r): ... this. Add internal_function to
30030 definition. Add libc_hidden_def.
30031 (__getnetgrent_r): Update caller.
30032 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30034 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30036 * stdlib/longlong.h: Update from GCC.
30038 2012-08-16 Roland McGrath <roland@hack.frob.com>
30040 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30041 on _QL, which is set by umul_ppmm but never used.
30042 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30043 variables, which are set by GMP macros but never used.
30044 * stdio-common/_itowa.c (_itowa): Likewise.
30045 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30046 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30048 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30050 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30051 struct La_sh_regs is not constant.
30052 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30053 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30054 and struct La_sparc64_regs are not constant.
30056 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30058 * sysdeps/unix/sysv/linux/kernel-features.h
30059 (__ASSUME_POSIX_TIMERS): Remove.
30060 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30061 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30062 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30063 Make code unconditional.
30064 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30065 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30066 Make code unconditional.
30067 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30068 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30069 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30070 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30071 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30072 Make code unconditional.
30073 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30074 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30075 (__libc_missing_posix_timers): Remove.
30077 2012-08-15 Roland McGrath <roland@hack.frob.com>
30079 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30080 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30082 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30084 * elf/dl-sym.c: Include <stdlib.h>.
30086 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30087 constants, which avoids warnings in 32-bit builds.
30089 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30090 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30092 * misc/lseek.c: File moved to ...
30093 * io/lseek.c: ... here.
30095 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30097 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30098 shifting LEN more than 31 bits at once.
30100 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30103 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30104 segmentation fault for a case of two empty input strings.
30105 * string/test-strncasecmp.c (check1): Renamed to...
30106 (bz12205): ...this.
30107 (bz14195): Add new testcase for two empty input strings and N > 0.
30108 (test_main): Call new testcase, adapt for renamed function.
30110 2012-08-15 Andreas Jaeger <aj@suse.de>
30113 * crypt/md5test2.c: New test, based on test supplied by Serge
30114 Belyshev <belyshev@depni.sinp.msu.ru>.
30115 * crypt/Makefile (xtests): Add md5test-giant..
30116 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30118 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30121 * crypt/md5.c (md5_process_block): Don't assume the buffer
30122 length is less than 2**32.
30123 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30124 length is less than 2**64.
30126 2012-08-15 Roland McGrath <roland@hack.frob.com>
30128 * string/str-two-way.h: Include <sys/param.h>.
30129 (MAX): Macro removed.
30131 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30132 Move #define and #undef of memmove to just before and after
30133 including <string.h>.
30135 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30136 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30137 and after including <string.h>. Move declarations of
30138 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30139 to before #include "string/memmove.c".
30141 * include/dirent.h: Declare __getdirentries.
30143 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30144 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30146 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30148 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30149 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30150 * sysdeps/i386/configure: Regenerated.
30151 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30152 STABS_CURRENT_FILE, and STABS_FUN.
30153 (END): Remove call to STABS_FUN_END.
30154 (STABS_CURRENT_FILE1): Delete.
30155 (STABS_CURRENT_FILE): Likewise.
30156 (STABS_FUN): Likewise.
30157 (STABS_FUN_END): Likewise.
30158 (STABS_FUN2): Likewise.
30159 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30160 * sysdeps/x86_64/configure: Regenerated.
30162 2012-08-14 Roland McGrath <roland@hack.frob.com>
30164 * elf/dl-open.c: Include <atomic.h>.
30165 * elf/dl-lookup.c: Likewise.
30167 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30169 * sysdeps/unix/sysv/linux/kernel-features.h
30170 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30171 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30173 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30175 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30176 condition on __ASSUME_CLONE_THREAD_FLAGS.
30178 2012-08-14 Andreas Jaeger <aj@suse.de>
30180 * sysdeps/i386/fpu/libm-test-ulps: Update.
30182 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30184 * include/atomic.h (atomic_exchange_and_add): Split into ...
30185 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30188 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30190 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30192 2012-08-13 Jeff Law <law@redhat.com>
30194 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30195 null byte in the output string.
30197 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30199 * sysdeps/unix/sysv/linux/kernel-features.h
30200 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30201 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30202 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30203 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30204 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30205 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30206 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30208 2012-08-09 Jeff Law <law@redhat.com>
30211 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30212 When avoid_arena is set, don't retry in the that arena. Pick the
30213 next one, whatever it might be.
30214 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30215 (arena_lock): Pass in new parameter to arena_get2.
30216 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30218 (__libc_malloc): Unify retrying after main arena failure with
30219 __libc_memalign version.
30220 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30222 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30225 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30226 to __redirect_strstr.
30227 (__strstr_sse42): Use typeof __redirect_strstr.
30228 (__strstr_ia32): Likewise.
30229 (__libc_strstr): New prototype.
30230 (strstr): Renamed to ...
30231 (__libc_strstr): This.
30232 (strstr): New strong alias of __libc_strstr.
30233 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30234 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30237 (__libc_time): New prototype.
30238 (time_ifunc): Replace time with __libc_time.
30239 (time): New strong alias and hidden definition of __libc_time.
30240 (__GI_time): Remove strong alias.
30241 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30242 Include <stddef.h>.
30243 (memmove): Redefined to __redirect_memmove.
30244 (__memmove_sse2): Use typeof __redirect_memmove.
30245 (__memmove_ssse3): Likewise.
30246 (__memmove_ssse3_back): Likewise.
30247 (__libc_memmove): New prototype.
30248 (memmove): Renamed to ...
30249 (__libc_memmove): This.
30250 (memmove): New strong alias of __libc_memmove.
30252 2012-08-08 Mark Salter <msalter@redhat.com>
30255 (R_MN10300_TLS_GD): Define.
30256 (R_MN10300_TLS_LD): Likewise.
30257 (R_MN10300_TLS_LDO): Likewise.
30258 (R_MN10300_TLS_GOTIE): Likewise.
30259 (R_MN10300_TLS_IE): Likewise.
30260 (R_MN10300_TLS_LE): Likewise.
30261 (R_MN10300_TLS_DTPMOD): Likewise.
30262 (R_MN10300_TLS_DTPOFF): Likewise.
30263 (R_MN10300_TLS_TPOFF): Likewise.
30264 (R_MN10300_SYM_DIFF): Likewise.
30265 (R_MN10300_ALIGN): Likewise.
30266 (R_MN10300_NUM): Update.
30268 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30270 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30273 2012-08-08 Roland McGrath <roland@hack.frob.com>
30275 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30277 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30278 sysdeps/unix -> sysdeps/posix move.
30279 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30281 2012-08-07 Allan McRae <allan@archlinux.org>
30284 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30285 (SUNOS_CPP): Likewise.
30286 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30288 (open_input): Call CPP using execvp.
30290 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30292 * sysdeps/unix/sysv/linux/kernel-features.h
30293 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30294 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30295 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30296 (__ASSUME_WAITID_SYSCALL): Likewise.
30297 * sysdeps/unix/sysv/linux/dl-execstack.c
30298 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30299 code unconditional.
30300 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30302 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30303 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30304 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30306 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30308 [__ASSUME_WAITID_SYSCALL]: Likewise.
30309 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30311 2012-08-07 Roland McGrath <roland@hack.frob.com>
30313 * sysdeps/unix/closedir.c: Renamed to ...
30314 * sysdeps/posix/closedir.c: ... here.
30315 * sysdeps/unix/dirfd.c: Renamed to ...
30316 * sysdeps/posix/dirfd.c: ... here.
30317 * sysdeps/unix/dirstream.h: Renamed to ...
30318 * sysdeps/posix/dirstream.h: ... here.
30319 * sysdeps/unix/fdopendir.c: Renamed to ...
30320 * sysdeps/posix/fdopendir.c: ... here.
30321 * sysdeps/unix/opendir.c: Renamed to ...
30322 * sysdeps/posix/opendir.c: ... here.
30323 * sysdeps/unix/readdir.c: Renamed to ...
30324 * sysdeps/posix/readdir.c: ... here.
30325 * sysdeps/unix/readdir_r.c: Renamed to ...
30326 * sysdeps/posix/readdir_r.c: ... here.
30327 * sysdeps/unix/rewinddir.c: Renamed to ...
30328 * sysdeps/posix/rewinddir.c: ... here.
30329 * sysdeps/unix/seekdir.c: Renamed to ...
30330 * sysdeps/posix/seekdir.c: ... here.
30331 * sysdeps/unix/telldir.c: Renamed to ...
30332 * sysdeps/posix/telldir.c: ... here.
30333 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30334 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30335 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30336 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30338 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30339 * bits/fcntl.h: ... here.
30341 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30343 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30344 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30345 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30346 (struct flock): Move l_start, l_len to the beginning.
30347 Use __pid_t for l_pid.
30348 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30349 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30350 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30351 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30352 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30353 [__USE_LARGEFILE64] (struct flock64): New type.
30354 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30356 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30357 * bits/dirent.h: ... here.
30359 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30360 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30362 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30364 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30365 Change from 2.6.0 to 2.6.16.
30366 * sysdeps/unix/sysv/linux/configure: Regenerated.
30367 * sysdeps/unix/sysv/linux/kernel-features.h
30368 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30369 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30371 (__ASSUME_UTIMES): Likewise.
30372 (__ASSUME_CLONE_STOPPED): Remove.
30373 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30374 architectures, not kernel version.
30375 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30376 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30377 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30378 (__ASSUME_WAITID_SYSCALL): Likewise.
30379 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30380 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30381 * README: State 2.6.16 as minimum Linux kernel version. Do not
30382 refer to older versions.
30384 2012-08-06 Roland McGrath <roland@hack.frob.com>
30386 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30387 Define alphasort64 as an alias.
30388 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30389 Define versionsort64 as an alias.
30390 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30391 Define scandir64 as an alias.
30392 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30393 Define scandirat64 as an alias.
30394 * dirent/alphasort64.c (alphasort64):
30395 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30396 * dirent/versionsort64.c: Likewise.
30397 * dirent/scandir64.c: Likewise.
30398 * dirent/scandirat64.c: Likewise.
30399 * sysdeps/wordsize-64/alphasort.c: File removed.
30400 * sysdeps/wordsize-64/alphasort64.c: File removed.
30401 * sysdeps/wordsize-64/scandir.c: File removed.
30402 * sysdeps/wordsize-64/scandir64.c: File removed.
30403 * sysdeps/wordsize-64/scandirat.c: File removed.
30404 * sysdeps/wordsize-64/scandirat64.c: File removed.
30405 * sysdeps/wordsize-64/versionsort.c: File removed.
30406 * sysdeps/wordsize-64/versionsort64.c: File removed.
30407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30408 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30410 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30412 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30413 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30414 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30416 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30417 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30418 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30420 [defined __arch64__ || defined __sparcv9]
30421 (__INO_T_MATCHES_INO64_T): New macro.
30422 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30423 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30424 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30425 * sysdeps/unix/sysv/linux/bits/dirent.h
30426 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30427 (_DIRENT_MATCHES_DIRENT64): New macro.
30429 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30430 Define lockf64 as an alias.
30431 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30432 Define fseeko64 as an alias.
30433 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30434 Define ftello64 as an alias.
30435 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30436 Define _IO_fgetpos64 and fgetpos64 as aliases.
30437 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30438 Define _IO_fsetpos64 and fsetpos64 as aliases.
30439 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30440 Conditionalize body on this.
30441 * libio/fseeko64.c: Likewise.
30442 * libio/ftello64.c: Likewise.
30443 * libio/iofgetpos64.c: Likewise.
30444 * libio/iofsetpos64.c: Likewise.
30445 * sysdeps/wordsize-64/lockf.c: File removed.
30446 * sysdeps/wordsize-64/lockf64.c: File removed.
30447 * sysdeps/wordsize-64/fseeko.c: File removed.
30448 * sysdeps/wordsize-64/fseeko64.c: File removed.
30449 * sysdeps/wordsize-64/ftello.c: File removed.
30450 * sysdeps/wordsize-64/ftello64.c: File removed.
30451 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30452 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30453 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30454 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30455 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30456 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30457 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30458 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30459 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30460 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30461 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30462 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30463 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30464 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30466 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30468 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30469 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30470 [defined __arch64__ || defined __sparcv9]
30471 (__OFF_T_MATCHES_OFF64_T): New macro.
30472 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30473 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30474 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30475 (__OFF_T_MATCHES_OFF64_T): New macro.
30477 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30479 * stdlib/secure-getenv.c (__secure_getenv): Replace
30480 GLIBC_2_16 with GLIBC_2_17.
30482 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30484 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30485 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30487 2012-08-03 David S. Miller <davem@davemloft.net>
30489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30491 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30493 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30495 (__ASSUME_CORRECT_SI_PID): Likewise.
30496 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30497 (__ASSUME_TMPFS_NAME): Likewise.
30498 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30499 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30500 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30501 (HAVE_AUX_SECURE): Make definition unconditional.
30502 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30503 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30505 2012-08-03 Roland McGrath <roland@hack.frob.com>
30507 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30508 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30509 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30510 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30511 __eloop_threshold instead of SYMLOOP_MAX.
30513 * sysdeps/generic/eloop-threshold.h: New file.
30514 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30516 * elf/chroot_canon.c (chroot_canon): Likewise.
30518 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30521 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30522 Change to 2.6.0 everywhere.
30523 * sysdeps/unix/sysv/linux/configure: Regenerated.
30524 * sysdeps/unix/sysv/linux/kernel-features.h
30525 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30526 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30528 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30529 (__ASSUME_FUTEX_REQUEUE): Remove.
30530 (__ASSUME_STATFS64): Define unconditionally.
30531 (__ASSUME_AT_SECURE): Likewise.
30532 (__ASSUME_CORRECT_SI_PID): Likewise.
30533 (__ASSUME_TGKILL): Define without depending on kernel version for
30535 (__ASSUME_UTIMES): Likewise.
30536 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30538 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30539 (__ASSUME_TMPFS_NAME): Likewise.
30540 * README: Update reference to Linux kernel versions.
30542 2012-08-02 Marek Polacek <polacek@redhat.com>
30545 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30546 libc_cv_asm_type_prefix with %.
30547 * configure: Regenerated.
30548 * include/libc-symbols.h: Remove comment about
30549 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30550 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30551 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30552 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30553 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30554 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30555 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30556 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30557 * elf/tst-unique2mod1.c: Likewise.
30558 * elf/tst-unique1mod2.c: Likewise.
30559 * elf/tst-unique1mod1.c: Likewise.
30560 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30561 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30562 Replace ASM_TYPE_DIRECTIVE with .type.
30563 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30564 * sysdeps/i386/sysdep.h: Likewise.
30565 * sysdeps/x86_64/sysdep.h: Likewise.
30566 * sysdeps/sh/sysdep.h: Likewise.
30567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30568 Do not define ASM_TYPE_DIRECTIVE.
30569 * sysdeps/powerpc/sysdep.h: Likewise.
30570 * sysdeps/powerpc/powerpc32/sysdep.h:
30571 Replace ASM_TYPE_DIRECTIVE with .type.
30572 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30573 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30574 * sysdeps/i386/fpu/e_powf.S: Likewise.
30575 * sysdeps/i386/fpu/e_expl.S: Likewise.
30576 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30577 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30578 * sysdeps/i386/fpu/e_pow.S: Likewise.
30579 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30580 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30581 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30582 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30583 * sysdeps/i386/fpu/e_log2.S: Likewise.
30584 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30586 * sysdeps/i386/fpu/e_powl.S: Likewise.
30587 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30588 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30589 * sysdeps/i386/fpu/e_logl.S: Likewise.
30590 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30591 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30592 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30593 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30594 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30595 * sysdeps/i386/fpu/e_log.S: Likewise.
30596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30597 * sysdeps/i386/fpu/e_logf.S: Likewise.
30598 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30599 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30600 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30601 * sysdeps/i386/fpu/e_log10.S: Likewise.
30602 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30603 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30604 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30605 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30606 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30607 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30608 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30609 * sysdeps/i386/i686/strtok.S: Likewise.
30610 * sysdeps/i386/i386-mcount.S: Likewise.
30611 * sysdeps/i386/strtok.S: Likewise.
30612 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30613 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30614 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30615 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30616 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30618 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30619 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30620 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30621 * sysdeps/x86_64/_mcount.S: Likewise.
30622 * sysdeps/x86_64/strtok.S: Likewise.
30623 * sysdeps/sh/_mcount.S: Likewise.
30625 2012-08-01 Roland McGrath <roland@hack.frob.com>
30627 * libio/iofopen.c: Include <fcntl.h>.
30628 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30629 (_IO_fopen64, fopen64): Define as aliases.
30630 * libio/iofopen64.c: Include <fcntl.h>.
30631 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30632 Conditionalize body on this.
30633 * sysdeps/wordsize-64/iofopen.c: File removed.
30634 * sysdeps/wordsize-64/iofopen64.c: File removed.
30636 2012-08-01 Marek Polacek <polacek@redhat.com>
30638 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30639 Use dlfcn directly instead of a variable.
30640 (binfmt-subdir): Do not define.
30643 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30645 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30646 Remove all definitions.
30647 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30648 <kernel-features.h>.
30649 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30650 (miss_F_GETOWN_EX): Remove all definitions.
30651 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30653 [!__ASSUME_FCNTL64]: Remove conditional code.
30654 [__ASSUME_FCNTL64]: Make code unconditional.
30655 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30656 <kernel-features.h>.
30657 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30658 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30659 (lockf64) [__NR_fcntl64]: Make code unconditional.
30660 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30662 * sysdeps/unix/sysv/linux/kernel-features.h
30663 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30664 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30665 Make code unconditional.
30666 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30667 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30669 [__NR_vfork]: Make code unconditional.
30670 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30671 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30673 [__NR_vfork]: Make code unconditional.
30674 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30675 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30677 2012-08-01 Roland McGrath <roland@hack.frob.com>
30679 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30680 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30682 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30683 Define mkstemp64 as an alias.
30684 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30685 Define mkstemps64 as an alias.
30686 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30687 Define mkostemp64 as an alias.
30688 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30689 Define mkostemps64 as an alias.
30690 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30691 Conditionalize body on this.
30692 * misc/mkostemp64.c: Likewise.
30693 * misc/mkostemps64.c: Likewise.
30694 * misc/mkstemps64.c: Likewise.
30695 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30696 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30697 * sysdeps/wordsize-64/mkostemp.c: File removed.
30698 * sysdeps/wordsize-64/mkstemp.c: File removed.
30699 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30700 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30701 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30702 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30705 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30706 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30707 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30708 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30710 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30711 compat_symbol macros from <shlib-compat.h> rather than the underlying
30712 default_symbol_version and symbol_version macros, so that DEFAULT
30713 lines in shlib-versions are respected.
30714 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30716 2012-08-01 Florian Weimer <fweimer@redhat.com>
30718 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30719 Declare with warn_unused_result.
30720 (setgid, setregid, setegid, setresgid): Likewise.
30721 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30723 * WUR-REPORT: Remove set*id functions.
30725 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30727 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30729 2012-07-31 Roland McGrath <roland@hack.frob.com>
30732 * include/sys/socket.h (__libc_accept, __libc_accept4):
30733 Add attribute_hidden.
30734 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30736 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30738 * inet/getnetgrent_r.c (setup): Likewise.
30740 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30742 2012-07-31 David S. Miller <davem@davemloft.net>
30744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30746 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30749 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30750 value between 1.0 and 2.0 and smaller part has absolute value less
30752 * math/s_clog10.c (__clog10): Likewise.
30753 * math/s_clog10f.c (__clog10f): Likewise.
30754 * math/s_clog10l.c (__clog10l): Likewise.
30755 * math/s_clogf.c (__clogf): Likewise.
30756 * math/s_clogl.c (__clogl): Likewise.
30757 * math/libm-test.inc (clog_test): Add more tests.
30758 (clog10_test): Likewise.
30759 * sysdeps/i386/fpu/libm-test-ulps: Update.
30760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30762 2012-07-31 Florian Weimer <fweimer@redhat.com>
30764 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30765 Exit with zero in case no suitable GID is found, and write a
30766 message to standard error.
30768 2012-07-30 Roland McGrath <roland@hack.frob.com>
30770 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30772 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30773 (MAXPATHLEN): Removed.
30774 (NOGROUP, NODEV): New macros.
30775 (setbit, clrbit, isset, isclr): New macros.
30776 (howmany, roundup, powerof2): New macros.
30777 (DEV_BSIZE): New macro.
30779 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30780 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30782 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30783 definition on [!__NO_LONG_DOUBLE_MATH].
30785 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30786 PTR_MANGLE and PTR_DEMANGLE.
30788 * socket/accept4.c (accept4): Rename to __libc_accept4.
30789 Define accept4 as a weak alias.
30791 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30792 on [_DIRENT_HAVE_D_TYPE].
30793 * io/ftw.c (ftw_dir): Likewise.
30795 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30797 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30799 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30800 Use the BSD numbers rather than the arbitrary ones we had.
30801 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30802 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30803 (SIGXCPU, SIGXFSZ): New macros.
30806 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30807 initializer on [_LIBC_REENTRANT].
30809 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30810 definitions inside [_POSIX_MAPPED_FILES].
30812 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30814 * dirent/opendir.c: Include <fcntl.h>.
30816 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30817 (__libc_getspecific): Likewise.
30818 (__libc_key_create): Likewise.
30820 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30821 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30822 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30823 (tmpfile64): Define as alias.
30824 * sysdeps/wordsize-64/tmpfile.c: File removed.
30825 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30826 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30827 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30829 * stdio-common/vfscanf.c: Include <stdbool.h>.
30830 * nss/makedb.c: Likewise.
30831 * stdio-common/_i18n_number.h: Likewise.
30832 * argp/argp-help.c: Likewise.
30833 * posix/wordexp.c: Likewise.
30834 * sysdeps/posix/spawni.c: Likewise.
30835 * nss/nss_files/files-initgroups.c: Likewise.
30836 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30837 * nss/nss_files/files-initgroups.c: Likewise.
30838 * nss/nss_db/db-netgrp.c: Likewise.
30839 * nss/nss_db/db-initgroups.c: Likewise.
30840 * io/fchmodat.c: Include <sys/stat.h>.
30842 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30843 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30845 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30848 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30849 Add multiple inclusion protection.
30851 2012-07-27 David S. Miller <davem@davemloft.net>
30853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30855 2012-07-27 Gary Benson <gbenson@redhat.com>
30858 * elf/rtld.c: Include <stap-probe.h>.
30859 (dl_main): Added static probes "init_start" and "init_complete".
30860 * elf/dl-load.c: Include <stap-probe.h>.
30861 (lose): Take new parameter "nsid".
30862 Added static probe "map_failed".
30863 (_dl_map_object_from_fd): Pass namespace id to lose.
30864 Added static probe "map_start".
30865 (open_verify): Pass namespace id to lose.
30866 * elf/dl-open.c: Include <stap-probe.h>.
30867 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30868 and "reloc_complete".
30869 * elf/dl-close.c: Include <stap-probe.h>.
30870 (_dl_close_worker): Added static probes "unmap_start" and
30872 * elf/rtld-debugger-interface.txt: New file documenting the above.
30874 2012-07-26 Roland McGrath <roland@hack.frob.com>
30876 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30877 rather than a string variable.
30878 * sunrpc/rpc_main.c (h_output): Likewise.
30879 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30881 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30883 * inet/check_native.c: New file.
30885 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30888 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30889 if larger part has absolute value 1.0.
30890 * math/s_clog10.c (__clog10): Likewise.
30891 * math/s_clog10f.c (__clog10f): Likewise.
30892 * math/s_clog10l.c (__clog10l): Likewise.
30893 * math/s_clogf.c (__clogf): Likewise.
30894 * math/s_clogl.c (__clogl): Likewise.
30895 * math/libm-test.inc (clog_test): Add more tests.
30896 (clog10_test): Likewise.
30897 * sysdeps/i386/fpu/libm-test-ulps: Update.
30898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30900 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30901 (pltexit): Likewise.
30902 (La_regs): Likewise.
30903 (La_retval): Likewise.
30904 (int_retval): Likewise.
30905 Update #error for removed macros to refer only to definitions in
30907 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30909 (pltexit): Likewise.
30910 (La_regs): Likewise.
30911 (La_retval): Likewise.
30912 (int_retval): Likewise.
30913 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30915 (pltexit): Likewise.
30916 (La_regs): Likewise.
30917 (La_retval): Likewise.
30918 (int_retval): Likewise.
30919 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30921 (pltexit): Likewise.
30922 (La_regs): Likewise.
30923 (La_retval): Likewise.
30924 (int_retval): Likewise.
30925 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30927 (pltexit): Likewise.
30928 (La_regs): Likewise.
30929 (La_retval): Likewise.
30930 (int_retval): Likewise.
30931 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30933 (pltexit): Likewise.
30934 (La_regs): Likewise.
30935 (La_retval): Likewise.
30936 (int_retval): Likewise.
30937 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30939 (pltexit): Likewise.
30940 (La_regs): Likewise.
30941 (La_retval): Likewise.
30942 (int_retval): Likewise.
30943 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30944 macro definitions in tst-audit.h.
30945 * sysdeps/i386/tst-audit.h: New file.
30946 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30947 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30948 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30949 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30950 * sysdeps/sh/tst-audit.h: Likewise.
30951 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30952 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30953 * sysdeps/x86_64/tst-audit.h: Likewise.
30955 2012-07-26 Andreas Jaeger <aj@suse.de>
30957 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30960 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30961 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30962 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30964 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30965 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30966 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30968 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30971 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30973 (si_call_addr, si_syscall, si_arch): Define new macro.
30974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30976 (si_call_addr, si_syscall, si_arch): Define new marcro.
30977 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30979 (si_call_addr, si_syscall, si_arch): Define new macro.
30980 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30982 (si_call_addr, si_syscall, si_arch): Define new macro.
30984 2012-07-25 Joseph Myers <joseph@codesourcery.com>
30987 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30988 Change to 2.4.21 where previously 2.4.1.
30989 * sysdeps/unix/sysv/linux/configure: Regenerated.
30990 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30991 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30992 Linux kernel version.
30993 (__ASSUME_STD_AUXV): Remove.
30994 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30996 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30997 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30998 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30999 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31000 (__ASSUME_NETLINK_SUPPORT): Likewise.
31001 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31002 (__no_netlink_support): Remove conditional definition.
31003 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31005 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31006 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31007 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31008 (if_nameindex_ioctl): Remove.
31009 (if_nameindex_netlink): Do not handle __no_netlink_support.
31010 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31012 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31013 Remove conditional code.
31014 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31016 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31018 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31019 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31020 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31022 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31023 [!__ASSUME_STD_AUXV]: Remove conditional code.
31024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31025 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31026 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31028 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31029 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31031 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31033 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31034 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31036 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31038 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31041 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31044 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31045 code unconditional.
31046 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31048 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31050 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31053 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31055 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31058 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31059 code unconditional.
31060 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31062 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31064 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31067 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31068 code unconditional.
31069 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31071 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31073 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31076 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31078 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31079 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31080 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31081 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31082 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31083 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31084 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31085 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31086 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31087 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31088 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31089 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31090 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31091 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31092 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31093 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31094 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31095 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31096 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31098 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31099 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31102 2012-07-25 Florian Weimer <fweimer@redhat.com>
31104 * Versions.def: Add GLIBC_2.17.
31105 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31106 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31107 Introduce __libc_secure_getenv.
31108 * stdlib/Versions (2.17): Add secure_getenv
31109 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31110 * stdlib/secure-getenv.c: Rename __secure_getenv to
31111 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31112 symbol __secure_getenv for GLIBC_2.0.
31113 * stdlib/tst-secure-getenv.c: New.
31114 * stdlib/Makefile (tests): Add testcase.
31115 * manual/startup.texi (Environment Access): Document
31117 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31118 __libc_secure_getenv.
31119 * inet/ruserpass.c (ruserpass): Likewise.
31120 * malloc/mtrace.c (mtrace): Likewise.
31121 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31122 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31123 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31124 * sysdeps/posix/tempname.c: Likewise. Evaluate
31125 HAVE_SECURE_GETENV.
31126 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31127 __secure_getenv to __libc_secure_getenv.
31128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31135 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31141 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31143 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31144 (struct La_i86_retval): Likewise.
31145 (struct La_x86_64_regs): Likewise.
31146 (struct La_x86_64_retval): Likewise.
31147 (struct La_x32_regs): Likewise.
31148 (struct La_x32_retval): Likewise.
31149 (struct La_ppc32_regs): Likewise.
31150 (struct La_ppc32_retval): Likewise.
31151 (struct La_ppc64_regs): Likewise.
31152 (struct La_ppc64_retval): Likewise.
31153 (struct La_sh_regs): Likewise.
31154 (struct La_sh_retval): Likewise.
31155 (struct La_s390_32_regs): Likewise.
31156 (struct La_s390_32_retval): Likewise.
31157 (struct La_s390_64_regs): Likewise.
31158 (struct La_s390_64_retval): Likewise.
31159 (struct La_sparc32_regs): Likewise.
31160 (struct La_sparc32_retval): Likewise.
31161 (struct La_sparc64_regs): Likewise.
31162 (struct La_sparc64_retval): Likewise.
31163 (struct audit_ifaces): Remove architecture-specific pltenter and
31165 * sysdeps/i386/ldsodefs.h: New file.
31166 * sysdeps/powerpc/ldsodefs.h: Likewise.
31167 * sysdeps/s390/ldsodefs.h: Likewise.
31168 * sysdeps/sh/ldsodefs.h: Likewise.
31169 * sysdeps/sparc/ldsodefs.h: Likewise.
31170 * sysdeps/x86_64/ldsodefs.h: Likewise.
31172 2012-07-25 Marek Polacek <polacek@redhat.com>
31175 * math/libm-test.inc (yn_test): Add another test.
31176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31177 to ERANGE when the result is +-Inf.
31178 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31179 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31180 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31181 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31183 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31185 * conform/data/time.h-data (NULL): Use macro-constant. Require
31187 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31189 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31191 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31193 * configure.in <sysdeps resolving>: Correct printing
31195 * configure: Regenerate.
31197 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31199 * math/w_ilogb.c: Include <limits.h>.
31200 * math/w_ilogbl.c: Likewise.
31202 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31204 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31205 va_copy. Document allowing for unavailable va_copy only as
31206 pre-C99 compatibility.
31207 * manual/string.texi (Copying and Concatenation): Use va_copy
31208 instead of __va_copy in concat example.
31210 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31212 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31213 (__sendto): Use create_address_port. Initialize APORT and deallocate
31216 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31217 with O_NOLINK passed to __file_name_lookup.
31219 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31220 with O_NOLINK passed to __file_name_lookup.
31222 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31223 negative N or less than NGIDS.
31225 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31226 type to string_t. Set ERANGE as errno and return it if NAME is not big
31227 enough. Use memcpy instead of strncpy.
31229 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31231 * elf/Makefile (check-data): Remove.
31232 (localplt.data): New vpath directive.
31233 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31234 instead of $(check-data).
31235 * scripts/data/localplt-generic.data: Move to ...
31236 * sysdeps/generic/localplt.data: ... here.
31237 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31238 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31239 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31242 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31245 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31248 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31249 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31251 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31254 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31258 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31260 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31261 PPC32 and PPC64 files.
31262 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31263 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31265 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31267 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31268 __makecontext_ret to ...
31269 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31270 ... here and call exit if uc_link is NULL. New file.
31271 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31272 __makecontext_ret.S.
31273 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31274 __makecontext_ret to ...
31275 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31276 ... here and call exit if uc_link is NULL. New file.
31277 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31278 __makecontext_ret.S.
31280 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31282 * elf/elf.h (R_390_IRELATIVE): New definition.
31283 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31284 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31285 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31286 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31287 (elf_machine_lazy_rel): Likewise.
31288 * sysdeps/s390/dl-irel.h: New file.
31289 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31290 * sysdeps/s390/s390-64/memset.S: New asm code.
31291 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31292 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31293 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31294 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31295 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31296 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31297 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31298 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31299 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31300 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31301 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31302 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31303 * sysdeps/s390/s390-32/memset.S: New asm code.
31304 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31306 2012-07-17 Marek Polacek <polacek@redhat.com>
31309 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31310 * sysdeps/s390/s390-64/configure.in: Likewise.
31311 * sysdeps/sparc/configure.in: Likewise.
31312 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31313 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31314 * sysdeps/i386/configure.in: Likewise.
31315 * sysdeps/x86_64/configure.in: Likewise.
31316 * sysdeps/sh/configure.in: Likewise.
31317 * sysdeps/s390/s390-32/configure: Regenerated.
31318 * sysdeps/s390/s390-64/configure: Likewise.
31319 * sysdeps/x86_64/configure: Likewise.
31320 * sysdeps/sh/configure: Likewise.
31321 * sysdeps/powerpc/powerpc64/configure: Likewise.
31322 * sysdeps/powerpc/powerpc32/configure: Likewise.
31323 * sysdeps/sparc/configure: Likwise.
31324 * sysdeps/i386/configure: Likewise.
31326 * elf/dl-open.c: Comment fixes.
31328 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31330 * Makefile [CXX] (check-data): Remove.
31331 [CXX] (c++-types.data): New vpath directive.
31332 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31333 vpath. Do not allow for C++ type data being missing.
31334 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31335 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31336 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31337 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31338 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31339 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31340 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31343 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31346 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31349 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31352 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31355 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31358 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31359 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31361 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31362 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31364 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31365 definitions to architecture-specific files.
31366 (TLS_IE): Likewise.
31367 (TLS_LD): Likewise.
31368 (TLS_GD): Likewise.
31369 * sysdeps/i386/tls-macros.h: New file.
31370 * sysdeps/powerpc/tls-macros.h: Likewise.
31371 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31372 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31373 * sysdeps/sh/tls-macros.h: Likewise.
31374 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31375 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31376 * sysdeps/x86_64/tls-macros.h: Likewise.
31378 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31380 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31381 zero value for regular exit case.
31383 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31384 (__start_context): Preserve zero value for regular exit case.
31386 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31387 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31389 * manual/setjmp.texi (setcontext): Clarify normal process
31390 termination when uc_link is the null pointer.
31391 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31394 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31396 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31397 preprocessor. Test for each exception mask separately.
31399 2012-07-16 Andreas Jaeger <aj@suse.de>
31401 * po/ru.po: Update from translation team.
31403 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31405 * conform/data/string.h-data (NULL): Use macro-constant. Require
31407 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31408 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31409 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31410 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31413 2012-07-13 Andreas Jaeger <aj@suse.de>
31415 * po/fr.po: Update from translation team.
31417 2012-07-12 Marek Polacek <polacek@redhat.com>
31420 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31421 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31424 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31427 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31428 Change to 2.4.1 where previously 2.4.0.
31429 * sysdeps/unix/sysv/linux/configure: Regenerated.
31430 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31431 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31433 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31434 (__ASSUME_AT_CLKTCK): Remove.
31435 (__ASSUME_AT_PAGESIZE): Likewise.
31436 (__ASSUME_AT_XID): Likewise.
31437 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31438 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31439 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31441 (HAVE_AUX_PAGESIZE): Likewise.
31442 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31443 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31444 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31446 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31450 the temporary buffer used to invoke __gethostbyname2_r,
31451 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31452 host_data / struct gaih_addrtuple.
31453 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31454 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31455 header file nss/nsswitch.h.
31456 * nss/nsswitch.h (global scope): Add definition of implementation
31457 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31458 resolv/nss_dns/dns-host.c).
31460 2012-07-11 Andreas Jaeger <aj@suse.de>
31462 * po/fr.po: Update from translation team.
31464 * po/sv.po: Update from translation team
31465 * po/fr.po: Another update from translation team.
31467 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31469 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31470 for subnormals or multiply small sinh result by itself.
31471 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31474 2012-07-11 David S. Miller <davem@davemloft.net>
31476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31478 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31481 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31482 (INTERNAL_MARK): Shift it here.
31484 2012-07-10 Marek Polacek <polacek@redhat.com>
31487 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31488 libc_cv_asm_global_directive with .globl.
31489 * configure: Regenerated.
31490 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31492 * sysdeps/i386/configure: Regenerated.
31493 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31495 * sysdeps/x86_64/configure: Regenerated.
31496 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31497 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31498 * elf/tst-unique2mod2.c: Likewise.
31499 * elf/tst-unique2mod1.c: Likewise.
31500 * elf/tst-unique1mod2.c: Likewise.
31501 * elf/tst-unique1mod1.c: Likewise.
31502 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31503 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31504 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31505 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31506 * sysdeps/mach/sysdep.h: Likewise.
31507 * sysdeps/i386/sysdep.h: Likewise.
31508 * sysdeps/i386/i386-mcount.S: Likewise.
31509 * sysdeps/x86_64/_mcount.S: Likewise.
31510 * sysdeps/x86_64/sysdep.h: Likewise.
31511 * sysdeps/sh/_mcount.S: Likewise.
31512 * sysdeps/sh/sysdep.h: Likewise.
31513 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31514 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31515 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31516 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31517 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31518 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31519 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31520 * locale/localeinfo.h: Likewise.
31521 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31522 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31524 2012-07-09 Roland McGrath <roland@hack.frob.com>
31527 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31529 * manual/message.texi (The Uniforum approach): Likewise.
31530 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31531 (glibc iconv Implementation): Likewise.
31533 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31536 * math/s_clog.c (__clog): Avoid scaling a value down where that
31537 could result in underflow.
31538 * math/s_clog10.c (__clog10): Likewise.
31539 * math/s_clog10f.c (__clog10f): Likewise.
31540 * math/s_clog10l.c (__clog10l): Likewise.
31541 * math/s_clogf.c (__clogf): Likewise.
31542 * math/s_clogl.c (__clogl): Likewise.
31543 * math/libm-test.inc (clog_test): Add more tests.
31544 (clog10_test): Likewise.
31545 * sysdeps/i386/fpu/libm-test-ulps: Update.
31546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31548 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31551 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31552 by 7 not 8 to examine high bit of fractional part.
31555 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31556 for call to __mcount_internal.
31557 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31558 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31559 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31561 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31564 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31565 approximation for values within 0x1p-13f of an odd multiple of
31567 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31568 exception. Add more tests.
31569 * sysdeps/i386/fpu/libm-test-ulps: Update.
31572 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31573 inputs and return -1 for them. Do not check for +Inf in case not
31574 reachable for +Inf.
31575 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31576 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31577 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31578 and return -1 for them. Do not check for +Inf in case not
31579 reachable for +Inf.
31580 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31582 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31583 and return -1 for them. Do not check for +Inf in case not
31584 reachable for +Inf.
31585 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31586 spurious underflow.
31587 * sysdeps/i386/fpu/libm-test-ulps: Update.
31588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31590 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31592 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31594 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31598 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31599 could result in spurious underflow. Scale down values above
31600 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31601 * math/s_csqrtf.c (__csqrtf): Likewise.
31602 * math/s_csqrtl.c (__csqrtl): Likewise.
31603 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31604 spurious underflow.
31605 * sysdeps/i386/fpu/libm-test-ulps: Update.
31606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31608 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31610 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31612 * catgets/xopen-msg.awk: New file.
31613 * catgets/xopen-msg.sed: Removed.
31615 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31617 * intl/po2test.awk: New file.
31618 * intl/po2test.sed: Removed.
31620 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31623 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31624 or multiply small sinh result by itself.
31625 * math/s_ctanf.c (__ctanf): Likewise.
31626 * math/s_ctanh.c (__ctanh): Likewise.
31627 * math/s_ctanhf.c (__ctanhf): Likewise.
31628 * math/s_ctanhl.c (__ctanhl): Likewise.
31629 * math/s_ctanl.c (__ctanl): Likewise.
31630 * math/libm-test.inc (ctan_test_tonearest): New function.
31631 (ctan_test_towardzero): Likewise.
31632 (ctan_test_downward): Likewise.
31633 (ctan_test_upward): Likewise.
31634 (ctanh_test_tonearest): Likewise.
31635 (ctanh_test_towardzero): Likewise.
31636 (ctanh_test_downward): Likewise.
31637 (ctanh_test_upward): Likewise.
31638 (main): Call these new functions.
31639 * sysdeps/i386/fpu/libm-test-ulps: Update.
31640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31642 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31644 * .gitignore: Delete /ports entry.
31646 2012-07-03 Andreas Jaeger <aj@suse.de>
31648 * po/bg.po: Update from translation team.
31649 * po/cs.po: Likewise.
31650 * po/de.po: Likewise.
31651 * po/hr.po: Likewise.
31652 * po/nl.pl: Likewise.
31653 * po/pl.po: Likewise.
31654 * po/vi.po: Likewise.
31656 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31658 * Makeconfig [!+link] (+link-before-libc): New variable.
31659 [!+link] (+link-after-libc): Likewise.
31660 [!+link] (+link-tests): Likewise.
31661 [!+link] (+link): Define in terms of $(+link-before-libc) and
31662 $(+link-after-libc).
31663 [!+link-static] (+link-static-before-libc): New variable.
31664 [!+link-static] (+link-static-after-libc): Likewise.
31665 [!+link-static] (+link-static-tests): Likewise.
31666 [!+link-static] (+link-static): Define in terms of
31667 $(+link-static-before-libc) and $(+link-static-after-libc).
31668 [build-shared] (link-libc-before-gnulib): New variable.
31669 [build-shared] (link-libc-tests): Likewise.
31670 [build-shared] (link-libc): Define in terms of
31671 $(link-libc-before-gnulib).
31672 [!build-shared] (link-libc-tests): New variable.
31673 (link-libc-static-tests): New variable.
31674 [!gnulib] (gnulib-arch): New variable.
31675 [!gnulib] (gnulib-tests): Likewise.
31676 [!gnulib] (static-gnulib-arch): Likewise.
31677 [!gnulib] (static-gnulib-tests): Likewise.
31678 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31679 Define with "=" instead of ":=".
31680 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31681 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31682 * Rules (binaries-all-notests): New variable.
31683 (binaries-all-tests): Likewise.
31684 (binaries-static-notests): Likewise.
31685 (binaries-static-tests): Likewise.
31686 (binaries-all): Define using $(binaries-all-notests) and
31687 $(binaries-all-tests).
31688 (binaries-static): Define using $(binaries-static-notests) and
31689 $(binaries-static-tests).
31690 (binaries-shared-tests): New variable.
31691 (binaries-shared-notests): Likewise.
31692 (binaries-shared): Remove variable.
31693 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31694 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31695 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31696 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31697 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31698 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31699 * elf/Makefile (sln-modules): New variable.
31700 (extra-objs): Add $(sln-modules:=.o).
31701 (ldconfig-modules): Add static-stubs.
31702 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31703 * elf/static-stubs.c: New file.
31706 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31707 by 7 not 8 to examine high bit of fractional part. Use volatile
31708 variables when splitting into final array of floats if
31709 __FLT_EVAL_METHOD__ != 0.
31710 * math/libm-test.inc (cos_test): Add another test.
31711 (sin_test): Likewise.
31712 * sysdeps/i386/fpu/libm-test-ulps: Update.
31715 * math/libm-test.inc (cosh_test): Add more tests.
31717 * version.h (RELEASE): Set to "development".
31718 (VERSION): Set to "2.16.90".
31720 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31722 * NEWS: Update copyright. Remove last-updated date.
31723 Mention math library bug fixes and timezone data changes.
31724 * README: Mention GNU/Hurd, x32, and HPPA support status.
31726 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31728 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31730 2012-06-27 Andreas Jaeger <aj@suse.de>
31732 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31734 2012-06-25 Andreas Jaeger <aj@suse.de>
31736 * sysdeps/s390/fpu/libm-test-ulps: Update.
31738 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31739 Thomas Schwinge <thomas@codesourcery.com>
31741 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31742 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31743 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31746 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31748 * sysdeps/mach/start.c: Remove file.
31749 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31750 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31751 * sysdeps/sh/init-first.c: Likewise.
31753 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31754 registers for frame unwinding purposes, add CFI directives.
31755 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31756 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31757 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31760 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31761 __fortify_fail returning.
31762 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31764 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31765 sysdeps/sh/____longjmp_chk.S.
31766 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31767 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31768 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31769 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31771 * sysdeps/sh/abort-instr.h: New file.
31772 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31773 process in case exit returns.
31775 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31776 initialize the GOT register before use.
31778 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31779 calculation of ARGC > 4.
31781 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31782 meaningful names to some local labels.
31784 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31785 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31788 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31789 (__arch_compare_and_exchange_val_16_acq): Likewise.
31790 (__arch_compare_and_exchange_val_32_acq): Likewise.
31791 (atomic_exchange_and_add): Fix gUSA sequence.
31792 (atomic_add): Likewise.
31793 (atomic_add_negative): Likewise.
31794 (atomic_add_zero): Likewise.
31795 (atomic_bit_test_set): Likewise.
31797 2012-06-22 Andreas Schwab <schwab@redhat.com>
31800 * include/link.h (struct link_map): Add l_free_initfini.
31801 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31803 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31804 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31805 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31808 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31810 * configure.in: Use AC_LANG_SOURCE.
31811 * configure: Regenerate.
31813 2012-06-22 Roland McGrath <roland@hack.frob.com>
31815 * configure.in (libc_cv_localstatedir): New substituted variable.
31816 * configure: Regenerated.
31817 * config.make.in (localstatedir): New variable, substituted from
31818 libc_cv_localstatedir.
31819 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31820 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31821 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31822 * sysdeps/gnu/configure: Regenerated.
31824 2012-06-21 Jeff Law <law@redhat.com>
31827 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31828 free. Simplify list management for _LIBC case.
31830 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31833 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31834 Clear sign bit of 64-bit integer value before comparing against
31837 * sysdeps/mach/configure: Regenerated.
31839 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31842 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31844 2012-06-21 Jeff Law <law@redhat.com>
31847 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31848 uint16_t for elements in the "seen" array to avoid char overflows.
31849 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31850 * elf/dl-open.c (dl_open_worker): Likewise.
31852 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31854 * scripts/list-sources.sh: Scan PORTS for translations.
31855 * po/libc.pot: Regenerated.
31857 2012-06-21 Andreas Jaeger <aj@suse.de>
31860 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31862 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31863 * bits/byteswap-16.h (__bswap_16): Likewise.
31864 * bits/byteswap.h (__bswap_constant_16): Likewise.
31866 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31869 * sysdeps/i386/fpu_control.h: Removed.
31870 * sysdeps/x86_64/fpu_control.h: Moved to ...
31871 * sysdeps/x86/fpu_control.h: Here.
31873 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31874 (_FPU_SETCW): Likewise.
31876 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31879 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31880 * sysdeps/x86/fpu/bits/mathinline.h: This.
31881 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31885 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31886 functions if __x86_64__ is defined.
31888 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31890 * string/endian.h: Add !__ASSEMBLER__ condition for including
31891 conversion interfaces.
31893 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31897 of ABS(x) in calculating zero to negative powers other than odd
31899 * math/libm-test.inc (pow_test): Add more tests.
31901 2012-06-15 Andreas Jaeger <aj@suse.de>
31903 * manual/contrib.texi (Contributors): Update entry of Liubov
31904 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31907 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31909 * string/string.h: Add __wur to GNU version of strerror_r.
31911 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31914 * string/Makefile (tests): Add tst-strtok_r.
31915 * string/tst-strtok_r.c: New file.
31916 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31917 RAX_LP/RDX_LP on SAVE_PTR.
31919 2012-06-14 Roland McGrath <roland@hack.frob.com>
31921 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31923 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31925 * libm_test.inc (csqrt_test): Allow more spurious underflow
31927 (j0_test): Likewise.
31928 (j1_test): Likewise.
31929 (y0_test): Likewise.
31930 (y1_test): Likewise.
31932 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31934 * po/Makefile (libc.pot): Use UTF-8 charset.
31936 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31939 Suppress sign-conversion warning from FD_SET.
31940 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31941 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31942 not unsigned long int.
31943 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31945 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31949 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31950 __extern_always_inline instead of __extern_inline.
31951 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31952 (__signbit): Likewise.
31953 (__signbitl): Support C++ namespace.
31954 (lrintf): New inline function.
31956 (llrintf): Likewise.
31957 (llrint): Likewise.
31967 (floorf): Likewise.
31968 (nearbyint): Likewise.
31969 (nearbyintf): Likewise.
31971 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31973 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31974 non-default versions.
31976 2012-06-11 Roland McGrath <roland@hack.frob.com>
31979 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31981 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31983 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31984 (FE_UPWARD, FE_DOWNWARD): Don't define.
31985 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31986 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31988 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31990 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31991 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31993 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31995 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31996 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31997 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31998 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32000 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32003 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32004 * sysdeps/i386/fpu/Implies: New file.
32005 * sysdeps/x86_64/fpu/Implies: Likewise.
32006 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32007 * sysdeps/x86/fpu/bits/fenv.h: This.
32009 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32012 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32015 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32016 character 0xffff that matches the last element of the
32019 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32021 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32024 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32027 values higher than 25.6283.
32029 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32031 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32032 subnormal exponent extraction and add some __builtin_expect.
32033 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32034 Fix for subnormal mantissa calculation.
32036 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32038 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32039 cpu2 is -1 and errno is not ENOSYS.
32041 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32044 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32045 * sysdeps/x86/bits/string.h: This.
32046 * sysdeps/x86_64/bits/string.h: Removed.
32048 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32049 if not compiling for x86-64, but compiling for >= i486.
32051 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32052 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32054 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32055 New macro from Linux kernel 3.4.0.
32056 (FP_XSTATE_MAGIC2): Likewise.
32057 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32058 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32059 (struct _fpx_sw_bytes): New struct.
32060 (struct _xsave_hdr): Likewise.
32061 (struct _ymmh_state): Likewise.
32062 (struct _xstate): Likewise.
32064 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32065 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32066 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32067 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32068 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32069 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32071 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32072 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32073 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32074 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32075 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32076 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32078 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32081 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32082 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32083 (sysdep_headers): Include sys/platform/ppc.h.
32084 * sysdeps/powerpc/test-gettimebase.c: Test for
32085 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32086 * manual/Makefile (appendices): Include platform.texi.
32087 * manual/contrib.texi (Contributors): Update @node pointers.
32088 * manual/maint.texi (Maintenance): Likewise.
32089 (Platform): New node.
32090 * manual/platform.texi: New file. Document the new features.
32092 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32093 Jakub Jelinek <jakub@redhat.com>
32096 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32097 where __builtin_expect is unavailable.
32099 2012-06-03 David S. Miller <davem@davemloft.net>
32101 * stdlib/longlong.h: Updated from GCC.
32103 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32106 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32107 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32110 (GLIBC_2.16): Likewise.
32112 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32114 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32116 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32119 (default-abi): New variable.
32120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32121 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32123 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32125 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32127 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32130 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32131 definition. Document in comment.
32133 2012-06-01 David S. Miller <davem@davemloft.net>
32135 * stdlib/longlong.h: Updated from GCC.
32137 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32140 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32141 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32142 sys/debugreg.h sys/io.h here.
32143 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32144 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32146 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32147 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32148 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32149 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32150 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32151 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32153 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32154 Define only if __x86_64__ is defined.
32156 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32159 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32160 Use int64_t for variable i.
32161 * math/libm-test.inc (fmod_test): Add more tests.
32163 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32164 z computation is not scheduled after fetestexcept.
32165 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32166 Use math_force_eval instead of asm to ensure calculation scheduled
32167 before exception test.
32168 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32169 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32171 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32174 computation is not scheduled after fetestexcept.
32176 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32179 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32180 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32182 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32184 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32185 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32187 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32190 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32192 (__WCHAR_MIN): Support __WORDSIZE == 64.
32193 (__WCHAR_MAX): Likewise.
32195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32196 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32199 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32200 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32203 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32204 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32206 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32207 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32209 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32210 Defined to 1 if __x86_64__ isn't defined.
32211 (_STAT_VER_LINUX_OLD): New.
32212 (st_atime): Remove duplicate.
32213 (st_mtime): Likewise.
32214 (st_ctime): Likewise.
32216 2012-05-31 David S. Miller <davem@davemloft.net>
32218 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32221 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32223 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32227 * elf/dl-reloc.c: Include <_itoa.h>.
32228 (_dl_reloc_bad_type): Remove use of INTUSE.
32229 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32230 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32231 * stdio-common/psiginfo.c (psiginfo): Likewise.
32232 * stdio-common/psignal.c (psignal): Likewise.
32233 * string/strsignal.c (strsignal): Likewise.
32234 * include/signal.h (_sys_siglist): Declare hidden proto.
32235 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32236 INTVARDEF with libc_hidden_data_def.
32237 * stdio-common/itoa-udigits.c: Likewise.
32238 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32239 (_itoa_lower_digits_internal): Remove declaration.
32240 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32241 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32242 (_sys_sigabbrev_internal): Remove aliases.
32243 (_sys_siglist): Define hidden alias.
32245 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32250 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32253 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32254 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32256 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32257 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32258 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32259 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32260 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32261 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32263 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32264 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32265 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32267 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32275 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32276 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32277 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32279 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32280 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32281 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32282 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32283 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32284 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32286 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32287 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32289 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32290 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32292 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32293 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32294 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32296 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32297 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32299 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32301 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32302 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32303 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32305 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32307 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32309 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32311 * math/math.h (M_El): Use two more decimal places.
32312 (M_LOG2El): Likewise.
32313 (M_LOG10El): Likewise.
32314 (M_LN2l): Likewise.
32315 (M_LN10l): Likewise.
32317 (M_PI_2l): Likewise.
32318 (M_PI_4l): Likewise.
32319 (M_1_PIl): Likewise.
32320 (M_2_PIl): Likewise.
32321 (M_2_SQRTPIl): Likewise.
32322 (M_SQRT2l): Likewise.
32323 (M_SQRT1_2l): Likewise.
32325 2012-05-31 David S. Miller <davem@davemloft.net>
32327 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32328 values between float registers.
32329 * sysdeps/sparc/sparc64/memset.S: Likewise.
32330 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32332 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32334 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32335 -D_FORTIFY_SOURCE=1.
32336 (CPPFLAGS-tst-longjmp_chk.c): Define.
32337 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32338 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32339 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32340 CFLAGS-tst-wchar-h.c.
32342 2012-05-31 Marek Polacek <polacek@redhat.com>
32345 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32346 __endmntent_internal): Remove declaration.
32347 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32348 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32349 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32351 2012-05-30 David S. Miller <davem@davemloft.net>
32353 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32354 (___Q_simulate_exceptions): Use real FP ops rather than writing
32356 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32359 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32362 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32363 * sysdeps/x86/bits/xtitypes.h: This.
32365 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32366 * sysdeps/x86/bits/wordsize.h: This.
32368 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32369 * sysdeps/x86/bits/huge_vall.h: This.
32371 * sysdeps/i386/bits/select.h: Removed.
32372 * sysdeps/x86_64/bits/select.h: Renamed to ...
32373 * sysdeps/x86/bits/select.h: This.
32375 * sysdeps/i386/bits/setjmp.h: Removed.
32376 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32377 * sysdeps/x86/bits/setjmp.h: This.
32379 * sysdeps/i386/bits/mathdef.h: Removed.
32380 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32381 * sysdeps/x86/bits/mathdef.h: This.
32383 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32386 * include/sys/socket.h (__connect_internal)
32387 (__libc_sa_len_internal): Remove declaration.
32388 (__connect, __libc_sa_len): Declare hidden_proto.
32389 (SA_LEN): Remove use of INTUSE.
32390 * socket/connect.c: Add libc_hidden_def.
32391 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32392 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32393 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32395 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32396 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32397 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32398 of adding _internal alias.
32400 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32403 * sysdeps/i386/bits/link.h: Removed.
32404 * sysdeps/i386/bits/linkmap.h: Likewise.
32405 * sysdeps/x86_64/bits/link.h: Renamed to ...
32406 * sysdeps/x86/bits/link.h: This.
32407 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32408 * sysdeps/x86/bits/linkmap.h: This.
32410 * sysdeps/i386/bits/endian.h: Removed.
32411 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32412 * sysdeps/x86/bits/endian.h: This.
32414 * sysdeps/i386/bits/byteswap.h: Removed.
32415 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32416 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32417 * sysdeps/x86/bits/byteswap.h: This.
32418 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32419 * sysdeps/x86/bits/byteswap-16.h: This.
32420 * sysdeps/i386/Implies: Add x86.
32421 * sysdeps/x86_64/Implies: Likewise.
32423 2012-05-30 David S. Miller <davem@davemloft.net>
32425 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32426 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32427 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32428 (FP_TRAPPING_EXCEPTIONS): Define.
32429 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32430 (FP_TRAPPING_EXCEPTIONS): Define.
32431 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32432 subnormals only when inexact has been signalled or underflow
32433 exceptions are enabled.
32434 (_FP_PACK_CANONICAL): Likewise.
32436 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32439 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32440 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32442 2012-05-30 Richard Henderson <rth@twiddle.net>
32444 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32445 with #ifndef NOT_IN_libc.
32447 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32448 marked to avoid plt entry.
32450 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32453 * Makeconfig (default-abi): New macro.
32454 (abi-includes): Likewise.
32455 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32456 $(abi-$(default-abi)-lib-soname) for soname if defined.
32457 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32459 * Makefile (installed-stubs): Likewise.
32460 * include/stubs-biarch.h: Removed.
32461 * scripts/lib-names.awk: Only handle one library at a time.
32462 * scripts/soversions.awk: Remove WORDSIZE support.
32463 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32465 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32467 (syscall-list-default-condition): Likewise.
32468 (syscall-list-default-condition): Likewise.
32469 (syscall-list-includes): Likewise.
32470 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32471 syscall-list-* with abi-*. Handle undefined abi-variants.
32472 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32473 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32474 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32475 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32476 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32477 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32479 (syscall-list-32-options): Likewise.
32480 (syscall-list-32-condition): Likewise.
32481 (syscall-list-64-options): Likewise.
32482 (syscall-list-64-condition): Likewise.
32483 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32485 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32488 (abi-64-ld-soname): New macro.
32489 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32490 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32493 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32494 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32496 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32498 * sysdeps/unix/sysv/linux/kernel-features.h
32499 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32500 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32501 include <kernel-features.h>.
32502 [!__NR_ftruncate64]: Remove conditional code.
32503 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32504 [__NR_ftruncate64]: Make code unconditional.
32505 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32506 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32507 include <kernel-features.h>.
32508 [!__NR_ftruncate64]: Remove conditional code.
32509 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32510 [__NR_ftruncate64]: Make code unconditional.
32511 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32513 include <kernel-features.h>.
32514 [!__NR_ftruncate64]: Remove conditional code.
32515 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32516 [__NR_ftruncate64]: Make code unconditional.
32517 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32519 include <kernel-features.h>.
32520 [!__NR_ftruncate64]: Remove conditional code.
32521 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32522 [__NR_ftruncate64]: Make code unconditional.
32523 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32525 * configure.in (libc_cv_fpie): Weaken to a compile test using
32526 LIBC_TRY_CC_OPTION.
32527 * configure: Regenerated.
32529 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32544 2012-05-27 David S. Miller <davem@davemloft.net>
32546 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32548 (__Q_simulate_exceptions): Return void. Change to simulate
32549 exceptions by writing into the %fsr.
32550 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32551 (__Qp_handle_exceptions): Likewise.
32553 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32554 __Qp_handle_exceptions.
32555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32556 __Qp_handle_exceptions.
32557 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32558 as unused and give dummy FP_RND_NEAREST initializer.
32559 (FP_INHIBIT_RESULTS): Define.
32560 (___Q_simulate_exceptions): Update declaration.
32561 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32563 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32564 as unused and give dummy FP_RND_NEAREST initializer.
32565 (__Qp_handle_exceptions): Update declaration.
32566 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32569 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32571 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32572 the temporary FPU control word.
32573 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32574 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32575 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32576 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32577 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32578 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32579 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32581 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32582 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32583 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32585 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32587 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32590 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32592 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32593 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32594 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32595 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32597 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32598 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32601 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32603 * po/h.po: Update from translation team.
32605 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32607 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32609 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32610 handling of denormals.
32611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32612 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32613 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32614 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32615 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32616 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32617 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32620 2012-05-26 Marek Polacek <polacek@redhat.com>
32623 * math/libm-test.inc (fma_test): Don't always expect underflow
32626 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32629 * elf/tst-execstack.c: Include stackinfo.h.
32630 (do_test): Adjust test case to ensure that pthread_getattr_np
32631 behaviour remains the same after marking stack executable.
32633 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32635 * sysdeps/unix/sysv/linux/kernel-features.h
32636 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32637 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32639 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32640 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32641 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32643 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32644 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32646 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32648 * configure.in: Define the default includes to being none.
32649 * configure: Regenerated.
32651 2012-05-25 Roland McGrath <roland@hack.frob.com>
32653 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32654 * sysdeps/x86_64/setjmp.S: Likewise.
32655 * sysdeps/i386/bsd-setjmp.S: Likewise.
32656 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32657 * sysdeps/i386/setjmp.S: Likewise.
32658 * sysdeps/i386/__longjmp.S: Likewise.
32659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32660 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32662 * include/stap-probe.h: New file.
32663 * configure.in: Handle --enable-systemtap.
32664 * configure: Regenerated.
32665 * config.h.in (USE_STAP_PROBE): New #undef.
32666 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32667 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32668 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32670 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32673 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32674 to 2.4.0 where earlier.
32675 * sysdeps/unix/sysv/linux/configure: Regenerated.
32676 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32677 <kernel-features.h>.
32678 [__ASSUME_32BITUIDS]: Make code unconditional.
32679 [!__ASSUME_32BITUIDS]: Remove conditional code.
32680 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32681 <kernel-features.h>.
32682 [__ASSUME_32BITUIDS]: Make code unconditional.
32683 [!__ASSUME_32BITUIDS]: Remove conditional code.
32684 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32685 [__ASSUME_32BITUIDS]: Make code unconditional.
32686 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32687 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32688 <kernel-features.h>.
32689 [__ASSUME_32BITUIDS]: Make code unconditional.
32690 [!__ASSUME_32BITUIDS]: Remove conditional code.
32691 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32692 <kernel-features.h>.
32693 [__ASSUME_32BITUIDS]: Make code unconditional.
32694 [!__ASSUME_32BITUIDS]: Remove conditional code.
32695 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32696 <kernel-features.h>.
32697 [__ASSUME_32BITUIDS]: Make code unconditional.
32698 [!__ASSUME_32BITUIDS]: Remove conditional code.
32699 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32700 <kernel-features.h>.
32701 [__ASSUME_32BITUIDS]: Make code unconditional.
32702 [!__ASSUME_32BITUIDS]: Remove conditional code.
32703 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32704 <kernel-features.h>.
32705 [__ASSUME_32BITUIDS]: Make code unconditional.
32706 [!__ASSUME_32BITUIDS]: Remove conditional code.
32707 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32708 <kernel-features.h>.
32709 [__ASSUME_32BITUIDS]: Make code unconditional.
32710 [!__ASSUME_32BITUIDS]: Remove conditional code.
32711 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32712 <kernel-features.h>.
32713 [__ASSUME_32BITUIDS]: Make code unconditional.
32714 [!__ASSUME_32BITUIDS]: Remove conditional code.
32715 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32716 <kernel-features.h>.
32717 [__ASSUME_32BITUIDS]: Make code unconditional.
32718 [!__ASSUME_32BITUIDS]: Remove conditional code.
32719 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32720 <kernel-features.h>.
32721 [__ASSUME_32BITUIDS]: Make code unconditional.
32722 [!__ASSUME_32BITUIDS]: Remove conditional code.
32723 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32724 <kernel-features.h>.
32725 [__ASSUME_32BITUIDS]: Make code unconditional.
32726 [!__ASSUME_32BITUIDS]: Remove conditional code.
32727 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32728 <kernel-features.h>.
32729 [__NR_setresgid] (__setresgid): Do not declare.
32730 [__ASSUME_32BITUIDS]: Make code unconditional.
32731 [!__ASSUME_32BITUIDS]: Remove conditional code.
32732 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32733 <kernel-features.h>.
32734 [__NR_setresuid] (__setresuid): Do not declare.
32735 [__ASSUME_32BITUIDS]: Make code unconditional.
32736 [!__ASSUME_32BITUIDS]: Remove conditional code.
32737 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32738 <kernel-features.h>.
32739 [__ASSUME_32BITUIDS]: Make code unconditional.
32740 [!__ASSUME_32BITUIDS]: Remove conditional code.
32741 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32742 <kernel-features.h>.
32743 [__ASSUME_32BITUIDS]: Make code unconditional.
32744 [!__ASSUME_32BITUIDS]: Remove conditional code.
32745 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32746 <kernel-features.h>.
32747 [__ASSUME_32BITUIDS]: Make code unconditional.
32748 [!__ASSUME_32BITUIDS]: Remove conditional code.
32749 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32750 <kernel-features.h>.
32751 [__ASSUME_32BITUIDS]: Make code unconditional.
32752 [!__ASSUME_32BITUIDS]: Remove conditional code.
32753 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32754 <kernel-features.h>.
32755 [__ASSUME_32BITUIDS]: Make code unconditional.
32756 [!__ASSUME_32BITUIDS]: Remove conditional code.
32757 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32758 <kernel-features.h>.
32759 [__ASSUME_32BITUIDS]: Make code unconditional.
32760 [!__ASSUME_32BITUIDS]: Remove conditional code.
32761 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32762 <kernel-features.h>.
32763 [__ASSUME_32BITUIDS]: Make code unconditional.
32764 [!__ASSUME_32BITUIDS]: Remove conditional code.
32765 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32766 <kernel-features.h>.
32767 [__ASSUME_32BITUIDS]: Make code unconditional.
32768 [!__ASSUME_32BITUIDS]: Remove conditional code.
32769 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32770 <kernel-features.h>.
32771 [__ASSUME_32BITUIDS]: Make code unconditional.
32772 [!__ASSUME_32BITUIDS]: Remove conditional code.
32773 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32774 <kernel-features.h>.
32775 [__ASSUME_32BITUIDS]: Make code unconditional.
32776 [!__ASSUME_32BITUIDS]: Remove conditional code.
32777 * sysdeps/unix/sysv/linux/kernel-features.h
32778 (__ASSUME_SETRESUID_SYSCALL): Remove.
32779 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32780 (__ASSUME_32BITUIDS): Likewise.
32781 (__ASSUME_LDT_WORKS): Likewise.
32782 (__ASSUME_O_DIRECTORY): Likewise.
32783 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32784 architecture but not kernel version.
32785 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32786 (__ASSUME_MMAP2_SYSCALL): Likewise.
32787 (__ASSUME_STAT64_SYSCALL): Likewise.
32788 (__ASSUME_IPC64): Likewise.
32789 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32790 <kernel-features.h>.
32791 [__ASSUME_32BITUIDS]: Make code unconditional.
32792 [!__ASSUME_32BITUIDS]: Remove conditional code.
32793 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32794 <kernel-features.h>.
32795 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32796 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32797 132096]: Remove conditional code.
32798 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32799 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32800 <kernel-features.h>.
32801 [__ASSUME_32BITUIDS]: Make code unconditional.
32802 [!__ASSUME_32BITUIDS]: Remove conditional code.
32803 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32804 <kernel-features.h>.
32805 [__ASSUME_32BITUIDS]: Make code unconditional.
32806 [!__ASSUME_32BITUIDS]: Remove conditional code.
32807 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32808 <kernel-features.h>.
32809 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32811 (__setresgid): Do not declare.
32812 [__ASSUME_32BITUIDS]: Make code unconditional.
32813 [!__ASSUME_32BITUIDS]: Remove conditional code.
32814 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32815 <kernel-features.h>.
32816 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32818 (__setresuid): Do not declare.
32819 [__ASSUME_32BITUIDS]: Make code unconditional.
32820 [!__ASSUME_32BITUIDS]: Remove conditional code.
32821 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32822 <kernel-features.h>.
32823 [__ASSUME_32BITUIDS]: Make code unconditional.
32824 [!__ASSUME_32BITUIDS]: Remove conditional code.
32825 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32826 <kernel-features.h>.
32827 [__ASSUME_32BITUIDS]: Make code unconditional.
32828 [!__ASSUME_32BITUIDS]: Remove conditional code.
32830 2012-05-25 Richard Henderson <rth@twiddle.net>
32832 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32833 dl_hwcap to ifunc resolver.
32834 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32836 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32837 dl_hwcap to ifunc resolver.
32838 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32840 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32843 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32844 for |x| <= 2**-26, not 2**-57.
32845 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32848 2012-05-24 Jeff Law <law@redhat.com>
32850 * stdio-common/Makefile (tests): Add bug25.
32851 * stdio-common/bug25.c: New test.
32853 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32856 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32857 multiple of MALLOC_ALIGNMENT in size.
32858 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32860 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32862 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32864 (FILENAME_MAX): Use macro-int-constant.
32865 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32866 (_IOFBF): Use macro-int-constant.
32867 (_IOLBF): Likewise.
32868 (_IONBF): Likewise.
32869 (SEEK_CUR): Likewise.
32870 (SEEK_END): Likewise.
32871 (SEEK_SET): Likewise.
32872 (TMP_MAX): Likewise.
32873 (EOF): Use macro-int-constant. Require < 0.
32874 (NULL): Use macro-constant. Require == 0.
32875 (stdin): Require type to be FILE *.
32876 (stdout): Likewise.
32877 (stderr): Likewise.
32878 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32879 macro-int-constant.
32880 (EXIT_SUCCESS): Likewise.
32881 (NULL): Use macro-constant. Require == 0.
32882 (RAND_MAX): Use macro-int-constant.
32883 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32884 [C99-based standards] (strtof): Require function.
32885 [C99-based standards] (strtold): Likewise.
32886 [C99-based standards] (strtoll): Likewise.
32887 [C99-based standards] (strtoull): Likewise.
32888 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32889 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32890 [ISO || ISO99 || ISO11] (math.h): Likewise.
32891 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32892 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32895 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32898 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32899 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32900 * intl/dgettext.c (DCGETTEXT): Likewise.
32901 * intl/gettext.c (DCGETTEXT): Likewise.
32902 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32903 * posix/regex_internal.h (gettext): Likewise.
32904 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32905 Remove declaration.
32906 * include/argz.h (__argz_count_internal)
32907 (__argz_stringify_internal): Remove declaration.
32908 (__argz_count, __argz_stringify): Declare hidden proto.
32909 * intl/dcgettext.c: Remove use of INTDEF.
32910 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32911 * string/argz-stringify.c: Likewise.
32912 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32913 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32914 Declare hidden proto.
32915 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32916 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32917 Declare hidden proto.
32918 * include/stdio.h (__asprintf_internal): Don't declare.
32919 (__asprintf): Don't define as macro. Declare hidden proto.
32920 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32921 (__fsetlocking): Declare hidden proto.
32922 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32923 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32925 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32926 (_IO_setlinebuf): Remove use of INTUSE.
32927 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32928 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32929 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32930 Remove declaration.
32931 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32932 (_IO_do_flush): Remove use of INTUSE.
32933 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32934 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32935 (_IO_adjust_column, _IO_least_wmarker)
32936 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32937 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32938 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32939 (_IO_default_doallocate, _IO_wdefault_doallocate)
32940 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32941 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32942 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32943 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32944 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32945 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32946 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32947 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32948 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32949 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32950 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32951 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32952 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32954 (_IO_flush_all_internal, _IO_adjust_column_internal)
32955 (_IO_default_uflow_internal, _IO_default_finish_internal)
32956 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32957 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32958 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32959 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32960 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32961 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32962 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32963 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32964 (_IO_file_close_internal, _IO_file_close_it_internal)
32965 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32966 (_IO_file_init_internal, _IO_file_attach_internal)
32967 (_IO_file_fopen_internal, _IO_file_read_internal)
32968 (_IO_file_sync_internal, _IO_file_seek_internal)
32969 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32970 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32971 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32972 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32973 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32974 (_IO_list_all_internal, _IO_link_in_internal)
32975 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32976 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32977 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32978 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32979 (_IO_do_write_internal, _IO_padn_internal)
32980 (_IO_getline_info_internal, _IO_getline_internal)
32981 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32982 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32983 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32984 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32985 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32986 (_IO_init_internal, _IO_un_link_internal): Don't declare.
32987 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32988 with libc_hidden_ver, remove use of INTUSE.
32989 * libio/genops.c: Likewise.
32990 * libio/freopen.c: Likewise.
32991 * libio/freopen64.c: Likewise.
32992 * libio/iofclose.c: Likewise.
32993 * libio/iofdopen.c: Likewise.
32994 * libio/iofflush.c: Likewise.
32995 * libio/iofflush_u.c: Likewise.
32996 * libio/iofgets.c: Likewise.
32997 * libio/iofgets_u.c: Likewise.
32998 * libio/iofopen.c: Likewise.
32999 * libio/iofopncook.c: Likewise.
33000 * libio/iofread.c: Likewise.
33001 * libio/iofread_u.c: Likewise.
33002 * libio/ioftell.c: Likewise.
33003 * libio/iofwrite.c: Likewise.
33004 * libio/iogetline.c: Likewise.
33005 * libio/iogets.c: Likewise.
33006 * libio/iogetwline.c: Likewise.
33007 * libio/iopadn.c: Likewise.
33008 * libio/iopopen.c: Likewise.
33009 * libio/ioseekoff.c: Likewise.
33010 * libio/ioseekpos.c: Likewise.
33011 * libio/iosetbuffer.c: Likewise.
33012 * libio/iosetvbuf.c: Likewise.
33013 * libio/ioungetc.c: Likewise.
33014 * libio/ioungetwc.c: Likewise.
33015 * libio/iovdprintf.c: Likewise.
33016 * libio/iovsprintf.c: Likewise.
33017 * libio/iovsscanf.c: Likewise.
33018 * libio/memstream.c: Likewise.
33019 * libio/obprintf.c: Likewise.
33020 * libio/oldfileops.c: Likewise.
33021 * libio/oldiofclose.c: Likewise.
33022 * libio/oldiofdopen.c: Likewise.
33023 * libio/oldiofopen.c: Likewise.
33024 * libio/oldiopopen.c: Likewise.
33025 * libio/oldstdfiles.c: Likewise.
33026 * libio/putc.c: Likewise.
33027 * libio/setbuf.c: Likewise.
33028 * libio/setlinebuf.c: Likewise.
33029 * libio/stdfiles.c: Likewise.
33030 * libio/strops.c: Likewise.
33031 * libio/vasprintf.c: Likewise.
33032 * libio/vscanf.c: Likewise.
33033 * libio/vsnprintf.c: Likewise.
33034 * libio/vswprintf.c: Likewise.
33035 * libio/wfiledoalloc.c: Likewise.
33036 * libio/wfileops.c: Likewise.
33037 * libio/wgenops.c: Likewise.
33038 * libio/wmemstream.c: Likewise.
33039 * libio/wstrops.c: Likewise.
33040 * libio/__fpurge.c: Likewise.
33041 * libio/__fsetlocking.c: Likewise.
33042 * assert/assert.c: Likewise.
33043 * debug/fgets_chk.c: Likewise.
33044 * debug/fgets_u_chk.c: Likewise.
33045 * debug/fread_chk.c: Likewise.
33046 * debug/fread_u_chk.c: Likewise.
33047 * debug/gets_chk.c: Likewise.
33048 * debug/obprintf_chk.c: Likewise.
33049 * debug/vasprintf_chk.c: Likewise.
33050 * debug/vdprintf_chk.c: Likewise.
33051 * debug/vsnprintf_chk.c: Likewise.
33052 * debug/vsprintf_chk.c: Likewise.
33053 * malloc/mtrace.c: Likewise.
33054 * misc/error.c: Likewise.
33055 * misc/syslog.c: Likewise.
33056 * stdio-common/asprintf.c: Likewise.
33057 * stdio-common/fxprintf.c: Likewise.
33058 * stdio-common/getw.c: Likewise.
33059 * stdio-common/isoc99_fscanf.c: Likewise.
33060 * stdio-common/isoc99_scanf.c: Likewise.
33061 * stdio-common/isoc99_vfscanf.c: Likewise.
33062 * stdio-common/isoc99_vscanf.c: Likewise.
33063 * stdio-common/isoc99_vsscanf.c: Likewise.
33064 * stdio-common/printf-prs.c: Likewise.
33065 * stdio-common/printf_fp.c: Likewise.
33066 * stdio-common/printf_fphex.c: Likewise.
33067 * stdio-common/printf_size.c: Likewise.
33068 * stdio-common/putw.c: Likewise.
33069 * stdio-common/scanf.c: Likewise.
33070 * stdio-common/sprintf.c: Likewise.
33071 * stdio-common/tmpfile.c: Likewise.
33072 * stdio-common/vfprintf.c: Likewise.
33073 * stdio-common/vfscanf.c: Likewise.
33074 * stdlib/strfmon_l.c: Likewise.
33075 * sunrpc/openchild.c: Likewise.
33076 * sunrpc/xdr_stdio.c: Likewise.
33077 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33078 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33080 2012-05-24 Roland McGrath <roland@hack.frob.com>
33082 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33084 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33085 in the third column, to generate for the shared library an IFUNC
33086 that uses _dl_vdso_vsym.
33087 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33088 * Makeconfig (object-suffixes-noshared): New variable.
33090 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33091 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33092 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33093 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33096 * include/sys/time.h (__gettimeofday): Remove macro.
33097 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33098 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33100 (__gettimeofday): Add libc_hidden_def.
33101 (gettimeofday): Add libc_hidden_weak.
33102 * sysdeps/mach/gettimeofday.c: Likewise.
33103 * sysdeps/posix/gettimeofday.c: Likewise.
33104 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33105 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33107 (__gettimeofday_internal): Remove strong_alias.
33108 (__gettimeofday): Add libc_hidden_def.
33109 (gettimeofday): Add libc_hidden_weak.
33110 * sysdeps/unix/syscalls.list (gettimeofday):
33111 Remove __gettimeofday_internal alias.
33113 2012-05-24 Daniel Jacobowitz <drow@false.org>
33114 H.J. Lu <hongjiu.lu@intel.com>
33117 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33118 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33119 (largebin_index_32_big): New.
33120 (largebin_index): Use it for 16-byte alignment.
33121 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33122 correction with front_misalign.
33124 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33145 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33152 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33153 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33155 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33159 * math/libm-test.inc (exp_test): Add test from bug 14036.
33160 (pow_test): Add test from bug 10846.
33162 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33164 (special_function): Do not include flags in test name.
33165 (parse_args): Likewise.
33166 * sysdeps/i386/fpu/libm-test-ulps: Update.
33167 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33168 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33169 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33172 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33174 * math/libm-test.inc ("Philosophy"): Update comment about
33176 (UNDERFLOW_EXCEPTION): New macro.
33177 (UNDERFLOW_EXCEPTION_OK): Likewise.
33178 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33179 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33180 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33181 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33182 (INVALID_EXCEPTION_OK): Update value.
33183 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33184 (OVERFLOW_EXCEPTION_OK): Likewise.
33185 (IGNORE_ZERO_INF_SIGN): Likewise.
33186 (test_exceptions): Handle underflow exceptions.
33187 (acos_test): Update for underflow exception expectations.
33188 (cexp_test): Likewise.
33189 (clog_test): Likewise.
33190 (clog10_test): Likewise.
33191 (csqrt_test): Likewise.
33192 (ctan_test): Likewise.
33193 (ctanh_test): Likewise.
33194 (exp_test): Likewise.
33195 (exp10_test): Likewise.
33196 (exp2_test): Likewise.
33197 (expm1_test): Likewise.
33198 (fma_test): Likewise.
33199 (j0_test): Likewise.
33200 (jn_test): Likewise.
33201 (nexttoward_test): Likewise.
33202 (pow_test): Likewise.
33203 (scalbn_test): Likewise.
33204 (scalbln_test): Likewise.
33205 (tan_test): Likewise.
33206 (y1_test): Likewise.
33207 * sysdeps/i386/fpu/libm-test-ulps: Update.
33208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33210 2012-05-23 David S. Miller <davem@davemloft.net>
33212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33213 (__libc_sigaction): Remove unused local variables.
33215 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33217 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33219 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33221 mktime: avoid signed integer overflow
33222 * time/mktime.c (__mktime_internal): Do not mishandle the case
33223 where diff == INT_MIN.
33225 mktime: simplify computation of average
33226 * time/mktime.c (ranged_convert): Use new time_t_avg function
33227 instead of rolling our own (probably-slower) code.
33229 mktime: do not assume signed right shift propagates sign bit
33230 * time/mktime.c (isdst_differ): New static function.
33231 (__mktime_internal): No need to normalize tm_isdst now.
33232 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33235 mktime: merge another wrapv change from gnulib
33236 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33237 from some compilers.
33239 mktime: remove incorrect attempt at unusual arithmetics
33240 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33241 The code didn't really work on such machines anyway.
33242 (TYPE_MINIMUM): Assume two's complement.
33243 (twos_complement_arithmetic): Verify that long_int and time_t
33244 are two's complement (or unsigned, in the latter case).
33246 mktime: check signed shifts on long_int and time_t, too
33247 * time/mktime.c (SHR): Check that shifts work as desired
33248 on the types long_int and time_t too, as SHR is used on
33251 mktime: do not assume 'long' is wide enough
33252 * time/mktime.c (verify): Move decl up.
33253 (long_int): New type.
33254 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33255 to remove assumption in the code that 'long' is wide enough to
33256 store year values. This assumption is not true on x32 and on
33257 some non-glibc platforms.
33259 mktime: merge wrapv change from gnulib
33260 * time/mktime.c (WRAPV): New macro.
33261 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33262 (guess_time_tm, __mktime_internal): Do not assume that signed
33263 integer overflow wraps around; modern compilers generate code
33264 where this assumption is no longer valid.
33266 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33268 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33269 Replace "jmp L(pseudo_end)" with "ret".
33270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33273 2012-05-23 Andreas Jaeger <aj@suse.de>
33275 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33276 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33278 2012-05-23 Andreas Jaeger <aj@suse.de>
33279 Maximilian Attems <max@stro.at>
33281 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33284 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33286 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33287 code so that pseudo_end is just ret and the stack pointer is
33288 correct also for static library in error case.
33290 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33292 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33293 move to syscalls.list.
33294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33299 * manual/install.texi (Running make install): Do not mention Linux
33300 kernel version for which pt_chown is not needed.
33301 (Linux): Do not mention problems with nscd with 2.0 kernels.
33302 * INSTALL: Regenerated.
33304 2012-05-23 Andreas Jaeger <aj@suse.de>
33306 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33307 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33309 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33310 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33311 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33312 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33313 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33314 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33315 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33316 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33317 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33318 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33319 * sysdeps/unix/sysv/linux/bits/in.h
33320 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33322 2012-05-22 Roland McGrath <roland@hack.frob.com>
33324 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33325 (PREPARE_VERSION): Just use assert instead, it will be elided
33326 under [NDEBUG] anyway.
33328 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33330 * sysdeps/unix/sysv/linux/Makefile: Include
33331 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33332 (sysdep_routines): Remove sysctl.
33333 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33334 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33335 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33336 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33337 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33339 2012-05-22 Andreas Jaeger <aj@suse.de>
33341 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33342 that pseudo_end is just ret and the stack pointer is correct also
33343 for static library in error case.
33345 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33348 * nss/nsswitch.c (defconfig_entries): New variable.
33349 (__nss_database_lookup): Don't leak defconfig entries.
33350 (nss_parse_service_list): Don't leak on error paths.
33351 (free_database_entries): New function.
33352 (free_defconfig): New function.
33353 (free_mem): Move common code to free_database_entries.
33355 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33357 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33359 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33361 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33362 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33365 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33366 (INTERNAL_SYSCALL_TYPES): Likewise.
33367 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33368 (LOAD_REGS_TYPES_[1-6]): Likewise.
33369 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33370 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33372 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33374 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33375 copysignl for GLIBC_2_0.
33376 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33377 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33379 logbl for GLIBC_2_0.
33380 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33381 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33383 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33386 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33388 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33391 * time/mktime.c: Update copyright years.
33393 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33395 mktime: merge comment-quoting-style change from gnulib
33396 * time/mktime.c: Quote 'like this' in comments.
33397 The GNU coding standards suggest that we no longer quote `like this',
33398 as "`" and "'" are typically rendered asymmetrically nowadays.
33399 The typical gnulib style is to quote 'like this' when quoting
33400 code, and "like this" when quoting English.
33402 * time/mktime.c (compile-command): Add "-I.".
33404 mktime: merge mktime-internal.h change from gnulib
33405 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33407 mktime: merge time_r change from gnulib
33408 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33410 mktime: merge DEBUG change from gnulib
33411 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33412 case system <time.h> has a #define.
33414 mktime: merge <sys/types.h> change from gnulib
33415 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33416 since <time.t> is now guaranteed to define time_t.
33418 mktime: merge HAVE_CONFIG_H change from gnulib
33419 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33421 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33426 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33428 (struct rusage): Use anonymous union to pad each field to
33431 2012-05-21 David S. Miller <davem@davemloft.net>
33433 * Makefules (o-iterator): Remove .s cases.
33434 (compile-command.s): Delete.
33435 (COMPILE.s): Delete.
33436 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33438 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33440 * configure.in (libc_cv_predef_stack_protector): Only consider
33441 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33442 * configure: Regenerated.
33444 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33446 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33447 New macro. Use R*LP on int and pointer.
33448 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33449 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33450 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33451 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33453 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33454 [__WORDSIZE_TIME64_COMPAT32] instead of
33455 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33456 (struct utmp): Likewise.
33457 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33458 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33460 (__WORDSIZE_TIME64_COMPAT32): This.
33461 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33462 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33463 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33464 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33465 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33466 (__WORDSIZE_TIME64_COMPAT32): New macro.
33468 2012-05-21 Andreas Jaeger <aj@suse.de>
33470 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33471 only if [SHARED]. Add prototype for __wcschr_ia32.
33473 2012-05-21 Roland McGrath <roland@hack.frob.com>
33475 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33476 of %rbp unmolested in the jmp_buf while mangling the low bits.
33477 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33478 unmolested high bits of %rbp while demangling the low bits.
33479 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33481 2012-05-21 Andreas Jaeger <aj@suse.de>
33483 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33484 * sunrpc/svc_simple.c: Use it for registerrpc.
33485 * sunrpc/xcrypt.c: Use it for passwd2des.
33487 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33489 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33491 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33492 Don't define if [__SYSCALL_WORDSIZE != 32].
33493 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33496 2012-05-21 Bruno Haible <bruno@clisp.org>
33497 Andreas Jaeger <aj@suse.de>
33499 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33500 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33501 inptr and inend for must_buffer_ch.
33502 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33503 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33504 * stdio-common/Makefile (tests): Remove bug15.
33505 (bug15-ENV): Remove macro.
33506 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33509 2012-05-19 Andreas Jaeger <aj@suse.de>
33510 Roland McGrath <roland@hack.frob.com>
33512 * manual/contrib.texi: Completely rewritten. It contains now an
33513 alphabetical list of contributors and their contributions.
33515 2012-05-21 Richard Henderson <rth@twiddle.net>
33517 * misc/getauxval.c (__getauxval): Use unsigned long int.
33518 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33519 (getauxval): Use unsigned long int.
33521 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33523 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33525 2012-05-21 Roland McGrath <roland@hack.frob.com>
33527 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33528 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33529 __alignof__ (long double).
33531 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33535 2012-05-20 Richard Henderson <rth@twiddle.net>
33537 * misc/getauxval.c: New file.
33538 * misc/sys/auxv.h: New file.
33539 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33540 (routines): Add getauxval.
33541 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33542 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33543 * elf/dl-sysdep.c (_dl_auxv): Remove.
33544 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33545 * elf/dl-support.c (_dl_auxv): New variable.
33546 (_dl_aux_init): Initialize it.
33547 * manual/startup.texi (Auxiliary Vector): New node.
33548 * sysdeps/generic/bits/hwcap.h: New file.
33549 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33550 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33551 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33552 * sysdeps/sparc/sysdep.h: ... here. Include it.
33553 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33554 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33560 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33562 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33566 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33570 2012-05-19 David S. Miller <davem@davemloft.net>
33572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33574 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33577 * math/s_ccosh.c: Include <float.h>
33578 (__ccosh): Avoid internal overflow calculating sinh and cosh
33579 values before multiplying by sin and cos values.
33580 * math/s_ccoshf.c: Likewise.
33581 * math/s_ccoshl.c: Likewise.
33582 * math/s_csin.c: Likewise.
33583 * math/s_csinf.c: Likewise.
33584 * math/s_csinl.c: Likewise.
33585 * math/s_csinh.c: Likewise.
33586 * math/s_csinhf.c: Likewise.
33587 * math/s_csinhl.c: Likewise.
33588 * math/libm-test.inc (ccos_test): Add more tests.
33589 (ccosh_test): Likewise.
33590 (csin_test): Likewise.
33591 (csinh_test): Likewise.
33592 * sysdeps/i386/fpu/libm-test-ulps: Update.
33593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33595 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33597 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33598 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33600 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33602 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33604 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33605 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33606 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33607 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33608 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33609 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33610 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33611 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33612 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33613 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33614 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33615 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33616 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33617 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33618 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33619 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33620 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33621 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33622 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33623 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33624 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33625 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33626 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33627 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33628 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33629 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33630 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33631 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33632 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33633 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33634 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33636 2012-05-18 Andreas Jaeger <aj@suse.de>
33638 * csu/.gitignore: Delete.
33640 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33642 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33643 (timex): Use __syscall_slong_t.
33645 2012-05-18 Andreas Jaeger <aj@suse.de>
33646 Carlos O'Donell <carlos_odonell@mentor.com>
33648 * manual/install.texi (Configuring and compiling): Update
33649 description about files modified in the source directory.
33650 * INSTALL: Regenerated.
33652 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33654 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33655 value. Use "or" to set return value to -1.
33656 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33657 negate return value.
33659 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33661 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33662 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33663 failure if the compiler has Graphite support disabled.
33664 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33666 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33667 (CFLAGS-memmove.c): Likewise.
33668 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33671 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33673 * sysdeps/x86_64/x32/_itoa.h: New file.
33675 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33676 getdents system call only if kernel and user dirents have the
33677 same d_ino and d_off.
33679 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33680 LLONG_MAX != LONG_MAX.
33681 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33682 (_fitoa_word): Likewise.
33684 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33686 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33687 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33688 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33690 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33691 include <bits/wordsize.h>. Check __x86_64__ instead of
33693 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33694 if __x86_64__ is defined. Use anonymous union on fpstate.
33696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33699 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33701 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33702 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33703 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33704 Refer to _rtld_local_ro instead of _rtld_global_ro.
33705 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33707 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33709 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33711 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33712 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33713 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33715 * sysdeps/powerpc/powerpc32/dl-machine.c
33716 (__elf_machine_runtime_setup) [PROF]: Don't reference
33719 2012-05-18 Andreas Jaeger <aj@suse.de>
33721 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33722 function only available for GCCs before 3.4 since GCC 3.4
33723 introduced a builtin.
33725 (llrintf): Likewise.
33726 (llrint): Likewise.
33733 (nearbyint): Likewise.
33734 (nearbyintf): Likewise.
33738 (floorf): Likewise.
33740 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33742 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33743 on both fields and cast pointer to __syscall_ulong_t.
33745 * bits/types.h (__fsword_t): New type.
33746 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33747 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33748 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33749 (__FSWORD_T_TYPE): Likewise.
33750 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33751 (__FSWORD_T_TYPE): Likewise.
33752 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33753 (__FSWORD_T_TYPE): Likewise.
33754 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33755 (__FSWORD_T_TYPE): Likewise.
33756 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33757 __SWORD_TYPE with __fsword_t.
33758 (statfs64): Likewise.
33760 2012-05-17 David S. Miller <davem@davemloft.net>
33762 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33764 2012-05-17 Andreas Jaeger <aj@suse.de>
33766 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33769 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33771 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33773 2012-05-17 Andreas Jaeger <aj@suse.de>
33775 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33778 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33780 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33782 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33784 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33785 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33787 2012-05-17 Andreas Jaeger <aj@suse.de>
33788 Carlos O'Donell <carlos_odonell@mentor.com>
33791 * sysdeps/x86_64/multiarch/init-arch.h
33792 (bit_YMM_Usable): Rename to...
33793 (bit_AVX_Usable): ... this.
33794 (bit_FMA4_Usable): New macro.
33795 (bit_XMM_state): New macro.
33796 (bit_YMM_state): New macro.
33797 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33798 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33799 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33800 (CPUID_OSXSAVE): New macro.
33801 (CPUID_AVX): New macro.
33802 (CPUID_FMA4): New macro.
33803 (index_YMM_Usable): Rename to...
33804 (index_AVX_Usable): ... this.
33805 (HAS_AVX): Use HAS_ARCH_FEATURE.
33806 (HAS_FMA4): Likewise.
33807 (HAS_YMM_USABLE): Remove.
33808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33809 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33811 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33812 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33813 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33814 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33815 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33817 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33819 * math/libm-test.c: Support platforms without multiple rounding modes.
33820 * math/bug-nextafter.c: Support platforms without FP exceptions.
33821 * math/bug-nexttoward.c: Likewise.
33822 * math/test-fenv.c: Likewise.
33823 * math/test-misc.c: Likewise.
33824 * stdlib/bug-getcontext.c: Likewise.
33826 2012-05-17 Andreas Jaeger <aj@suse.de>
33828 * manual/examples/search.c (critter_cmp): Change signature to
33830 * manual/string.texi (Collation Functions): Likewise.
33832 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33834 * bits/types.h: Fold copyright years.
33835 * bits/typesizes.h: Likewise.
33836 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33837 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33838 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33839 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33840 * time/time.h: Likewise.
33842 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33845 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33846 in instead of returning them. Return void.
33847 (__libc_mallinfo): Accumulate over all arenas.
33848 (__malloc_stats): Adjust for change in int_mallinfo interface.
33850 2012-05-16 Roland McGrath <roland@hack.frob.com>
33853 * configure.in (NM): Add AC_CHECK_TOOL for it.
33854 (libc_extra_cflags): New substituted variable.
33855 Check for -fstack-protector being used implicitly.
33856 * configure: Regenerated.
33857 * config.make.in (config-extra-cflags): New variable,
33858 gets @libc_extra_cflags@.
33859 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33862 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33863 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33864 * configure: Regenerated.
33865 * config.make.in (CPPUNDEFS): New substituted variable.
33866 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33867 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33868 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33870 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33872 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33873 (mq_attr): Use __syscall_slong_t.
33875 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33877 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33878 Check __x86_64__ instead of __WORDSIZE.
33879 (_STAT_VER_LINUX): Likewise.
33880 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33881 __syscall_ulong_t and __syscall_slong_t.
33882 (stat64): Likewise.
33884 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33886 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33888 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33890 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33892 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33894 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33897 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33898 include <bits/wordsize.h>. Check __x86_64__ instead of
33900 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33902 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33904 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33905 include <bits/wordsize.h>. Check __x86_64__ instead of
33907 (user_regs_struct): Use "__extension__ unsigned long long"
33908 instead of "unsigned long" if __x86_64__ is defined.
33909 (user): Likewise. Pad after pointer field if __ILP32__ is
33912 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33914 * configure.in (makeinfo): Require version 4.5 or later. Allow
33916 * configure: Regenerated.
33917 * manual/install.texi (texinfo): Increase version requirement to
33919 * INSTALL: Regenerated.
33921 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33923 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33925 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33927 * sysdeps/x86_64/x32/ffs.c: New file.
33929 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33931 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33932 defined. Use __syscall_ulong_t.
33933 (shminfo): Use __syscall_ulong_t.
33934 (shm_info): Likewise.
33936 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33939 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33941 (msgqnum_t): Use __syscall_ulong_t.
33942 (msglen_t): Likewise.
33943 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33946 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33947 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33949 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33951 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33952 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33954 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33957 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33958 include <bits/wordsize.h>. Check __x86_64__ instead of
33961 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33962 "unsigned long long int" if __x86_64__ is defined.
33963 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33965 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33966 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33967 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33969 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33971 (GET_PC): Cast to uintptr_t first.
33972 (GET_FRAME): Likewise.
33973 (GET_STACK): Likewise.
33975 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33976 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33977 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33978 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33979 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33980 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33981 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33982 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33983 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33984 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33985 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33986 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33987 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33988 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33989 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33990 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33991 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33992 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33993 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33994 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33995 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33996 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33997 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33998 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33999 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34000 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34001 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34002 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34003 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34005 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34007 * Makerules (+depfiles): Also collect depfiles from .oS in
34009 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34010 .oS, $(libnldbl-routines)).
34012 * Makerules (native-compile-mkdep-flags): Define.
34013 * sunrpc/Makefile (extra-objs): Add $(addprefix
34014 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34015 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34016 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34017 calling $(make-target-directory).
34019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34021 * bits/types.h (__snseconds_t): Removed.
34022 * time/time.h (struct timespec): Replace __snseconds_t with
34024 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34025 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34028 (__SNSECONDS_T_TYPE): Likewise.
34029 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34030 (__SNSECONDS_T_TYPE): Likewise.
34031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34032 (__SNSECONDS_T_TYPE): Likewise.
34034 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34036 * sysdeps/mach/hurd/bits/typesizes.h
34037 (__SYSCALL_SLONG_TYPE): New macro.
34038 (__SYSCALL_ULONG_TYPE): Likewise.
34040 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34042 * bits/types.h (__syscall_slong_t): New type.
34043 (__syscall_ulong_t): Likewise.
34045 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34046 (__SYSCALL_ULONG_TYPE): Likewise.
34047 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34048 (__SYSCALL_SLONG_TYPE): Likewise.
34049 (__SYSCALL_ULONG_TYPE): Likewise.
34050 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34051 (__SYSCALL_SLONG_TYPE): Likewise.
34052 (__SYSCALL_ULONG_TYPE): Likewise.
34053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34054 (__SYSCALL_SLONG_TYPE): Likewise.
34055 (__SYSCALL_ULONG_TYPE): Likewise.
34057 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34059 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34060 Add sigaltstack-offsets.sym.
34061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34062 <sigaltstack-offsets.h>.
34063 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34064 longjmp_msg pointer.
34065 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34066 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34068 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34070 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34072 * elf/stackguard-macros.h: Remove file.
34073 * sysdeps/generic/stackguard-macros.h: New file.
34074 * sysdeps/i386/stackguard-macros.h: Likewise.
34075 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34076 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34077 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34078 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34079 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34080 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34081 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34082 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34083 <elf/stackguard-macros.h>.
34086 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34087 __aligned__ in attribute.
34088 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34089 (gregset_t): Likewise.
34091 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34093 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34094 * sysdeps/x86_64/64/Implies-after: Here. New file.
34095 * sysdeps/x86_64/x32/Implies-after: New file.
34097 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34099 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34100 and access return value for _dl_profile_fixup. Use R10_LP to
34103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34105 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34107 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34109 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34110 * sysdeps/x86_64/x32/sysdep.h: New file.
34112 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34114 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34115 * sysdeps/x86_64/setjmp.S: Likewise.
34117 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34119 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34120 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34121 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34122 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34123 remove unused global constant.
34125 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34127 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34128 include of <not-cancel.h>.
34130 2012-05-15 Roland McGrath <roland@hack.frob.com>
34132 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34134 2012-05-15 Jeff Law <law@redhat.com>
34135 Andreas Jaeger <aj@suse.de>
34138 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34140 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34141 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34142 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34143 code changing __hst_map_handle.map.
34145 2012-05-15 Roland McGrath <roland@hack.frob.com>
34147 * configure.in (sysnames): Look for Implies-before and Implies-after
34149 * configure: Regenerated.
34151 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34153 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34154 8-byte data alignment with LP_SIZE alignment.
34156 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34158 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34163 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34165 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34167 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34168 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34169 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34171 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34175 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34176 (stackinfo_sub_sp): Likewise.
34178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34185 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34188 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34190 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34195 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34197 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34199 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34200 into R11_LP and load __x86_64_shared_cache_size_half into
34203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34205 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34208 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34216 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34217 powerpc32/power7/fpu/s_logb.c via #include.
34218 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34219 powerpc32/power7/fpu/s_logbf.c via #include.
34220 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34221 powerpc32/power7/fpu/s_logbl.c via #include.
34223 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34225 * README.libm: Remove file.
34227 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34229 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34230 count for x32. Use R*_LP and omit operand-size suffix.
34232 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34234 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34235 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34236 * sysdeps/x86_64/x32/shlib-versions: New file.
34238 2012-05-14 Roland McGrath <roland@hack.frob.com>
34240 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34241 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34242 Use _dl_fatal_printf instead.
34244 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34246 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34247 set if not set by the user. Do not allow for being unset.
34248 * sysdeps/unix/sysv/linux/configure: Regenerated.
34250 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34252 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34253 the `q' suffix from lea and replace .quad with ASM_ADDR.
34255 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34258 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34260 (PTR_DEMANGLE): Likewise.
34262 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34264 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34266 (ASM_ADDR): Likewise.
34267 (RAX_LP): Likewise.
34268 (RBP_LP): Likewise.
34269 (RBX_LP): Likewise.
34270 (RCX_LP): Likewise.
34271 (RDI_LP): Likewise.
34272 (RSI_LP): Likewise.
34273 (RSP_LP): Likewise.
34276 (R10_LP): Likewise.
34277 (R10_LP): Likewise.
34278 (R11_LP): Likewise.
34279 (R12_LP): Likewise.
34280 (R13_LP): Likewise.
34281 (R14_LP): Likewise.
34282 (R15_LP): Likewise.
34284 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34286 * sysdeps/x86_64/x32/dl-machine.h: New file.
34288 2012-05-14 Andreas Jaeger <aj@suse.de>
34290 * manual/Makefile (subdir): Remove export of subdir.
34291 (all): Remove target.
34292 (.PHONY): Remove all from list.
34293 (mkinstalldirs): Remove.
34294 (.PHONY): Remove installdirs from list.
34295 ($(inst_infodir)/libc.info): Use make-target-directory.
34296 (installdirs): Remove.
34297 (subdir_%): Remove.
34298 (glibc-targets): Remove.
34301 ($(objpfx)stubs ../po/manual.pot): Remove.
34302 ($(objpfx)stamp%): Remove.
34303 (make-target-directory): Remove.
34304 (subdir_install): Remove.
34305 (routines): Remove.
34312 * manual/.gitignore: Remove, it's not needed anymore.
34313 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34315 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34317 (texis): Renamed to $(objpfx)texis.
34318 (texis-path): New, contains path to generated files.
34319 (chapters.%): Use texis-path for complete path, add extra argument
34321 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34322 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34323 (summary,texi, stamp-summary): Use complete path of
34324 files. Generate files in build dir.
34325 (dir-add.texi): Build in build dir.
34326 (libm-err.texi,stamp-libm-err): Likewise.
34327 (version.texi, stamp-version): Likewise.
34328 (.%c.texi): Likewise.
34329 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34330 (mostlyclean): Remove target.
34331 (realclean): Remove target.
34332 (generated): Add new variable with contents from mostlyclean and
34333 realclean, remove entries duplicated in common-mostlyclean, add
34334 stamp-libm-err and stamp-version.
34335 (generated-dirs): Add libc directory.
34336 ($(inst_infodir)/libc.info): Install files from build dir.
34338 * manual/install.texi (Configuring and compiling): Adjust since
34339 the info files are not part of the tar ball anymore.
34341 2012-05-14 Andreas Jaeger <aj@suse.de>
34343 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34346 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34349 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34350 to 2.2.0 where earlier.
34351 * sysdeps/unix/sysv/linux/configure: Regenerated.
34352 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34353 Remove conditional code.
34354 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34355 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34356 Remove conditional code.
34357 [!__NR_lchown]: Likewise.
34358 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34359 [__NR_lchown]: Likewise.
34360 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34361 comment referencing __ASSUME_LCHOWN_SYSCALL.
34362 * sysdeps/unix/sysv/linux/i386/sigaction.c
34363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34365 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34366 Remove conditional code.
34367 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34368 (__protocol_available): Remove #if 0 code.
34369 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34371 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34372 * sysdeps/unix/sysv/linux/kernel-features.h
34373 (__ASSUME_GETCWD_SYSCALL): Don't define.
34374 (__ASSUME_REALTIME_SIGNALS): Likewise.
34375 (__ASSUME_PREAD_SYSCALL): Likewise.
34376 (__ASSUME_PWRITE_SYSCALL): Likewise.
34377 (__ASSUME_POLL_SYSCALL): Likewise.
34378 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34379 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34381 (__ASSUME_SIOCGIFNAME): Don't define.
34382 (__ASSUME_MSG_NOSIGNAL): Likewise.
34383 (__ASSUME_SENDFILE): Define unconditionally.
34384 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34385 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34387 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34388 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34389 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34390 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34391 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34392 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34393 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34395 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34396 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34398 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34399 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34401 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34402 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34404 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34405 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34407 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34408 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34410 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34411 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34413 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34414 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34416 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34417 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34418 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34419 Remove conditional code.
34420 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34421 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34422 Remove conditional code.
34423 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34424 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34425 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34426 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34427 Remove conditional code.
34428 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34429 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34430 Remove conditional code.
34431 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34432 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34433 Remove conditional code.
34434 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34435 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34436 Remove conditional code.
34437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34438 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34439 Remove conditional code.
34440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34441 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34442 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34444 * sysdeps/unix/sysv/linux/sigaction.c
34445 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34446 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34447 * sysdeps/unix/sysv/linux/sigpending.c
34448 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34449 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34450 * sysdeps/unix/sysv/linux/sigprocmask.c
34451 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34452 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34453 * sysdeps/unix/sysv/linux/sigsuspend.c
34454 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34455 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34456 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34457 (__libc_missing_rt_sigs): Remove.
34458 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34459 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34460 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34461 Remove conditional code.
34462 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34463 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34465 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34466 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34467 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34468 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34470 2012-05-14 Andreas Jaeger <aj@suse.de>
34472 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34473 it's not used in glibc.
34474 (__coshm1): Likewise.
34475 (__acosh1p): Likewise.
34478 * manual/string.texi (Copying and Concatenation): Add missing
34479 variable in concat example.
34480 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34482 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34485 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34486 __builtin_clzl with __builtin_clzll.
34488 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34491 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34494 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34496 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34497 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34498 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34499 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34501 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34503 * NEWS: Update ia64 info.
34505 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34507 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34510 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34512 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34513 * sysdeps/unix/syscalls.list (dup3): Likewise.
34514 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34515 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34517 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34519 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34520 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34522 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34524 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34526 (TLS_IE): Use mov/add instead of movq/addq to load thread
34528 (TLS_GD_PREFIX): New.
34531 2012-05-11 David S. Miller <davem@davemloft.net>
34533 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34534 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34535 (_FPU_SETCW): Likewise.
34537 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34539 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34540 is 32-byte aligned.
34542 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34545 * iconvdata/gb18030.c: Update tables.
34546 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34547 characters specially.
34548 (BODY for TO_LOOP): Add encoding of missing ranges.
34550 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34553 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34554 * sysdeps/mach/hurd/dup3.c: Likewise.
34555 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34556 * sysdeps/powerpc/memmove.c:: Likewise.
34558 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34560 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34561 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34563 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34565 * elf/elf.h (R_X86_64_RELATIVE64): New.
34566 (R_X86_64_NUM): Updated.
34567 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34568 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34569 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34570 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34571 tst-quad1pie tst-quad2pie
34572 (modules-names): Add tst-quadmod1 tst-quadmod2.
34573 ($(objpfx)tst-quad1): New dependency.
34574 ($(objpfx)tst-quad2): Likewise.
34575 ($(objpfx)tst-quad1pie): Likewise.
34576 ($(objpfx)tst-quad2pie): Likewise.
34577 * sysdeps/x86_64/tst-quad1.c: New file.
34578 * sysdeps/x86_64/tst-quad1pie.c: New file.
34579 * sysdeps/x86_64/tst-quad2.c: Likewise.
34580 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34581 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34582 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34583 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34584 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34586 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34588 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34589 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34590 * streams/stropts.h (t_scalar_t): Define type.
34592 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34593 (_PATH_PRESERVE): Set to "/var/lib".
34594 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34596 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34599 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34600 if __dir_mkfile succeeded.
34602 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34603 checking for _hurd_dtablesize. Unlock it right after having
34604 finished _hurd_dtable allocation.
34606 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34608 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34609 * sysdeps/mach/hurd/configure: Regenerated.
34610 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34611 special-casing to...
34612 * sysdeps/gnu/configure.in: ... this new file.
34613 * sysdeps/unix/sysv/linux/configure: Regenerated.
34614 * sysdeps/gnu/configure: New generated file.
34616 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34617 for Linux: use nsec instead of usec, as well as:
34618 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34619 members of type struct timespec.
34620 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34622 (struct stat64): Likewise.
34623 (_STATBUF_ST_NSEC): New macro.
34624 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34626 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34627 __strtoul_internal rather than strtoul.
34629 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34631 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34634 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34636 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34637 which preserves existing values.
34638 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34640 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34642 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34643 TIMEOUT values. Return EINVAL for NFDS values either negative or
34644 greater than FD_SETSIZE.
34646 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34648 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34649 allocated, call __vm_protect to finish enabling the existing space, and
34650 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34651 allocate the remainder.
34653 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34655 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34656 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34660 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34661 sysdeps/mach/hurd/readlink.c.
34663 * posix/tst-sysconf.c (posix_options): Only use
34664 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34665 _POSIX_SYNCHRONIZED_IO when they are defined
34666 * sysdeps/mach/hurd/bits/posix_opt.h:
34667 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34668 (_XOPEN_REALTIME): Undefine macro.
34669 (_XOPEN_REALTIME_THREADS): Undefine macro.
34670 (_XOPEN_SHM): Undefine macro.
34671 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34673 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34675 (_POSIX_ASYNC_IO): Undefine macro.
34676 (_POSIX_PRIORITIZED_IO): Undefine macro.
34677 (_POSIX_SPIN_LOCKS): Define macro to -1.
34679 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34680 SA_NODEFER, SA_RESETHAND.
34681 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34682 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34685 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34687 * elf/Makefile (pldd-modules): Define unconditionally.
34689 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34691 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34695 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34696 Return ENOENT when name is empty.
34697 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34699 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34701 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34703 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34707 Fix mlock in all cases except non-readable pages.
34708 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34709 instead of VM_PROT_ALL as parameter to __vm_wire function.
34711 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34712 (__mkdir): When path is `/', just fail with EEXIST.
34713 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34715 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34717 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34718 <sys/uio.h> (for writev).
34719 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34720 and <sys/param.h> (for MIN).
34722 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34724 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34725 REQUESTED_TIME. Properly set the remaining time and return EINTR
34728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34730 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34731 Depend on against $(link-rpcuserlibs).
34733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34735 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34736 (__libc_stack_end): Do not use attribute_relro.
34737 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34738 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34739 to libthread-provided value.
34740 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34743 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34746 * bits/libc-lock.h (__libc_once_get): New macro.
34747 * sysdeps/mach/bits/libc-lock.h: Likewise.
34748 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34750 instead of using implementation details.
34752 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34753 * libio/freopen.c: Likewise.
34754 * libio/freopen64.c: Likewise.
34755 * misc/syslog.c: Likewise.
34756 * nscd/connections.c: Likewise.
34757 * nscd/netgroupcache.c: Likewise.
34758 * sysdeps/posix/getcwd.c: Likewise.
34760 2012-05-10 Roland McGrath <roland@hack.frob.com>
34762 * math/w_ilogbf.c: Add #include <limits.h>.
34764 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34766 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34767 path instead of returning without unlocking.
34769 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34770 immediate-write ioctls.
34771 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34773 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34775 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34776 __builtin_frame_address instead of making assumptions about the
34777 location of the return address relative to DATA. Force early load of
34778 the return address.
34779 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34780 __builtin_frame_address.
34783 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34784 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34785 implement dup3 and do some further code clean-ups.
34786 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34787 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34789 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34791 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34793 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34794 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34795 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34796 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34797 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34800 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34801 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34802 when handler == SIG_ERR, not when handler != SIG_ERR.
34804 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34806 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34807 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34810 accept4 for GNU Hurd.
34811 * include/sys/socket.h (__libc_accept4): New prototype.
34812 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34813 to implement __libc_accept4.
34814 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34816 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34818 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34819 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34820 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34821 signal-defines.sym.
34823 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34825 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34827 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34829 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34830 assertion on O_CLOEXEC flag.
34831 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34832 * hurd/intern-fd.c: Likewise.
34833 * hurd/port2fd.c: Likewise.
34835 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34838 * bits/in.h (IPV6_PKTINFO): Define new macro.
34839 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34841 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34846 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34847 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34848 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34849 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34850 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34851 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34852 * math/libm-test.inc (logb_test) : Additional logb tests.
34854 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34855 Andreas Jaeger <aj@suse.de>
34857 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34858 * configure: Regenerated.
34859 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34860 * config.make.in (link-obsolete-rpc): New substituted variable.
34861 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34862 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34863 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34864 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34865 so that libc.a contains the symbols.
34866 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34867 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34868 * sunrpc/auth_none.c: Likewise.
34869 * sunrpc/auth_unix.c: Likewise.
34870 * sunrpc/authdes_prot.c: Likewise.
34871 * sunrpc/authuxprot.c: Likewise.
34872 * sunrpc/clnt_gen.c: Likewise.
34873 * sunrpc/clnt_perr.c: Likewise.
34874 * sunrpc/clnt_raw.c: Likewise.
34875 * sunrpc/clnt_simp.c: Likewise.
34876 * sunrpc/clnt_tcp.c: Likewise.
34877 * sunrpc/clnt_udp.c: Likewise.
34878 * sunrpc/clnt_unix.c: Likewise.
34879 * sunrpc/des_crypt.c: Likewise.
34880 * sunrpc/des_soft.c: Likewise.
34881 * sunrpc/get_myaddr.c: Likewise.
34882 * sunrpc/key_call.c: Likewise.
34883 * sunrpc/key_prot.c: Likewise.
34884 * sunrpc/netname.c: Likewise.
34885 * sunrpc/pm_getmaps.c: Likewise.
34886 * sunrpc/pm_getport.c: Likewise.
34887 * sunrpc/pmap_clnt.c: Likewise.
34888 * sunrpc/pmap_prot.c: Likewise.
34889 * sunrpc/pmap_prot2.c: Likewise.
34890 * sunrpc/pmap_rmt.c: Likewise.
34891 * sunrpc/publickey.c: Likewise.
34892 * sunrpc/rpc_cmsg.c: Likewise.
34893 * sunrpc/rpc_common.c: Likewise.
34894 * sunrpc/rpc_dtable.c: Likewise.
34895 * sunrpc/rpc_prot.c: Likewise.
34896 * sunrpc/rpc_thread.c: Likewise.
34897 * sunrpc/rtime.c: Likewise.
34898 * sunrpc/svc.c: Likewise.
34899 * sunrpc/svc_auth.c: Likewise.
34900 * sunrpc/svc_raw.c: Likewise.
34901 * sunrpc/svc_run.c: Likewise.
34902 * sunrpc/svc_tcp.c: Likewise.
34903 * sunrpc/svc_udp.c: Likewise.
34904 * sunrpc/svc_unix.c: Likewise.
34905 * sunrpc/svcauth_des.c: Likewise.
34906 * sunrpc/xcrypt.c: Likewise.
34907 * sunrpc/xdr.c: Likewise.
34908 * sunrpc/xdr_array.c: Likewise.
34909 * sunrpc/xdr_float.c: Likewise.
34910 * sunrpc/xdr_intXX_t.c: Likewise.
34911 * sunrpc/xdr_mem.c: Likewise.
34912 * sunrpc/xdr_rec.c: Likewise.
34913 * sunrpc/xdr_ref.c: Likewise.
34914 * sunrpc/xdr_sizeof.c: Likewise.
34915 * sunrpc/xdr_stdio.c: Likewise.
34917 2012-05-10 Roland McGrath <roland@hack.frob.com>
34919 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34920 change. Update copyright years.
34922 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34924 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34926 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34927 Joseph Myers <joseph@codesourcery.com>
34928 Paul Pluzhnikov <ppluzhnikov@google.com>
34931 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34933 [cross-compiling] (extra-libs): Likewise.
34934 [cross-compiling] (extra-libs-others): Likewise.
34935 [cross-compiling] (librpcsvc-routines): Likewise.
34936 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34937 [cross-compiling] (omit-deps): Likewise.
34938 (sunrpc-CPPFLAGS): New variable.
34939 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34940 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34941 (cross-rpcgen-objs): New variable.
34942 (extra-objs): Append $(cross-rpcgen-objs).
34943 ($(cross-rpcgen-objs)): New rule.
34944 ($(objpfx)cross-rpcgen): Likewise.
34945 (rpcgen-cmd): Define to use $(built-program-file). Expand
34947 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34948 ($(objpfx)x%.stmp): Likewise.
34949 * sunrpc/proto.h [IS_IN_build] (_): Define.
34950 [IS_IN_build] (_libc_intl_domainname): Likewise.
34952 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34955 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34956 and R_X86_64_TPOFF64.
34958 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34960 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34961 sysdeps/unix/sysv/syscalls.list.
34964 * sysdeps/unix/sysv/syscalls.list: Remove file.
34966 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34969 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34970 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34971 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34972 (__LC_IDENTIFICATION): Make these macros useful in #if
34973 expressions, as required by C99.
34975 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34977 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34978 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34981 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34983 * stdlib/longlong.h: Updated from GCC.
34985 2012-05-09 Andreas Jaeger <aj@suse.de>
34987 * nscd/nscd.c (run_modes): Make named enum, reorder so that
34988 default is first entry.
34989 (run_mode): Set type.
34990 (main): Remove informal message about syslog.
34991 (options): Fix typo.
34994 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34997 (llrintf): Likewise.
34998 (llrint): Likewise.
35001 (nearbyint): Likewise.
35002 (nearbyintf): Likewise.
35004 2012-05-09 Andreas Jaeger <aj@suse.de>
35005 Pedro Alves <palves@redhat.com>
35007 * nscd/nscd.c (run_mode): Use enum.
35008 (main): Cleanup coding style issue.
35010 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35011 Andreas Jaeger <aj@suse.de>
35013 * nscd/nscd.c (go_background): Replaced with...
35014 (run_mode): ... this.
35015 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35016 (options): Add -F --foreground.
35017 (main): Implement it.
35018 (parse_opt): Parse it.
35020 2012-05-09 Andreas Jaeger <aj@suse.de>
35023 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35024 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35025 -Wconversion warning.
35026 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35029 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35031 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35033 (LC_ALL): Use macro-int-constant.
35034 (LC_COLLATE): Likewise.
35035 (LC_CTYPE): Likewise.
35036 (LC_MESSAGES): Likewise.
35037 (LC_MONETARY): Likewise.
35038 (LC_NUMERIC): Likewise.
35039 (LC_TIME): Likewise.
35040 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35041 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35043 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35045 [C99-based standards] (float_t): Expect type.
35046 [C99-based standards] (double_t): Expect type.
35047 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35049 [C99-based standards] (HUGE_VALL): Likewise.
35050 [C99-based standards] (INFINITY): Likewise.
35051 [C99-based standards] (NAN): Likewise.
35052 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35053 [C99-based standards] (FP_NAN): Likewise.
35054 [C99-based standards] (FP_NORMAL): Likewise.
35055 [C99-based standards] (FP_SUBNORMAL): Likewise.
35056 [C99-based standards] (FP_ZERO): Likewise.
35057 [C99-based standards] (FP_FAST_FMA): Use
35058 optional-macro-int-constant. Specify type. Require == 1.
35059 [C99-based standards] (FP_FAST_FMAF): Likewise.
35060 [C99-based standards] (FP_FAST_FMAL): Likewise.
35061 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35062 [C99-based standards] (FP_ILOGBNAN): Likewise.
35063 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35065 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35066 [C99-based standards] (math_errhandling): Specify type.
35067 [ISO99 || ISO11] (signgam): Do not allow.
35068 [non-C99-based standards] (copysignf): Do not allow.
35069 [non-C99-based standards] (exp2f): Likewise.
35070 [non-C99-based standards] (log2f): Likewise.
35071 [non-C99-based standards] (modff): Allow.
35072 [non-C99-based standards] (erff): Do not allow.
35073 [non-C99-based standards] (erfcf): Likewise.
35074 [non-C99-based standards] (gammaf): Likewise.
35075 [non-C99-based standards] (hypotf): Likewise.
35076 [non-C99-based standards] (j0f): Likewise.
35077 [non-C99-based standards] (j1f): Likewise.
35078 [non-C99-based standards] (jnf): Likewise.
35079 [non-C99-based standards] (lgammaf): Likewise.
35080 [non-C99-based standards] (tgammaf): Likewise.
35081 [non-C99-based standards] (y0f): Likewise.
35082 [non-C99-based standards] (y1f): Likewise.
35083 [non-C99-based standards] (ynf): Likewise.
35084 [non-C99-based standards] (isnanf): Likewise.
35085 [non-C99-based standards] (acoshf): Likewise.
35086 [non-C99-based standards] (asinhf): Likewise.
35087 [non-C99-based standards] (atanhf): Likewise.
35088 [non-C99-based standards] (cbrtf): Likewise.
35089 [non-C99-based standards] (expm1f): Likewise.
35090 [non-C99-based standards] (ilogbf): Likewise.
35091 [non-C99-based standards] (log1pf): Likewise.
35092 [non-C99-based standards] (logbf): Likewise.
35093 [non-C99-based standards] (nextafterf): Likewise.
35094 [non-C99-based standards] (remainderf): Likewise.
35095 [non-C99-based standards] (rintf): Likewise.
35096 [non-C99-based standards] (scalbf): Likewise.
35097 [non-C99-based standards] (copysignl): Likewise.
35098 [non-C99-based standards] (exp2l): Likewise.
35099 [non-C99-based standards] (log2l): Likewise.
35100 [non-C99-based standards] (modfl): Allow.
35101 [non-C99-based standards] (erfl): Do not allow.
35102 [non-C99-based standards] (erfcl): Likewise.
35103 [non-C99-based standards] (gammal): Likewise.
35104 [non-C99-based standards] (hypotl): Likewise.
35105 [non-C99-based standards] (j0l): Likewise.
35106 [non-C99-based standards] (j1l): Likewise.
35107 [non-C99-based standards] (jnl): Likewise.
35108 [non-C99-based standards] (lgammal): Likewise.
35109 [non-C99-based standards] (tgammal): Likewise.
35110 [non-C99-based standards] (y0l): Likewise.
35111 [non-C99-based standards] (y1l): Likewise.
35112 [non-C99-based standards] (ynl): Likewise.
35113 [non-C99-based standards] (isnanl): Likewise.
35114 [non-C99-based standards] (acoshl): Likewise.
35115 [non-C99-based standards] (asinhl): Likewise.
35116 [non-C99-based standards] (atanhl): Likewise.
35117 [non-C99-based standards] (cbrtl): Likewise.
35118 [non-C99-based standards] (expm1l): Likewise.
35119 [non-C99-based standards] (ilogbl): Likewise.
35120 [non-C99-based standards] (log1pl): Likewise.
35121 [non-C99-based standards] (logbl): Likewise.
35122 [non-C99-based standards] (nextafterl): Likewise.
35123 [non-C99-based standards] (remainderl): Likewise.
35124 [non-C99-based standards] (rintl): Likewise.
35125 [non-C99-based standards] (scalbl): Likewise.
35126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35127 [non-C99-based standards] (FP_*): Do not allow.
35128 [C99-based standards] (FP_*): Change to
35129 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35130 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35132 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35133 (SIG_ERR): Likewise.
35134 [X/Open-based standards] (SIG_HOLD): Likewise.
35135 (SIG_IGN): Likewise.
35136 (SIGABRT): Use macro-int-constant. Specify type. Require
35138 (SIGFPE): Likewise.
35139 (SIGILL): Likewise.
35140 (SIGINT): Likewise.
35141 (SIGSEGV): Likewise.
35142 (SIGTER): Likewise.
35143 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35144 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35145 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35146 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35147 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35148 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35149 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35150 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35151 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35152 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35153 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35154 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35155 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35156 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35157 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35158 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35159 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35160 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35161 [X/Open-based standards] (SIGTRAP): Likewise.
35162 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35166 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35169 2012-05-08 Ian Wienand <ianw@vmware.com>
35172 * time/tzset.c (__tzset_parse_tz): Update default rules for
35173 daylight time changes in the Energy Policy Act of 2005.
35175 2012-05-09 Andreas Jaeger <aj@suse.de>
35178 * elf/ldconfig.c (parse_conf): Change string to make clear that
35179 ldconfig only issued a warning if ld.so.conf does not exist.
35181 2012-05-08 David S. Miller <davem@davemloft.net>
35183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35184 movxtod instead of popping the value on the stack.
35186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35188 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35190 * config.h.in: Add HAVE_ARM_PCS_VFP.
35192 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35195 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35196 checking but the checks are disabled for any reason.
35198 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35200 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35201 and ELF64_R_TYPE with ELFW(R_TYPE).
35203 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35205 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35206 (ulimit): Likewise.
35208 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35209 (settimeofday): Likewise.
35211 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35213 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35214 a struct th_u2 inside the union, and move tu_block/tu_code into
35215 a new th_u3 union of tu_block/tu_code inside of that. Move
35216 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35217 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35218 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35219 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35220 (th_stuff): Change to th_u1.tu_stuff.
35222 (th_msg): Change to th_u1.th_u2.tu_data.
35224 2012-05-07 David S. Miller <davem@davemloft.net>
35226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35229 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35230 (SETUP_PIC_REG): Use it.
35231 (SETUP_PIC_REG_LEAF): Use it.
35233 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35239 (EXPL_FINITE): Likewise.
35240 (FLDLOG): Likewise.
35241 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35242 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35244 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35246 (EXPL_FINITE): Likewise.
35247 (FLDLOG): Likewise.
35248 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35249 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35251 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35252 test of -max_value argument for long double.
35253 * sysdeps/i386/fpu/libm-test-ulps: Update.
35254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35256 2012-05-06 David S. Miller <davem@davemloft.net>
35258 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35259 quad soft-float symbols whose references which are compiler
35261 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35263 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35267 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35269 (EXPL_FINITE): Likewise.
35270 (FLDLOG): Likewise.
35273 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35274 Adjust comments for base varying.
35275 (__expl_finite): Change alias to EXPL_FINITE.
35276 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35278 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35279 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35280 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35281 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35284 (EXPL_FINITE): Likewise.
35285 (FLDLOG): Likewise.
35288 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35289 Adjust comments for base varying.
35290 (__expl_finite): Change alias to EXPL_FINITE.
35291 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35296 * math/libm-test.inc (check_float_internal): Correct ulp
35297 calculation for subnormal expected results.
35299 2012-05-06 Andreas Jaeger <aj@suse.de>
35301 * Makeconfig (+math-flags): New, set to -frounding-math.
35302 (+cflags): Add +math-flags so that all of glibc gets compiled with
35305 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35307 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35309 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35315 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35316 (__ieee754_expl): Allow for and saturate large arguments.
35317 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35318 (u_threshold): Likewise.
35319 (__exp): Call __ieee754_exp before checking for overflow and
35321 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35322 (u_threshold): Likewise.
35323 (__expf): Call __ieee754_expf before checking for overflow and
35325 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35326 (u_threshold): Likewise.
35327 (__expl): Call __ieee754_expl before checking for overflow and
35329 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35330 (__ieee754_expl): Allow for and saturate large arguments.
35331 * math/libm-test.inc (exp_test): Add another test. Do not allow
35332 missing overflow exception on overflow.
35333 (expm1_test): Do not allow missing overflow exception on overflow.
35335 * sysdeps/i386/fpu/e_expl.c: Move to ...
35336 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35337 rather than using inline asm.
35338 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35339 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35340 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35342 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35345 (signal): Likewise.
35349 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35351 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35352 sysdeps/unix/common/syscalls.list.
35353 (fchmod): Likewise.
35354 (fchown): Likewise.
35355 (ftruncate): Likewise.
35356 (getrusage): Likewise.
35357 (gettimeofday): Likewise.
35358 (setpgid): Likewise.
35359 (setregid): Likewise.
35360 (setreuid): Likewise.
35361 (sigaction): Likewise.
35362 (truncate): Likewise.
35363 (vhangup): Likewise.
35364 * sysdeps/unix/common/syscalls.list: Remove file.
35365 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35366 * sysdeps/unix/sysv/linux/Implies: Likewise.
35368 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35370 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35371 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35372 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35376 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35379 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35382 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35385 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35388 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35391 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35394 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35398 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35402 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35405 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35409 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35413 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35415 * sysdeps/unix/common/bits/dirent.h: Remove file.
35416 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35418 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35419 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35420 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35421 * sysdeps/unix/bsd/isatty.c: Likewise.
35422 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35423 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35424 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35426 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35430 long double comparison inaccuracies.
35431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35432 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35434 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35436 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35437 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35439 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35442 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35443 nonzero digits before rounding a hex value.
35444 * stdlib/tst-strtod.c (tests): Add another test.
35446 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35448 * sysdeps/s390/fpu/libm-test-ulps: Update.
35450 2012-05-03 Andreas Jaeger <aj@suse.de>
35452 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35453 does not get optimized out.
35454 (malloc_opt_barrier): New.
35456 2012-05-03 Andreas Jaeger <aj@suse.de>
35457 Roland McGrath <roland@hack.frob.com>
35459 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35460 intermediate file deletion.
35461 (generated): Add .symlist files.
35463 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35466 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35467 Redirect under this condition.
35468 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35469 [__USE_GNU] (__dprintf_chk): Not under this condition.
35470 [__USE_GNU] (__vdprintf_chk): Likewise.
35471 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35472 under this condition.
35473 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35474 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35475 [__USE_XOPEN2K8] (vdprintf): Likewise.
35476 [__USE_GNU] (__dprintf_chk): Not under this condition.
35477 [__USE_GNU] (__vdprintf_chk): Likewise.
35478 [__USE_GNU] (dprintf): Likewise.
35479 [__USE_GNU] (vdprintf): Likewise.
35481 2012-05-03 Roland McGrath <roland@hack.frob.com>
35483 * elf/Makefile (common-generated): Set this instead of generated for
35484 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35485 $(all-built-dso)-derived lists.
35487 2012-05-03 Andreas Jaeger <aj@suse.de>
35489 * sysdeps/i386/fpu/libm-test-ulps: Update.
35492 * FAQ.in: Likewise.
35493 * scripts/gen-FAQ.pl: Likewise.
35494 * manual/install.texi (Installation): Point to online location of
35496 * Makefile (files-for-dist): Remove FAQ.
35499 2012-05-02 Allan McRae <allan@archlinux.org>
35501 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35502 (LDFLAGS-reldepmod5.so): Likewise.
35503 (LDFLAGS-reldep6mod1.so): Likewise.
35504 (LDFLAGS-reldep6mod4.so): Likewise.
35505 (LDFLAGS-reldep8mod3.so): Likewise.
35506 (LDFLAGS-unload4mod1.so): Likewise.
35507 (LDFLAGS-unload4mod2.so): Likewise.
35508 (LDFLAGS-tst-initorder): Likewise.
35509 (LDFLAGS-tst-initordera2.so): Likewise.
35510 (LDFLAGS-tst-initordera3.so): Likewise.
35511 (LDFLAGS-tst-initordera4.so): Likewise.
35512 (LDFLAGS-tst-initorderb2.so): Likewise.
35513 (LDFLAGS-noload): Likewise.
35514 (LDFLAGS-next): Likewise.
35515 (LDFLAGS-order2mod1.so): Likewise.
35516 (LDFLAGS-order2mod2.so): Likewise.
35517 (LDFLAGS-tst-initorder2): Likewise.
35518 (LDFLAGS-tst-initorder2a.so): Likewise.
35519 (LDFLAGS-tst-initorder2b.so): Likewise.
35520 (LDFLAGS-tst-initorder2c.so): Likewise.
35521 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35523 2012-05-02 David S. Miller <davem@davemloft.net>
35525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35527 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35530 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35532 2012-05-02 Andreas Jaeger <aj@suse.de>
35534 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35535 since we manipulate rounding mode.
35536 (CPPFLAGS-test-idouble.c): Likewise.
35537 (CPPFLAGS-test-ifloat.c): Likewise.
35538 (CFLAGS-test-ldouble.c): Likewise.
35539 (CFLAGS-test-double.c): Likewise.
35540 (CFLAGS-test-float.c): Likewise.
35541 (CFLAGS-test-misc.c): Likewise.
35542 (CFLAGS-test-test-fenv.c): Likewise.
35544 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35548 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35549 comparisons to determine direction to adjust input.
35551 2012-05-01 Roland McGrath <roland@hack.frob.com>
35553 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35554 output to the target.
35556 * scripts/localplt.awk: New file.
35557 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35558 (check-localplt-CFLAGS): Variable removed.
35559 ($(all-built-dso:=.jmprel)): New static pattern rule.
35560 (generated): Add those targets.
35561 (localplt-built-dso): New variable.
35562 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35564 * elf/check-localplt.c: File removed.
35566 * scripts/check-execstack.awk: New file.
35567 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35568 (check-execstack-CFLAGS): Variable removed.
35569 ($(objpfx)check-execstack.h): Target removed.
35570 ($(objpfx)execstack-default): New target.
35571 (generated): Add that instead of check-execstack.h.
35572 ($(all-built-dso:=.phdr)): New static pattern rule.
35573 (generated): Add those targets.
35574 * elf/check-execstack.c: File removed.
35576 * scripts/check-textrel.awk: New file.
35577 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35578 (check-textrel-CFLAGS): Variable removed.
35579 (all-built-dso): Use := to define.o
35580 ($(all-built-dso:=.dyn)): New static pattern rule.
35581 (generated): Add those targets.
35582 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35583 * config.make.in (READELF): New substituted variable.
35584 * elf/check-textrel.c: File removed.
35586 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35588 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35590 * conform/data/ctype.h-data [C99-based standards] (isblank):
35592 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35593 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35594 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35595 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35596 Specify type. Require positive value.
35597 (EILSEQ): Likewise.
35598 (ERANGE): Likewise.
35599 [ISO || POSIX] (EILSEQ): Do not expect.
35600 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35601 Specify type. Require positive value.
35602 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35603 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35604 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35605 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35606 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35607 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35608 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35609 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35610 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35611 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35612 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35613 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35614 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35615 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35617 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35618 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35619 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35620 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35621 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35622 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35623 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35624 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35625 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35626 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35627 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35628 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35629 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35630 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35631 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35632 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35634 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35635 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35636 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35637 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35638 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35639 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35640 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35641 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35642 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35643 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35644 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35645 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35646 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35647 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35648 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35649 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35650 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35651 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35652 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35653 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35654 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35655 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35656 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35657 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35658 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35659 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35660 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35661 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35662 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35663 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35664 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35665 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35666 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35667 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35668 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35669 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35670 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35672 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35673 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35674 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35675 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35676 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35677 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35678 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35680 (FLT_ROUNDS): Expect as macro, not constant.
35681 (FLT_MANT_DIG): Use macro-int-constant.
35682 (DBL_MANT_DIG): Likewise.
35683 (LDBL_MANT_DIG): Likewise.
35684 (FLT_DIG): Likewise.
35685 (DBL_DIG): Likewise.
35686 (LDBL_DIG): Likewise.
35687 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35688 (DBL_MIN_EXP): Likewise.
35689 (LDBL_MIN_EXP): Likewise.
35690 (FLT_MAX_EXP): Use macro-int-constant.
35691 (DBL_MAX_EXP): Likewise.
35692 (LDBL_MAX_EXP): Likewise.
35693 (FLT_MAX_10_EXP): Likewise.
35694 (DBL_MAX_10_EXP): Likewise.
35695 (LDBL_MAX_10_EXP): Likewise.
35696 (FLT_MAX): Use macro-constant.
35697 (DBL_MAX): Likewise.
35698 (LDBL_MAX): Likewise.
35699 (FLT_EPSILON): Use macro-constant. Give upper bound.
35700 (DBL_EPSILON): Likewise.
35701 (LDBL_EPSILON): Likewise.
35702 (FLT_MIN): Likewise.
35703 (DBL_MIN): Likewise.
35704 (LDBL_MIN): Likewise.
35705 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35706 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35707 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35708 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35709 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35710 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35711 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35712 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35713 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35714 [ISO11] (FLT_TRUE_MIN): Likewise.
35715 [ISO11] (LDBL_TRUE_MIN): Likewise.
35716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35717 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35718 (SCHAR_MIN): Use macro-int-constant. Specify type.
35719 (SCHAR_MAX): Likewise.
35720 (UCHAR_MAX): Likewise.
35721 (CHAR_MIN): Likewise.
35722 (CHAR_MAX): Likewise.
35723 (MB_LEN_MAX): Use macro-int-constant.
35724 (SHRT_MIN): Use macro-int-constant. Specify type.
35725 (SHRT_MAX): Likewise.
35726 (USHRT_MAX): Likewise.
35727 (INT_MAX): Likewise.
35728 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35730 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35732 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35734 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35735 bound negative. Suffix upper bound with "L".
35736 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35738 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35740 [C99-based standards] (LLONG_MAX): Likewise.
35741 [C99-based standards] (ULLONG_MAX): Likewise.
35742 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35744 [ISO11] (max_align_t): Require type.
35745 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35747 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35748 from $CFLAGS, without defining away __attribute__ calls.
35749 (checknamespace): Use $CFLAGS_namespace.
35751 * conform/conformtest.pl (@keywords): Only include C99 keywords
35752 for standards based on C99 or C11.
35754 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35756 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35759 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35760 usability of symbols in #if.
35762 * conform/conformtest.pl: If macro or constant types start
35763 "promoted:", expect the symbol to be of the following type
35764 promoted by the integer promotions.
35766 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35767 in one place. Also handle "macro-constant".
35769 * conform/conformtest.pl: Only accept expected macro values with
35770 "==". Parse all "macro" lines in one place.
35771 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35773 * conform/conformtest.pl: Handle braced types on "constant" lines
35774 instead of handling "typed-constant".
35775 * conform/data/signal.h-data: Use "constant" instead of
35778 * conform/conformtest.pl: Handle "optional-" at start of lines in
35779 one place rather than duplicating several cases. Handle each
35780 format of "macro" line with initial "optional-".
35782 * conform/conformtest.pl: Only accept expected constant or
35783 optional-constant values with "==". Parse all "constant" lines in
35784 one place. Parse all "optional-constant" lines in one place.
35785 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35786 * conform/data/fmtmsg.h-data: Likewise.
35787 * conform/data/netinet/in.h-data: Likewise.
35788 * conform/data/tar.h-data: Likewise.
35789 * conform/data/limits.h-data: Use "==" form on "constant" and
35790 "optional-constant" lines.
35792 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35793 Use -std=c99 for XOPEN2K.
35794 (@knownproblems): Remove.
35795 (newtoken): Don't check %isknown.
35797 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35798 Do not expect macro.
35799 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35800 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35801 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35802 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35803 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35804 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35805 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35806 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35807 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35808 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35809 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35810 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35811 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35812 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35824 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35825 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35829 [XPG3] (acosh): Likewise.
35830 [XPG3] (asinh): Likewise.
35831 [XPG3] (atanh): Likewise.
35832 [XPG3] (cbrt): Likewise.
35833 [XPG3] (expm1): Likewise.
35834 [XPG3] (ilogb): Likewise.
35835 [XPG3] (log1p): Likewise.
35836 [XPG3] (logb): Likewise.
35837 [XPG3] (nextafter): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35840 [XPG3] (remainder): Likewise.
35841 [XPG3] (rint): Likewise.
35842 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35843 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35844 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35845 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35846 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35847 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35848 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35849 [UNIX98 || XOPEN2K] (scalb): Expect.
35850 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35851 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35853 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35854 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35862 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35863 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35864 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35896 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35914 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35922 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35925 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35926 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35988 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35989 _XOPEN_SOURCE_EXTENDED for XPG4.
35991 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35993 * Makeconfig (localtime): Remove variable.
35994 (inst_localtime-file): Likewise.
35996 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
35998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36017 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36021 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36022 comparisons to determine direction to adjust input.
36023 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36024 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36025 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36029 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36034 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36036 * math/libm-test.inc (nexttoward_test): Add more tests.
36038 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36041 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36042 in version GLIBC_2.1, not GLIBC_2.0.
36043 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36046 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36049 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36051 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36052 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36053 * math/libm-test.inc (acos_test): Add more tests.
36054 (asin_test): Likewise.
36055 * sysdeps/i386/fpu/libm-test-ulps: Update.
36056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36059 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36061 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36062 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36063 * math/libm-test.inc (acos_test_tonearest): New function.
36064 (acos_test_towardzero): Likewise.
36065 (acos_test_downward): Likewise.
36066 (acos_test_upward): Likewise.
36067 (asin_test_tonearest): Likewise.
36068 (asin_test_towardzero): Likewise.
36069 (asin_test_downward): Likewise.
36070 (asin_test_upward): Likewise.
36071 (main): Call the new functions.
36072 * sysdeps/i386/fpu/libm-test-ulps: Update.
36073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36077 * math/e_exp10.c: Include <float.h>.
36078 (__ieee754_exp10): Handle underflow here rather than multiplying
36079 large negative argument by M_LN10.
36080 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36082 * math/e_exp10l.c: Include <float.h>.
36083 (__ieee754_exp10l): Handle underflow here rather than multiplying
36084 large negative argument by M_LN10l.
36085 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36086 spurious overflow exception on underflow.
36088 2012-04-29 Marek Polacek <polacek@redhat.com>
36090 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36091 (__fortify_function): New macro.
36092 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36093 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36094 __extern_always_inline.
36095 * libio/bits/stdio2.h: Likewise.
36096 * libio/bits/stdio.h: Likewise.
36097 * string/string.h: Likewise.
36098 * string/bits/string3.h: Likewise.
36099 * include/stdio.h: Likewise.
36100 * stdlib/bits/stdlib.h: Likewise.
36101 * stdlib/stdlib.h: Likewise.
36102 * rt/bits/mqueue2.h: Likewise.
36103 * rt/mqueue.h: Likewise.
36104 * posix/bits/unistd.h: Likewise.
36105 * posix/unistd.h: Likewise.
36106 * io/bits/poll2.h: Likewise.
36107 * io/bits/fcntl2.h: Likewise.
36108 * io/fcntl.h: Likewise.
36109 * io/sys/poll.h: Likewise.
36110 * misc/bits/syslog.h: Likewise.
36111 * misc/bits/syslog-ldbl.h: Likewise.
36112 * misc/sys/syslog.h: Likewise.
36113 * socket/bits/socket2.h: Likewise.
36114 * socket/sys/socket.h: Likewise.
36115 * debug/tst-chk1.c: Likewise.
36116 * wcsmbs/bits/wchar2.h: Likewise.
36117 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36118 * wcsmbs/wchar.h: Likewise.
36120 2012-04-29 Andreas Jaeger <aj@suse.de>
36122 * Makerules (tests): Remove enable-check-abi protection.
36123 (check-abi-warn): Remove.
36124 (check-abi-%): Remove check-abi-warn usage.
36126 * configure.in: Remove check-abi configure option.
36127 * configure: Regenerated.
36128 * config.make.in (enable-check-abi): Remove.
36130 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36133 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36134 double functions to double *_finite functions.
36137 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36138 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36140 * stdio-common/Makefile (tests): Add tst-sprintf3.
36141 * stdio-common/tst-sprintf3.c: New file.
36143 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36144 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36146 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36148 * conform/conformtest.pl: Remove duplicate typed-constant
36151 2012-04-28 David S. Miller <davem@davemloft.net>
36153 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36154 (check-abi-%): Remove AWK script prerequisite and explicit
36156 (check-abi): Rewrite to just diff the symlist with the abilist.
36157 (config-tls, config-abi-config): Delete, no longer used.
36158 (update-abi-%): Remove AWK script and explicit abilist directory.
36159 (update-abi): Rewrite to simply compare and conditionally copy the
36160 symlist and the sysdep abilist file. Remove update-abi-config
36162 * abilist/ld.abilist: Remove.
36163 * abilist/libBrokenLocale.abilist: Remove.
36164 * abilist/libanl.abilist: Remove.
36165 * abilist/libcrypt.abilist: Remove.
36166 * abilist/libdl.abilist: Remove.
36167 * abilist/librt.abilist: Remove.
36168 * abilist/libthread_db.abilist: Remove.
36169 * abilist/libutil.abilist: Remove.
36170 * scripts/extract-abilist.awk: Remove.
36171 * scripts/merge-abilist.awk: Remove.
36172 * sysdeps/generic/libcidn.abilist: New file.
36173 * sysdeps/generic/libnss_compat.abilist: New file.
36174 * sysdeps/generic/libnss_db.abilist: New file.
36175 * sysdeps/generic/libnss_dns.abilist: New file.
36176 * sysdeps/generic/libnss_files.abilist: New file.
36177 * sysdeps/generic/libnss_hesiod.abilist: New file.
36178 * sysdeps/generic/libnss_nis.abilist: New file.
36179 * sysdeps/generic/libnss_nisplus.abilist: New file.
36180 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36181 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36182 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36184 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36185 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36186 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36187 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36188 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36189 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36190 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36191 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36192 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36194 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36195 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36196 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36197 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36199 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36200 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36201 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36202 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36203 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36204 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36206 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36207 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36208 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36210 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36313 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36314 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36315 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36317 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36318 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36319 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36320 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36321 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36322 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36323 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36324 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36325 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36326 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36378 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36380 * conform/conformtest.pl: Fix typo in handling typed-constant from
36383 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36385 * README: Cut down references to pre-2.6 Linux kernels and
36386 Linuxthreads. Update lists of configurations in libc and ports
36387 and sort alphabetically. Say "or newer" with Linux kernel version
36390 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36392 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36395 * math/libm-test.inc (logb_test_downward): New test to expose
36396 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36399 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36402 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36404 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36405 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36407 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36409 * sysdeps/unix/i386/brk.S: Remove file.
36410 * sysdeps/unix/i386/dl-brk.S: Likewise.
36411 * sysdeps/unix/i386/pipe.S: Likewise.
36412 * sysdeps/unix/i386/sigreturn.S: Likewise.
36413 * sysdeps/unix/i386/syscall.S: Likewise.
36414 * sysdeps/unix/i386/vfork.S: Likewise.
36415 * sysdeps/unix/i386/wait.S: Likewise.
36417 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36418 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36420 * configure.in (arm*-none*): Do not allow without
36421 --enable-hacker-mode.
36422 (netbsd*): Remove case setting base_os.
36423 (386bsd*): Likewise.
36424 (freebsd*): Likewise.
36427 (sunos*): Likewise.
36428 (ultrix*): Likewise.
36429 (newsos*): Likewise.
36430 (dynix*): Likewise.
36436 (minix*): Likewise.
36437 (irix4*): Likewise.
36438 (irix6*): Likewise.
36439 (solaris[2-9]*): Likewise.
36441 * configure: Regenerated.
36443 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36446 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36447 overflow or cancellation in calculating denominator.
36448 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36449 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36450 down expression to avoid unexpected rounding in newer GCCs.
36451 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36453 2012-04-26 David S. Miller <davem@davemloft.net>
36455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36456 long-double compat symbols.
36457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36471 2012-04-25 David S. Miller <davem@davemloft.net>
36473 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36474 HWCAP_* values only after the memory barriers have been defined.
36475 (atomic_full_barrier): Define.
36476 (atomic_read_barrier): Define.
36477 (atomic_write_barrier): Define.
36479 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36481 * shlib-versions: Add libgcc_s version information.
36482 * sysdeps/generic/libgcc_s.h: Remove.
36483 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36485 * sysdeps/gnu/unwind-resume.c: Likewise.
36486 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36488 2012-04-25 David S. Miller <davem@davemloft.net>
36490 * sysdeps/unix/sparc/brk.S: Delete.
36491 * sysdeps/unix/sparc/dl-brk.S: Delete.
36492 * sysdeps/unix/sparc/pipe.S: Delete.
36493 * sysdeps/unix/sparc/sysdep.S: Delete.
36494 * sysdeps/unix/sparc/sysdep.h: Delete.
36495 * sysdeps/unix/sparc/vfork.S: Delete.
36496 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36497 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36498 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36499 (ret_ERRVAL, r0, r1, MOVE): Define.
36500 (JUMPTARGET): Remove.
36501 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36502 sysdeps/unix/sparc/sysdep.h
36503 (ENTRY, END): Remove.
36504 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36506 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36508 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36509 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36512 * timezone/README: Update upstream location and email address for
36514 * timezone/zdump.c: Update from tzcode 2012b.
36515 * timezone/zic.c: Likewise.
36517 * configure.in (libc_cv_as_needed): Remove test.
36518 * configure: Regenerated.
36519 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36520 conditional definition.
36521 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36522 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36523 * config.make.in (have-as-needed): Remove variable.
36525 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36526 Paul Pluzhnikov <ppluzhnikov@google.com>
36528 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36531 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36533 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36534 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36535 * sysdeps/sh/strlen.S: Likewise.
36537 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36539 * sysdeps/unix/fork.S: Remove file.
36540 * sysdeps/unix/i386/fork.S: Likewise.
36541 * sysdeps/unix/sparc/fork.S: Likewise.
36543 * sysdeps/unix/system.c: Remove file.
36544 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36546 * sysdeps/unix/getegid.S: Remove file.
36547 * sysdeps/unix/geteuid.S: Likewise.
36549 2012-04-24 Roland McGrath <roland@hack.frob.com>
36551 * scripts/check-localplt.awk: New file.
36552 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36554 * scripts/data/localplt-generic.data: Add a comment.
36556 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36557 NODE when __dir_mkfile failed.
36558 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36559 Reported by Ludovic Courtès <ludo@gnu.org>.
36561 2012-04-24 Andreas Jaeger <aj@suse.de>
36563 * Makerules (common-clean): Also remove gen-as-const-headers
36566 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36568 * Makerules (native-compile): Do not change working directory for
36569 build. Use $(OUTPUT_OPTION) in command.
36570 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36572 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36575 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36576 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36577 * math/libm-test.inc (floor_test): Add more tests.
36578 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36580 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36582 * sysdeps/unix/getdents.c: Remove file.
36583 * sysdeps/unix/sysv/getdents.c: Likewise.
36584 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36586 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36587 sysdeps/unix/mman/syscalls.list.
36589 (mprotect): Likewise.
36591 (munmap): Likewise.
36592 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36593 * sysdeps/unix/mman/syscalls.list: Remove.
36594 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36596 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36597 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36598 * configure: Regenerated.
36599 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36600 $(libgcc_s_suffix).
36601 * config.make.in (libgcc_s_suffix): Remove variable.
36603 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36605 * sysdeps/unix/sysv/gethostname.c: Move to ...
36606 * sysdeps/posix/gethostname.c: ... here.
36608 * sysdeps/unix/execve.S: Remove file.
36610 * sysdeps/unix/_exit.S: Remove file.
36612 2012-04-23 Andreas Jaeger <aj@suse.de>
36615 * manual/Makefile: Remove make dist support, there's no
36616 need for a stand-alone documentation tar ball.
36617 (TEXI2DVI): Define always, it's not in Makeconfig.
36620 (edition): Removed.
36621 (glibc-doc-$(edition).tar): Removed
36625 (ETAGS): Remove, it's in Makeconfig.
36626 (move-if-change): Remove, it's in Makeconfig.
36628 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36631 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36632 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36633 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36634 (strtod_l, strtof_l, strtold_l): Remove __wur.
36635 It is not necessarily an error to ignore strtol's return value.
36636 One can reliably look at the stored endptr to decide whether
36637 the number had valid syntax.
36639 2012-04-21 Andreas Jaeger <aj@suse.de>
36642 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36644 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36646 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36647 * sysdeps/unix/sysv/Versions: Remove file.
36649 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36654 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36657 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36658 version from __vm86.
36660 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36662 * sysdeps/unix/common/lxstat.c: Remove file.
36663 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36665 * sysdeps/unix/sysv/Makefile: Remove file.
36667 * sysdeps/unix/sysv/direct.h: Remove file.
36669 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36670 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36671 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36672 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36673 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36674 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36675 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36677 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36679 * sysdeps/unix/xmknod.c: Remove file.
36680 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36682 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36684 * sysdeps/unix/sysv/i386/time.S: Remove file.
36686 * sysdeps/unix/fxstat.c: Remove file.
36687 * sysdeps/unix/xstat.c: Likewise.
36688 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36690 * sysdeps/unix/sysv/sigaction.c: Remove file.
36692 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36693 (sysdep_headers): Remove variable.
36694 [termio.h not in sysdep_headers] (generated): Likewise.
36695 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36696 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36697 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36698 * sysdeps/unix/sysv/tcflow.c: Likewise.
36699 * sysdeps/unix/sysv/tcflush.c: Likewise.
36700 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36701 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36702 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36703 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36704 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36706 * sysdeps/unix/siglist.c: Remove file.
36708 * sysdeps/unix/getppid.S: Remove file.
36710 * sysdeps/unix/mkdir.c: Remove file.
36711 * sysdeps/unix/rmdir.c: Likewise.
36713 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36715 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36717 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36718 errlist-compat value.
36720 2012-04-18 David S. Miller <davem@davemloft.net>
36722 * sysdeps/generic/memcopy.h (reg_char): Delete.
36723 * debug/strcat_chk.c: Use char, not reg_char.
36724 * debug/strcpy_chk.c: Likewise.
36725 * debug/strncat_chk.c: Likewise.
36726 * debug/strncpy_chk.c: Likewise.
36727 * string/memchr.c: Likewise.
36728 * string/memrchr.c: Likewise.
36729 * string/rawmemchr.c: Likewise.
36730 * string/strcat.c: Likewise.
36731 * string/strchr.c: Likewise.
36732 * string/strchrnul.c: Likewise.
36733 * string/strcmp.c: Likewise.
36734 * string/strcpy.c: Likewise.
36735 * string/strncat.c: Likewise.
36736 * string/strncmp.c: Likewise.
36737 * string/strncpy.c: Likewise.
36739 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36741 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36742 __builtin_memcopy is called when src and dest ranges are known to not
36745 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36747 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36748 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36749 fwd_align_merge macro call.
36750 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36751 bwd_align_merge macro call.
36752 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36754 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36756 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36757 bwd_align_merge macros.
36758 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36759 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36760 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36762 2012-04-18 David S. Miller <davem@davemloft.net>
36764 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36766 2012-04-18 Andreas Jaeger <aj@suse.de>
36769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36770 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36771 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36773 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36774 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36775 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36777 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36778 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36779 Adjust for changed ldbl-128 files.
36781 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36782 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36783 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36785 2012-04-17 David S. Miller <davem@davemloft.net>
36787 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36789 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36791 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36792 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36793 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36794 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36795 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36796 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36798 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36801 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36802 * math/libm-test.inc: Add ilogb errno and exception tests.
36803 * math/w_ilogb.c: New file: ilogb wrapper.
36804 * math/w_ilogbf.c: New file: ilogbf wrapper.
36805 * math/w_ilogbl.c: New file: ilogbl wrapper.
36806 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36807 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36808 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36809 exception being thrown with 0.0 as argument.
36810 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36811 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36812 exception being thrown with 0.0 as argument.
36813 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36814 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36815 exception being thrown with 0.0 as argument.
36816 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36817 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36818 exception being thrown with 0.0 as argument.
36819 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36820 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36821 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36822 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36823 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36824 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36825 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36826 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36827 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36829 2012-04-17 Petr Baudis <pasky@ucw.cz>
36831 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36834 2012-04-16 Marek Polacek <polacek@redhat.com>
36836 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36838 2012-04-16 Marek Polacek <polacek@redhat.com>
36840 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36841 operands of fdivp instruction.
36843 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36845 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36846 * elf/tst-auditmod3b.c: Likewise.
36847 * elf/tst-auditmod4b.c: Likewise.
36848 * elf/tst-auditmod5b.c: Likewise.
36849 * elf/tst-auditmod6b.c: Likewise.
36850 * elf/tst-auditmod6c.c: Likewise.
36851 * elf/tst-auditmod7b.c: Likewise.
36852 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36853 * sysdeps/x86_64/preconfigure.in: Likewise.
36854 * sysdeps/x86_64/preconfigure: Regenerated.
36856 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36858 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36861 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36864 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36866 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36869 * locale/iso-639.def: Fix gl language name. Spotted by
36872 2012-04-12 Roland McGrath <roland@hack.frob.com>
36875 * libio/libio.h (__io_write_fn): Update comment.
36877 2012-04-12 Petr Baudis <pasky@ucw.cz>
36880 * stdio.texi (Hook Functions): The user provided writer function
36881 is not allowed to return -1.
36883 2012-04-11 David S. Miller <davem@davemloft.net>
36885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36887 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36889 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36890 Add a leading slash to rtkaio.
36892 2012-04-11 Jim Meyering <meyering@redhat.com>
36895 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36896 It is not necessarily an error to ignore fwrite's return
36897 value. One can reliably use ferror to test for errors after
36900 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36902 * bits/types.h (__snseconds_t): New type.
36903 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36905 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36907 (__SNSECONDS_T_TYPE): Likewise.
36908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36909 (__SNSECONDS_T_TYPE): Likewise.
36910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36911 (__SNSECONDS_T_TYPE): Likewise.
36913 2012-04-10 Andreas Jaeger <aj@suse.de>
36916 * manual/time.texi (Processor Time): Return type of times is
36917 elapsed real time since an arbitrary point in the past.
36918 (CPU Time): Move CLK_TCK from here...
36919 (Processor Time): ...to here. Correct description.
36920 * manual/conf.texi (Constants for Sysconf): Correct description of
36923 2012-04-10 David S. Miller <davem@davemloft.net>
36926 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36927 where the is a gap between DT_REL(A) and DT_JMPREL.
36929 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36931 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36932 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36933 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36935 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36937 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36938 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36939 (dl_main): Handle --inhibit-cache.
36940 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36942 * elf/dl-load.c (_dl_map_object): Use it.
36943 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36945 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36948 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36949 (__ieee754_powl): Saturate large exponents rather than testing for
36950 overflow of y*log2(x).
36951 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36952 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36956 * math/s_ctan.c: Include <float.h>.
36957 (__ctan): Avoid internal overflow or cancellation in calculating
36959 * math/s_ctanf.c: Likewise.
36960 * math/s_ctanl.c: Likewise.
36961 * math/s_ctanh.c: Likewise.
36962 * math/s_ctanhf.c: Likewise.
36963 * math/s_ctanhl.c: Likewise.
36964 * math/libm-test.inc (ctan_test): Add more tests.
36965 (ctanh_test): Likewise.
36966 * sysdeps/i386/fpu/libm-test-ulps: Update.
36967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36969 2012-04-09 Andreas Jaeger <aj@suse.de>
36972 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36973 is an optional BSD extension.
36976 * manual/stdio.texi (Opening Streams): Document additional fopen
36979 2012-04-09 Roland McGrath <roland@hack.frob.com>
36981 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36982 %eax without telling the compiler.
36984 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
36987 * manual/install.texi: Use sourceware.org.
36989 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36992 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36993 (__ieee754_pow): Generate overflow and underflow using huge*huge
36994 and tiny*tiny rather than just returning constant infinity or zero
36995 for large exponents.
36996 * math/libm-test.inc (pow_test): Require overflow exceptions for
36997 applicable cases of large exponents.
37000 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37001 (__ieee754_pow): Use iterative multiplication algorithm only for
37002 integer exponents with absolute value below 1024. Check for odd
37003 integer exponents when using algorithm for real exponents.
37004 * math/libm-test.inc (pow_test): Add more tests.
37005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37007 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37010 * math/libm-test.inc (exp_test): Do not allow overflow exception
37013 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37016 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37017 instead of __kernel_standard_f.
37019 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37021 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37022 * sysdeps/x86_64/memset_chk.S: Likewise.
37024 2012-04-08 Andreas Jaeger <aj@suse.de>
37027 * manual/startup.texi (Environment Access): Describe return value
37028 for putenv and setenv.
37031 * manual/filesys.texi (Directory Entries): Add description for
37035 * manual/filesys.texi (Directory Entries): Clarify that it's file
37036 system not operating system in the description of DT_UNKNOWN.
37039 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37041 2012-04-08 Stephen Compall <s11@member.fsf.org>
37044 * manual/llio.texi (Opening and Closing Files): Add cross
37045 reference to explain mode argument.
37047 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37049 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37050 * sysdeps/x86_64/memset_chk.S: Likewise.
37052 2012-04-07 David S. Miller <davem@davemloft.net>
37054 * elf/elf.h (R_SPARC_WDISP10): Define.
37055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37057 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37058 R_SPARC_SIZE64 and R_SPARC_H34.
37060 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37062 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37063 conditions and remove no longer applicable assertion.
37065 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37067 * bits/byteswap.h: Include <features.h>.
37068 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37069 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37071 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37073 * bits/byteswap.h (__bswap_16): Removed.
37074 Include <bits/byteswap-16.h> to get __bswap_16.
37075 * sysdeps/i386/bits/byteswap.h: Likewise.
37076 * sysdeps/s390/bits/byteswap.h: Likewise.
37077 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37078 * bits/byteswap-16.h: New file.
37079 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37080 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37081 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37082 * string/Makefile (headers): Add bits/byteswap-16.h.
37084 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37087 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37089 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37090 * nss/tst-nss-static.c: New.
37092 2012-04-06 Robert Millan <rmh@gnu.org>
37095 * manual/llio.texi (File Position Primitive): lseek
37096 refers to WHENCE when it really means OFFSET.
37098 2012-04-06 Andreas Jaeger <aj@suse.de>
37100 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37101 strncmp declarations.
37103 * abilist/libc.abilist: Add __poll and __ppoll.
37105 2012-04-05 David S. Miller <davem@davemloft.net>
37107 * scripts/check-local-headers.sh: Accept a host triplet in the
37108 path matched by the exclude regexp.
37110 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37112 * sysdeps/powerpc/powerpc32/dl-machine.h
37113 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37114 * sysdeps/s390/s390-32/dl-machine.h
37115 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37116 * sysdeps/sparc/sparc32/dl-machine.h
37117 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37118 * sysdeps/sparc/sparc64/dl-machine.h
37119 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37121 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37123 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37124 undefined symbol errors.
37126 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37129 2012-04-05 Michael Matz <matz@suse.de>
37132 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37134 2012-04-05 Andreas Jaeger <aj@suse.de>
37137 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37140 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37142 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37143 which ROUND is no valid rounding mode.
37145 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37147 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37149 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37151 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37153 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37154 an exception using FPU order intentionally.
37156 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37158 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37159 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37160 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37161 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37163 2012-04-05 Simon Josefsson <simon@josefsson.org>
37166 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37167 EINVAL when BUFLEN is too smal.
37169 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37172 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37173 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37175 2012-04-03 Andreas Jaeger <aj@suse.de>
37178 * manual/setjmp.texi (System V contexts): Fix sentence.
37181 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37182 New macro for this case.
37183 [!__GNUC__] (__bswap_64): New inline function for this case.
37184 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37185 * bits/byteswap.h: Likewise.
37186 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37187 ull, guard with __GLIBC_HAVE_LONG_LONG.
37189 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37190 __GLIBC_HAVE_LONG_LONG.
37192 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37193 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37195 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37198 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37199 inptr and inend, rather than using last_ch.
37201 2012-04-02 David S. Miller <davem@davemloft.net>
37203 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37204 * stdio-common/printf-parse.h (read_int): Change return type to
37205 'int', return -1 on INT_MAX overflow.
37206 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37207 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37208 overflows INT_MAX. Check for overflow of in-format-string precision
37209 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37210 SIZE_MAX not INT_MAX for integer overflow test.
37211 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37212 skip the construct in the format string but do not record anything.
37213 * stdio-common/bug22.c: Adjust to test both width/prevision
37214 INT_MAX overflow as well as total length INT_MAX overflow. Check
37215 explicitly for proper errno values.
37217 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37219 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37221 * string/test-strcmp.c [! WIDE]: Likewise.
37222 * time/tst-mktime2.c: Likewise for INT_MAX.
37223 * string/test-string.h: #include <sys/param.h> for MIN.
37225 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37226 * sysdeps/i386/init-first.c (init): Likewise.
37227 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37228 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37229 * sysdeps/sh/init-first.c (init): Likewise.
37231 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37233 * po/ru.po: Update from translation team.
37234 * po/vi.po: Likewise.
37236 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37238 * resolv/nss_dns/dns-host.c: Merge copyright years.
37240 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37242 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37243 Optimize memcpy with prefetch if
37244 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37245 src, dst pointers have unequal 16 byte alignments.
37247 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37250 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37251 from a CNAME entry and return the minimum ttl for the query.
37252 (gaih_getanswer_slice): Likewise.
37254 2012-03-30 Jeff Law <law@redhat.com>
37256 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37258 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37259 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37261 * resolv/nss_dns/dns-host.c: Update copyright year.
37263 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37265 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37266 requests to save a system call. Fix check that all bytes are sent.
37268 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37269 comments for sendmmsg.
37271 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37274 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37275 with only 1 character between 0x0041 and 0x01b0.
37276 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37277 * wcsmbs/tst-mbsnrtowcs.c: New file.
37279 2012-03-29 David S. Miller <davem@davemloft.net>
37281 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37282 small copies by hand.
37284 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37287 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37288 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37291 2012-03-28 David S. Miller <davem@davemloft.net>
37293 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37294 that branches into memcpy.
37295 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37296 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37297 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37298 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37299 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37301 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37302 implementation too.
37303 * sysdeps/sparc/mempcpy.S: New file.
37305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37306 the IFUNC routine in the libc case.
37307 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37309 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37310 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37311 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37312 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37313 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37314 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37315 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37316 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37318 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37319 loop to 256 bytes instead of 64 bytes and fix test signedness.
37321 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37322 * sysdeps/sparc/sparc32/Makefile: rather than here...
37323 * sysdeps/sparc/sparc64/Makefile: and here.
37325 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37327 * malloc/mallocbug.c: Avoid warnings about unused variables.
37329 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37332 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37333 in the right place. Discard and retry query if response is
37334 larger than input buffer size.
37336 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37341 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37342 x for large integer exponent.
37343 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37344 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37345 sign of result as needed afterwards.
37346 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37347 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37348 result for underflowing pow the same as for overflow.
37349 (__kernel_standard_l): Handle powl overflow and underflow here
37350 rather than calling __kernel_standard.
37351 * math/libm-test.inc (pow_test): Add more tests.
37366 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37367 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37368 (__kernel_standard_l): New function.
37369 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37371 * math/w_acosl.c (__acosl): Likewise.
37372 * math/w_asinl.c (__asinl): Likewise.
37373 * math/w_atan2l.c (__atan2l): Likewise.
37374 * math/w_atanhl.c (__atanhl): Likewise.
37375 * math/w_coshl.c (__coshl): Likewise.
37376 * math/w_exp10l.c (__exp10l): Likewise.
37377 * math/w_exp2l.c (__exp2l): Likewise.
37378 * math/w_fmodl.c (__fmodl): Likewise.
37379 * math/w_hypotl.c (__hypotl): Likewise.
37380 * math/w_j0l.c (__j0l, __y0l): Likewise.
37381 * math/w_j1l.c (__j1l, __y1l): Likewise.
37382 * math/w_jnl.c (__jnl, __ynl): Likewise.
37383 * math/w_lgammal.c (__lgammal): Likewise.
37384 * math/w_log10l.c (__log10l): Likewise.
37385 * math/w_log2l.c (__log2l): Likewise.
37386 * math/w_logl.c (__logl): Likewise.
37387 * math/w_powl.c (__powl): Likewise.
37388 * math/w_remainderl.c (__remainderl): Likewise.
37389 * math/w_scalbl.c (sysv_scalbl): Likewise.
37390 * math/w_sinhl.c (__sinhl): Likewise.
37391 * math/w_sqrtl.c (__sqrtl): Likewise.
37392 * math/w_tgammal.c (__tgammal): Likewise.
37393 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37394 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37395 * math/libm-test.inc (acos_test): Add more tests.
37396 (acosh_test): Likewise.
37397 (asin_test): Likewise.
37398 (atanh_test): Likewise.
37399 (exp_test): Likewise.
37400 (exp10_test): Likewise.
37401 (exp2_test): Likewise.
37402 (expm1_test): Likewise.
37403 (lgamma_test): Likewise.
37404 (log_test): Likewise.
37405 (log10_test): Likewise.
37406 (log1p_test): Likewise.
37407 (log2_test): Likewise.
37408 (pow_test): Do not allow some spurious overflow exceptions.
37409 (sqrt_test): Add more tests.
37410 (tgamma_test): Likewise.
37411 (y0_test): Likewise.
37412 (y1_test): Likewise.
37413 (yn_test): Likewise.
37415 2012-03-27 Anton Blanchard <anton@samba.org>
37417 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37419 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37420 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37423 2012-03-27 David S. Miller <davem@davemloft.net>
37425 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37427 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37428 have-as-vis3 check.
37430 2012-03-27 Andreas Jaeger <aj@suse.de>
37432 * sysdeps/x86_64/elf/configure.in: Moved to ...
37433 * sysdeps/x86_64/configure.in: ... here.
37434 * sysdeps/x86_64/elf/start.S: Moved to ...
37435 * sysdeps/x86_64/start.S: ... here.
37436 * sysdeps/x86_64/elf/configure: Delete.
37438 * sysdeps/x86_64/configure.in: Merge contents from
37439 sysdeps/i386/configure.in (without i686 check).
37441 * sysdeps/i386/elf/Versions: Merge into ...
37442 * sysdeps/i386/Versions: ... this.
37443 * sysdeps/i386/elf/Versions: Delete file.
37444 * sysdeps/i386/elf/start.S: Moved to ...
37445 * sysdeps/i386/start.S: ...here.
37446 * sysdeps/i386/elf/configure.in: Merge into...
37447 * sysdeps/i386/configure.in: ...here.
37448 * sysdeps/i386/elf/configure.in: Delete file.
37449 * sysdeps/i386/elf/configure: Delete file.
37451 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37452 * debug/backtracesyms.c: ... here.
37453 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37454 * debug/backtracesymsfd.c: ... here.
37455 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37456 * sysdeps/generic/ifunc-sel.h: ... here.
37458 * sysdeps/unix/i386/start.c: Delete file.
37459 * sysdeps/unix/sparc/start.c: Delete file.
37460 * sysdeps/unix/start.c: Delete file.
37462 * sysdeps/sh/elf/configure.in: Moved to ...
37463 * sysdeps/sh/configure.in: ... here.
37464 * sysdeps/sh/elf/start.S: Moved to ...
37465 * sysdeps/sh/start.S: ... here.
37466 * sysdeps/sh/elf/configure: Delete file.
37468 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37469 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37470 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37471 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37472 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37473 * sysdeps/powerpc/powerpc64/start.S: here.
37474 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37475 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37476 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37477 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37478 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37480 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37481 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37482 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37483 * sysdeps/powerpc/powerpc32/start.S: ... here.
37484 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37485 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37486 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37488 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37489 * sysdeps/powerpc/ifunc-sel.h: ... here.
37490 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37491 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37493 * sysdeps/sparc/elf/configure.in: Moved to ...
37494 * sysdeps/sparc/configure.in: ... here.
37495 * sysdeps/sparc/elf/configure: Delete file.
37496 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37497 * sysdeps/sparc/sparc32/start.S: ... here.
37498 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37499 * sysdeps/sparc/sparc64/start.S: ... here.
37500 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37501 * sysdeps/sparc/sparc32/Makefile: ... this.
37502 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37503 * sysdeps/sparc/sparc64/Makefile: ... this.
37505 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37506 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37507 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37508 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37509 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37510 * sysdeps/s390/s390-32/setjmp.S: ... here.
37511 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37512 * sysdeps/s390/s390-32/configure.in: ... here.
37513 * sysdeps/s390/s390-32/elf/configure: Delete file.
37514 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37515 * sysdeps/s390/s390-32/start.S: ... here.
37517 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37518 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37519 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37520 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37521 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37522 * sysdeps/s390/s390-64/setjmp.S: ... here.
37523 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37524 * sysdeps/s390/s390-64/configure.in: ... here
37525 * sysdeps/s390/s390-64/elf/configure: Delete file.
37526 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37527 * sysdeps/s390/s390-64/start.S: ... here.
37528 * sysdeps/s390/s390-64/elf/configure: Delete.
37530 * configure.in: Remove support for elf directories in sysdeps.
37532 * configure: Regenerated.
37533 * sysdeps/i386/configure: Regenerated.
37534 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37535 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37536 * sysdeps/s390/s390-32/configure: Regenerated.
37537 * sysdeps/s390/s390-64/configure: Regenerated.
37538 * sysdeps/sh/configure: Regenerated.
37539 * sysdeps/sparc/configure: Regenerated.
37540 * sysdeps/x86_64/configure: Regenerated.
37542 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37546 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37547 denormal result into account.
37549 2012-03-25 Roland McGrath <roland@hack.frob.com>
37551 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37552 Reported by Allan McRae <allan@archlinux.org>.
37554 2012-03-23 Jeff Law <law@redhat.com>
37556 * nss/getnssent.c (__nss_getent): Fix typo.
37558 2012-03-23 David S. Miller <davem@davemloft.net>
37560 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37562 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37564 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37565 to pad to uint64_t for each field.
37566 (dl_tls_index): Replace unsigned long with uint64_t.
37568 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37569 Paul Pluzhnikov <ppluzhnikov@google.com>
37572 * grp/Makefile (otherlibs): Don't set it.
37573 * inet/Makefile (otherlibs): Likewise.
37574 * login/Makefile (otherlibs): Likewise.
37575 * nscd/Makefile (otherlibs): Likewise.
37576 * posix/Makefile (otherlibs): Likewise.
37577 * pwd/Makefile (otherlibs): Likewise.
37578 * rt/Makefile (otherlibs): Likewise.
37579 * sunrpc/Makefile (otherlibs): Likewise.
37580 * nss/Makefile (otherlibs): Likewise.
37581 Add libnss_files to routines and static-only-routines.
37582 ($(objpfx)getent): Remove rule.
37583 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37584 static-only-routines.
37586 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37589 * math/s_cexp.c: Include <float.h>.
37590 (__cexp): Handle exp result overflowing not necessarily
37591 overflowing both real and imaginary parts of result.
37592 * math/s_cexpf.c: Likewise.
37593 * math/s_cexpl.c: Likewise.
37594 * math/libm-test.inc (cexp_test): Add more tests.
37595 * sysdeps/i386/fpu/libm-test-ulps: Update.
37596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37598 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37600 * include/link.h (ELFW): New macro.
37601 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37602 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37604 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37606 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37609 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37611 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37613 (struct La_x32_retval): Likewise.
37615 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37617 * sysdeps/x86_64/preconfigure.in: New file.
37618 * sysdeps/x86_64/preconfigure: New generated file.
37620 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37623 * math/e_exp2l.c: Include <float.h>.
37624 (__ieee754_exp2l): Handle overflow and underflow cases
37625 separately. Only pass fractional part of argument to
37627 * math/libm-test.inc (exp2_test): Add more tests.
37629 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37630 negating x to take absolute value.
37631 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37633 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37634 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37636 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37637 computing low part if x was negated.
37638 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37640 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37642 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37643 la_x32_gnu_pltexit.
37644 (pltexit): Cast int_retval to ptrdiff_t.
37645 * elf/tst-auditmod3b.c: Likewise.
37646 * elf/tst-auditmod4b.c: Likewise.
37647 * elf/tst-auditmod5b.c: Likewise.
37648 * elf/tst-auditmod6b.c: Likewise.
37649 * elf/tst-auditmod6c.c: Likewise.
37650 * elf/tst-auditmod7b.c: Likewise.
37652 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37653 and x32_gnu_pltexit.
37655 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37656 __ELF_NATIVE_CLASS.
37657 (La_x32_regs): New macro.
37658 (La_x32_retval): Likewise.
37659 (la_x32_gnu_pltenter): New function prototype.
37660 (la_x32_gnu_pltexit): Likewise.
37662 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37669 * configure.in (libc_cv_cc_nofma): Check for option to disable
37670 generation of FMA instructions.
37671 * configure: Regenerate.
37672 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37673 * sysdeps/ieee754/dbl-64/Makefile: New file.
37674 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37675 Remove brandred-fma4.
37676 (CFLAGS-brandred-fma4.c): Remove.
37677 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37678 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37680 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37683 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37685 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37686 LLONG_MAX != LONG_MAX.
37687 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37688 (_fitoa_word): Likewise.
37689 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37690 LLONG_MAX != LONG_MAX.
37691 * stdio-common/_itowa.h: Include <_itoa.h>.
37692 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37693 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37694 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37695 only if not defined.
37696 (_ITOA_WORD_TYPE): Likewise.
37697 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37698 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37700 2012-03-21 David S. Miller <davem@davemloft.net>
37702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37704 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37706 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37707 of x86_64 when setting libc_cv_slibdir, libdir and
37709 * sysdeps/unix/sysv/linux/configure: Regenerated.
37711 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37713 * manual/lang.texi (Old Varargs): Remove section.
37714 (How Variadic): Update menu.
37715 (va_start): Do not mention varargs.h.
37717 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37718 Joseph Myers <joseph@codesourcery.com>
37720 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37722 * configure: Regenerated.
37724 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37726 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37727 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37730 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37733 * Makefile (files-for-dist): Remove NOTES.
37734 (NOTES): Remove rule.
37735 * README: Don't refer to NOTES.
37736 * manual/creature.texi: Don't include macros.texi.
37737 * manual/intro.texi (creature.texi): Remove comment referring to
37740 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37741 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37742 * configure: Regenerated.
37743 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37744 LIBC_TRY_CC_OPTION.
37745 (libc_cv_as_i686): Likewise.
37746 (libc_cv_cc_avx): Likewise.
37747 (libc_cv_cc_sse2avx): Likewise.
37748 (libc_cv_cc_fma4): Likewise.
37749 (libc_cv_cc_novzeroupper): Likewise.
37750 * sysdeps/i386/configure: Regenerated.
37753 * sysdeps/i386/fpu/s_cexp.S: Remove.
37754 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37755 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37756 * math/libm-test.inc (cexp_test): Add more tests.
37757 * sysdeps/i386/fpu/libm-test-ulps: Update.
37758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37760 2012-03-21 Allan McRae <allan@archlinux.org>
37762 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37764 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37767 * math/w_exp2.c: Do not include <float.h>.
37768 (o_threshold, u_threshold): Remove.
37769 (__exp2): Calculate result before checking finiteness and calling
37771 * math/w_exp2f.c: Likewise.
37772 * math/w_exp2l.c: Likewise.
37773 * math/libm-test.inc (exp2_test): Require overflow exception for
37777 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37778 range of signed 64-bit integers before using fistpll. Remove
37779 checks for whether integers fit in mantissa bits.
37780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37781 the range of signed 32-bit integers before using fistpl. Remove
37782 checks for whether integers fit in mantissa bits.
37783 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37784 (__ieee754_powl): Test for y outside the range of signed 64-bit
37785 integers before using fistpll. Reduce 64-bit values to 63-bit
37787 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37788 divide-by-zero is raised for zero to large negative powers.
37789 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37790 (__ieee754_powl): Test for y outside the range of signed 64-bit
37791 integers before using fistpll. Reduce 64-bit values to 63-bit
37793 * math/libm-test.inc (pow_test): Add more tests.
37795 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37797 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37798 <stdio-common/_itoa.h>.
37799 * debug/segfault.c: Likewise.
37800 * elf/dl-cache.c: Likewise.
37801 * elf/dl-minimal.c: Likewise.
37802 * elf/dl-misc.c: Likewise.
37803 * elf/dl-sysdep.c: Likewise.
37804 * elf/dl-version.c: Likewise.
37805 * elf/rtld.c: Likewise.
37806 * hurd/hurdsock.c: Likewise.
37807 * hurd/lookup-retry.c: Likewise.
37808 * malloc/malloc.c: Likewise.
37809 * malloc/mtrace.c: Likewise.
37810 * nscd/nscd_getgr_r.c: Likewise.
37811 * nscd/nscd_getpw_r.c: Likewise.
37812 * nscd/nscd_getserv_r.c: Likewise.
37813 * posix/getopt_init.c: Likewise.
37814 * posix/wordexp.c: Likewise.
37815 * stdio-common/_itoa.c: Likewise.
37816 * stdio-common/printf_fphex.c: Likewise.
37817 * stdio-common/vfprintf.c: Likewise.
37818 * string/_strerror.c: Likewise.
37819 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37820 * sysdeps/i386/i686/hp-timing.h: Likewise.
37821 * sysdeps/mach/_strerror.c: Likewise.
37822 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37823 * sysdeps/mach/hurd/sethostid.c: Likewise.
37824 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37825 * sysdeps/mach/xpg-strerror.c: Likewise.
37826 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37827 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37828 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37829 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37830 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37831 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37832 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37833 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37834 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37835 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37836 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37837 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37838 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37839 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37840 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37841 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37842 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37843 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37844 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37845 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37846 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37848 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37850 * stdio-common/_itoa.h: Moved to ...
37851 * sysdeps/generic/_itoa.h: Here.
37853 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37855 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37856 instead of "_itoa.h" and "_itowa.h".
37857 * stdio-common/vfprintf.: Likewise.
37859 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37861 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37863 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37864 (__signbit): Likwise.
37865 (llrintf): Likwise.
37868 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37870 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37873 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37875 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37876 OVERFLOW_EXCEPTION_OK.
37877 * math/libm-test.inc ("Philosophy"): Update comment about
37879 (OVERFLOW_EXCEPTION): Define.
37880 (OVERFLOW_EXCEPTION_OK): Likewise.
37881 (INVALID_EXCEPTION_OK): Renumber.
37882 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37883 (IGNORE_ZERO_INF_SIGN): Likewise.
37884 (test_exceptions): Handle FE_OVERFLOW.
37885 (exp10_test): Expect overflow exceptions.
37886 (exp2_test): Likewise.
37887 (expm1_test): Likewise.
37888 (nextafter_test): Likewise.
37889 (pow_test): Likewise.
37890 (scalbn_test): Likewise.
37891 (scalbln_test): Likewise.
37893 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37895 * sysdeps/x86_64/bits/atomic.h
37896 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37898 (atomic_exchange_acq): Likewise.
37899 (__arch_exchange_and_add_body): Likewise.
37900 (__arch_add_body): Likewise.
37901 (atomic_add_negative): Likewise.
37902 (atomic_add_zero): Likewise.
37904 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37906 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37907 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37909 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37911 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37912 Check __x86_64__ instead of __WORDSIZE.
37914 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37916 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37918 2012-03-19 David S. Miller <davem@davemloft.net>
37920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37922 * sysdeps/sparc/fpu/fenv_private.h: New file.
37923 * sysdeps/sparc/fpu/math_private.h: Use it.
37924 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37926 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37927 (libc_feholdexcept_setroundl): Remove.
37928 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37930 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37931 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37933 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37935 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37936 int64_t instead of long int.
37937 (INSERT_WORDS64): Likwise.
37939 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37941 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37942 _Unwind_GetCFA return to _Unwind_Ptr first.
37944 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37947 * math/s_clog.c: Include <float.h>.
37948 (__clog): Scale large or subnormal inputs.
37949 * math/s_clogf.c: Likewise.
37950 * math/s_clogl.c: Likewise.
37951 * math/s_clog10.c: Include <float.h>.
37952 (M_LOG10_2): Define.
37953 (__clog10): Scale large or subnormal inputs.
37954 * math/s_clog10f.c: Likewise.
37955 * math/s_clog10l.c: Likewise.
37956 * math/libm-test.inc (clog_test): Add more tests.
37957 (clog10_test): Likewise.
37958 * sysdeps/i386/fpu/libm-test-ulps: Update.
37959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37962 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37964 * math/libm-test.inc (atan2_test): Add another test.
37966 * Makerules (common-objdir-compile): Remove.
37967 * sysdeps/unix/Makefile (config-generated): Do not add
37968 $(unix-generated) to variable.
37969 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37970 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37972 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37974 [generic bits/local_lim.h] (before-compile): Do not append to
37976 [generic bits/local_lim.h] (common-generated): Likewise.
37977 [generic sys/param.h] (before-compile): Do not append to variable.
37978 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37979 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37980 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37981 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37983 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37984 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37985 [generic sys/param.h] ($(addprefix
37986 $(common-objpfx),$(sys/param.h-includes))): Likewise.
37987 [generic sys/param.h] (common-generated): Do not append to
37989 [generic sys/param.h] (sysdep_headers): Likewise.
37990 [generic bits/errno.h] (before-compile): Do not append to
37992 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37994 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37995 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37996 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37997 [generic bits/errno.h] (common-generated): Do not append to
37999 [generic bits/ioctls.h] (before-compile): Do not append to
38001 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38003 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38004 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38005 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38007 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38008 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38009 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38010 [generic bits/ioctls.h] (common-generated): Do not append to
38012 [generic sys/syscall.h] (syscall.h): Remove variable.
38013 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38015 [generic sys/syscall.h] (before-compile): Do not append to
38017 [generic sys/syscall.h] (common-generated): Likewise.
38018 * sysdeps/unix/errnos-tmpl.c: Remove file.
38019 * sysdeps/unix/errnos.awk: Likewise.
38020 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38021 * sysdeps/unix/ioctls.awk: Likewise.
38022 * sysdeps/unix/mk-local_lim.c: Likewise.
38023 * sysdeps/unix/snarf-ioctls: Likewise.
38025 2012-03-19 Richard Henderson <rth@twiddle.net>
38027 * sysdeps/i386/fpu/fenv_private.h: New file.
38028 * sysdeps/i386/fpu/math_private.h: Use it.
38029 (math_opt_barrier, math_force_eval): Remove.
38030 (libc_feholdexcept_setround_53bit): Remove.
38031 (libc_feupdateenv_53bit): Remove.
38032 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38033 (math_opt_barrier, math_force_eval): Remove.
38034 (libc_feholdexcept): Remove.
38035 (libc_feholdexcept_setround): Remove.
38036 (libc_fetestexcept, libc_fesetenv): Remove.
38037 (libc_feupdateenv_test): Remove.
38038 (libc_feupdateenv, libc_feholdsetround): Remove.
38039 (libc_feresetround): Remove.
38041 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38042 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38044 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38045 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38046 (libc_feupdateenv_testl): New.
38047 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38048 (libc_feupdateenv_testf): New.
38049 (libc_feupdateenv): Use libc_feupdateenv_test.
38050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38051 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38053 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38054 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38055 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38056 (libc_feresetround_noex): New.
38057 (libc_feresetround_noexf): New.
38058 (libc_feresetround_noexl): New.
38059 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38060 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38061 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38062 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38065 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38067 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38068 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38069 SET_RESTORE_ROUND_NOEX.
38070 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38071 SET_RESTORE_ROUND_NOEXF.
38072 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38073 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38074 (libc_feholdsetroundf): New.
38075 (libc_feresetround, libc_feresetroundf): New.
38077 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38078 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38079 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38081 * sysdeps/generic/math_private.h: Include <fenv.h>.
38082 (default_libc_feholdexcept): New.
38083 (default_libc_feholdexcept_setround): New.
38084 (default_libc_fesetenv, default_libc_feupdateenv): New.
38085 (libc_feholdexcept): Only define if undefined.
38086 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38087 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38088 (libc_feholdexcept_setroundl): Likewise.
38089 (libc_feholdexcept_setround_53bit): Likewise.
38090 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38091 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38092 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38093 (libc_feupdateenv_53bit): Likewise.
38094 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38095 (libc_feholdexcept): Convert from macro to inline function.
38096 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38097 (libc_fesetenv, libc_feupdateenv): Likewise.
38099 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38100 not previously defined.
38101 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38102 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38103 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38104 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38105 * sysdeps/ieee754/flt-32/math_private.h: New file.
38106 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38107 math_private.h below SET_FLOAT_WORD.
38108 (__isnan, __isinf_ns, __finite): Remove.
38109 (__isnanf, __isinf_nsf, __finitef): Remove.
38111 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38115 2012-03-17 David S. Miller <davem@davemloft.net>
38118 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38121 2012-03-16 David S. Miller <davem@davemloft.net>
38123 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38127 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38129 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38130 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38131 sysdep_routines when subdir is sysvipc.
38132 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38133 __getshmlba helper.
38135 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38137 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38139 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38144 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38145 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38146 (__lround): Renamed to ...
38147 (__llround): This. Replace long int with long long int.
38148 Define lround functions as aliases of llround functions.
38149 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38151 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38153 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38154 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38155 adresses to uintptr_t. Replace "long int" and "unsigned long
38156 int" with "greg_t" on va_arg.
38158 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38160 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38161 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38163 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38164 Move e_machine check before EI_CLASS check. Handle x32
38165 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38166 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38167 SKIP_EM_IA_64 and include
38168 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38170 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38171 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38172 (add_system_dir): New macro.
38174 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38175 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38177 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38188 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38190 * math/w_j0f.c (j0f): Likewise.
38192 * math/w_j0l.c (__j0l): Likewise.
38194 * math/w_j1.c (j1): Likewise.
38196 * math/w_j1f.c (j1f): Likewise.
38198 * math/w_j1l.c (__j1l): Likewise.
38200 * math/w_jn.c (jn): Likewise.
38202 * math/w_jnf.c (jnf): Likewise.
38204 * math/w_jnl.c (__jnl): Likewise.
38206 * math/libm-test.inc (j0_test): Add more tests.
38207 (j1_test): Likewise.
38208 (jn_test): Likewise. Add trailing semicolon to existing test.
38209 (y0_test): Likewise.
38210 (y1_test): Likewise.
38211 * sysdeps/i386/fpu/libm-test-ulps: Update.
38212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38216 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38217 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38218 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38219 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38220 (__tanl): Set errno for infinite argument.
38221 * sysdeps/i386/fpu/mptan.c: Remove.
38222 * sysdeps/i386/fpu/s_tan.S: Likewise.
38223 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38224 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38225 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38226 * math/libm-test.inc (tan_test): Add more tests and enable more
38227 tests for double and long double.
38228 * sysdeps/i386/fpu/libm-test-ulps: Update.
38229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38231 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38233 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38234 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38236 2012-03-16 Roland McGrath <roland@hack.frob.com>
38238 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38239 * configure.in: Use it for both main tree and add-ons.
38240 * configure: Regenerated.
38242 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38244 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38246 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38248 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38252 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38253 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38254 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38255 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38256 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38258 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38259 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38260 != 0 for prec == 2.
38261 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38262 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38263 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38264 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38265 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38266 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38267 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38268 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38269 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38270 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38271 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38272 * math/libm-test.inc (cos_test): Add more tests and enable more
38273 tests for long double.
38274 (sin_test): Likewise.
38275 (sincos_test): Likewise.
38276 * sysdeps/i386/fpu/libm-test-ulps: Update.
38277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38279 2012-03-16 David S. Miller <davem@davemloft.net>
38281 * sysdeps/sparc/fpu/math_private.h: New file.
38283 2012-03-15 David S. Miller <davem@davemloft.net>
38285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38291 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38295 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38299 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38300 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38302 * sysdeps/sparc/sparc-ifunc.h: New file.
38303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38327 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38328 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38329 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38330 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38333 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38334 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38345 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38346 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38348 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38350 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38354 2012-03-15 Andreas Jaeger <aj@suse.de>
38357 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38358 ieee754/flt-32 implementation for sin, cos and sincos.
38359 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38360 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38361 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38362 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38363 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38364 ieee754/flt-32 implementation for tan.
38366 * math/libm-test.inc (cos_test): Enable some large input tests for
38368 (sin_test): Likewise.
38369 (sincos_test): Likewise.
38370 (tan_test): Add tests for large input.
38372 * sysdeps/i386/fpu/libm-test-ulps: Update.
38374 2012-03-15 Andreas Jaeger <aj@suse.de>
38377 * math/libm-test.inc (cos_test): Add more test cases.
38378 (sin_test): Likewise.
38379 (sincos_test): Likewise.
38381 2012-03-15 Andreas Jaeger <aj@suse.de>
38384 * math/libm-test.inc (cos_test): Add a test case for large input
38386 (sin_test): Likewise.
38387 (sincos_test): Likewise.
38389 2012-03-15 Andreas Jaeger <aj@suse.de>
38390 Joseph Myers <joseph@codesourcery.com>
38393 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38394 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38395 * sysdeps/i386/fpu/branred.c: Likewise.
38396 * sysdeps/i386/fpu/dosincos.c: Likewise.
38397 * sysdeps/i386/fpu/mpa.c: Likewise.
38398 * sysdeps/i386/fpu/s_cos.S: Likewise.
38399 * sysdeps/i386/fpu/s_sin.S: Likewise.
38400 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38401 * sysdeps/i386/fpu/sincos32.c: Likewise.
38403 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38405 (libc_feupdateenv_53bit): Define.
38406 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38408 (libc_feupdateenv_53bit): Define.
38410 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38411 53 bit (without extend i386 double precision).
38413 * math/libm-test.inc (sincos_test): Add tests for large input.
38417 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38419 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38421 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38423 2012-03-15 David S. Miller <davem@davemloft.net>
38425 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38426 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38427 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38428 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38434 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38439 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38453 fmin/fmax sysdep routines.
38454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38456 2012-03-14 David S. Miller <davem@davemloft.net>
38458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38460 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38461 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38462 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38463 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38464 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38465 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38469 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38470 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38471 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38472 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38473 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38474 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38475 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38476 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38477 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38479 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38480 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38481 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38482 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38483 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38484 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38485 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38486 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38530 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38535 * sysdeps/sparc/configure.in: New file.
38536 * sysdeps/sparc/configure: Generate.
38537 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38538 * configure: Regenerate.
38539 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38540 * config.make.in (have-as-vis3): New.
38541 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38542 available use -Av9d instead of -Av9a.
38543 * sysdeps/sparc/sparc64/Makefile: Likewise.
38544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38553 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38554 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38555 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38556 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38557 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38559 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38560 fzeros/fnegs to load 0x80000000 into a float register instead of
38562 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38564 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38568 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38569 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38570 ($(inst_includedir)/bits/syscall.h): Remove rule.
38571 ($(objpfx)bits/syscall.d): Include instead of
38572 $(objpfx)syscall-list.d.
38573 (generated): Change syscall-list.h and syscall-list.d to
38574 bits/syscall.h and bits/syscall.d.
38576 2012-03-14 Roland McGrath <roland@hack.frob.com>
38579 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38581 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38584 * math/s_csqrt.c: Include <float.h>.
38585 (__csqrt): Scale large or subnormal inputs.
38586 * math/s_csqrtf.c: Likewise.
38587 * math/s_csqrtl.c: Likewise.
38588 * math/libm-test.inc (csqrt_test): Add more tests.
38589 * sysdeps/i386/fpu/libm-test-ulps: Update.
38590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38593 * math/libm-test.inc (hypot_test): Add more tests.
38595 2012-03-13 David S. Miller <davem@davemloft.net>
38598 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38599 double-precision for the calculation instead of scaling.
38601 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38603 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38604 manipulate bits before adding and subtracting TWO52[sx].
38605 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38606 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38608 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38610 2012-03-13 David S. Miller <davem@davemloft.net>
38612 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38613 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38615 rtld-global-offsets.h
38616 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38618 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38621 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38623 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38624 'err' in the ifdef scope in which it is actually used.
38626 * nss/nss_db/db-init.c: Include string.h
38628 2012-03-12 David S. Miller <davem@davemloft.net>
38630 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38631 masking out of the most significant byte of random value used.
38632 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38633 Fix coding style in previous change.
38635 * sysdeps/unix/sysv/linux/kernel-features.h
38636 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38637 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38639 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38642 2012-03-11 David S. Miller <davem@davemloft.net>
38644 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38645 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38646 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38647 for 'resultvar' otherwise things get truncated on 64-bit.
38649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38650 Fix masking out of the most significant byte of random value used.
38652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38654 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38658 2012-03-09 David S. Miller <davem@davemloft.net>
38660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38661 variables with appropriate CPP guards.
38662 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38663 from the frame pointer, not the stack pointer. Correct layout
38664 comments. Fix test on resulting framesize and the management of
38665 the outregs buffer for pltexit. Preserve floating point return
38666 values across _dl_call_pltexit call.
38667 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38668 framesize and the management of the outregs buffer for pltexit.
38669 Preserve floating point return values across _dl_call_pltexit
38671 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38672 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38673 (la_sparc64_gnu_pltexit): New functions.
38674 (print_exit): Fix format string for return register value.
38676 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38678 * sunrpc/Makefile (others): Add rpcgen.
38679 ($(objpfx)rpcgen): Remove special build rule and dependency on
38681 * sunrpc/rpcgen.c: New file.
38683 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38686 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38687 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38688 * sysdeps/i386/crti.S: Likewise.
38689 * sysdeps/i386/crtn.S: Likewise.
38690 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38691 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38692 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38693 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38694 * sysdeps/sh/crti.S: Likewise.
38695 * sysdeps/sh/crtn.S: Likewise.
38696 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38699 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38701 * locale/programs/locfile-kw.gperf: Likewise.
38702 * locale/programs/charmap-kw.h: Regenerated.
38703 * locale/programs/locfile-kw.h: Likewise.
38706 * intl/plural.y: Replace FSF snail mail address with URL.
38707 * intl/plural.c: Regenerated.
38709 2012-03-09 Richard Henderson <rth@twiddle.net>
38711 * include/math_private.h: Remove file.
38712 * math/math_private.h: Move file ...
38713 * sysdeps/generic/math_private.h: ... here.
38715 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38716 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38717 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38719 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38720 and <math_private.h>.
38721 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38722 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38723 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38724 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38725 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38729 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38730 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38731 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38732 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38733 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38734 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38735 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38736 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38737 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38738 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38740 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38742 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38743 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38745 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38746 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38747 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38748 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38749 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38751 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38752 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38753 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38754 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38758 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38759 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38760 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38761 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38762 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38763 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38764 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38765 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38766 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38767 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38768 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38769 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38770 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38771 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38774 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38778 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38779 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38780 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38781 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38782 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38783 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38784 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38785 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38786 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38792 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38794 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38795 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38796 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38798 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38799 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38800 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38801 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38802 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38803 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38804 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38807 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38808 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38809 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38810 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38811 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38812 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38813 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38814 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38815 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38816 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38818 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38821 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38822 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38823 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38824 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38825 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38826 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38827 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38828 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38829 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38830 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38831 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38832 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38833 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38834 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38835 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38836 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38837 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38838 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38839 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38840 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38841 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38842 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38843 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38844 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38845 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38846 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38847 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38848 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38849 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38850 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38851 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38852 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38853 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38854 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38855 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38856 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38857 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38858 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38859 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38860 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38861 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38862 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38863 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38864 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38865 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38866 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38867 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38868 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38869 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38870 * sysdeps/ieee754/k_standard.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38874 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38875 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38876 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38877 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38878 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38879 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38880 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38881 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38882 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38883 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38911 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38948 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38951 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38955 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38956 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38957 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38958 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38968 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38969 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38970 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38972 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38983 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38985 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38986 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38987 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38988 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38989 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38990 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38993 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38998 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38999 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39000 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39003 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39004 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39006 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39019 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39020 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39021 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39031 * sysdeps/ieee754/s_lib_version.c: Likewise.
39032 * sysdeps/ieee754/s_matherr.c: Likewise.
39033 * sysdeps/ieee754/s_signgam.c: Likewise.
39034 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39035 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39036 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39037 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39038 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39039 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39040 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39041 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39042 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39043 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39044 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39045 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39046 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39047 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39048 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39049 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39051 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39052 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39053 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39054 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39056 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39058 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39059 * sunrpc/rpc_main.c: Likewise.
39060 * sunrpc/rpc_svcout.c: Likewise.
39062 2012-03-09 David S. Miller <davem@davemloft.net>
39064 * include/math_private.h: New file.
39066 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39068 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39069 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39070 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39071 from <bits/socket_type.h>.
39072 (enum __socket_type): Don't define here.
39073 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39075 bits/socket_type.h.
39078 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39079 checking __USE_GNU.
39081 * Makerules ($(inst_includedir)/%.h): New rule.
39082 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39083 (install-others): Remove variable setting.
39084 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39086 2012-03-08 Richard Henderson <rth@twiddle.net>
39088 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39089 from macro to inline function; merge with the
39090 !__LIBC_INTERNAL_MATH_INLINES version.
39091 (__ieee754_sqrtf): Likewise.
39093 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39094 to inline function.
39095 (__rintf, __floor, __floorf): Likewise.
39097 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39098 macro to inline function.
39099 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39101 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39102 not <math/math_private.h>.
39104 2012-03-08 David S. Miller <davem@davemloft.net>
39106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39108 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39110 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39112 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39114 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39115 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39117 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39119 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39120 be defined individually, they must be defined as a block. Define
39121 S for printing a string instead of hidint the different by using a
39122 macro for adding the 'l'.
39123 * stdio-common/tst-fphex-wide.c: Adjust.
39125 2012-03-07 Marek Polacek <polacek@redhat.com>
39127 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39129 2012-03-08 Marek Polacek <polacek@redhat.com>
39132 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39133 * stdio-common/tst-fphex.c: Define a few macros to make the
39134 test reusable. Use them.
39135 * stdio-common/tst-fphex-wide.c: New file.
39137 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39140 * manual/macros.texi (gnusystems): New macro.
39141 (nongnusystems): Likewise.
39142 (gnulinuxhurdsystems): Likewise.
39143 (gnuhurdsystems): Likewise..
39144 (gnulinuxsystems): Likewise.
39145 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39146 variants of the GNU system, not "GNU system".
39147 * manual/conf.texi: Likewise.
39148 * manual/errno.texi: Likewise. Update example of errno macro
39150 * manual/filesys.texi: Likewise.
39151 (getumask): Document as specific to GNU/Hurd.
39152 * manual/install.texi: Likewise. Reword some references to
39154 * manual/intro.texi: Likewise.
39155 * manual/io.texi: Likewise.
39156 (File Name Portability): Detail which constraints are inapplicable
39157 to all GNU systems and which are only inapplicable to GNU/Hurd.
39158 * manual/job.texi: Likewise.
39159 * manual/llio.texi: Likewise.
39160 (O_NOCTTY): Document as present on GNU/Linux.
39161 * manual/maint.texi: Likewise.
39162 * manual/memory.texi: Likewise.
39163 * manual/pattern.texi: Likewise.
39164 * manual/pipe.texi: Likewise.
39165 * manual/process.texi: Likewise.
39166 * manual/resource.texi: Likewise.
39167 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39169 * manual/setjmp.texi: Likewise.
39170 * manual/signal.texi: Likewise.
39171 * manual/startup.texi: Likewise.
39172 * manual/stdio.texi: Likewise.
39173 * manual/terminal.texi: Likewise.
39174 (ONLCR): Document as POSIX.
39175 (OXTABS): Document availability on GNU/Linux as XTABS.
39176 (ONOEOT): Document availability separately from other bits.
39177 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39178 * manual/time.texi: Likewise.
39179 * manual/users.texi: Likewise.
39180 * INSTALL: Regenerated.
39181 * sysdeps/gnu/errlist.c: Regenerated.
39183 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39184 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39185 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39187 * configure: Regenerated.
39189 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39191 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39192 default includes instead of AC_HEADER_CHECK.
39193 * sysdeps/i386/configure: Regenerated.
39196 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39197 * math/s_cacoshf.c (__cacoshf): Likewise.
39198 * math/s_cacoshl.c (__cacoshl): Likewise.
39199 * math/s_casinh.c (__casinh): Set signs of result from argument.
39200 * math/s_casinhf.c (__casinhf): Likewise.
39201 * math/s_casinhl.c (__casinhl): Likewise.
39202 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39203 (casinh_test): Add more tests.
39204 * sysdeps/i386/fpu/libm-test-ulps: Update.
39205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39207 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39209 * po/zh_TW.po: Update from translation team.
39211 * login/Makefile (distribute): Remove variable.
39212 * catgets/Makefile: Likewise.
39213 * mach/Makefile: Likewise.
39214 * malloc/Makefile: Likewise.
39215 * misc/Makefile: Likewise.
39216 * iconv/Makefile: Likewise.
39217 * nscd/Makefile: Likewise.
39218 * hurd/Makefile: Likewise.
39219 * manual/Makefile: Likewise.
39220 * locale/Makefile: Likewise.
39221 * intl/Makefile: Likewise.
39222 * conform/Makefile: Likewise.
39223 * nss/Makefile: Likewise.
39224 * time/Makefile: Likewise.
39225 * soft-fp/Makefile: Likewise.
39226 * dirent/Makefile: Likewise.
39227 * gmon/Makefile: Likewise.
39228 * po/Makefile: Likewise.
39229 * rt/Makefile: Likewise.
39230 * socket/Makefile: Likewise.
39231 * math/Makefile: Likewise.
39232 * signal/Makefile: Likewise.
39233 * debug/Makefile: Likewise.
39234 * elf/Makefile: Likewise.
39235 * timezone/Makefile: Likewise.
39236 * stdlib/Makefile: Likewise.
39237 * iconvdata/Makefile: Likewise.
39238 * sunrpc/Makefile: Likewise.
39239 * io/Makefile: Likewise.
39240 * argp/Makefile: Likewise.
39241 * inet/Makefile: Likewise.
39242 * hesiod/Makefile: Likewise.
39243 * grp/Makefile: Likewise.
39244 * csu/Makefile: Likewise.
39245 * wctype/Makefile: Likewise.
39246 * crypt/Makefile: Likewise.
39247 * libio/Makefile: Likewise.
39248 * string/Makefile: Likewise.
39249 * nis/Makefile: Likewise.
39250 * resolv/Makefile: Likewise.
39251 * stdio-common/Makefile: Likewise.
39252 * wcsmbs/Makefile: Likewise.
39253 * dlfcn/Makefile: Likewise.
39254 * posix/Makefile: Likewise.
39257 * timezone/Makefile: Don't install timezone files, just the programs
39260 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39262 * nss/databases.def: Add missing gshadow entry.
39264 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39266 2012-03-06 Marek Polacek <polacek@redhat.com>
39269 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39270 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39271 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39272 * stdio-common/tst-long-dbl-fphex.c: New file.
39274 2012-03-06 David S. Miller <davem@davemloft.net>
39276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39277 (set_obp_int): New function.
39278 (get_obp_int): New function.
39279 (__get_clockfreq_via_dev_openprom): Likewise.
39280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39281 Avoid unused variable warnings on 'val' and use builtin_expect.
39282 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39284 (INLINE_CLONE_SYSCALL): Likewise.
39286 2012-03-05 David S. Miller <davem@davemloft.net>
39288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39290 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39295 only for |x| >= 40.
39296 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39298 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39300 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39301 Replace gettimeofday with __vdso_gettimeofday.
39303 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39304 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39305 __vdso_clock_gettime and __vdso_getcpu.
39307 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39308 time with __vdso_time.
39310 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39312 * manual/lang.texi (size_t): Note types to which size_t may be
39313 equivalent with the GNU C Library, but do not describe when
39314 differences between them are significant.
39316 2012-03-05 Andreas Jaeger <aj@suse.de>
39318 * sysdeps/i386/fpu/libm-test-ulps: Update.
39320 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39323 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39324 (__ieee754_pow): Save and restore rounding mode and use
39325 round-to-nearest for main computations.
39326 * math/libm-test.inc (pow_test_tonearest): New function.
39327 (pow_test_towardzero): Likewise.
39328 (pow_test_downward): Likewise.
39329 (pow_test_upward): Likewise.
39330 (main): Call the new functions.
39331 * sysdeps/i386/fpu/libm-test-ulps: Update.
39332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39335 * math/libm-test.inc (cosh_test_tonearest): New function.
39336 (cosh_test_towardzero): Likewise.
39337 (cosh_test_downward): Likewise.
39338 (cosh_test_upward): Likewise.
39339 (sinh_test_tonearest): Likewise.
39340 (sinh_test_towardzero): Likewise.
39341 (sinh_test_downward): Likewise.
39342 (sinh_test_upward): Likewise.
39343 (main): Call the new functions.
39344 * sysdeps/i386/fpu/libm-test-ulps: Update.
39345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39347 2012-03-05 Tom de Vries <tom@codesourcery.com>
39349 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39350 default stack guard is set in last bytes.
39351 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39353 2012-03-05 Kees Cook <keescook@chromium.org>
39355 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39358 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39359 possibly allocate from heap instead of stack.
39360 * stdio-common/bug-vfprintf-nargs.c: New file.
39361 * stdio-common/Makefile (tests): Add nargs overflow test.
39363 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39367 2012-03-03 Marek Polacek <polacek@redhat.com>
39369 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39370 * math/math_private.h: Likewise.
39371 * stdlib/tst-strtod.c: Likewise.
39372 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39373 * sysdeps/x86_64/bits/atomic.h: Likewise.
39375 2012-03-02 David S. Miller <davem@davemloft.net>
39377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39381 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39382 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39383 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39384 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39386 2012-03-02 Roland McGrath <roland@hack.frob.com>
39389 * manual/examples/README: New file, says the example source files
39390 can be used under GPL>=2.
39391 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39392 line containing just "*/".
39393 * manual/examples/add.c: Add copyright header (GPL>=2).
39394 * manual/examples/argp-ex1.c: Likewise.
39395 * manual/examples/argp-ex2.c: Likewise.
39396 * manual/examples/argp-ex3.c: Likewise.
39397 * manual/examples/argp-ex4.c: Likewise.
39398 * manual/examples/atexit.c: Likewise.
39399 * manual/examples/db.c: Likewise.
39400 * manual/examples/dir.c: Likewise.
39401 * manual/examples/dir2.c: Likewise.
39402 * manual/examples/execinfo.c: Likewise.
39403 * manual/examples/filecli.c: Likewise.
39404 * manual/examples/filesrv.c: Likewise.
39405 * manual/examples/fmtmsgexpl.c: Likewise.
39406 * manual/examples/genpass.c: Likewise.
39407 * manual/examples/inetcli.c: Likewise.
39408 * manual/examples/inetsrv.c: Likewise.
39409 * manual/examples/isockad.c: Likewise.
39410 * manual/examples/longopt.c: Likewise.
39411 * manual/examples/memopen.c: Likewise.
39412 * manual/examples/memstrm.c: Likewise.
39413 * manual/examples/mkfsock.c: Likewise.
39414 * manual/examples/mkisock.c: Likewise.
39415 * manual/examples/mygetpass.c: Likewise.
39416 * manual/examples/pipe.c: Likewise.
39417 * manual/examples/popen.c: Likewise.
39418 * manual/examples/rprintf.c: Likewise.
39419 * manual/examples/search.c: Likewise.
39420 * manual/examples/select.c: Likewise.
39421 * manual/examples/setjmp.c: Likewise.
39422 * manual/examples/sigh1.c: Likewise.
39423 * manual/examples/sigusr.c: Likewise.
39424 * manual/examples/stpcpy.c: Likewise.
39425 * manual/examples/strdupa.c: Likewise.
39426 * manual/examples/strftim.c: Likewise.
39427 * manual/examples/strncat.c: Likewise.
39428 * manual/examples/subopt.c: Likewise.
39429 * manual/examples/swapcontext.c: Likewise.
39430 * manual/examples/termios.c: Likewise.
39431 * manual/examples/testopt.c: Likewise.
39432 * manual/examples/testpass.c: Likewise.
39433 * manual/examples/timeval_subtract.c: Likewise.
39436 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39438 * manual/timeval_subtract.c.texi: ... here, new file.
39440 2012-03-02 David S. Miller <davem@davemloft.net>
39442 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39444 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39447 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39448 (__sin): Save and restore rounding mode and use round-to-nearest
39449 for all computations.
39450 (__cos): Save and restore rounding mode and use round-to-nearest
39451 for all computations.
39452 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39454 (tan): Save and restore rounding mode and use round-to-nearest for
39456 * math/libm-test.inc (cos_test_tonearest): New function.
39457 (cos_test_towardzero): Likewise.
39458 (cos_test_downward): Likewise.
39459 (cos_test_upward): Likewise.
39460 (sin_test_tonearest): Likewise.
39461 (sin_test_towardzero): Likewise.
39462 (sin_test_downward): Likewise.
39463 (sin_test_upward): Likewise.
39464 (tan_test_tonearest): Likewise.
39465 (tan_test_towardzero): Likewise.
39466 (tan_test_downward): Likewise.
39467 (tan_test_upward): Likewise.
39468 (main): Call the new functions.
39469 * sysdeps/i386/fpu/libm-test-ulps: Update.
39470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39473 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39474 small n, then large n, before computing and testing k+n.
39475 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39478 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39480 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39481 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39482 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39483 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39484 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39485 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39486 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39487 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39488 * math/libm-test.inc (scalbn_test): Add more tests.
39489 (scalbln_test): Likewise.
39491 * manual/filesys.texi (mode_t): Describe constraints on size and
39492 signedness, not exact equivalence to a particular type.
39494 (ino64_t): Likewise.
39496 (nlink_t): Likewise.
39497 (blkcnt_t): Likewise.
39498 (blkcnt64_t): Likewise.
39499 * manual/llio.texi (off_t): Likewise.
39502 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39503 (__ieee754_exp): Save and restore rounding mode and use
39504 round-to-nearest for all computations.
39505 * math/libm-test.inc (exp_test_tonearest): New function.
39506 (exp_test_towardzero): Likewise.
39507 (exp_test_downward): Likewise.
39508 (exp_test_upward): Likewise.
39509 (main): Call the new functions.
39510 * sysdeps/i386/fpu/libm-test-ulps: Update.
39511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39513 2012-03-01 Chris Demetriou <cgd@google.com>
39515 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39516 have predictable order.
39518 2012-03-01 David S. Miller <davem@davemloft.net>
39520 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39522 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39523 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39524 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39525 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39527 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39528 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39529 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39531 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39532 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39533 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39534 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39535 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39539 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39540 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39541 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39543 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39544 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39545 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39546 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39547 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39548 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39549 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39550 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39551 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39552 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39553 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39554 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39556 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39557 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39559 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39560 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39561 * sysdeps/sparc/elf/configure: Regenerated.
39563 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39565 * configure.in (AS, LD): Require binutils 2.20 or later.
39566 * configure: Regenerated.
39567 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39568 as required minimum version.
39569 * INSTALL: Regenerated.
39573 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39574 before squaring exponent.
39575 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39576 bottom long double and 27 bits of top long double before squaring
39578 * math/libm-test.inc (erfc_test): Add more tests.
39579 * sysdeps/i386/fpu/libm-test-ulps: Update.
39580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39583 2012-03-01 Kai Tietz <ktietz@redhat.com>
39585 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39586 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39587 containing bit-fields.
39588 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39589 * soft-fp/single.h (_FP_UNION_S): Likewise.
39590 * soft-fp/double.h (_FP_UNION_D): Likewise.
39592 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39595 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39596 not include ../strcmp.S.
39597 [USE_AS_STRNCASECMP_L]: Likewise.
39598 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39599 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39600 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39601 (__strncasecmp_l_ia32): Define as alias to
39602 __strncasecmp_l_nonascii.
39605 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39606 * sysdeps/i386/fpu/libm-test-ulps: Update.
39607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39609 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39612 2012-02-29 Jeff Law <law@redhat.com>
39614 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39615 out of bounds read.
39617 2012-02-29 Marek Polacek <polacek@redhat.com>
39620 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39621 * elf/Makefile: Add rules to run tst-unused-dep.out.
39623 2012-02-28 David S. Miller <davem@davemloft.net>
39625 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39626 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39627 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39628 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39629 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39630 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39632 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39634 * math/libm-test.inc (llround_test): Move one test from
39635 lround_test. Use TEST_f_L in moved test.
39636 (lround_test): Move misplaced test to llround_test. Add testcase
39639 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39641 * sysdeps/x86_64/fpu/e_expf.S: New file.
39642 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39644 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39647 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39648 of remain_len that may cause incomplete multi-byte character and
39650 * posix/bug-regex33.c: New file.
39651 * posix/Makefile (tests): Add bug-regex33.
39653 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39655 * manual/macros.texi: New file.
39656 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39657 * manual/libc.texinfo: Include macros.texi.
39658 * manual/creatute.texi: Likewise.
39659 * manual/install.texi: Likewise.
39660 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39661 @glibcadj{} in references to the GNU C Library.
39662 * manual/charset.texi: Likewise.
39663 * manual/conf.texi: Likewise.
39664 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39665 when not using those macros.
39666 * manual/creature.texi: Likewise.
39667 * manual/crypt.texi: Likewise.
39668 * manual/errno.texi: Likewise.
39669 * manual/filesys.texi: Likewise.
39670 * manual/header.texi: Likewise.
39671 * manual/install.texi: Likewise.
39672 * manual/intro.texi: Likewise.
39673 * manual/io.texi: Likewise.
39674 * manual/job.texi: Likewise.
39675 * manual/lang.texi: Likewise.
39676 * manual/libc.texiinfo: Likewise.
39677 * manual/llio.texi: Likewise.
39678 * manual/locale.texi: Likewise.
39679 * manual/maint.texi: Likewise.
39680 * manual/math.texi: Likewise.
39681 * manual/memory.texi: Likewise.
39682 * manual/message.texi: Likewise.
39683 * manual/nss.texi: Likewise.
39684 * manual/pattern.texi: Likewise.
39685 * manual/process.texi: Likewise.
39686 * manual/resource.texi: Likewise.
39687 * manual/search.texi: Likewise.
39688 * manual/setjmp.texi: Likewise.
39689 * manual/signal.texi: Likewise.
39690 * manual/socket.texi: Likewise.
39691 * manual/startup.texi: Likewise.
39692 * manual/stdio.texi: Likewise.
39693 * manual/string.texi: Likewise.
39694 * manual/sysinfo.texi: Likewise.
39695 * manual/syslog.texi: Likewise.
39696 * manual/terminal.texi: Likewise.
39697 * manual/time.texi: Likewise.
39698 * manual/users.texi: Likewise.
39699 * INSTALL: Regenerated.
39700 * NOTES: Regenerated.
39701 * sysdeps/gnu/errlist.c: Regenerated.
39703 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39705 * include/dirent.h: Include <dirstream.h> before
39708 2012-02-28 David S. Miller <davem@davemloft.net>
39710 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39711 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39712 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39713 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39715 2012-02-27 David S. Miller <davem@davemloft.net>
39717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39719 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39720 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39723 frame pointer instead of stack pointer relative arg slot.
39724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39725 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39726 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39728 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39731 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39733 2012-02-27 David S. Miller <davem@davemloft.net>
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39739 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39740 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39741 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39742 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39744 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39746 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39747 later. Allow versions 5-9.
39748 * configure: Regenerated.
39749 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39750 required minimum version and 4.6 as recommended version. Do not
39751 mention bugs in GCC 2.7 and 2.8.
39752 * INSTALL: Regenerated.
39754 2012-02-27 David S. Miller <davem@davemloft.net>
39756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39760 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39761 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39762 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39763 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39766 manipulate bits before adding and subtracting TWO112[sx].
39767 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39769 2012-02-27 Roland McGrath <roland@hack.frob.com>
39772 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39773 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39774 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39775 being in POSIX, because they are in 1003.1-2008.
39777 * rt/tst-aio.c: Include <fcntl.h>.
39778 * rt/tst-aio7.c: Likewise.
39779 * rt/tst-aio64.c: Likewise.
39781 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39783 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39785 * manual/install.texi (--with-headers): Describe headers as
39786 interface headers, not private headers.
39787 (Specific advice for GNU/Linux systems): Describe use of headers
39788 from "make headers_install", not private headers from older
39790 * INSTALL: Regenerated.
39791 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39793 * sysdeps/unix/sysv/linux/configure: Regenerated.
39795 * manual/llio.texi (fclean): Remove documentation.
39797 * manual/Makefile (libc-texi-generated): New variable. Include
39799 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39800 $(libc-texi-generated), not duplicated list of files.
39801 (version.texi, stamp-version): New rules.
39802 (realclean): Remove $(libc-texi-generated), not individual files
39803 from that list. Do not remove dir-add.texinfo.
39804 * manual/libc.texinfo: Comment out uses of edition numbers and
39805 references to printed manual. Remove last-updated dates.
39806 (EDITION): Comment out.
39808 (VERSION, UPDATED): Remove.
39809 (version.texi): Include.
39811 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39813 * sysdeps/posix/spawni.c: Include <signal.h>.
39814 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39815 * sysdeps/pthread/aio_fsync.c: Likewise.
39817 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39819 * conform/Makefile (tests): Run only when not cross-compiling and
39820 when fast-check is not defined.
39822 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39823 * conform/data/limits.h-data: Fixes for POSIX2008.
39824 * conform/run-conformtest.sh: Run all tests.
39825 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39827 * include/bits/dlfcn.h: Likewise.
39828 * include/langinfo.h: Likewise.
39829 * include/monetary.h: Likewise.
39830 * include/sys/poll.h: Likewise.
39832 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39834 * posix/spawn.h: Define __need_sigset_t.
39835 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39836 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39837 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39838 to get sigevent_t only.
39839 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39840 only for __USE_GNU.
39841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39842 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39843 process_vm_writev only for __USE_GNU.
39844 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39846 * conform/Makefile: For now ignore errors from run-conformtest.
39847 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39848 POSIX to avoid namespace pollution. Don't prepend headers.
39849 * conform/data/aio.h-data: Fixes for POSIX testing.
39850 * conform/data/fcntl.h-data: Likewise.
39851 * conform/data/glob.h-data: Likewise.
39852 * conform/data/grp.h-data: Likewise.
39853 * conform/data/pthread.h-data: Likewise.
39854 * conform/data/pwd.h-data: Likewise.
39855 * conform/data/signal.h-data: Likewise.
39856 * conform/data/spawn.h-data: Likewise.
39857 * conform/data/stdio.h-data: Likewise.
39858 * conform/data/stdlib.h-data: Likewise.
39859 * conform/data/stropts.h-data: Likewise.
39860 * conform/data/sys/mman.h-data: Likewise.
39861 * conform/data/sys/stat.h-data: Likewise.
39862 * conform/data/sys/types.h-data: Likewise.
39863 * conform/data/sys/wait.h-data: Likewise.
39864 * conform/data/time.h-data: Likewise.
39865 * conform/data/unistd.h-data: Likewise.
39866 * conform/data/utime.h-data: Likewise.
39868 * io/sys/stat.h: fchmod was always in POSIX.
39869 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39870 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39871 * rt/aio.h: Define __need_timespec before including <time.h>.
39872 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39873 struct. Add forward declaration of pthread_attr_t and use it in
39875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39877 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39878 always remove CLK_TCK definition.
39880 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39882 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39884 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39886 * conform/run-conformtest.sh: New file.
39887 * conform/Makefile: Run run-conformtest for tests.
39888 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39891 * conform/data/uchar.h-data: New file.
39892 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39893 * conform/data/arpa/inet.h-data: Likewise.
39894 * conform/data/assert.h-data: Likewise.
39895 * conform/data/complex.h-data: Likewise.
39896 * conform/data/cpio.h-data: Likewise.
39897 * conform/data/ctype.h-data: Likewise.
39898 * conform/data/dirent.h-data: Likewise.
39899 * conform/data/dlfcn.h-data: Likewise.
39900 * conform/data/errno.h-data: Likewise.
39901 * conform/data/fcntl.h-data: Likewise.
39902 * conform/data/float.h-data: Likewise.
39903 * conform/data/fmtmsg.h-data: Likewise.
39904 * conform/data/fnmatch.h-data: Likewise.
39905 * conform/data/ftw.h-data: Likewise.
39906 * conform/data/glob.h-data: Likewise.
39907 * conform/data/grp.h-data: Likewise.
39908 * conform/data/iconv.h-data: Likewise.
39909 * conform/data/inttypes.h-data: Likewise.
39910 * conform/data/langinfo.h-data: Likewise.
39911 * conform/data/libgen.h-data: Likewise.
39912 * conform/data/limits.h-data: Likewise.
39913 * conform/data/locale.h-data: Likewise.
39914 * conform/data/math.h-data: Likewise.
39915 * conform/data/monetary.h-data: Likewise.
39916 * conform/data/mqueue.h-data: Likewise.
39917 * conform/data/ndbm.h-data: Likewise.
39918 * conform/data/net/if.h-data: Likewise.
39919 * conform/data/netdb.h-data: Likewise.
39920 * conform/data/netinet/in.h-data: Likewise.
39921 * conform/data/nl_types.h-data: Likewise.
39922 * conform/data/poll.h-data: Likewise.
39923 * conform/data/pthread.h-data: Likewise.
39924 * conform/data/pwd.h-data: Likewise.
39925 * conform/data/regex.h-data: Likewise.
39926 * conform/data/sched.h-data: Likewise.
39927 * conform/data/search.h-data: Likewise.
39928 * conform/data/semaphore.h-data: Likewise.
39929 * conform/data/setjmp.h-data: Likewise.
39930 * conform/data/signal.h-data: Likewise.
39931 * conform/data/spawn.h-data: Likewise.
39932 * conform/data/stdarg.h-data: Likewise.
39933 * conform/data/stdio.h-data: Likewise.
39934 * conform/data/stdlib.h-data: Likewise.
39935 * conform/data/string.h-data: Likewise.
39936 * conform/data/strings.h-data: Likewise.
39937 * conform/data/stropts.h-data: Likewise.
39938 * conform/data/sys/ipc.h-data: Likewise.
39939 * conform/data/sys/mman.h-data: Likewise.
39940 * conform/data/sys/msg.h-data: Likewise.
39941 * conform/data/sys/resource.h-data: Likewise.
39942 * conform/data/sys/select.h-data: Likewise.
39943 * conform/data/sys/sem.h-data: Likewise.
39944 * conform/data/sys/shm.h-data: Likewise.
39945 * conform/data/sys/socket.h-data: Likewise.
39946 * conform/data/sys/stat.h-data: Likewise.
39947 * conform/data/sys/statvfs.h-data: Likewise.
39948 * conform/data/sys/time.h-data: Likewise.
39949 * conform/data/sys/timeb.h-data: Likewise.
39950 * conform/data/sys/times.h-data: Likewise.
39951 * conform/data/sys/types.h-data: Likewise.
39952 * conform/data/sys/uio.h-data: Likewise.
39953 * conform/data/sys/un.h-data: Likewise.
39954 * conform/data/sys/utsname.h-data: Likewise.
39955 * conform/data/sys/wait.h-data: Likewise.
39956 * conform/data/syslog.h-data: Likewise.
39957 * conform/data/tar.h-data: Likewise.
39958 * conform/data/termios.h-data: Likewise.
39959 * conform/data/utime.h-data: Likewise.
39960 * conform/data/utmpx.h-data: Likewise.
39961 * conform/data/varargs.h-data: Likewise.
39962 * conform/data/wchar.h-data: Likewise.
39963 * conform/data/wctype.h-data: Likewise.
39964 * conform/data/wordexp.h-data: Likewise.
39966 * include/stropts.h: New file.
39967 * include/uchar.h: New file.
39968 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39969 * include/assert.h: Likewise.
39970 * include/ctype.h: Likewise.
39971 * include/dirent.h: Likewise.
39972 * include/dlfcn.h: Likewise.
39973 * include/fcntl.h: Likewise.
39974 * include/fnmatch.h: Likewise.
39975 * include/glob.h: Likewise.
39976 * include/grp.h: Likewise.
39977 * include/libio.h: Likewise.
39978 * include/locale.h: Likewise.
39979 * include/math.h: Likewise.
39980 * include/net/if.h: Likewise.
39981 * include/netdb.h: Likewise.
39982 * include/netinet/in.h: Likewise.
39983 * include/pthread.h: Likewise.
39984 * include/pwd.h: Likewise.
39985 * include/regex.h: Likewise.
39986 * include/sched.h: Likewise.
39987 * include/search.h: Likewise.
39988 * include/setjmp.h: Likewise.
39989 * include/signal.h: Likewise.
39990 * include/stdio.h: Likewise.
39991 * include/stdlib.h: Likewise.
39992 * include/string.h: Likewise.
39993 * include/sys/cdefs.h: Likewise.
39994 * include/sys/mman.h: Likewise.
39995 * include/sys/msg.h: Likewise.
39996 * include/sys/resource.h: Likewise.
39997 * include/sys/select.h: Likewise.
39998 * include/sys/socket.h: Likewise.
39999 * include/sys/stat.h: Likewise.
40000 * include/sys/statvfs.h: Likewise.
40001 * include/sys/time.h: Likewise.
40002 * include/sys/times.h: Likewise.
40003 * include/sys/uio.h: Likewise.
40004 * include/sys/utsname.h: Likewise.
40005 * include/sys/wait.h: Likewise.
40006 * include/termios.h: Likewise.
40007 * include/time.h: Likewise.
40008 * include/ulimit.h: Likewise.
40009 * include/unistd.h: Likewise.
40010 * include/utime.h: Likewise.
40011 * include/wchar.h: Likewise.
40012 * include/wctype.h: Likewise.
40013 * include/wordexp.h: Likewise.
40015 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40017 * time/time.h: TIME_UTC must be a macro.
40018 Make timespec_get available for ISO C11 only as well.
40020 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40022 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40023 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40025 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40027 * configure.in: Use -o not -a in test for unsupported multi-arch.
40029 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40031 * manual/texinfo.tex: Update to version 2012-01-19.16.
40033 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40035 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40037 2012-02-24 Roland McGrath <roland@hack.frob.com>
40040 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40041 * manual/fdl-1.3.texi: New file.
40042 * manual/fdl-1.1.texi: File removed.
40045 * manual/libc.texinfo (FDL_VERSION): New @set.
40046 Use it for mention of FDL in cover text.
40047 (Documentation License): Use it in @include file name.
40049 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40050 Roland McGrath <roland@hack.frob.com>
40053 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40054 (not LONG_LONG_MAX and LONG_LONG_MIN.
40055 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40056 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40058 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40060 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40064 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40065 manipulate bits before adding and subtracting TWO23[sx].
40066 * math/libm-test.inc (nearbyint_test): Add more tests.
40068 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40071 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40072 bits before adding and subtracting TWO23[sx].
40073 * math/libm-test.inc (rint_test): Add more tests.
40074 (rint_test_tonearest): Likewise.
40075 (rint_test_towardzero): Likewise.
40076 (rint_test_downward): Likewise.
40077 (rint_test_upward: Likewise.
40079 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40082 * include/stdc-predef.h: New file. Extracted from features.h.
40083 * include/features.h: Include stdc-predef.h.
40084 * Makefile (headers): Add stdc-predef.h.
40085 * CONFORMANCE (Compiler limitations): Update.
40087 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40089 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40091 2012-02-21 David S. Miller <davem@davemloft.net>
40093 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40094 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40096 2012-02-20 David S. Miller <davem@davemloft.net>
40098 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40099 using a normal save/restore sequence, rather than allocating a
40100 dummy stack frame just to store a frame pointer and restore.
40101 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40103 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40105 * manual/install.texi: Fix stray word in line-wrapped comment.
40107 2012-02-20 David S. Miller <davem@davemloft.net>
40109 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40110 both binutils and gcc support GOTDATA.
40112 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40113 "rd %pc" in the PIC register setup sequences.
40115 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40116 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40117 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40118 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40119 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40121 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40122 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40124 (SYSCALL_ERROR_HANDLER): Likewise.
40125 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40126 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40128 (SYSCALL_ERROR_HANDLER): Likewise.
40130 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40131 (HAVE_GCC_GOTDATA): New.
40132 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40133 relocation support in both binutils and gcc.
40134 * sysdeps/sparc/elf/configure: Regenerate.
40136 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40137 * sysdeps/sparc/sparc32/elf/configure: Delete.
40138 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40139 * sysdeps/sparc/sparc64/elf/configure: Delete.
40140 * sysdeps/sparc/elf/configure.in: New file.
40141 * sysdeps/sparc/elf/configure: Generate.
40143 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40144 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40145 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40146 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40147 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40149 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40151 * manual/install.texi: Do not mention specific glibc version
40153 * manual/libc.texinfo (VERSION, UPDATED): Update.
40154 (@copying): Use @copyright{} and range of years.
40156 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40159 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40160 [crti.S not in sysdirs] (generated): Do not append.
40161 [crti.S not in sysdirs] (omit-deps): Likewise.
40162 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40163 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40164 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40165 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40166 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40168 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40169 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40170 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40171 * csu/defs.awk: Remove file.
40172 * sysdeps/generic/initfini.c: Likewise.
40173 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40175 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40178 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40180 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40181 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40182 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40183 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40185 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40187 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40188 (__EPOLL_PACKED): Define to empty if not defined by
40190 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40191 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40194 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40196 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40197 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40198 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40199 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40201 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40205 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40207 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40209 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40210 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40214 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40216 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40217 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40219 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40221 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40222 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40224 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40226 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40229 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40231 * math/w_acos.c: Use non-signaling floating-point comparisons.
40232 * math/w_acosf.c: Likewise.
40233 * math/w_acosh.c: Likewise.
40234 * math/w_acoshf.c: Likewise.
40235 * math/w_acoshl.c: Likewise.
40236 * math/w_acosl.c: Likewise.
40237 * math/w_asin.c: Likewise.
40238 * math/w_asinf.c: Likewise.
40239 * math/w_asinl.c: Likewise.
40240 * math/w_atanh.c: Likewise.
40241 * math/w_atanhf.c: Likewise.
40242 * math/w_atanhl.c: Likewise.
40243 * math/w_exp2.c: Likewise.
40244 * math/w_exp2f.c: Likewise.
40245 * math/w_exp2l.c: Likewise.
40246 * math/w_j0.c: Likewise.
40247 * math/w_j0f.c: Likewise.
40248 * math/w_j0l.c: Likewise.
40249 * math/w_j1.c: Likewise.
40250 * math/w_j1f.c: Likewise.
40251 * math/w_j1l.c: Likewise.
40252 * math/w_jn.c: Likewise.
40253 * math/w_jnf.c: Likewise.
40254 * math/w_log.c: Likewise.
40255 * math/w_log10.c: Likewise.
40256 * math/w_log10f.c: Likewise.
40257 * math/w_log10l.c: Likewise.
40258 * math/w_log2.c: Likewise.
40259 * math/w_log2f.c: Likewise.
40260 * math/w_log2l.c: Likewise.
40261 * math/w_logf.c: Likewise.
40262 * math/w_logl.c: Likewise.
40263 * math/w_sqrt.c: Likewise.
40264 * math/w_sqrtf.c: Likewise.
40265 * math/w_sqrtl.c: Likewise.
40266 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40267 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40269 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40270 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40272 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40275 * manual/string.texi (strnlen): Use correct parameter name in
40276 equivalent expression.
40278 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40281 * manual/users.texi (seteuid): Consistently use neweuid for
40284 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40287 * manual/nss.texi (Services in the NSS configuration): Correct
40288 list of services in example configuration file.
40290 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40293 * manual/arith.texi: Remove statements about negative zero
40294 behaving identically to zero.
40296 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40299 * manual/install.texi: Do not document upgrading from libc5.
40301 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40304 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40306 2012-02-18 David S. Miller <davem@davemloft.net>
40308 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40309 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40310 %o7 across the call.
40311 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40313 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40314 SETUP_PIC_REG_LEAF.
40315 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40316 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40317 * sysdeps/sparc/crtn.S: Likewise.
40319 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40321 * aout/Makefile: Remove.
40323 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40326 * manual/examples/argp-ex1.c (main): Format definition in GNU
40328 * manual/examples/argp-ex2.c (main): Likewise.
40329 * manual/examples/argp-ex3.c (main): Likewise.
40330 * manual/examples/argp-ex4.c (main): Likewise.
40331 * manual/examples/longopt.c (main): Use new-style prototype
40333 * manual/examples/strncat.c (main): Specify return type and use
40334 (void) for arguments.
40335 * manual/examples/subopt.c (main): Use char **argv argument.
40337 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40340 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40343 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40346 * manual/string.texi (strchr): Change when strchrnul is
40349 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40352 * manual/locale.texi (setlocale): Document LOCPATH.
40354 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40357 * manual/process.texi (execle): Move @dots{} before last argument.
40359 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40362 * manual/charset.texi (Generic Charset Conversion): Fix typo
40363 (LC_TYPE -> LC_CTYPE).
40365 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40368 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40369 (scalbnf): Likewise.
40370 (scalbnl): Likewise.
40371 (scalbln): Likewise.
40372 (scalblnf): Likewise.
40373 (scalblnl): Likewise.
40374 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40375 (vwarnx): Likewise.
40378 * manual/filesys.texi (telldir): Use braces around return type.
40379 * manual/llio.texi (mmap): Add space after comma.
40380 (mmap64): Likewise.
40381 * manual/math.texi (jn): Use @var{} on parameter names.
40387 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40389 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40391 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40392 (sched_get_priority_max): Likewise.
40393 * manual/signal.texi (sigvec): Add space after comma.
40394 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40396 (if_indextoname): Likewise.
40397 (if_freenameindex): Likewise.
40398 (sendto): Use ',' instead of '.' in prototype.
40399 * manual/startup.texi (syscall): Use @dots{} instead of literal
40401 * manual/stdio.texi (__fpending): Separate initial words of
40402 paragraph from @deftypefun line.
40403 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40405 (vsyslog): Use @var{} on parameter names.
40406 * manual/terminal.texi (stty): Use @var{} on parameter names.
40407 * manual/users.texi (getutmp): Use @var{} on parameter names.
40408 (getutmpx): Likewise.
40410 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40413 * manual/stdio.texi (fopen): Fix typos in description of
40416 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40419 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40420 get clock_id definition.
40422 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40425 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40426 (madvise): Cast every argument to void on its own.
40428 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40431 * manual/startup.texi (Exit Status): Fix typo.
40433 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40436 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40437 * manual/examples/argp-ex2.c: Likewise.
40438 * manual/examples/argp-ex3.c: Likewise.
40440 2012-02-16 Richard Henderson <rth@redhat.com>
40442 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40443 * sysdeps/s390/s390-32/initfini.c: Remove.
40444 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40445 * sysdeps/s390/s390-64/initfini.c: Remove.
40447 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40449 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40450 compiler output for sysdeps/generic/initfini.c.
40451 * sysdeps/sh/elf/initfini.c: Remove file.
40453 2012-02-16 David S. Miller <davem@davemloft.net>
40456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40458 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40459 * sysdeps/sparc/crti.S: New file.
40460 * sysdeps/sparc/crtn.S: New file.
40461 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40462 * sysdeps/sparc/sparc64/Makefile: Likewise.
40464 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40467 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40469 2012-02-15 Roland McGrath <roland@hack.frob.com>
40472 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40474 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40475 (write, read, close): Likewise.
40476 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40478 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40480 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40481 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40482 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40483 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40485 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40489 2012-02-14 Marek Polacek <polacek@redhat.com>
40491 * sysdeps/x86_64/crti.S: New file.
40492 * sysdeps/x86_64/crtn.S: New file.
40493 * sysdeps/x86_64/elf/initfini.c: Remove file.
40495 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40497 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40498 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40499 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40500 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40502 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40506 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40508 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40509 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40510 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40511 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40513 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40517 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40519 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40520 __feraiseexcept instead of feraiseexcept.
40522 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40523 nanosleep invocations.
40524 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40525 strings, and add error checking for a nanosleep invocations.
40527 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40529 Replace FSF snail mail address with URLs, as per GNU coding standards.
40530 Most of the snail mail addresses were wrong anyway, and omitting
40531 them makes the source code easier to maintain. Almost all of the
40532 changes are to license notices and to locale LC_IDENTIFICATION
40533 addresses, except for this one:
40534 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40535 not its snail mail address.
40537 2012-02-09 Richard Henderson <rth@twiddle.net>
40539 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40540 of kernel-features.h.
40542 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40544 2012-02-08 Marek Polacek <polacek@redhat.com>
40546 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40547 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40548 * sysdeps/gnu/_G_config.h: Likewise.
40549 * sysdeps/generic/_G_config.h: Likewise.
40551 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40553 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40557 * sysdeps/powerpc/powerpc32/crti.S: New file.
40558 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40559 * sysdeps/powerpc/powerpc64/crti.S: New file.
40560 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40562 * Makeconfig (have-initfini): Don't set.
40563 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40564 * configure.in (nopic_initfini): Don't substitute.
40565 * config.h.in (HAVE_INITFINI): Don't #undef.
40566 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40567 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40569 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40571 Support crti.S and crtn.S provided directly by architectures.
40572 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40573 [crti.S in sysdirs] (omit-deps): Likewise.
40574 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40575 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40576 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40577 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40578 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40579 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40580 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40581 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40582 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40583 compiler output for sysdeps/generic/initfini.c.
40584 * sysdeps/i386/elf/Makefile: Remove file.
40585 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40587 2012-02-07 Marek Polacek <polacek@redhat.com>
40589 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40590 * sysdeps/gnu/_G_config.h: Likewise.
40591 * sysdeps/mach/hurd/_G_config.h: Likewise.
40593 2012-02-07 Marek Polacek <polacek@redhat.com>
40595 * math/Makefile (tests): Add tst-CMPLX2.
40596 * math/tst-CMPLX2.c: New file.
40598 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40600 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40602 * math/libm-test.inc (jn_test): Add missing L suffix.
40604 2012-02-06 Marek Polacek <polacek@redhat.com>
40606 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40607 * sysdeps/i386/fpu/e_powf.S: Likewise.
40608 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40609 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40610 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40611 * sysdeps/i386/fpu/e_pow.S: Likewise.
40612 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40613 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40614 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40615 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40616 * sysdeps/i386/fpu/e_log2.S: Likewise.
40617 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40618 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40619 * sysdeps/i386/fpu/e_powl.S: Likewise.
40620 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40621 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40622 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40623 * sysdeps/i386/fpu/e_logl.S: Likewise.
40624 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40625 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40626 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40627 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40628 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40629 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40630 * sysdeps/i386/fpu/e_log.S: Likewise.
40631 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40632 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40633 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40634 * sysdeps/i386/fpu/e_logf.S: Likewise.
40635 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40636 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40637 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40638 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40639 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40640 * sysdeps/i386/fpu/e_log10.S: Likewise.
40641 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40642 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40643 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40644 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40645 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40646 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40647 * sysdeps/i386/asm-syntax.h: Likewise.
40648 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40649 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40650 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40651 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40652 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40653 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40654 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40655 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40656 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40657 * sysdeps/powerpc/sysdep.h: Likewise.
40658 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40659 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40661 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40664 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40666 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40668 * sysdeps/i386/sysdep.h: Include <features.h>.
40669 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40672 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40674 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40676 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40679 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40681 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40682 (SETUP_PIC_REG): Use GET_PC_THUNK.
40683 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40686 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40688 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40689 for non-PIC compilation.
40690 (SETUP_PIC_REG): Add .p2align directive.
40691 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40692 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40693 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40694 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40695 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40696 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40697 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40698 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40699 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40700 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40701 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40702 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40703 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40704 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40705 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40706 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40707 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40708 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40709 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40710 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40711 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40712 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40713 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40714 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40715 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40717 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40718 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40719 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40720 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40721 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40722 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40723 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40724 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40725 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40726 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40727 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40728 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40729 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40730 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40731 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40733 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40735 * math/tst-CMPLX.c: Include <stdio.h>.
40737 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40739 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40741 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40742 * sysdeps/sparc/bits/mathdef.h: Likewise.
40744 2012-01-31 Marek Polacek <polacek@redhat.com>
40746 * libio/libio.h: Don't define _PARAMS.
40747 * locale/programs/config.h: Don't define PARAMS.
40748 * stdlib/strtol_l.c: Likewise.
40749 (__strtol_l): Remove PARAMS from the prototype.
40751 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40753 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40754 names. Just use the correct names. Remove unnecessary wrapper
40756 * malloc/arena.c: Likewise.
40757 * malloc/hooks.c: Likewise.
40759 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40760 ARENA_TEST says not to. Simplify test for creation of a new arena.
40761 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40763 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40765 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40767 (update_get_addr): New function.
40768 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40769 GET_ADDR_MODULE parameter.
40771 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40773 * crypt/cert.c: Remove __STDC__ conditionals.
40774 * crypt/crypt-entry.c: Likewise.
40775 * crypt/crypt_util.c: Likewise.
40776 * libio/filedoalloc.c: Likewise.
40777 * libio/fileops.c: Likewise.
40778 * libio/genops.c: Likewise.
40779 * libio/iofclose.c: Likewise.
40780 * libio/iofdopen.c: Likewise.
40781 * libio/iofopen.c: Likewise.
40782 * libio/iofopen64.c: Likewise.
40783 * libio/iogetdelim.c: Likewise.
40784 * libio/iopopen.c: Likewise.
40785 * libio/obprintf.c: Likewise.
40786 * libio/oldfileops.c: Likewise.
40787 * libio/oldiofclose.c: Likewise.
40788 * libio/oldiofdopen.c: Likewise.
40789 * libio/oldiofopen.c: Likewise.
40790 * libio/oldiopopen.c: Likewise.
40791 * libio/wfiledoalloc.c: Likewise.
40792 * libio/wgenops.c: Likewise.
40793 * locale/programs/xmalloc.c: Likewise.
40794 * misc/syslog.c: Likewise.
40795 * stdio-common/xbug.c: Likewise.
40796 * string/memchr.c: Likewise.
40797 * string/memcmp.c: Likewise.
40798 * string/memrchr.c: Likewise.
40799 * string/rawmemchr.c: Likewise.
40800 * sysdeps/posix/getcwd.c: Likewise.
40801 * time/strftime_l.c: Likewise.
40803 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40805 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40806 * config.make.in (config-cflags-sse2avx): Define.
40807 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40810 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40812 * scripts/config.guess: Update from upstream config git repository.
40813 * scripts/config.sub: Likewise.
40815 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40817 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40819 (R_TILEPRO_*, R_TILEGX_*): New macros.
40821 * scripts/firstversions.awk: Fix bug in version range handling.
40823 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40825 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40827 * include/sys/epoll.h: New file.
40828 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40831 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40833 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40834 Avoid unnecessary __WORDSIZE == 64 test.
40835 (fmaxf): Use VEX format if possible.
40840 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40841 * math/math_private.h: Remove libc_fegetround* and
40843 * sysdeps/i386/configure.in: Check for -msse2avx.
40844 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40845 also if SSE2AVX is defined.
40846 Remove libc_fegetround* and libc_fesetround*.
40847 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40848 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40849 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40851 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40852 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40853 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40854 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40857 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40859 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40861 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40865 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40868 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40870 * Makeconfig (libm): Define.
40871 * elf/Makefile: Add rules to build and run tst-relsort1.
40872 * elf/tst-relsort1.c: New file.
40873 * elf/tst-relsort1mod1.c: New file.
40874 * elf/tst-relsort1mod2.c: New file.
40876 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40878 * math/s_ldexp.c: Remove __STDC__ conditionals.
40879 * math/s_ldexpf.c: Likewise.
40880 * math/s_ldexpl.c: Likewise.
40881 * math/s_nextafter.c: Likewise.
40882 * math/s_nexttowardf.c: Likewise.
40883 * math/s_significand.c: Likewise.
40884 * math/s_significandf.c: Likewise.
40885 * math/s_significandl.c: Likewise.
40886 * math/w_jnl.c: Likewise.
40887 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40888 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40889 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40890 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40891 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40893 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40894 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40895 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40896 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40897 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40898 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40899 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40900 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40901 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40902 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40903 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40904 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40906 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40907 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40908 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40909 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40910 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40911 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40912 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40913 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40914 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40915 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40916 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40917 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40918 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40919 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40921 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40922 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40923 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40924 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40925 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40926 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40927 * sysdeps/ieee754/k_standard.c: Likewise.
40928 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40929 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40930 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40931 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40932 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40933 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40934 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40935 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40936 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40937 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40938 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40939 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40940 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40941 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40942 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40943 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40946 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40947 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40948 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40989 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40990 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40994 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41002 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41003 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41007 * sysdeps/ieee754/s_matherr.c: Likewise.
41008 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41009 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41013 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41015 * crypt/md5.h: Remove __STDC__ conditionals.
41016 * libio/libioP.h: Likewise.
41017 * locale/programs/config.h: Likewise.
41018 * sysdeps/generic/sysdep.h: Likewise.
41019 * sysdeps/i386/asm-syntax.h: Likewise.
41020 * sysdeps/s390/asm-syntax.h: Likewise.
41021 * sysdeps/unix/sysdep.h: Likewise.
41022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41025 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41027 * libio/libio.h: Remove __STDC__ conditionals.
41028 * malloc/obstack.h: Likewise.
41029 * math/complex.h: Likewise.
41030 * math/math.h: Likewise.
41031 * sysdeps/generic/_G_config.h: Likewise.
41032 * sysdeps/gnu/_G_config.h: Likewise.
41033 * sysdeps/mach/hurd/_G_config.h: Likewise.
41034 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41035 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41036 * sysdeps/sparc/bits/mathdef.h: Likewise.
41038 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41041 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41042 Clean up HAS_* macros.
41043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41044 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41046 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41048 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41049 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41051 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41052 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41054 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41056 * elf/tst-unique3.cc (gets): Remove declaration.
41057 * elf/tst-unique3lib.cc (gets): Likewise.
41058 * elf/tst-unique3lib2.cc (gets): Likewise.
41059 * elf/tst-unique4.cc (gets): Likewise.
41061 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41063 * include/stdio.h: Add C++ protection. Add gets declarations and
41065 * debug/tst-chk1.c: Don't declare gets here.
41066 * stdio-common/tst-gets.c: Likewise.
41068 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41070 * posix/glob: Remove directory.
41072 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41074 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41076 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41078 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41079 of the non-standard EPFNOSUPPORT.
41081 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41083 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41084 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41085 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41087 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41089 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41091 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41093 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41095 * nscd/grpcache.c (cache_addgr): Likewise.
41096 * nscd/hstcache.c (cache_addhst): Likewise.
41097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41098 * nscd/pwdcache.c (cache_addpw): Likewise.
41099 * nscd/servicescache.c (cache_addserv): Likewise.
41101 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41103 * malloc/malloc.c: Various cleanups.
41104 * malloc/hooks.c: Likewise.
41106 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41107 * stdlib/bug-fmtmsg1.c: New file.
41109 * stdlib/fmtmsg.c (init): Add missing unlock.
41110 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41112 2012-01-12 Marek Polacek <polacek@redhat.com>
41114 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41117 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41119 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41120 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41121 macro to ensure uniqueness of label name.
41122 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41123 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41125 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41127 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41129 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41130 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41131 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41132 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41134 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41136 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41138 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41139 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41140 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41142 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41144 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41145 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41146 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41149 * math/bits/math-finite.h: Add ldexp support.
41151 2012-01-10 Marek Polacek <polacek@redhat.com>
41153 * locale/programs/localedef.h (show_archive_content): Add noreturn
41156 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41158 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41160 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41162 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41164 * io/Makefile (headers): Add bits/poll2.h.
41166 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41169 typo #include statement.
41171 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41173 * include/sys/cdefs.h: Define __attribute_alloc_size.
41174 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41175 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41176 * elf/pldd.c: Likewise.
41177 * iconv/iconv_charmap.c: Likewise.
41178 * iconv/iconvconfig.c: Likewise.
41179 * iconv/strtab.c: Likewise.
41180 * locale/programs/locale.c: Likewise.
41181 * locale/programs/localedef.h: Likewise.
41182 * locale/programs/simple-hash.c: Likewise.
41183 * nscd/nscd.h: Likewise.
41184 * nss/makedb.c: Likewise.
41185 * sysdeps/generic/ldconfig.h: Likewise.
41186 * locale/programs/localedef.c: Remove xmalloc prototype.
41187 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41189 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41191 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41194 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41196 * math/Makefile (tests): Add tst-CMPLX.
41197 * math/tst-CMPLX.c: New file.
41199 * math/complex.h (CMPLXL): Fix typo.
41201 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41202 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41204 * debug/tst-chk1.c: Add poll and ppoll tests.
41205 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41206 * include/sys/poll.h: Add hidden proto for ppoll.
41207 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41208 * sysdeps/mach/hurd/ppoll.c: Likewise.
41209 * io/ppoll.c: Likewise.
41210 * debug/poll_chk.c: New file.
41211 * debug/ppoll_chk.c: New file.
41212 * include/bits/poll2.h: New file.
41213 * io/bits/poll2.h: New file.
41216 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41218 * configure.in: static is always set to yes. Remove.
41219 * config.make.in: Don't set build-static.
41220 * Makeconfig: Remove use of build-static.
41221 * dlfcn/Makefile: Likewise.
41222 * elf/Makefile: Likewise.
41223 * math/Makefile: Likewise.
41224 * misc/Makefile: Likewise.
41225 * nptl/Makefile: Likewise.
41226 * sysdeps/mach/hurd/Makefile: Likewise.
41228 * configure.in: PWD_P is not used anymore.
41229 * config.make.in: Remove PWD_P entry.
41231 * configure.in: Remove last remnants of RANLIB.
41232 No need to check for signed size_t anymore.
41233 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41235 Remove __builtin_expect test because we require at least gcc 3.4.
41236 * aclocal.m4: Likewise.
41238 * wcsmbs/mbrtoc16.c: Implement using towc function.
41239 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41240 * wcsmbs/wcsmbsload.c: Likewise.
41241 * iconv/gconv_simple.c: Likewise.
41242 * iconv/gconv_int.h: Likewise.
41243 * iconv/gconv_builtin.h: Likewise.
41244 * iconv/iconv_prog.c: Remove CHAR16 handling.
41246 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41248 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41250 * configure.in: Remove --with-elf and --enable-bounded options.
41251 Dont set base_machine for ia64. More non-ELF conditions removed.
41252 Remove testing and setting of leading underscore information.
41253 * config.make.in (build-bounded): Set to no.
41254 * config.h.in: Remove NO_UNDERSCORES entry.
41255 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41257 * csu/start.c: Remove !NO_UNDERSCORE code.
41258 * locale/localeinfo.h: Likewise.
41259 * sysdeps/generic/machine-gmon.h: Likewise.
41260 * sysdeps/generic/sysdep.h: Likewise.
41261 * sysdeps/i386/sysdep.h: Likewise.
41262 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41263 * sysdeps/mach/sysdep.h: Likewise.
41264 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41265 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41266 * sysdeps/sh/sysdep.h: Likewise.
41267 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41268 * sysdeps/unix/i386/sysdep.S: Likewise.
41269 * sysdeps/unix/sparc/start.c: Likewise.
41270 * sysdeps/unix/sparc/sysdep.S: Likewise.
41271 * sysdeps/unix/sparc/sysdep.h: Likewise.
41272 * sysdeps/unix/start.c: Likewise.
41273 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41274 * sysdeps/x86_64/sysdep.h: Likewise.
41276 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41279 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41281 * argp/argp-fmtstream.h: Use const instead __const.
41282 * argp/argp.h: Likewise.
41283 * assert/assert.h: Likewise.
41284 * bits/fenv.h: Likewise.
41285 * bits/sched.h: Likewise.
41286 * bits/sigset.h: Likewise.
41287 * bits/sigthread.h: Likewise.
41288 * catgets/nl_types.h: Likewise.
41289 * conform/data/pthread.h-data: Likewise.
41290 * crypt/crypt-private.h: Likewise.
41291 * crypt/crypt.h: Likewise.
41292 * crypt/crypt_util.c: Likewise.
41293 * ctype/ctype.h: Likewise.
41294 * debug/execinfo.h: Likewise.
41295 * debug/mbsnrtowcs_chk.c: Likewise.
41296 * debug/mbsrtowcs_chk.c: Likewise.
41297 * debug/wcsnrtombs_chk.c: Likewise.
41298 * debug/wcsrtombs_chk.c: Likewise.
41299 * debug/wcstombs_chk.c: Likewise.
41300 * dirent/dirent.h: Likewise.
41301 * dlfcn/dlfcn.h: Likewise.
41302 * elf/neededtest4.c: Likewise.
41303 * grp/grp.h: Likewise.
41304 * gshadow/gshadow.h: Likewise.
41305 * iconv/gconv.h: Likewise.
41306 * iconv/gconv_int.h: Likewise.
41307 * iconv/gconv_simple.c: Likewise.
41308 * iconv/iconv.h: Likewise.
41309 * iconv/loop.c: Likewise.
41310 * iconv/skeleton.c: Likewise.
41311 * include/aio.h: Likewise.
41312 * include/aliases.h: Likewise.
41313 * include/argz.h: Likewise.
41314 * include/arpa/inet.h: Likewise.
41315 * include/assert.h: Likewise.
41316 * include/dirent.h: Likewise.
41317 * include/dlfcn.h: Likewise.
41318 * include/execinfo.h: Likewise.
41319 * include/fcntl.h: Likewise.
41320 * include/fenv.h: Likewise.
41321 * include/glob.h: Likewise.
41322 * include/grp.h: Likewise.
41323 * include/libintl.h: Likewise.
41324 * include/mntent.h: Likewise.
41325 * include/netdb.h: Likewise.
41326 * include/pwd.h: Likewise.
41327 * include/rpc/netdb.h: Likewise.
41328 * include/sched.h: Likewise.
41329 * include/search.h: Likewise.
41330 * include/shadow.h: Likewise.
41331 * include/signal.h: Likewise.
41332 * include/stdio.h: Likewise.
41333 * include/stdlib.h: Likewise.
41334 * include/string.h: Likewise.
41335 * include/sys/socket.h: Likewise.
41336 * include/sys/stat.h: Likewise.
41337 * include/sys/statfs.h: Likewise.
41338 * include/sys/statvfs.h: Likewise.
41339 * include/sys/syslog.h: Likewise.
41340 * include/sys/time.h: Likewise.
41341 * include/sys/uio.h: Likewise.
41342 * include/time.h: Likewise.
41343 * include/unistd.h: Likewise.
41344 * include/utmp.h: Likewise.
41345 * include/wchar.h: Likewise.
41346 * include/wctype.h: Likewise.
41347 * inet/aliases.h: Likewise.
41348 * inet/arpa/inet.h: Likewise.
41349 * inet/netinet/ether.h: Likewise.
41350 * inet/netinet/in.h: Likewise.
41351 * intl/libintl.h: Likewise.
41352 * io/bits/fcntl2.h: Likewise.
41353 * io/fcntl.h: Likewise.
41354 * io/ftw.h: Likewise.
41355 * io/sys/poll.h: Likewise.
41356 * io/sys/stat.h: Likewise.
41357 * io/sys/statfs.h: Likewise.
41358 * io/sys/statvfs.h: Likewise.
41359 * io/utime.h: Likewise.
41360 * libio/bits/stdio.h: Likewise.
41361 * libio/bits/stdio2.h: Likewise.
41362 * libio/libio.h: Likewise.
41363 * libio/libioP.h: Likewise.
41364 * libio/stdio.h: Likewise.
41365 * locale/lc-ctype.c: Likewise.
41366 * locale/locale.h: Likewise.
41367 * login/utmp.h: Likewise.
41368 * malloc/arena.c: Likewise.
41369 * malloc/malloc.c: Likewise.
41370 * malloc/malloc.h: Likewise.
41371 * malloc/mcheck.c: Likewise.
41372 * malloc/mtrace.c: Likewise.
41373 * math/bits/mathcalls.h: Likewise.
41374 * math/fenv.h: Likewise.
41375 * math/math_private.h: Likewise.
41376 * misc/bits/error.h: Likewise.
41377 * misc/bits/syslog.h: Likewise.
41378 * misc/err.h: Likewise.
41379 * misc/error.h: Likewise.
41380 * misc/fstab.h: Likewise.
41381 * misc/mntent.h: Likewise.
41382 * misc/regexp.h: Likewise.
41383 * misc/search.h: Likewise.
41384 * misc/sgtty.h: Likewise.
41385 * misc/sys/mman.h: Likewise.
41386 * misc/sys/syslog.h: Likewise.
41387 * misc/sys/uio.h: Likewise.
41388 * misc/sys/xattr.h: Likewise.
41389 * misc/ttyent.h: Likewise.
41390 * nis/rpcsvc/ypclnt.h: Likewise.
41391 * nss/nss.h: Likewise.
41392 * posix/bits/unistd.h: Likewise.
41393 * posix/fnmatch.h: Likewise.
41394 * posix/glob.h: Likewise.
41395 * posix/sched.h: Likewise.
41396 * posix/spawn.h: Likewise.
41397 * posix/sys/wait.h: Likewise.
41398 * posix/unistd.h: Likewise.
41399 * posix/wordexp.h: Likewise.
41400 * pwd/pwd.h: Likewise.
41401 * resolv/netdb.h: Likewise.
41402 * resource/sys/resource.h: Likewise.
41403 * rt/aio.h: Likewise.
41404 * rt/bits/mqueue2.h: Likewise.
41405 * rt/mqueue.h: Likewise.
41406 * shadow/shadow.h: Likewise.
41407 * signal/signal.h: Likewise.
41408 * socket/send.c: Likewise.
41409 * socket/sendto.c: Likewise.
41410 * socket/sys/socket.h: Likewise.
41411 * stdio-common/printf.h: Likewise.
41412 * stdlib/bits/stdlib.h: Likewise.
41413 * stdlib/fmtmsg.h: Likewise.
41414 * stdlib/monetary.h: Likewise.
41415 * stdlib/stdlib.h: Likewise.
41416 * stdlib/ucontext.h: Likewise.
41417 * streams/stropts.h: Likewise.
41418 * string/argz.h: Likewise.
41419 * string/bits/string2.h: Likewise.
41420 * string/string.h: Likewise.
41421 * string/strings.h: Likewise.
41422 * sunrpc/rpc/auth.h: Likewise.
41423 * sunrpc/rpc/auth_des.h: Likewise.
41424 * sunrpc/rpc/clnt.h: Likewise.
41425 * sunrpc/rpc/netdb.h: Likewise.
41426 * sunrpc/rpc/pmap_clnt.h: Likewise.
41427 * sunrpc/rpc/xdr.h: Likewise.
41428 * sysdeps/generic/inttypes.h: Likewise.
41429 * sysdeps/generic/net/if.h: Likewise.
41430 * sysdeps/generic/sys/swap.h: Likewise.
41431 * sysdeps/gnu/net/if.h: Likewise.
41432 * sysdeps/gnu/utmpx.h: Likewise.
41433 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41434 * sysdeps/i386/i486/bits/string.h: Likewise.
41435 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41436 * sysdeps/s390/bits/string.h: Likewise.
41437 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41438 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41439 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41440 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41441 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41442 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41443 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41444 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41445 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41446 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41447 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41448 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41449 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41450 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41451 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41452 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41453 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41455 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41456 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41457 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41458 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41459 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41460 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41461 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41462 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41463 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41464 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41465 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41466 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41467 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41468 * sysvipc/sys/ipc.h: Likewise.
41469 * sysvipc/sys/msg.h: Likewise.
41470 * sysvipc/sys/sem.h: Likewise.
41471 * sysvipc/sys/shm.h: Likewise.
41472 * termios/termios.h: Likewise.
41473 * time/sys/time.h: Likewise.
41474 * time/time.h: Likewise.
41475 * wcsmbs/bits/wchar2.h: Likewise.
41476 * wcsmbs/uchar.h: Likewise.
41477 * wcsmbs/wchar.h: Likewise.
41478 * wctype/wctype.h: Likewise.
41481 * Makeconfig: Remove all but ELF support including AIX support.
41482 * Makerules: Likewise.
41483 * config.h.in: Likewise.
41484 * config.make.in: Likewise.
41485 * configure: Likewise.
41486 * configure.in: Likewise.
41487 * csu/Makefile: Likewise.
41488 * csu/version.c: Likewise.
41489 * debug/Makefile: Likewise.
41490 * dlfcn/Makefile: Likewise.
41491 * elf/Makefile: Likewise.
41492 * extra-lib.mk: Likewise.
41493 * iconv/Makefile: Likewise.
41494 * include/libc-symbols.h: Likewise.
41495 * include/shlib-compat.h: Likewise.
41496 * resolv/Makefile: Likewise.
41497 * resolv/res_libc.c: Likewise.
41498 * rt/Makefile: Likewise.
41499 * sysdeps/i386/asm-syntax.h: Likewise.
41500 * sysdeps/i386/sysdep.h: Likewise.
41501 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41502 * sysdeps/mach/sysdep.h: Likewise.
41503 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41504 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41505 * sysdeps/s390/asm-syntax.h: Likewise.
41506 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41507 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41508 * sysdeps/sh/sysdep.h: Likewise.
41509 * sysdeps/unix/sparc/sysdep.h: Likewise.
41510 * sysdeps/wordsize-32/divdi3.c: Likewise.
41511 * sysdeps/x86_64/sysdep.h: Likewise.
41513 * argp/Versions: Remove _argp_unlock_xxx.
41516 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41517 * abilist/libBrokenLocale.abilist: Likewise.
41518 * abilist/libanl.abilist: Likewise.
41519 * abilist/libc.abilist: Likewise.
41520 * abilist/libcrypt.abilist: Likewise.
41521 * abilist/libdl.abilist: Likewise.
41522 * abilist/libm.abilist: Likewise.
41523 * abilist/libnsl.abilist: Likewise.
41524 * abilist/libpthread.abilist: Likewise.
41525 * abilist/libresolv.abilist: Likewise.
41526 * abilist/librt.abilist: Likewise.
41527 * abilist/libthread_db.abilist: Likewise.
41528 * abilist/libutil.abilist: Likewise.
41529 * abilist/libnss_db.abilist: New file.
41531 * scripts/abilist.awk: Add support for indirect functions.
41533 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41535 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41537 * shlib-versions: Remove entries for ports architectures.
41539 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41541 * elf/stackguard-macros.h: Remove support for IA-64.
41542 * elf/tst-auditmod1.c: Likewise.
41543 * sysdeps/generic/ldsodefs.h: Likewise.
41545 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41546 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41550 * configure.in: Remove --enable-omitfp support.
41552 * config.make.in: Likewise.
41553 * Makeconfig: Likewise.
41554 * manual/install.texi: Likewise.
41556 In case anyone cares, the IA-64 architecture could move to ports.
41557 * sysdeps/ia64/*: Removed.
41558 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41559 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41562 * configure.in: Remove entries for unsupported architectures.
41565 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41566 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41568 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41569 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41570 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41571 fall back to using wcrtomb.
41572 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41573 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41575 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41576 * wcsmbs/tst-c16c32-1.c: New file.
41578 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41581 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41583 * elf/tst-unique3.cc: Add explicit declaration of gets.
41584 * elf/tst-unique3lib.cc: Likewise.
41585 * elf/tst-unique3lib2.cc: Likewise.
41586 * elf/tst-unique4.cc: Likewise.
41588 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41590 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41593 * assert/assert.h (static_assert): Don't define for C++.
41594 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41595 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41597 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41599 * iconv/loop.c (single loop): Fix assertion in storing of
41602 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41604 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41606 * posix/getconf.c: Update copyright year.
41607 * nss/getent.c: Likewise.
41608 * nss/makedb.c: Likewise.
41609 * iconv/iconvconfig.c: Likewise.
41610 * iconv/iconv_prog.c: Likewise.
41611 * elf/ldconfig.c: Likewise.
41612 * elf/pldd.c: Likewise.
41613 * elf/sotruss.ksh: Likewise.
41614 * catgets/gencat.c: Likewise.
41615 * csu/version.c: Likewise.
41616 * elf/ldd.bash.in: Likewise.
41617 * elf/sprof.c (print_version): Likewise.
41618 * locale/programs/locale.c: Likewise.
41619 * locale/programs/localedef.c: Likewise.
41620 * login/programs/pt_chown.c: Likewise.
41621 * nscd/nscd.c (print_version): Likewise.
41622 * debug/xtrace.sh: Likewise.
41623 * malloc/memusage.sh: Likewise.
41624 * malloc/mtrace.pl: Likewise.
41625 * debug/catchsegv.sh: Likewise.
41627 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41629 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41632 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41635 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41636 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41638 * iconv/gconv_int.h: Likewise.
41639 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41640 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41641 from libc for GLIBC_2.16.
41642 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41643 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41644 * wcsmbs/uchar.h: Really define mbstate_t.
41645 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41646 * wcsmbs/c16rtomb.c: New file.
41647 * wcsmbs/mbrtoc16.c: New file.
41648 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41649 for C/POSIX locale.
41650 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41651 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41653 * wcsmbs/wchar.h: Add missing __restrict.
41655 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41658 * time/Makefile (routines): Add timespec_get.
41659 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41660 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41661 timespec for ISO C11.
41662 * time/timespec_get.c: New file.
41663 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41664 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41667 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41668 * stdlib/stdlib.h: Declare aligned_alloc.
41669 * Versions.def: Add GLIBC_2.16 for libc.
41670 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41673 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41676 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41680 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41683 * assert/assert.h (static_assert): Define.
41685 * version.h: Update for 2.16 development version.
41688 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41691 * version.h (RELEASE): Bump for 2.15 release.
41692 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41694 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41695 Patch by Marek Polacek <mpolacek@redhat.com>.
41697 * bits/byteswap.h: Protect long long constants with __extension__.
41698 * sysdeps/i386/bits/byteswap.h: Likewise.
41699 * sysdeps/ia64/bits/byteswap.h: Likewise.
41700 * sysdeps/s390/bits/byteswap.h: Likewise.
41701 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41703 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41707 destination buffer.
41708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41710 2011-12-23 Marek Polacek <polacek@redhat.com>
41712 * elf/dl-addr.c (determine_info): Add inline keyword.
41713 * elf/tst-auditmod4b.c (check_avx): Likewise.
41714 * elf/tst-auditmod6b.c (check_avx): Likewise.
41715 * elf/tst-auditmod6c.c (check_avx): Likewise.
41716 * elf/tst-auditmod7b.c (check_avx): Likewise.
41718 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41720 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41723 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41727 processing for last bytes.
41729 2011-08-06 Bruno Haible <bruno@clisp.org>
41732 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41733 U+0385, not to U+1FEE.
41736 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41737 entry for U+00A5 U+0301.
41739 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41742 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41743 buffer for the output is too small.
41745 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41749 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41750 SSE flags if possible.
41752 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41755 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41756 processing for last bytes.
41758 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41760 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41761 (syscall-list-default-options, syscall-list-default-condition)
41762 (syscall-list-includes): Define.
41763 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41764 list of ABIs and options and #if conditions for each ABI. Do not
41765 handle common syscalls between ABIs specially.
41766 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41768 (syscall-list-variants, syscall-list-32bit-options)
41769 (syscall-list-32bit-condition, syscall-list-64bit-options)
41770 (syscall-list-64bit-condition): Define.
41771 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41772 (syscall-list-variants, syscall-list-32bit-options)
41773 (syscall-list-32bit-condition, syscall-list-64bit-options)
41774 (syscall-list-64bit-condition): Define.
41775 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41777 (syscall-list-variants, syscall-list-32bit-options)
41778 (syscall-list-32bit-condition, syscall-list-64bit-options)
41779 (syscall-list-64bit-condition): Define.
41780 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41782 (syscall-list-variants, syscall-list-32bit-options)
41783 (syscall-list-32bit-condition, syscall-list-64bit-options)
41784 (syscall-list-64bit-condition): Define.
41786 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41788 * locale/iso-639.def: Add brx entry.
41791 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41792 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41794 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41795 __feraiseexcept_renamed.
41797 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41800 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41801 EPOLLET with unsigned values.
41802 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41803 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41805 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41806 to large cancellation.
41807 * math/s_cacoshf.c: Likewise.
41808 * math/s_cacoshl.c: Likewise.
41810 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41814 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41815 * math/s_cacoshf.c: Likewise.
41816 * math/s_cacoshl.c: Likewise.
41818 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41821 * iconv/gconv.h: Define __GCONV_SWAP.
41822 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41823 * iconvdata/utf-16.c: Likewise.
41824 * iconvdata/utf-32.c: Likewise.
41826 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41829 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41830 numerator after shifting it by one limb.
41832 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41834 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41835 under [__USE_EXTERN_INLINES].
41837 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41840 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41842 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41844 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41845 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41847 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41848 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41849 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41850 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41851 for strncasecmp/strncasecmp_l compilation.
41852 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41853 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41855 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41858 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41861 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41864 * time/tzfile.c (__tzfile_read): Check values from file header.
41866 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41868 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41869 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41870 * powerpc/powerpc32/dl-start.S: Likewise.
41871 * powerpc/powerpc32/elf/start.S: Likewise.
41872 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41873 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41874 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41875 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41876 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41877 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41878 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41879 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41880 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41881 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41882 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41883 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41884 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41885 * powerpc/powerpc32/memset.S: Likewise.
41886 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41887 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41888 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41889 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41890 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41891 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41892 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41893 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41894 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41895 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41896 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41897 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41898 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41900 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41902 * math/libm-test.inc: Added more nearbyint tests.
41903 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41904 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41905 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41908 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41910 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41913 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41915 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41916 Add wcscpy-ssse3 wcscpy-c.
41917 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41918 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41919 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41920 * sysdeps/x86_64/wcschr.S: New file.
41921 * sysdeps/x86_64/wcsrchr.S: New file.
41922 * string/test-strcmp.c: Remove checking of wcscmp function for
41924 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41925 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41926 wcsrchr-sse2 wcsrchr-c.
41927 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41928 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41929 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41930 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41931 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41932 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41933 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41934 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41935 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41936 * wcsmbc/wcschr.c (WCSCHR): New macro.
41938 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41940 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41941 * wcsmbs/test-wcsrchr.c: New file.
41942 * string/test-strrchr.c: Add wcsrchr support.
41944 * wcsmbs/test-wcscpy.c: New file.
41945 * string/test-strcpy.c: Add wcscpy support.
41948 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41950 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41953 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41956 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41958 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41960 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41961 Minor optimizations.
41963 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41964 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41965 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41967 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41969 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41970 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41971 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41972 for gcc to avoid warnings.
41973 * inet/Makefile (tests): Add tst-checks.
41974 * inet/tst-checks.c: New file.
41976 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41979 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41982 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41983 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41985 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41987 2011-12-02 Ulrich Drepper <drepper@gmail.com>
41989 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41992 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41994 2011-11-29 Joseph Myers <joseph@codesourcery.com>
41996 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41997 conditional on GCC version.
41998 (__arch_compare_and_exchange_val_8_acq)
41999 (__arch_compare_and_exchange_val_16_acq)
42000 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42001 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42002 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42004 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42006 * sysdeps/sh/backtrace.c: New file.
42008 2011-12-02 Andreas Schwab <schwab@redhat.com>
42010 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42013 2011-12-01 Andreas Schwab <schwab@redhat.com>
42015 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42016 falling back to utime.
42018 2011-11-30 Andreas Schwab <schwab@redhat.com>
42020 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42021 expectations for float.
42023 2011-11-29 Andreas Schwab <schwab@redhat.com>
42025 * locale/weight.h (findidx): Add parameter len.
42026 * locale/weightwc.h (findidx): Likewise.
42027 * posix/fnmatch_loop.c (FCT): Adjust caller.
42028 * posix/regcomp.c (build_equiv_class): Likewise.
42029 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42030 * posix/regexec.c (check_node_accept_bytes): Likewise.
42031 * string/strcoll_l.c (STRCOLL): Likewise.
42032 * string/strxfrm_l.c (STRXFRM): Likewise.
42034 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42036 * Makefile.in: Remove CVSOPT handling.
42037 * configure.in: Remove use of AC_REVISION.
42038 * iconvdata/Makefile (distribute): No need to filter out CVS.
42039 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42042 2011-11-16 Andreas Schwab <schwab@redhat.com>
42044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42045 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42046 [USE_AS_STRNCASECMP_L]: Likewise.
42047 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42048 NO_TLS_DIRECT_SEG_REFS.
42049 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42050 Fix argument offsets for non-PIC.
42051 [USE_AS_STRNCASECMP_L]: Likewise.
42052 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42053 NO_TLS_DIRECT_SEG_REFS.
42055 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42057 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42059 * locale/loadlocale.c (_nl_load_locale): Likewise.
42061 2011-11-15 Andreas Schwab <schwab@redhat.com>
42063 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42064 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42066 (SYSCALL_GETTIME): Set errno on error.
42068 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42069 count references to noai6ai_cached.
42071 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42073 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42075 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42076 FD_CLOEXEC for /proc/self/maps.
42078 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42079 FD_CLOEXEC for /proc/meminfo.
42081 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42084 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42085 FD_CLOEXEC for given file.
42087 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42089 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42090 FD_CLOEXEC for /etc/hosts.
42091 (_gethtent): Likewise.
42093 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42095 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42096 cancellation and set FD_CLOEXEC for /etc/netgroup.
42098 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42099 reading /etc/publickey.
42101 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42102 allow cancellation when reading /etc/group.
42104 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42106 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42108 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42109 when using data file.
42111 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42113 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42114 (write_nis_obj): Use "c" and "e" in fopen.
42116 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42118 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42120 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42122 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42124 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42127 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42129 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42131 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42133 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42134 file parsing and set FD_CLOEXEC.
42136 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42138 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42140 2011-11-14 Andreas Schwab <schwab@redhat.com>
42142 * malloc/arena.c (arena_get2): Don't call reused_arena when
42143 _int_new_arena failed.
42145 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42147 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42148 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42149 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42150 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42152 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42153 to compile strcasecmp and strncasecmp.
42154 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42155 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42157 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42159 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42161 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42162 locale-defines.sym to gen-as-const-headers.
42163 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42164 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42166 to compile strcasecmp and strncasecmp.
42167 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42168 strcasecmp_l and strncasecmp_l.
42169 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42170 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42171 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42172 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42173 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42174 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42175 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42176 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42177 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42178 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42179 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42181 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42183 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42184 result of SYSDEP_GETTIME_CPU to retval.
42185 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42186 parameter list to macro. Remove trailing semicolon. Adjust users.
42188 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42191 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42193 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42195 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42196 from unused variable.
42198 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42200 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42203 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42206 * sunrpc/rpc_prot.c (rejected): Fix case value.
42208 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42209 unsigned long long int to avoid warnings in shift.
42211 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42213 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42216 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42217 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42218 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42220 * nis/nis_table.c (nis_list): Use variable of correct type for
42221 result of __follow_path call.
42223 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42225 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42226 of math functions ceil, trunc, floor, round, and sqrt, when
42227 avaliable on the platform.
42228 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42230 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42231 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42232 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42234 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42236 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42237 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42239 2011-11-11 Roland McGrath <roland@hack.frob.com>
42241 * include/unistd.h: Fix __readlink return type.
42242 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42244 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42246 * stdlib/ucontext.h: Undo last change for makecontext.
42248 2011-11-11 Andreas Schwab <schwab@redhat.com>
42250 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42252 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42253 * setjmp/setjmp.h: Mark functions as non-leaf.
42254 * setjmp/bits/setjmp2.h: Likewise.
42255 * stdlib/ucontext.h: Likewise.
42257 2011-11-10 Andreas Schwab <schwab@redhat.com>
42259 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42260 (reused_arena): Don't check arena limit.
42261 (arena_get2): Atomically check arena limit.
42263 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42265 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42266 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42271 2011-11-07 Andreas Schwab <schwab@redhat.com>
42273 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42274 handler when locking.
42276 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42277 Fix size of allocated buffer.
42279 2011-11-04 Andreas Schwab <schwab@redhat.com>
42282 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42283 declarations for long double functions.
42284 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42286 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42288 2011-11-03 Andreas Schwab <schwab@redhat.com>
42290 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42293 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42296 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42298 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42300 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42302 * include/alloca.h (stackinfo_alloca_round): Define.
42303 (extend_alloca): Use it.
42304 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42305 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42308 * scripts/check-local-headers.sh: Ignore libaudit.h.
42310 * nscd/Makefile (extra-objs): Make recursively expanded.
42312 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42314 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42317 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42318 * posix/tst-rfc3484-2.c: Likewise.
42319 * posix/tst-rfc3484-3.c: Likewise.
42321 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42323 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42325 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42326 process_vm_writev from libc using GLIBC_2.15 version.
42328 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42330 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42332 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42335 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42338 * nss/getent.c (initgroups_keys): Show error message in case no group
42341 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42342 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42343 __bump_nl_timestamp.
42344 * nscd/connections (nscd_init): When host database is served open
42345 netlink socket and request notification about configuration changes.
42346 (main_loop_poll): Track netlink file descriptor and bump timestamp
42347 in case data becomes available.
42348 (main_loop_epoll): Likewise.
42349 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42350 (database_pers_head): Add extra_data fileds.
42351 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42352 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42353 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42355 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42356 in6ai data, call __free_in6ai.
42357 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42358 Add -DHAVE_NETLINK.
42359 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42360 interface information. Reuse previous data if netlink timestamp
42362 (__bump_nl_timestamp): New function.
42363 (__free_in6ai): New function.
42365 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42367 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42368 close_not_cancel_no_status here.
42369 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42371 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42374 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42377 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42378 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42379 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42381 2011-07-03 Andreas Jaeger <aj@suse.de>
42384 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42385 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42386 * math/libm-test.inc (sin_test): Add test case.
42388 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42391 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42392 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42394 * elf/chroot_canon.c (chroot_canon): Cleanups.
42396 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42399 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42400 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42402 * string/test-strchr.c: Make usable for strchrnul testing.
42403 * string/test-strchrnul.c: New file.
42404 * string/Makefile (strop-tests): Add strchrnul.
42406 * po/it.po: Update from translation team.
42407 * po/es.po: Likewise.
42409 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42411 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42412 the three constants needed as parameters. Drop the others.
42413 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42414 __m128i_strloadu_tolower.
42415 Create and initialize variable zero and use it in all the places
42416 where _mm_setzero_si128 was used.
42418 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42419 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42420 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42423 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42424 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42425 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42426 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42427 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42428 __mpranred, __mptan.
42429 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42430 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42431 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42432 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42433 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42434 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42436 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42437 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42439 2011-10-28 Andreas Schwab <schwab@redhat.com>
42441 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42442 redefine if SHARED.
42443 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42446 wide char related routines to wcsmbs subdir.
42448 2011-10-27 Andreas Schwab <schwab@redhat.com>
42451 * misc/sys/cdefs.h (__THROWNL): Define.
42452 * posix/unistd.h: Use __THREADNL instead of __THREAD
42453 for memory synchronization functions.
42455 2011-10-26 Roland McGrath <roland@hack.frob.com>
42458 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42460 * manual/stdio.texi (Obstack Streams): Node removed.
42462 2011-10-26 Andreas Schwab <schwab@redhat.com>
42464 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42465 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42466 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42468 * math/math_private.h (math_force_eval): Allow non-addressable
42470 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42472 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42474 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42475 file is not needed.
42477 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42478 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42479 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42480 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42481 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42482 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42483 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42484 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42486 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42487 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42488 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42489 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42490 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42491 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42492 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42493 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42494 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42495 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42496 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42497 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42500 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42501 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42502 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42503 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42504 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42506 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42507 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42509 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42510 place. Use VEX encoding when compiling for AVX.
42512 2011-10-25 Andreas Schwab <schwab@redhat.com>
42514 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42515 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42517 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42519 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42521 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42522 useless if() expression.
42523 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42524 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42526 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42527 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42529 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42531 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42532 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42533 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42534 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42535 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42536 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42537 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42538 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42539 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42540 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42541 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42543 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42545 2011-10-25 Andreas Schwab <schwab@redhat.com>
42547 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42549 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42551 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42553 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42554 .text section. Avoid duplicate constants.
42555 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42556 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42557 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42559 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42562 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42563 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42564 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42565 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42566 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42567 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42568 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42570 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42571 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42572 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42575 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42577 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42578 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42579 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42580 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42581 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42582 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42583 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42584 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42585 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42586 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42587 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42588 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42589 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42590 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42591 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42592 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42593 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42594 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42595 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42596 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42597 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42598 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42599 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42601 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42603 * sysdeps/x86_64/dla.h: Move to ...
42604 * sysdeps/x86_64/fpu/dla.h: ...here.
42605 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42606 situations. Use __builtin_fma only for gcc 4.6 and up.
42608 * config.make.in: Add have-mfma4 entry.
42609 * configure.in: Substitute libc_cv_cc_fma4.
42610 * math/Makefile (dbl-only-routines): Add sincostab.
42611 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42612 Use __sincostab not sincos.
42613 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42615 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42620 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42621 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42622 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42623 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42625 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42626 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42628 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42629 define aliases when function name is a macro.
42630 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42631 sysdeps/ieee754/dbl-64/sincos.tbl.
42632 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42633 fma4-enabled routines.
42634 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42635 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42636 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42637 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42638 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42639 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42641 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42643 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42644 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42645 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42646 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42647 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42648 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42649 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42650 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42651 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42652 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42653 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42654 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42655 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42656 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42657 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42658 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42660 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42661 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42662 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42663 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42665 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42667 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42669 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42671 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42676 2011-10-24 Andreas Schwab <schwab@redhat.com>
42678 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42680 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42682 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42684 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42686 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42688 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42689 Remove unused variable magic_bits.
42690 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42692 * string/strnlen.c: Define and use STRNLEN macro.
42693 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42694 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42695 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42696 * wcsmbs/wcslen.c: Define and use WCSLEN.
42697 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42698 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42699 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42700 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42701 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42702 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42703 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42705 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42708 strnlen-sse2-no-bsf.
42709 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42710 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42711 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42712 Add strnlen support.
42713 (USE_AS_STRNLEN): New macro.
42714 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42715 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42716 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42717 * sysdeps/x86_64/wcslen.S: New file.
42719 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42721 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42722 XMM-moves are used for copying on small sizes.
42724 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42726 * wcsmbs/Makefile (strop-tests): Add wcschr.
42727 * wcsmbs/test-wcschr.c: New file.
42728 * string/test-strchr.c: Update.
42729 Add wcschr support.
42732 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42734 * wcsmbs/Makefile (strop-tests): Add wcslen.
42735 * wcsmbs/test-wcslen.c: New file.
42736 * string/test-strlen.c: Update.
42737 Add wcslen support.
42740 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42742 * po/it.po: Update from translation team.
42744 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42746 * sysdeps/x86_64/wcscmp.S: Update.
42747 Fix wrong comparison semantics.
42748 wcscmp shall use signed comparison not unsigned.
42749 Don't use substraction to avoid overflow bug.
42750 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42751 * wcsmbc/wcscmp.c: Likewise.
42752 * string/test-strcmp.c: Likewise.
42753 Add new tests to check cases with negative values.
42755 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42757 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42758 * sysdeps/x86_64/dla.h: ...here. New file.
42759 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42762 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42764 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42765 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42766 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42767 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42769 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42771 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42772 __ynl_finite aliases.
42774 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42778 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42780 [DLA_FMA] (EMULV): Use DLA_FMA.
42781 [DLA_FMA] (MUL12): Use EMULV.
42782 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42783 that are not needed.
42784 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42787 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42789 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42790 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42792 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42794 * math/s_nan.c: Undef __nan.
42795 * math/s_nanf.c: Undef __nanf.
42796 * math/s_nanl.c: Undef __nanl.
42797 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42800 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42802 * math/s_catan.c: Add branch predictions.
42803 * math/s_catanf.c: Likewise.
42804 * math/s_catanh.c: Likewise.
42805 * math/s_catanhf.c: Likewise.
42806 * math/s_catanhl.c: Likewise.
42807 * math/s_catanl.c: Likewise.
42808 * math/s_cexp.c: Likewise.
42809 * math/s_cexpf.c: Likewise.
42810 * math/s_cexpl.c: Likewise.
42811 * math/s_clog.c: Likewise.
42812 * math/s_clog10.c: Likewise.
42813 * math/s_clog10f.c: Likewise.
42814 * math/s_clog10l.c: Likewise.
42815 * math/s_clogf.c: Likewise.
42816 * math/s_clogl.c: Likewise.
42817 * math/s_csqrt.c: Likewise.
42818 * math/s_csqrtf.c: Likewise.
42819 * math/s_csqrtl.c: Likewise.
42820 * math/s_ctanf.c: Likewise.
42821 * math/s_ctanh.c: Likewise.
42822 * math/s_ctanhf.c: Likewise.
42823 * math/s_ctanhl.c: Likewise.
42824 * math/s_ctanl.c: Likewise.
42826 * math/math_private.h: Define __nan, __nanf, __nanl.
42827 * math/s_cacosh.c: Include <math_private.h>.
42828 * math/s_cacoshl.c: Likewise.
42829 * math/s_casinh.c: Likewise.
42830 * math/s_casinhf.c: Likewise.
42831 * math/s_casinhl.c: Likewise.
42832 * math/s_ccos.c: Rely entire on ccosh.
42833 * math/s_ccosf.c: Rely entire on ccoshf.
42834 * math/s_ccosl.c: Rely entirely on ccoshl.
42835 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42836 Remove tests for FE_INVALID.
42837 * math/s_ccoshf.c: Likewise.
42838 * math/s_ccoshl.c: Likewise.
42839 * math/s_csin.c: Likewise.
42840 * math/s_csinf.c: Likewise.
42841 * math/s_csinh.c Likewise.
42842 * math/s_csinhf.c: Likewise.
42843 * math/s_csinhl.c: Likewise.
42844 * math/s_csinl.c: Likewise.
42845 * math/s_ctan.c: Likewise.
42846 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42847 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42848 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42850 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42853 compilation problems.
42855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42858 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42860 * sysdeps/i386/configure.in: Test for -mfma4 option.
42861 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42862 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42863 COMMON_CPUID_INDEX_80000001.
42864 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42865 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42866 use it if FMA3 is not supported.
42867 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42869 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42870 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42872 2011-10-20 Andreas Schwab <schwab@redhat.com>
42875 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42876 it would create a cycle with a link time dependency.
42878 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42880 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42882 * string/Makefile (strop-tests): Add rawmemchr.
42883 * string/test-rawmemchr.c: New file.
42885 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42886 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42887 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42888 when compiling str{,n}casecmp and when AVX is available. Hook up
42889 new optimized code in initializers.
42891 2011-10-19 Andreas Schwab <schwab@redhat.com>
42893 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42894 __feraiseexcept instead of feraiseexcept.
42896 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42898 * math/math_private.h: Define defaults for libc_fetestexcept and
42900 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42901 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42902 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42903 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42904 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42905 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42906 libc_fetestexcept and libc_feupdateenv.
42908 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42909 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42910 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42911 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42912 libc_feholdexcept_setround.
42914 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42915 Add s_nearbyint-c and s_nearbyintf-c.
42916 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42917 nearbyintf inlines.
42918 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42919 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42920 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42921 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42923 * math/math_private.h: Define defaults for libc_fegetround,
42924 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42925 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42926 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42927 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42928 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42929 standard functions.
42930 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42931 Remove comments and hacks for old compiler versions.
42932 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42933 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42934 libc_feholdexceptl.
42936 2011-10-18 Andreas Schwab <schwab@redhat.com>
42938 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42939 (__feraiseexcept_renamed): Add __NTH.
42940 (feraiseexcept): Add __NTH. Rename local variables to fix
42941 namespace violations.
42943 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42945 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42947 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42949 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42950 recently added interfaces.
42951 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42953 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42954 about macro parameter expansion.
42956 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42957 __NO_MATH_INLINES is defined. Cleanups.
42959 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42960 and __floorf is target has SSE4.1.
42961 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42962 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42963 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42964 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42966 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42968 (floorf): Likewise.
42970 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42972 2011-10-17 Andreas Schwab <schwab@redhat.com>
42974 * misc/sys/cdefs.h: Fix last change.
42976 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42979 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42981 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42983 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42984 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42992 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42993 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42994 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42995 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42996 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42997 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42998 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42999 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43000 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43001 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43002 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43003 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43004 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43006 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43007 ceil, ceilf, floor, floorf.
43009 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43010 Perform IRELATIVE relocations last.
43012 * elf/do-rel.h: Add another parameter nrelative, replacing the
43013 local variable with the same name. Change name of the function
43014 to end in Rel or Rela (uppercase).
43015 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43016 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43017 elf_dynamic_do_##reloc function.
43019 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43021 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43022 is sufficient, at least on modern CPUs.
43024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43026 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43027 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43029 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43031 * math/bits/math-finite.h: Add entries for exp.
43032 * math/e_expl.c: Add __*_finite alias.
43033 * sysdeps/i386/fpu/e_exp.S: Likewise.
43034 * sysdeps/i386/fpu/e_expf.S: Likewise.
43035 * sysdeps/i386/fpu/e_expl.c: Likewise.
43036 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43037 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43040 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43041 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43042 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43044 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43045 is sufficient, at least on modern CPUs.
43047 * ctype/ctype-info.c (__ctype_init): Define.
43048 * include/ctype.h (__ctype_init): Declare.
43049 (__ctype_b_loc): The variable is always initialized.
43050 (__ctype_toupper_loc): Likewise.
43051 (__ctype_tolower_loc): Likewise.
43052 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43053 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43055 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43057 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43059 * configure.in: Also look in $cxxmachine/include for C++ system
43062 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43064 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43065 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43066 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43067 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43069 (USE_AS_WMEMCMP): New macro.
43071 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43072 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43073 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43074 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43076 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43077 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43078 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43079 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43080 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43081 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43082 (USE_AS_WMEMCMP): New macro.
43083 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43084 * sysdeps/string/test-memcmp.c: Update.
43085 Fix simple_wmemcmp.
43087 * wcsmbs/wmemcmp.c: Update.
43088 (WMEMCMP): New macro.
43091 2011-10-12 Andreas Jaeger <aj@suse.de>
43094 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43096 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43098 * libio/iofwide.c (do_length): Avoid warning.
43100 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43102 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43104 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43106 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43107 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43108 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43109 * sysdeps/i386/i686/fpu/e_log.S: New file.
43110 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43111 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43113 * ctype/ctype.h: Add support for inlined isXXX functions when
43114 compiling C++ code.
43116 2011-10-14 Andreas Schwab <schwab@redhat.com>
43118 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43120 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43122 2011-10-13 Roland McGrath <roland@hack.frob.com>
43125 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43127 2011-10-13 Andreas Schwab <schwab@redhat.com>
43129 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43130 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43133 * sysdeps/x86_64/memrchr.S: Check for zero size.
43135 * string/stratcliff.c: Add memrchr tests.
43137 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43140 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43141 rawmemchr-sse2 rawmemchr-sse2-bsf.
43142 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43143 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43144 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43145 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43146 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43147 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43148 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43149 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43150 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43151 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43152 * string/memrchr.c (MEMRCHR): New macro.
43154 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43156 Add integration with gcc's -ffinite-math-only and optimize wrapper
43158 * Versions.def: Define GLIBC_2.15 version for libm.
43159 * math/Makefile (headers): Add bits/math-finite.h.
43160 * math/bits/math-finite.h: New file.
43161 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43162 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43163 * math/e_acoshl.c: Add __*_finite alias.
43164 * math/e_acosl.c: Likewise.
43165 * math/e_asinl.c: Likewise.
43166 * math/e_atan2l.c: Likewise.
43167 * math/e_atanhl.c: Likewise.
43168 * math/e_coshl.c: Likewise.
43169 * math/e_exp10.c: Likewise.
43170 * math/e_exp10f.c: Likewise.
43171 * math/e_exp10l.c: Likewise.
43172 * math/e_exp2l.c: Likewise.
43173 * math/e_fmodl.c: Likewise.
43174 * math/e_gammal_r.c: Likewise.
43175 * math/e_hypotl.c: Likewise.
43176 * math/e_j0l.c: Likewise.
43177 * math/e_j1l.c: Likewise.
43178 * math/e_jnl.c: Likewise.
43179 * math/e_lgammal_r.c: Likewise.
43180 * math/e_log10l.c: Likewise.
43181 * math/e_log2l.c: Likewise.
43182 * math/e_logl.c: Likewise.
43183 * math/e_powl.c: Likewise.
43184 * math/e_sinhl.c: Likewise.
43185 * math/e_sqrtl.c: Likewise.
43186 * math/e_scalb.c: Completely rewritten and optimized.
43187 * math/e_scalbf.c: Likewise.
43188 * math/e_scalbl.c: Likewise.
43189 * math/w_acos.c: Likewise.
43190 * math/w_acosf.c: Likewise.
43191 * math/w_acosl.c: Likewise.
43192 * math/w_acosh.c: Likewise.
43193 * math/w_acoshf.c: Likewise.
43194 * math/w_acoshl.c: Likewise.
43195 * math/w_asin.c: Likewise.
43196 * math/w_asinf.c: Likewise.
43197 * math/w_asinl.c: Likewise.
43198 * math/w_atan2.c: Likewise.
43199 * math/w_atan2f.c: Likewise.
43200 * math/w_atan2l.c: Likewise.
43201 * math/w_atanh.c: Likewise.
43202 * math/w_atanhf.c: Likewise.
43203 * math/w_atanhl.c: Likewise.
43204 * math/w_exp10.c: Likewise.
43205 * math/w_exp10f.c: Likewise.
43206 * math/w_exp10l.c: Likewise.
43207 * math/w_fmod.c: Likewise.
43208 * math/w_fmodf.c: Likewise.
43209 * math/w_fmodl.c: Likewise.
43210 * math/w_j0.c: Likewise.
43211 * math/w_j0f.c: Likewise.
43212 * math/w_j0l.c: Likewise.
43213 * math/w_j1.c: Likewise.
43214 * math/w_j1f.c: Likewise.
43215 * math/w_j1l.c: Likewise.
43216 * math/w_jn.c: Likewise.
43217 * math/w_jnf.c: Likewise.
43218 * math/w_log.c: Likewise.
43219 * math/w_logf.c: Likewise.
43220 * math/w_logl.c: Likewise.
43221 * math/w_log10.c: Likewise.
43222 * math/w_log10f.c: Likewise.
43223 * math/w_log10l.c: Likewise.
43224 * math/w_log2.c: Likewise.
43225 * math/w_log2f.c: Likewise.
43226 * math/w_log2l.c: Likewise.
43227 * math/w_pow.c: Likewise.
43228 * math/w_powf.c: Likewise.
43229 * math/w_powl.c: Likewise.
43230 * math/w_remainder.c: Likewise.
43231 * math/w_remainderf.c: Likewise.
43232 * math/w_remainderl.c: Likewise.
43233 * math/w_scalb.c: Likewise.
43234 * math/w_scalbf.c: Likewise.
43235 * math/w_scalbl.c: Likewise.
43236 * math/w_sqrt.c: Likewise.
43237 * math/w_sqrtf.c: Likewise.
43238 * math/w_sqrtl.c: Likewise.
43239 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43240 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43242 * math/math_private.h: Declare __kernel_standard_f.
43243 * math/w_cosh.c: Remove cruft and optimize a bit.
43244 * math/w_coshf.c: Likewise.
43245 * math/w_coshl.c: Likewise.
43246 * math/w_exp2.c: Likewise.
43247 * math/w_exp2f.c: Likewise.
43248 * math/w_exp2l.c: Likewise.
43249 * math/w_hypot.c: Likewise.
43250 * math/w_hypotf.c: Likewise.
43251 * math/w_hypotl.c: Likewise.
43252 * math/w_lgamma.c: Likewise.
43253 * math/w_lgamma_r.c: Likewise.
43254 * math/w_lgammaf.c: Likewise.
43255 * math/w_lgammaf_r.c: Likewise.
43256 * math/w_lgammal.c: Likewise.
43257 * math/w_lgammal_r.c: Likewise.
43258 * math/w_sinh.c: Likewise.
43259 * math/w_sinhf.c: Likewise.
43260 * math/w_sinhl.c: Likewise.
43261 * math/w_tgamma.c: Likewise.
43262 * math/w_tgammaf.c: Likewise.
43263 * math/w_tgammal.c: Likewise.
43264 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43265 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43266 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43267 Minor optimizations. Pretty printing. Remove cruft.
43268 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43269 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43270 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43271 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43272 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43273 * sysdeps/i386/fpu/e_asin.S: Likewise.
43274 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43275 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43276 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43277 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43278 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43279 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43280 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43281 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43282 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43283 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43284 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43285 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43286 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43287 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43288 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43289 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43290 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43291 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43292 * sysdeps/i386/fpu/e_log.S: Likewise.
43293 * sysdeps/i386/fpu/e_log10.S: Likewise.
43294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43295 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43296 * sysdeps/i386/fpu/e_log2.S: Likewise.
43297 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43298 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43299 * sysdeps/i386/fpu/e_logf.S: Likewise.
43300 * sysdeps/i386/fpu/e_logl.S: Likewise.
43301 * sysdeps/i386/fpu/e_pow.S: Likewise.
43302 * sysdeps/i386/fpu/e_powf.S: Likewise.
43303 * sysdeps/i386/fpu/e_powl.S: Likewise.
43304 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43305 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43306 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43307 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43308 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43309 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43310 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43311 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43312 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43313 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43314 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43315 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43316 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43317 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43318 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43319 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43320 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43321 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43322 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43323 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43324 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43327 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43329 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43330 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43331 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43332 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43333 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43334 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43335 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43336 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43337 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43338 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43339 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43340 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43341 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43342 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43343 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43344 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43345 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43346 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43347 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43348 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43349 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43350 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43351 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43352 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43353 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43354 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43355 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43356 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43357 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43358 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43359 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43360 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43361 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43362 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43363 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43364 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43365 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43366 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43367 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43368 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43369 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43370 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43371 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43372 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43373 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43374 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43375 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43376 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43377 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43378 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43379 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43380 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43381 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43382 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43383 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43384 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43385 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43387 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43389 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43390 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43391 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43392 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43393 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43394 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43395 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43396 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43397 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43398 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43400 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43401 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43402 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43403 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43404 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43405 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43406 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43407 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43408 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43409 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43410 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43411 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43412 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43413 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43414 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43415 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43416 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43417 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43418 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43419 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43420 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43421 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43422 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43423 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43424 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43425 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43426 (__isnanf): Likewise.
43427 (__isinf_ns): Likewise.
43428 (__isinf_nsf): Likewise.
43429 (__finite): Likewise.
43430 (__finitef): Likewise.
43431 (__ieee754_sqrt): Define as macro.
43432 (__ieee754_sqrtf): Define as macro.
43433 (__ieee754_sqrtl): Define as macro.
43434 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43436 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43437 __FINITE_MATH_ONLY__ consistent.
43438 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43440 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43442 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43445 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43447 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43449 * po/ja.po: Update from translation team.
43451 2011-10-08 Roland McGrath <roland@hack.frob.com>
43453 * locale/programs/locarchive.c (prepare_address_space): New function.
43454 (create_archive, enlarge_archive, open_archive): Use it.
43456 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43457 inside [SHARED], where it is used.
43459 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43461 * nss/getent.c (netgroup_keys): Remove unused variable.
43462 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43464 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43466 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43467 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43468 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43469 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43470 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43471 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43472 * math/Makefile (libm-calls): Add s_isinf_ns.
43473 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43474 * math/multc3.c: Likewise.
43475 * math/s_casin.c: Likewise.
43476 * math/s_casinf.c: Likewise.
43477 * math/s_casinl.c: Likewise.
43478 * math/s_ccos.c: Likewise.
43479 * math/s_ccosf.c: Likewise.
43480 * math/s_ccosl.c: Likewise.
43481 * math/s_ctan.c: Likewise.
43482 * math/s_ctanf.c: Likewise.
43483 * math/s_ctanh.c: Likewise.
43484 * math/s_ctanhf.c: Likewise.
43485 * math/s_ctanhl.c: Likewise.
43486 * math/s_ctanl.c: Likewise.
43487 * math/w_fmod.c: Likewise.
43488 * math/w_fmodf.c: Likewise.
43489 * math/w_fmodl.c: Likewise.
43490 * math/w_remainder.c: Likewise.
43491 * math/w_remainderf.c: Likewise.
43492 * math/w_remainderl.c: Likewise.
43493 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43494 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43495 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43496 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43497 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43498 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43499 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43500 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43502 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43504 * stdio-common/printf_fphex.c: Likewise.
43505 * stdio-common/printf_size.c: Likewise.
43507 * math/e_exp10.c: Include math_private.h using <...> not "...".
43508 * math/e_exp10f.c: Likewise.
43509 * math/e_exp10l.c: Likewise.
43510 * math/e_exp2l.c: Likewise.
43511 * math/e_j0l.c: Likewise.
43512 * math/e_j1l.c: Likewise.
43513 * math/e_jnl.c: Likewise.
43514 * math/e_lgammal_r.c: Likewise.
43515 * math/e_rem_pio2l.c: Likewise.
43516 * math/e_scalb.c: Likewise.
43517 * math/e_scalbf.c: Likewise.
43518 * math/e_scalbl.c: Likewise.
43519 * math/k_cosl.c: Likewise.
43520 * math/k_sinl.c: Likewise.
43521 * math/k_tanl.c: Likewise.
43522 * math/s_cacoshf.c: Likewise.
43523 * math/s_catan.c: Likewise.
43524 * math/s_catanf.c: Likewise.
43525 * math/s_catanh.c: Likewise.
43526 * math/s_catanhf.c: Likewise.
43527 * math/s_catanhl.c: Likewise.
43528 * math/s_catanl.c: Likewise.
43529 * math/s_ccosh.c: Likewise.
43530 * math/s_ccoshf.c: Likewise.
43531 * math/s_ccoshl.c: Likewise.
43532 * math/s_cexp.c: Likewise.
43533 * math/s_cexpf.c: Likewise.
43534 * math/s_cexpl.c: Likewise.
43535 * math/s_clog.c: Likewise.
43536 * math/s_clog10.c: Likewise.
43537 * math/s_clog10f.c: Likewise.
43538 * math/s_clog10l.c: Likewise.
43539 * math/s_clogf.c: Likewise.
43540 * math/s_clogl.c: Likewise.
43541 * math/s_csin.c: Likewise.
43542 * math/s_csinf.c: Likewise.
43543 * math/s_csinh.c: Likewise.
43544 * math/s_csinhf.c: Likewise.
43545 * math/s_csinhl.c: Likewise.
43546 * math/s_csinl.c: Likewise.
43547 * math/s_csqrt.c: Likewise.
43548 * math/s_csqrtf.c: Likewise.
43549 * math/s_csqrtl.c: Likewise.
43550 * math/s_ctan.c: Likewise.
43551 * math/s_ctanf.c: Likewise.
43552 * math/s_ctanh.c: Likewise.
43553 * math/s_ctanhf.c: Likewise.
43554 * math/s_ctanhl.c: Likewise.
43555 * math/s_ctanl.c: Likewise.
43556 * math/s_ldexp.c: Likewise.
43557 * math/s_ldexpf.c: Likewise.
43558 * math/s_ldexpl.c: Likewise.
43559 * math/s_significand.c: Likewise.
43560 * math/s_significandf.c: Likewise.
43561 * math/s_significandl.c: Likewise.
43562 * math/w_acos.c: Likewise.
43563 * math/w_acosf.c: Likewise.
43564 * math/w_acosh.c: Likewise.
43565 * math/w_acoshf.c: Likewise.
43566 * math/w_acoshl.c: Likewise.
43567 * math/w_acosl.c: Likewise.
43568 * math/w_asin.c: Likewise.
43569 * math/w_asinf.c: Likewise.
43570 * math/w_asinl.c: Likewise.
43571 * math/w_atan2.c: Likewise.
43572 * math/w_atan2f.c: Likewise.
43573 * math/w_atan2l.c: Likewise.
43574 * math/w_atanh.c: Likewise.
43575 * math/w_atanhf.c: Likewise.
43576 * math/w_atanhl.c: Likewise.
43577 * math/w_cosh.c: Likewise.
43578 * math/w_coshf.c: Likewise.
43579 * math/w_coshl.c: Likewise.
43580 * math/w_dremf.c: Likewise.
43581 * math/w_exp10.c: Likewise.
43582 * math/w_exp10f.c: Likewise.
43583 * math/w_exp10l.c: Likewise.
43584 * math/w_exp2.c: Likewise.
43585 * math/w_exp2f.c: Likewise.
43586 * math/w_fmod.c: Likewise.
43587 * math/w_fmodf.c: Likewise.
43588 * math/w_fmodl.c: Likewise.
43589 * math/w_hypot.c: Likewise.
43590 * math/w_hypotf.c: Likewise.
43591 * math/w_hypotl.c: Likewise.
43592 * math/w_j0.c: Likewise.
43593 * math/w_j0f.c: Likewise.
43594 * math/w_j0l.c: Likewise.
43595 * math/w_j1.c: Likewise.
43596 * math/w_j1f.c: Likewise.
43597 * math/w_j1l.c: Likewise.
43598 * math/w_jn.c: Likewise.
43599 * math/w_jnf.c: Likewise.
43600 * math/w_jnl.c: Likewise.
43601 * math/w_lgamma.c: Likewise.
43602 * math/w_lgamma_r.c: Likewise.
43603 * math/w_lgammaf.c: Likewise.
43604 * math/w_lgammaf_r.c: Likewise.
43605 * math/w_lgammal.c: Likewise.
43606 * math/w_lgammal_r.c: Likewise.
43607 * math/w_log.c: Likewise.
43608 * math/w_log10.c: Likewise.
43609 * math/w_log10f.c: Likewise.
43610 * math/w_log10l.c: Likewise.
43611 * math/w_log2.c: Likewise.
43612 * math/w_log2f.c: Likewise.
43613 * math/w_log2l.c: Likewise.
43614 * math/w_logf.c: Likewise.
43615 * math/w_logl.c: Likewise.
43616 * math/w_pow.c: Likewise.
43617 * math/w_powf.c: Likewise.
43618 * math/w_powl.c: Likewise.
43619 * math/w_remainder.c: Likewise.
43620 * math/w_remainderf.c: Likewise.
43621 * math/w_remainderl.c: Likewise.
43622 * math/w_scalb.c: Likewise.
43623 * math/w_scalbf.c: Likewise.
43624 * math/w_scalbl.c: Likewise.
43625 * math/w_sinh.c: Likewise.
43626 * math/w_sinhf.c: Likewise.
43627 * math/w_sinhl.c: Likewise.
43628 * math/w_sqrt.c: Likewise.
43629 * math/w_sqrtf.c: Likewise.
43630 * math/w_sqrtl.c: Likewise.
43631 * math/w_tgamma.c: Likewise.
43632 * math/w_tgammaf.c: Likewise.
43633 * math/w_tgammal.c: Likewise.
43635 * po/ja.po: Update from translation team.
43637 2011-09-29 Andreas Jaeger <aj@suse.de>
43640 * sunrpc/netname.c (netname2host): Fix logic.
43644 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43646 * math/w_remainder.c (__remainder): Likewise.
43647 * math/w_remainderf.c (__remainderf): Likewise.
43648 * math/libm-test.inc (remainder_test): Add test cases.
43650 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43652 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43655 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43657 * string/test-memcmp.c: Avoid unncessary #defines.
43658 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43660 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43662 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43663 Use new sse2 version for core i3 - i7 as it's faster
43664 than sse42 version.
43665 (bit_Prefer_PMINUB_for_stringop): New.
43666 * sysdeps/x86_64/rawmemchr.S: Update.
43667 Replace with faster SSE2 version.
43668 * sysdeps/x86_64/memrchr.S: New file.
43669 * sysdeps/x86_64/memchr.S: Update.
43670 Replace with faster SSE2 version.
43672 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43674 * elf/dl-load.c (lose): Add cast to avoid warning.
43676 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43678 * po/ca.po: Update from translation team.
43680 * inet/getnetgrent_r.c: Hook up nscd.
43681 * nscd/Makefile (routines): Add nscd_netgroup.
43682 (nscd-modules): Add netgroupcache.
43683 (CFLAGS-netgroupcache.c): Define.
43684 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43685 (cache_search): Add const to second parameter.
43686 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43688 (dbs): Add netgrdb entry.
43689 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43690 (verify_persistent_db): Handle netgrdb.
43691 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43692 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43694 (netgroup_response_header): Define.
43695 (innetgroup_response_header): Define.
43696 (datahead): Add netgroup_response_header and innetgroup_response_header
43698 * nscd/nscd.conf: Add entries for netgroup cache.
43699 * nscd/nscd.h (dbtype): Add netgrdb.
43700 (_PATH_NSCD_NETGROUP_DB): Define.
43701 (netgroup_iov_disabled): Declare.
43702 (xmalloc, xcalloc, xrealloc): Move declarations here.
43703 (cache_search): Adjust prototype.
43704 Add netgroup-related prototypes.
43705 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43706 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43707 (__nscd_innetgr): Declare.
43708 * nscd/selinux.c (perms): Use access_vector_t as element type and
43709 add netgroup-related initializers.
43710 * nscd/netgroupcache.c: New file.
43711 * nscd/nscd_netgroup.c: New file.
43712 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43713 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43714 For four parameters use innetgr.
43715 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43716 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43717 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43718 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43720 * nscd/connections.c (register_traced_file): Don't register file
43721 for disabled databases.
43723 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43725 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43727 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43728 from tree and freeing node.
43730 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43732 * nss/nsswitch.c (__nss_database_lookup): Handle
43733 nss_parse_service_list out of memory case.
43735 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43737 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43738 out of memory case.
43740 2011-10-04 Andreas Schwab <schwab@redhat.com>
43742 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43743 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43745 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43746 elf_machine_rela, elf_machine_lazy_rel.
43747 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43748 (ELF_DYNAMIC_DO_REL): Likewise.
43749 (ELF_DYNAMIC_DO_RELA): Likewise.
43750 (ELF_DYNAMIC_RELOCATE): Likewise.
43751 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43752 to ELF_DYNAMIC_DO_REL.
43753 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43754 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43755 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43757 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43758 skip_ifunc, don't call ifunc function if non-zero.
43759 (elf_machine_rela): Likewise.
43760 (elf_machine_lazy_rel): Likewise.
43761 (elf_machine_lazy_rela): Likewise.
43762 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43763 (elf_machine_lazy_rel): Likewise.
43764 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43766 (elf_machine_lazy_rel): Likewise.
43767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43769 (elf_machine_lazy_rel): Likewise.
43770 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43771 (elf_machine_lazy_rel): Likewise.
43772 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43773 (elf_machine_lazy_rel): Likewise.
43774 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43775 (elf_machine_lazy_rel): Likewise.
43776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43777 (elf_machine_lazy_rel): Likewise.
43778 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43779 (elf_machine_lazy_rel): Likewise.
43780 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43781 (elf_machine_lazy_rel): Likewise.
43783 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43785 * nss/nss_files/files-init.c (_nss_files_init): Use static
43786 initialization for all the *_traced_file variables.
43788 2011-09-28 Andreas Schwab <schwab@redhat.com>
43790 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43792 2011-09-27 Roland McGrath <roland@hack.frob.com>
43795 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43797 2011-09-27 Andreas Schwab <schwab@redhat.com>
43799 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43800 Reread the line before reparsing it.
43802 2011-09-26 Andreas Schwab <schwab@redhat.com>
43804 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43806 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43807 Maxim Kuvyrkov <maxim@codesourcery.com>
43808 Joseph Myers <joseph@codesourcery.com>
43810 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43811 if needed for __stack_chk_guard.
43813 2011-09-19 Roland McGrath <roland@hack.frob.com>
43815 * sysdeps/posix/spawni.c (script_execute): Always define it.
43816 It will be optimized away if unused.
43817 (maybe_script_execute): New function.
43818 (__spawni): Call it.
43820 * Makerules: Don't include tls.make.
43821 (config-tls): Always set to thread.
43822 * tls.make.c: File removed.
43824 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43826 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43827 * config.make.in (CPPFLAGS-config): New substituted variable.
43829 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43831 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43834 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43835 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43837 2011-09-15 Roland McGrath <roland@hack.frob.com>
43839 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43840 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43841 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43842 (CALL_FAIL): Likewise.
43843 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43844 (CALL_FAIL): Macro removed.
43845 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43847 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43849 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43850 for __FINITE_MATH_ONLY__ == 1.
43852 2011-09-15 Andreas Schwab <schwab@redhat.com>
43854 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43855 __ieee754_sqrt instead of sqrt.
43856 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43857 __ieee754_sqrtf instead of sqrtf.
43858 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43859 __floorf instead of floorf.
43860 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43861 __floorf, __truncf instead of floorf, truncf.
43863 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43865 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43867 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43868 __extern_always_inline.
43869 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43872 2011-09-14 Andreas Schwab <schwab@redhat.com>
43874 * elf/rtld.c (dl_main): Also relocate in dependency order when
43875 doing symbol dependency testing.
43877 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43879 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43880 Always define `refsym'.
43882 2011-09-13 Andreas Schwab <schwab@redhat.com>
43884 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43885 (__FD_ELT): Renamed from __FDELT.
43886 * misc/bits/select2.h (__FD_ELT): Likewise.
43887 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43888 __FD_MASK instead of __FDELT, __FDMASK.
43889 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43891 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43894 * elf/Makefile (gen-ldd): Fix pattern.
43896 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43897 (init_tls): Likewise.
43899 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43903 2011-09-12 Andreas Schwab <schwab@redhat.com>
43905 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43906 `struct cmsghdr *' instead of `void *'.
43907 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43910 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43912 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43914 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43915 ldd_rewrite_script.
43917 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43919 * configure.in: Remove --with-tls option.
43920 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43921 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43922 out in case it is missing.
43923 * sysdeps/ia64/elf/configure.in: Likewise.
43924 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43925 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43926 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43927 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43928 * sysdeps/sh/elf/configure.in: Likewise.
43929 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43930 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43931 * sysdeps/x86_64/elf/configure.in: Likewise.
43932 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43933 * sysdeps/mach/hurd/tls.h: Likewise.
43936 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43939 * configure.in: Fix use of AC_INIT.
43941 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43943 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43945 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43947 * malloc/hooks.c: Likewise.
43950 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43951 variables statically.
43952 (narenas): Initialize.
43953 (list_lock): Initialize.
43954 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43955 initializtion of main_arena and list_lock. Small cleanups.
43956 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43957 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43958 Add initializers to main_arena and mp_.
43959 (malloc_state): Remove pagesize member. Change all users to use
43962 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43963 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43964 is always initialized.
43966 * malloc/malloc.c: Removed unused configurations and dead code.
43967 * malloc/arena.c: Likewise.
43968 * malloc/hooks.c: Likewise.
43969 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43971 * include/tls.h: Removed. USE___THREAD must always be defined.
43972 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43973 * elf/dl-libc.c: Likewise.
43974 * elf/dl-tsd.c: Likewise.
43975 * include/errno.h: Likewise.
43976 * include/netdb.h: Likewise.
43977 * include/resolv.h: Likewise.
43978 * inet/herrno-loc.c: Likewise.
43979 * inet/herrno.c: Likewise.
43980 * malloc/arena.c: Likewise.
43981 * malloc/hooks.c: Likewise.
43982 * malloc/malloc.c: Likewise.
43983 * resolv/res-state.c: Likewise.
43984 * resolv/res_libc.c: Likewise.
43985 * sysdeps/i386/dl-machine.h: Likewise.
43986 * sysdeps/ia64/dl-machine.h: Likewise.
43987 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43988 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43989 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43990 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43991 * sysdeps/sh/dl-machine.h: Likewise.
43992 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43993 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43994 * sysdeps/unix/i386/sysdep.S: Likewise.
43995 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43996 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43997 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43998 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43999 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44001 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44003 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44005 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44006 * sysdeps/x86_64/dl-machine.h: Likewise.
44007 * tls.make.c: Likewise.
44009 * configure.in: Remove --with-__thread option. Make tests for
44010 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44011 tls_model attribute fail if no support is available. Remove
44013 * Makeconfig: Adjust for dropped configure option. All features are
44015 * Makerules: Likewise.
44016 * Versions.def: Likewise.
44017 * argp/argp-fmtstream.c: Likewise.
44018 * argp/argp-fmtstream.h: Likewise.
44019 * argp/argp-help.c: Likewise.
44020 * assert/assert.c: Likewise.
44021 * config.h.in: Likewise.
44022 * config.make.in: Likewise.
44023 * configure: Likewise.
44024 * configure.in: Likewise.
44025 * csu/Versions: Likewise.
44026 * csu/init.c: Likewise.
44027 * elf/tst-audit2.c: Likewise.
44028 * elf/tst-tls10.c: Likewise.
44029 * elf/tst-tls10.h: Likewise.
44030 * elf/tst-tls11.c: Likewise.
44031 * elf/tst-tls12.c: Likewise.
44032 * elf/tst-tls14.c: Likewise.
44033 * elf/tst-tlsmod11.c: Likewise.
44034 * elf/tst-tlsmod12.c: Likewise.
44035 * elf/tst-tlsmod13.c: Likewise.
44036 * elf/tst-tlsmod13a.c: Likewise.
44037 * elf/tst-tlsmod14a.c: Likewise.
44038 * elf/tst-tlsmod15b.c: Likewise.
44039 * elf/tst-tlsmod16a.c: Likewise.
44040 * elf/tst-tlsmod16b.c: Likewise.
44041 * elf/tst-tlsmod7.c: Likewise.
44042 * elf/tst-tlsmod8.c: Likewise.
44043 * elf/tst-tlsmod9.c: Likewise.
44044 * gmon/gmon.c: Likewise.
44045 * grp/fgetgrent_r.c: Likewise.
44046 * grp/putgrent.c: Likewise.
44047 * hurd/fopenport.c: Likewise.
44048 * include/libc-symbols.h: Likewise.
44049 * include/tls.h: Likewise.
44050 * intl/gettextP.h: Likewise.
44051 * intl/loadinfo.h: Likewise.
44052 * locale/global-locale.c: Likewise.
44053 * locale/localeinfo.h: Likewise.
44054 * mach/devstream.c: Likewise.
44055 * malloc/arena.c: Likewise.
44056 * malloc/set-freeres.c: Likewise.
44057 * misc/err.c: Likewise.
44058 * misc/getttyent.c: Likewise.
44059 * misc/mntent_r.c: Likewise.
44060 * posix/getopt.c: Likewise.
44061 * posix/wordexp.c: Likewise.
44062 * pwd/fgetpwent_r.c: Likewise.
44063 * resolv/Versions: Likewise.
44064 * resolv/res_hconf.c: Likewise.
44065 * shadow/fgetspent_r.c: Likewise.
44066 * shadow/putspent.c: Likewise.
44067 * stdio-common/printf_fphex.c: Likewise.
44068 * stdio-common/tmpfile.c: Likewise.
44069 * stdlib/abort.c: Likewise.
44070 * stdlib/fmtmsg.c: Likewise.
44071 * sunrpc/auth_unix.c: Likewise.
44072 * sunrpc/clnt_perr.c: Likewise.
44073 * sunrpc/clnt_tcp.c: Likewise.
44074 * sunrpc/clnt_udp.c: Likewise.
44075 * sunrpc/clnt_unix.c: Likewise.
44076 * sunrpc/openchild.c: Likewise.
44077 * sunrpc/svc_simple.c: Likewise.
44078 * sunrpc/svc_tcp.c: Likewise.
44079 * sunrpc/svc_udp.c: Likewise.
44080 * sunrpc/svc_unix.c: Likewise.
44081 * sunrpc/xdr.c: Likewise.
44082 * sunrpc/xdr_array.c: Likewise.
44083 * sunrpc/xdr_rec.c: Likewise.
44084 * sunrpc/xdr_ref.c: Likewise.
44085 * sunrpc/xdr_stdio.c: Likewise.
44087 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44089 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44091 2011-07-03 Andreas Jaeger <aj@suse.de>
44093 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44094 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44095 regenerate with gen-libm-tests.pl.
44097 2010-05-12 Petr Baudis <pasky@suse.cz>
44100 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44101 around j0() zero points by switching to j1().
44102 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44103 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44104 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44105 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44107 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44109 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44111 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44113 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44114 Patch in part by Pavel Roskin <proski@gnu.org>.
44117 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44119 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44120 Free memory block if necessary.
44123 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44124 be NULL. Don't lock in this case.
44126 2011-09-09 Roland McGrath <roland@hack.frob.com>
44128 * elf/elf.h (ELFOSABI_GNU): New macro.
44129 (ELFOSABI_LINUX): Define to that.
44131 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44133 * string/strncat.c (strncat): Undef the symbol in case it has been
44134 defined in bits/string.h.
44136 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44138 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44140 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44143 2011-08-17 Andreas Jaeger <aj@suse.de>
44145 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44147 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44148 Ian Lance Taylor <iant@google.com>
44150 * math/libm-test.inc (lround_test): New testcase.
44151 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44153 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44155 * Makefile: Remove support for automatic cvs check-ins.
44156 * Makerules: Likewise.
44157 * config.make.in: Likewise.
44158 * configure.in: Likewise.
44159 * intl/Makefile: Likewise.
44160 * locale/Makefile: Likewise.
44161 * po/Makefile: Likewise.
44162 * posix/Makefile: Likewise.
44163 * sysdeps/gnu/Makefile: Likewise.
44164 * sysdeps/mach/hurd/Makefile: Likewise.
44165 * sysdeps/sparc/sparc32/Makefile: Likewise.
44168 * posix/Makefile (bug-regex32-ENV): Define.
44169 Patch by John Stanley <jpsinthemix@verizon.net>.
44171 * misc/Makefile (headers): Add bits/select2.h.
44172 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44173 * misc/bits/select2.h: New file.
44174 * include/bits/select2.h: New file.
44175 * debug/Makefile (routines): Add fdelt_chk.
44176 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44177 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44179 * debug/fdelt_chk.c: New file.
44181 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44182 * wcsmbs/test-wmemcmp.c: Likewise.
44183 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44184 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44186 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44188 * string/Makefile (strop-tests): Add memcmp.
44189 * string/test-wmemcmp.c: New file.
44190 * string/test-memcmp.c: Add wmemcmp support.
44192 2011-09-08 Roland McGrath <roland@hack.frob.com>
44195 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44198 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44199 garbage value in a __mach_port_mod_refs call in the cases of the
44200 task-self and thread-self ports.
44202 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44204 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44206 2011-09-08 Andreas Schwab <schwab@redhat.com>
44208 * elf/dl-load.c (lose): Check for non-null L.
44210 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44212 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44214 * elf/dl-libc.c (dlerror_run): Pass back error code from
44218 * elf/dl-load.c (lose): Free l_origin if it is valid.
44220 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44222 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44223 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44224 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44225 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44226 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44227 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44229 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44231 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44232 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44233 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44234 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44235 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44236 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44237 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44238 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44239 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44240 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44242 2011-08-15 Alan Modra <amodra@gmail.com>
44245 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44246 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44247 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44248 ppc_mcount to static-only-routines.
44249 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44251 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44252 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44254 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44256 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44257 for finite and infinity parameters.
44259 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44261 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44262 and add nop instructions for throughput optimization.
44263 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44265 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44267 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44268 aligned copy for power7 with vector-scalar instructions.
44269 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44271 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44273 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44276 2011-09-07 Andreas Schwab <schwab@redhat.com>
44279 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44282 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44284 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44285 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44286 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44287 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44290 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44292 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44293 Forgot to demangle the pointer.
44295 * sysdeps/i386/sysdep.h: Define atom_text_section.
44296 * sysdeps/x86_64/sysdep.h: Likewise.
44297 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44298 section with atom_text_section.
44299 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44300 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44301 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44302 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44303 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44306 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44307 already be defined. Change to take two parameters and don't assign
44308 result to variable. Adjust all users.
44309 Define INTERNAL_GETTIME if not already defined.
44310 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44313 HAVE_CLOCK_GETTIME_VSYSCALL.
44314 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44316 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44317 gettimeofday vsyscall, just use time.
44319 2011-09-06 Andreas Schwab <schwab@redhat.com>
44321 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44324 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44326 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44330 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44331 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44332 syscall if possible.
44334 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44336 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44337 e_ident. Don't pass to find_mapsXX.
44338 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44340 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44343 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44344 * sysdeps/x86_64/multiarch/strchr.S: Update.
44345 Check bit_slow_BSF bit.
44346 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44347 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44348 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44350 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44353 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44355 (tryshell): Define.
44356 (__spawni): Change last parameter to be flag. Test
44357 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44358 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44359 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44360 * posix/spawni.c: Likewise.
44361 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44362 * posix/spawnp.c: Likewise. Change normal version to use
44363 SPAWN_XFLAGS_USE_PATH.
44364 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44365 SPAWN_XFLAGS_TRY_SHELL.
44368 * posix/glob.h: Remove gcc 1.x support.
44371 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44373 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44376 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44378 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44379 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44380 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44381 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44382 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44383 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44385 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44387 * sysdeps/x86_64/wcscmp.S: New file.
44389 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44390 wcscmp-c wcscmp-sse2
44391 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44392 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44393 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44394 * wcsmbs/wcscmp.c: Allow renaming.
44396 2011-09-05 David S. Miller <davem@davemloft.net>
44398 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44399 stack slot, rather than the struct return pointer slot.
44400 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44401 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44403 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44405 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44407 * po/ja.po: Update from translation team.
44410 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44411 kernel in 64-bit binaries.
44413 2011-09-01 David S. Miller <davem@davemloft.net>
44415 * elf/elf.h (HWCAP_SPARC_*): Move to..
44416 * sysdeps/sparc/sysdep.h: this new file and add new values.
44417 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44418 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44419 _DL_HWCAP_COUNT to 24.
44420 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44422 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44423 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44424 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44426 instead of magic constants.
44427 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44429 2011-08-31 David S. Miller <davem@davemloft.net>
44431 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44433 Reimplement to do errno handling inline.
44434 (SYSCALL_ERROR_HANDLER): New macro.
44435 (__SYSCALL_STRING): Do not do errno handling in asm.
44436 (__CLONE_SYSCALL_STRING): Delete.
44437 (__INTERNAL_SYSCALL_STRING): Delete.
44438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44439 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44440 (PSEUDO): Reimplement to do errno handling inline.
44441 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44442 (SYSCALL_ERROR_HANDLER): New macro.
44443 (__SYSCALL_STRING): Do not do errno handling in asm.
44444 (__CLONE_SYSCALL_STRING): Delete.
44445 (__INTERNAL_SYSCALL_STRING): Delete.
44446 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44447 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44449 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44450 (inline_syscall*): Add 'err' argument.
44451 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44452 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44453 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44454 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44456 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44457 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44459 2011-08-30 Andreas Schwab <schwab@redhat.com>
44461 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44463 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44465 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44468 2011-08-24 David S. Miller <davem@davemloft.net>
44470 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44472 2011-08-24 Andreas Schwab <schwab@redhat.com>
44474 * elf/Makefile: Add rules to build and run unload8 test.
44475 * elf/unload8.c: New file.
44476 * elf/unload8mod1.c: New file.
44477 * elf/unload8mod1x.c: New file.
44478 * elf/unload8mod2.c: New file.
44479 * elf/unload8mod3.c: New file.
44481 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44484 2011-08-23 David S. Miller <davem@davemloft.net>
44486 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44487 subtract stack bias.
44488 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44489 %sp not %fp in calculations.
44490 (_JMPBUF_UNWINDS_ADJ): Likewise.
44492 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44493 (aio_suspend): Call it to force an exception region around the
44494 AIO_MISC_WAIT() invocation.
44496 2011-08-23 Andreas Schwab <schwab@redhat.com>
44498 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44501 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44503 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44505 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44506 and <dl-machine.h>.
44507 (Elf64_FuncDesc): Remove.
44509 2011-08-22 David S. Miller <davem@davemloft.net>
44511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44512 sigaltstack check, add missing cfi directives.
44513 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44514 missing cfi directives, and sigaltstack handling.
44516 2011-08-16 Andreas Schwab <schwab@redhat.com>
44519 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44520 object is seen twice.
44521 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44523 * elf/Makefile (distribute): Add tst-initorder2.c.
44524 (tests): Add tst-initorder2.
44525 (modules-names): Add tst-initorder2a tst-initorder2b
44526 tst-initorder2c tst-initorder2d. Add rules to build them.
44527 ($(objpfx)tst-initorder2.out): New rule.
44528 * elf/tst-initorder2.c: New file.
44529 * elf/tst-initorder2.exp: New file.
44531 2011-08-22 Andreas Schwab <schwab@redhat.com>
44533 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44535 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44536 dependencies back to end of function.
44538 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44539 $(elfobjdir)/ld.so.
44541 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44544 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44545 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44546 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44547 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44548 of __vdso_gettimeofday.
44549 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44550 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44552 (_libc_vdso_platform_setup): Remove initialization of
44553 __vdso_gettimeofday and __vdso_time.
44555 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44557 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44558 and fgetc_unlocked.
44559 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44562 * elf/dl-open.c (add_to_global): Report additions to the global scope
44563 for LD_DEBUG=scopes.
44564 (dl_open_worker): Also print scope of newly loaded dependencies.
44565 (_dl_show_scope): Indicate if there is no scope.
44568 * stdio-common/Makefile (tests): Add bug24.
44569 * stdio-common/bug24.c: New file.
44571 2011-08-19 Andreas Jaeger <aj@suse.de>
44574 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44575 non-existant file when using close-on-exec mode.
44577 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44580 the very first instruction.
44582 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44583 the CFI state in the end.
44584 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44585 inclusion of dl-trampoline.h.
44586 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44588 2011-08-19 Andreas Schwab <schwab@redhat.com>
44590 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44591 expectations for long double.
44593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44594 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44596 2011-08-14 David S. Miller <davem@davemloft.net>
44598 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44599 artificual limit depends upon the system page size.
44601 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44603 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44604 * resolv/Makefile: Define CFLAGS-libresolv.
44606 2011-08-17 Andreas Schwab <schwab@redhat.com>
44608 * nss/makedb.c (compute_tables): Make variables used in nested
44611 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44613 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44614 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44615 if buffer was too small.
44617 * elf/pldd.c (main): Attach to all threads in the process.
44618 Rewrite /proc handling to use *at functions.
44620 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44622 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44623 specifies first scope to show.
44624 (dl_open_worker): Update callers. Move printing scope of new
44625 object to before the relocation.
44626 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44627 * sysdeps/generic/ldsodefs.h: Update declaration.
44629 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44630 string for the scope number.
44632 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44634 * nscd/servicescache.c (cache_addserv): Make sure written is always
44637 2011-08-14 Roland McGrath <roland@hack.frob.com>
44639 * sysdeps/i386/i486/bits/atomic.h
44640 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44641 statement expression, so as to suppress "set but not used" warning.
44642 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44644 * string/strncat.c (STRNCAT): Use prototype definition.
44646 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44647 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44649 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44650 (localedef-modules): Add localedef.
44651 (locale-modules): Add locale.
44653 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44654 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44655 to avoid a warning.
44657 2011-08-14 David S. Miller <davem@davemloft.net>
44659 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44660 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44662 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44664 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44665 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44666 * elf/rtld.c (dl_main): Set l_name of vDSO.
44667 Call _dl_show_scope when DL_DEBUG_SCOPES.
44668 (process_dl_debug): Recognize scopes flag and also set it for all.
44669 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44670 Declare _dl_show_scope.
44672 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44673 (do_dlopen): Pass caller_dlopen to dl_open.
44674 (__libc_dlopen_mode): Initialize caller_dlopen.
44676 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44677 of libc. Make tolower call locale-independent. Optimize a bit by
44678 using isdigit instead of isalnum.
44679 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44681 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44683 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44684 was a dependency or dynamically loaded.
44686 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44688 * intl/l10nflist.c: Allow architecture-specific pop function.
44689 * sysdeps/x86_64/l10nflist.c: New file.
44691 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44694 2011-08-10 Andreas Schwab <schwab@redhat.com>
44696 * include/dirent.h: Add libc_hidden_proto for scandirat and
44697 scandirat64. Don't declare __scandirat64.
44698 * dirent/scandirat.c: Add libc_hidden_def.
44699 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44700 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44702 2011-08-10 David S. Miller <davem@davemloft.net>
44704 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44706 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44707 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44708 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44710 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44712 * Versions.def [libc]: Add GLIBC_2.15.
44713 * dirent/Makefile (routines): Add scandirat and scandirat64.
44714 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44716 * dirent/dirent.h: Declare scandirat and scandirat64.
44717 * dirent/scandirat.c: New file.
44718 * dirent/scandirat64.c: New file.
44719 * sysdeps/wordsize-64/scandirat.c: New file.
44720 * sysdeps/wordsize-64/scandirat64.c: New file.
44721 * dirent/opendir.c: Define opendirat.
44722 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44724 * dirent/scandir64.c: Adjust for scandir.c change.
44725 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44726 __scandirat64, and __scandir_cancel_handler.
44727 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44728 additional parameter and use openat instead of open (outside of ld.so).
44729 Add new __opendir as wrapper around __opendirat.
44730 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44731 here without requiring old scandirat implementation.
44733 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44735 * dirent/scandir.c (cancel_handler): Renamed to
44736 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44737 defined. Adjust users.
44738 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44739 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44741 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44743 * string/test-string.h (IMPL): Use __STRING to expand name and then
44746 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44749 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44751 * string/Makefile: Update.
44752 (strop-tests): Append strncat.
44753 * string/test-wcscmp.c: New file.
44754 New comprehensive test for wcscmp.
44755 * string/test-strcmp.c: Update.
44756 (WIDE): New define.
44758 2011-07-22 Andreas Schwab <schwab@redhat.com>
44760 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44763 2011-07-26 Andreas Schwab <schwab@redhat.com>
44765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44766 encoding to ACE if AI_IDN.
44768 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44771 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44773 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44776 Fix overflow bug in strncat.
44777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44779 * string/test-strncat.c: Update.
44780 Add new tests for checking overflow bugs.
44782 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44784 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44785 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44786 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44787 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44789 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44790 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44791 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44792 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44794 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44795 (USE_AS_STRCAT): Define.
44796 Add strcat and strncat support.
44797 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44799 2011-07-25 Andreas Schwab <schwab@redhat.com>
44801 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44802 __n bigger than INT_MAX+1.
44803 (__strncmp_g): Likewise.
44805 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44807 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44808 * libio/stido.h: Likewise.
44810 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44812 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44815 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44816 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44817 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44818 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44819 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44822 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44827 (_dl_x86_64_save_sse): Likewise.
44829 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44831 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44833 (_dl_x86_64_save_sse): Likewise.
44835 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44837 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44839 2011-07-21 Andreas Schwab <schwab@redhat.com>
44841 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44843 (_dl_x86_64_save_sse): Use correct AVX check.
44845 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44847 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44848 bug in strncpy/strncat.
44849 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44851 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44853 * string/tester.c (test_strcat): Add tests for different alignments
44854 of source and destination.
44855 (test_strncat): Likewise.
44857 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44860 * posix/glob.c (glob): Check passed in values before using them in
44861 expressions to avoid some overflows.
44862 (glob_in_dir): Likewise.
44865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44866 check for AVX enablement so that we don't crash with old kernels and
44868 * elf/tst-audit4.c: Add same checks here.
44869 * elf/tst-audit6.c: Likewise.
44871 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44873 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44875 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44877 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44879 * po/cs.po: Update from translation team.
44880 * po/bg.po: Likewise.
44882 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44884 * misc/sys/cdefs.h: Add support for const attribute.
44885 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44886 to gnu_dev_{major,minor,makedev} functions.
44888 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44890 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44892 2011-07-20 Andreas Schwab <schwab@redhat.com>
44894 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44897 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44899 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44900 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44901 register in order to avoid conflicts with the soft frame pointer
44902 being held in r11 when necessary.
44903 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44904 (INTERNAL_VSYSCALL_NCS): Likewise.
44906 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44908 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44909 * elf/dl-fini.c (_dl_fini): Adjust caller.
44910 * elf/dl-close.c (_dl_close_worker): Likewise.
44911 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44913 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44915 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44916 "aux_cache->nlibs < 0".
44918 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44919 in the reload-count case.
44921 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44924 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44925 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44926 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44927 * sysdeps/x86_64/multiarch/strcat.S: New file.
44928 * sysdeps/x86_64/multiarch/strncat.S: New file.
44929 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44930 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44931 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44932 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44933 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44934 (USE_AS_STRCAT): Define.
44935 Add strcat and strncat support.
44936 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44937 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44938 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44939 * string/strncat.c: Update.
44940 (USE_AS_STRNCAT): Define.
44941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44942 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44944 * sysdeps/x86_64/multiarch/init-arch.h
44945 (bit_Prefer_PMINUB_for_stringop): New.
44946 (index_Prefer_PMINUB_for_stringop): Likewise.
44947 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44948 bit_Prefer_PMINUB_for_stringop.
44950 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44952 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44954 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44955 of casting of buffer.
44956 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44957 buffer32 and buffer64.
44958 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44959 writes instead of casting of buffer.
44960 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44962 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44965 2011-07-19 Andreas Schwab <schwab@redhat.com>
44967 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44969 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44971 * nscd/nscd.c (termination_handler): Don't do anything for a database
44972 if it has not yet been initialized.
44974 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44976 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44978 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44980 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44982 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44984 * po/nl.po: Update from translation team.
44985 * po/sv.po: Likewise.
44987 2011-07-16 Roland McGrath <roland@hack.frob.com>
44989 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44990 now disallowed by GCC.
44992 * configure.in (use-default-link): Default to yes if a test -shared
44993 link meets our qualifications.
44994 * configure: Regenerated.
44996 * config.make.in (output-format): New variable.
44997 * configure.in: Check for ld --print-output-format support.
44998 * configure: Regenerated.
44999 * Makerules ($(common-objpfx)format.lds)
45000 [$(output-format) != unknown]: Just use $(output-format),
45001 instead of the linker-script munging.
45003 2011-07-14 Roland McGrath <roland@hack.frob.com>
45005 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45006 of $(common-objpfx)shlib.lds.
45007 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45009 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45010 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45012 * configure.in (-z relro check): Adjust test code to add a large
45013 writable data section after it.
45014 * configure: Regenerated.
45016 2011-07-11 Roland McGrath <roland@hack.frob.com>
45018 * configure.in (-z relro check): Fix test code to make the variable
45020 * configure: Regenerated.
45022 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45024 * nscd/nscd.h (struct traced_file): Define.
45025 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45026 elements. Add traced_files.
45027 (inotify_fd): Declare.
45028 (register_traced_file): Declare.
45029 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45030 (inotify_fd): Export.
45031 (resolv_conf_descr): Remove.
45032 (nscd_init): Move inotify descriptor creation to main.
45033 Don't register files for notification here.
45034 (register_traced_file): New function.
45035 (invalidate_cache): Don't use reset_res to determine whether to call
45036 res_init, go through the list of registered files.
45037 (main_loop_poll): The inotify descriptors are now stored in the
45038 structures for the traced files.
45039 (main_loop_epoll): Likewise
45040 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45041 to __nss_disable_nscd.
45042 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45043 for a database anymore. Check the records for all the registered
45045 * nss/Makefile (libnss_files-routines): Add files-init.
45046 (libnss_db-routines): Add db-init.
45047 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45048 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45049 * nss/nss_db/db-init.c: New file.
45050 * nss/nss_files/files-init.c: New file.
45051 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45052 __nss_lookup_function.
45053 (__nss_lookup_function): Call nss_load_library.
45054 (nss_load_all_libraries): New function.
45055 (__nss_disable_nscd): Take parameter with callback function for files
45056 to register. Set is_nscd. Load all the DSOs for the NSS modules
45057 used for the cached services.
45058 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45059 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45060 options for features to all the files in nscd.
45062 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45064 2011-07-10 Roland McGrath <roland@hack.frob.com>
45066 * csu/elf-init.c (__libc_csu_init): Comment typo.
45068 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45070 * po/pl.po: Update from translation team.
45071 * po/ja.po: Likewise.
45072 * po/ru.po: Likewise.
45073 * po/ko.po: Likewise.
45074 * po/fr.po: Likewise.
45076 2011-07-09 Roland McGrath <roland@hack.frob.com>
45078 * configure.in (.ctors/.dtors header and trailer check):
45079 Use an empirical test on a built program.
45080 * configure: Regenerated.
45082 * configure.in (-z relro check): Use an empirical test on a built DSO.
45083 Detect, but do not require, on ia64.
45084 * configure: Regenerated.
45086 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45087 Update tests that use readelf to use $READELF instead.
45088 * configure: Regenerated.
45090 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45092 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45093 if the result is not used.
45095 2011-07-05 Andreas Jaeger <aj@suse.de>
45098 * stdlib/tst-strtod.c: Add testcase.
45100 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45102 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45103 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45104 The latter has a higher limit. Take additional parameter to pass to
45106 (__pathconf): Pass file to __statfs_link_max.
45107 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45109 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45113 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45116 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45117 (__statfs_filesize_max): Likewise.
45118 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45120 2011-07-05 Andreas Jaeger <aj@suse.de>
45122 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45124 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45126 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45128 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45131 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45133 * Makefile (strop-tests): Add strncat.
45134 * string/test-strncat.c: New file.
45136 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45138 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45140 2011-06-21 Andreas Jaeger <aj@suse.de>
45142 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45143 Copy rule from iconvdata/Makefile.
45145 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45148 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45149 but no long options are defined, just return 'W'.
45151 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45154 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45156 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45158 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45160 (innetgr): Likewise.
45162 2011-07-05 Roland McGrath <roland@hack.frob.com>
45164 * config.make.in (install_root): Default to $(DESTDIR).
45166 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45168 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45170 2011-07-02 Roland McGrath <roland@hack.frob.com>
45172 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45174 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45175 containing directory rather than embedding absolute directory names.
45177 * scripts/check-local-headers.sh: Rewritten using awk.
45178 Match by word, not by line. Print error messages for matches.
45179 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45181 * Makerules [shlib-lds-flags empty]:
45182 ($(common-objpfx)libc_pic.opts): New target.
45183 ($(common-objpfx)libc_pic.os.clean): New target.
45184 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45186 * config.make.in (OBJCOPY): New variable.
45187 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45188 * configure: Regenerated.
45190 * config.make.in (use-default-link): New variable.
45191 * configure.in (use_default_link): Grok --with-default-link to set it.
45192 * configure: Regenerated.
45193 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45194 (shlib-lds, shlib-lds-flags): Define to empty.
45196 * Makerules (shlib-lds): New variable.
45197 (shlib-lds-flags): New variable.
45198 (build-shlib, build-moduile, build-module-asneeded): Use it.
45199 ($(common-objpfx)libc.so): Use $(shlib-lds).
45200 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45201 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45203 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45204 DT_FLAGS/DT_FLAGS_1 with zero flags.
45206 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45207 linker script munging.
45209 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45211 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45213 * crypt/sha512.c (sha512_process_block): Perform total addition using
45214 128-bit if possible.
45215 (__sha512_finish_ctx): Likewise.
45216 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45218 * crypt/sha256.c (SWAP64): Define.
45219 (sha256_process_block): Perform total addition using 64-bit if
45221 (__sha256_finish_ctx): Likewise.
45223 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45225 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45226 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45227 * nscd/hstcache.c (cache_addhst): Likewise.
45228 * nscd/grpcache.c (cache_addgr): Likewise.
45229 * nscd/aicache.c (addhstaiX): Likewise
45230 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45232 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45234 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45236 * nscd/hstcache.c (cache_addhst): Likewise.
45237 * nscd/grpcache.c (cache_addgr): Likewise.
45238 * nscd/aicache.c (addhstaiX): Likewise
45240 2011-07-01 Andreas Schwab <schwab@redhat.com>
45242 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45243 domain only when needed.
45245 2011-06-30 Andreas Schwab <schwab@redhat.com>
45247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45248 is always restored.
45250 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45252 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45253 are re-adding the entry.
45254 * nscd/servicescache.c (cache_addserv): Likewise.
45256 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45258 * sysdeps/generic/dl-irel.h: fix protection against multiple
45260 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45262 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45265 * malloc/memusage.sh: Fix quoting in message.
45266 * debug/xtrace.sh: Likewise.
45268 * configure.in: Remove support for --experimental-malloc option, make
45270 * config.make.in: Likewise.
45271 * malloc/Makefile: Likewise.
45273 2011-06-27 Andreas Schwab <schwab@redhat.com>
45275 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45276 two-byte characters.
45278 2011-06-27 Roland McGrath <roland@hack.frob.com>
45280 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45281 AC_CACHE_CHECK invocation.
45282 * configure: Regenerated.
45284 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45286 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45289 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45290 bit from old_res_options.
45292 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45294 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45295 value type for setfct.
45297 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45299 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45300 __gettimeofday instead of gettimeofday.
45302 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45304 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45306 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45308 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45313 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45316 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45317 strcpy-sse2-unaligned strncpy-sse2-unaligned
45318 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45319 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45320 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45321 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45322 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45324 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45325 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45326 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45327 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45328 (STRCPY): Support SSE2 and SSSE3 versions.
45330 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45333 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45334 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45335 kernels which artificially limit size of requests.
45337 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45340 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45341 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45342 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45343 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45344 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45345 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45346 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45347 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45348 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45349 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45350 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45351 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45352 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45353 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45355 Enable unaligned load optimization for Intel Core i3, i5 and i7
45357 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45359 (index_Fast_Unaligned_Load): Define.
45360 (HAS_FAST_UNALIGNED_LOAD): Define.
45362 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45364 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45366 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45369 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45370 until it is clear that the information is realy needed.
45371 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45373 2011-06-22 Andreas Schwab <schwab@redhat.com>
45375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45377 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45380 /sys/devices/system/cpu/online if it is usable.
45382 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45383 reading the information from the /proc filesystem to once a second.
45385 2011-06-21 Andreas Jaeger <aj@suse.de>
45387 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45388 NULL after inclusion of kernel headers.
45390 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45392 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45393 calls to internal_setent.
45396 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45397 addresses using gethostbyname4_r ignore IPv4 addresses.
45399 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45400 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45402 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45404 2011-06-20 David S. Miller <davem@davemloft.net>
45406 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45408 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45410 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45411 (elf_irel): Use it.
45412 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45413 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45414 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45415 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45416 * sysdeps/x86_64/dl-irel.h: Likewise.
45418 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45419 * elf/dl-sym.c: Likewise.
45421 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45423 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45424 need to dereference resplen2.
45426 2011-06-14 Andreas Schwab <schwab@redhat.com>
45428 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45430 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45432 * Makeconfig: Define vardbdir and inst_vardbdir.
45433 * nss/Makefile: Add rules to install db-Makefile.
45435 * nss/nss_db/db-XXX.c: Cleanup.
45437 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45438 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45440 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45441 * nss/makedb.c: Implement -g option to specify that value strings
45442 are generated and should not be added to table iterated over for
45444 * nss/nss_db/db-initgroups.c: New file.
45446 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45449 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45450 (internal_getgrouplist): Adjust to name change.
45451 Update use_initgroups_entry if this is not the first call.
45452 * nss/databases.def: Add initgroups entry.
45454 * nss/makedb.c (compute_tables): Check result of multiple hash table
45455 sizes to minimize maximum chain length.
45457 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45459 * Versions.def: Add entry for libnss_db.
45460 * shlib-versions: Likewise.
45461 * nss/Makefile: Add rules to build libnss_db.
45462 * nss/Versions: Add libnss_db information. Organize libnss_files
45464 * nss/db-Makefile: Add gshadow support. Change rules for the new
45465 makedb progra. Some minor improvements to generate smaller files.
45466 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45468 * nss/makedb.c: ...here.
45469 Improve database format to be smaller and require less memory at
45471 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45473 * nss/nss_db/db-netgrp.c: Likewise.
45474 * nss/nss_db/db-open.c: Likewise.
45475 * nss/nss_files/flies-XXX.x: Adjust comments.
45476 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45477 * nss/nss_files/files-grp.c: Likewise.
45478 * nss/nss_files/files-hosts.c: Likewise.
45479 * nss/nss_files/files-network.c: Likewise.
45480 * nss/nss_files/files-proto.c: Likewise.
45481 * nss/nss_files/files-pwd.c: Likewise.
45482 * nss/nss_files/files-rpc.c: Likewise.
45483 * nss/nss_files/files-service.c: Likewise.
45484 * nss/nss_files/files-sgrp.c: Likewise.
45485 * nss/nss_files/files-spwd.c: Likewise.
45486 * nss/nss_db/db-alias.c: Removed.
45487 * nss/nss_db/dummy-db.h: Removed.
45489 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45491 * nss/makedb.c: Rewritten to not use database library.
45492 * nss/Makefile: Update to build new makedb program.
45494 2011-06-14 Andreas Jaeger <aj@suse.de>
45496 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45497 memset declaration.
45499 2011-06-10 Andreas Schwab <schwab@redhat.com>
45501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45504 2011-06-10 Roland McGrath <roland@hack.frob.com>
45506 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45507 * elf/Makefile ($(objpfx)ld.so): Likewise.
45509 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45510 Don't list ld.so twice in dependencies.
45512 * posix/bug-regex31.c: Include <stdlib.h>.
45514 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45516 * nis/nss_compat/compat-spwd.c
45517 (getspent_next_nss_netgr): Remove unused variable.
45518 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45520 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45521 nonmembers" output to use the right array.
45523 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45525 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45527 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45528 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45529 * catgets/gencat.c (read_input_file): Likewise.
45530 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45532 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45533 variable definition inside #if's controlling its use.
45535 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45537 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45539 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45541 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45544 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45546 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45547 * configure: Regenerated.
45549 * Makerules: Revert last change.
45550 * elf/Makefile: Likewise.
45552 2011-06-09 Roland McGrath <roland@hack.frob.com>
45554 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45555 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45556 (reloc-link): Likewise.
45558 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45560 * elf/Makefile: Add rules to build pldd.
45561 * elf/pldd.c: New file.
45562 * elf/pldd-xx.c: New file.
45564 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45566 * version.h: Update for 2.15 development version.
45568 2011-06-07 David S. Miller <davem@davemloft.net>
45570 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45573 elf_machine_lazy_rel): Likewise.
45574 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45576 elf_machine_lazy_rel): Likewise.
45577 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45578 dl_hwcap via passed in argument.
45579 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45582 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45584 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45586 2011-06-06 Roland McGrath <roland@hack.frob.com>
45589 * manual/fdl-1.1.texi: New file, verbatim from:
45590 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45591 * manual/lgpl-2.1.texi: New file, verbatim from:
45592 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45593 * manual/Makefile (licenses): New variable, list those new file names.
45595 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45597 * manual/fdl.texi: File removed.
45598 * manual/lesser.texi: File removed.
45599 * manual/libc.texinfo (Copying, Documentation License):
45600 Use new @include file names, put @appendix directive before @include.
45602 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45605 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45606 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45607 (mq_open): Add __NTH.
45609 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45612 Assume Intel Core i3/i5/i7 processor if AVX is available.
45614 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45619 2011-05-31 Andreas Schwab <schwab@redhat.com>
45621 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45622 memory. Use alloca_account. Fix memory leak when retrying.
45624 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45626 * version.h (RELEASE): Bump for 2.14 release.
45627 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45629 * config.make.in (RANLIB): Remove entry.
45631 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45633 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45634 (libc.pot): Work around missing support for .ksh extension in xgettext.
45637 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45638 if both request failed.
45639 (send_dg): In case of server errors clear resplen or *resplen2.
45642 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45643 when there are multiple maps.
45644 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45645 (_dl_fini): Remove test here.
45647 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45649 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45652 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45653 bit from old_res_options.
45654 (gaih_inet): Likewise.
45657 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45660 * resolv/res_init.c (res_setoptions): Make the code more compact.
45663 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45667 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45669 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45672 * malloc/malloc.h: Declare malloc hook variables as volatile.
45674 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45678 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45679 raise in the comment.
45680 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45681 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45682 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45684 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45687 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45688 grow the buffers more if it already has to be sufficient.
45689 (build_wcs_upper_buffer): Likewise.
45690 * posix/regexec.c (check_matching): Likewise.
45691 (clean_state_log_if_needed): Likewise.
45692 (extend_buffers): Don't enlarge buffers beyond size of the input
45694 Patches mostly by Emil Wojak <emil@wojak.eu>.
45695 * posix/bug-regex32.c: New file.
45696 * posix/Makefile (tests): Add bug-regex32.
45698 * locale/findlocale.c (_nl_find_locale): Return right away if
45699 _nl_explode_name failed.
45700 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45702 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45704 * debug/xtrace.sh: Unify messages.
45705 * malloc/memusage.sh: Likewise.
45708 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45709 time symbol from vDSO. Substitute with vsyscall if not available.
45710 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45713 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45714 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45715 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45716 Add sendmmsg and internal_sendmmsg.
45717 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45718 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45719 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45721 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45722 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45723 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45725 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45728 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45729 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45731 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45735 * iconvdata/Makefile (tests): Add bug-iconv9.
45736 * iconvdata/bug-iconv9.c: New file.
45738 2011-05-27 Andreas Schwab <schwab@redhat.com>
45741 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45743 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45746 (struct user_regs_struct): Change intcs field back to cs.
45748 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45750 * po/ja.po: Update from translation team.
45752 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45755 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45756 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45758 2011-05-20 Andreas Schwab <schwab@redhat.com>
45760 * stdlib/longlong.h: Update from GCC.
45762 2011-05-23 Andreas Schwab <schwab@redhat.com>
45764 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45766 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45767 Add parameter name.
45768 (__sysconf): Pass it down.
45770 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45773 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45775 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45776 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45777 add in in __libc_use_alloca calls. Adjust callers.
45778 (glob): Use malloc in some situations.
45780 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45781 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45784 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45786 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45787 and CLOCK_BOOTTIME_ALARM.
45790 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45793 * string/_strerror.c (__strerror_r): Print negative errors as signed
45797 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45798 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45799 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45801 * configure.in: Fix typo in redirection and correct removal of test
45802 files in two cases.
45805 * locale/setlocale.c (new_composite_name): Fix test to check for
45806 identical name of all categories.
45809 * libio/filedoalloc.c (local_isatty): New function.
45810 (_IO_file_doallocate): Use local_isatty.
45811 * stdio-common/perror.c (perror): In case a new stream is used
45812 forward the stream error.
45813 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45816 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45821 * include/alloca.h (extend_alloca_account): Define.
45824 * posix/regex.h: Fix comments with documentation of user-accessible
45825 fields after compilation and describe correct free'ing of pattern
45826 after re_compile_pattern.
45827 Patch by Reuben Thomas <rrt@sc3d.org>.
45829 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45831 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45832 and -mno-altivec to prevent the compiler from using Altivec and/or
45833 VSX instructions when the corresponding registers are not available.
45835 2011-05-19 Andreas Schwab <schwab@redhat.com>
45837 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45839 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45841 * libio/freopen.c (freopen): Use __dup2, not dup2.
45842 * libio/freopen64.c (freopen64): Likewise.
45844 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45847 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45848 * math/Makefile (tests): Add test-powl.
45849 (CFLAGS-test-powl.c): Define.
45850 * math/test-powl.c: New file.
45852 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45854 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45856 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45859 * iconvdata/gb18030.c: Update to GB18020-2005.
45861 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45863 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45864 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45865 Patch by Aharon Robbins <arnold@skeeve.com>.
45868 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45872 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45873 through underflows.
45876 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45877 point to strings before performing equality test for error_one_per_line
45881 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45884 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45885 (struct user_fpregs_struct): Avoid __uint*_t types.
45888 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45889 symbol info. Use it instead of calling _dl_addr locally.
45890 (lock_and_info): New function.
45891 (tr_freehook): Call lock_and_info and pass symbol info as additional
45892 parameter to tr_where.
45893 (tr_mallochook): Likewise.
45894 (tr_reallochook): Likewise.
45895 (tr_memalignhook): Likewise.
45897 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45898 used and couldn't be at all thread-safe.
45900 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45902 * libio/freopen.c (freopen): Don't close old file descriptor
45903 before the new one is opened. Instead dup the new file descriptor
45904 to the old one after the new stream is created.
45905 * libio/freopen64.c (freopen64): Likewise.
45906 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45907 * libio/fileops.c (_IO_new_file_close_it): Handle new
45908 _IO_FLAGS2_NOCLOSE flag.
45909 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45910 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45911 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45912 _IO_FLAGS2_NOCLOSE flag.
45913 * include/unistd.h: Add hidden_proto for dup3.
45914 Define __have_dup3.
45915 * io/dup3.c: Define hidden symbol.
45916 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45919 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45920 when an incomplete long option is used.
45921 * posix/tst-getopt_long1.c: New file.
45922 * posix/Makefile (tests): Add tst-getopt_long1.
45925 * scripts/config.guess: Update from autoconf-2.68.
45926 * scripts/config.sub: Likewise.
45929 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45931 (has_cpuclock): ...this. New function.
45932 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45933 macro here based on has_cpuclock code.
45936 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45937 First byte (not low byte) is now always NUL.
45938 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45941 Use non-cancelable interfaces.
45944 * locale/iso-639.def: Add entry for Sorani.
45947 * include/stdlib.h: Move include protection to the right place.
45948 Define abort_msg_s. Declare __abort_msg with it.
45949 * stdlib/abort.c (__abort_msg): Adjust type.
45950 * assert/assert.c (__assert_fail_base): New function. Majority
45951 of code from __assert_fail. Allocate memory for __abort_msg with
45953 (__assert_fail): Now call __assert_fail_base.
45954 * assert/assert-perr.c: Remove bulk of implementation. Use
45955 __assert_fail_base.
45956 * include/assert.hL Declare __assert_fail_base.
45957 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45959 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45961 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45965 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45966 until all modules are registered in the DTV.
45967 * elf/Makefile: Add rules to build and run tst-tls19.
45968 * elf/tst-tls19.c: New file.
45969 * elf/tst-tls19mod1.c: New file.
45970 * elf/tst-tls19mod2.c: New file.
45971 * elf/tst-tls19mod3.c: New file.
45972 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45975 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45979 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45980 two-byte sequence errors.
45981 * iconvdata/Makefile (tests): Add bug-iconv8.
45982 * iconvdata/bug-iconv8.c: New file.
45985 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45988 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45991 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45992 (dummy_getcfa): New function.
45993 (init): Get _Unwind_GetCFA address, use dummy if not found.
45994 (backtrace_helper): In recursion check, also check whether CFA changes.
45995 (__backtrace): Completely initialize arg.
45997 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45998 storing incomplete byte sequence in state object. Avoid testing for
45999 guaranteed too small input if we know there is enough data available.
46001 2011-05-11 Andreas Schwab <schwab@redhat.com>
46003 * Makeconfig (+link-pie): Indent.
46004 * Rules (binaries-pie): Define if $(have-fpie) and
46006 (binaries-shared): Also filter out $(binaries-pie).
46007 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46008 * nscd/Makefile (others-pie): Add nscd.
46009 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46010 ($(objpfx)nscd): Remove command override.
46011 * login/Makefile (others-pie): Add pt_chown.
46012 ($(objpfx)pt_chown): Remove command override.
46013 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46014 remove command overrides.
46016 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46018 * libio/tst_putwc.c: Fix error messages.
46021 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46022 currently writing and seek to current position when not.
46023 * libio/Makefile (tests): Add bug-fclose1.
46024 * libio/bug-fclose1.c: New file.
46026 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46029 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46030 don't set DF_1_NODELETE here.
46031 (do_lookup_x): When entering new entry test for copy relocation
46032 and if necessary set DF_1_NODELETE flag.
46033 * elf/tst-unique4.cc: New file.
46034 * elf/tst-unique4.h: New file.
46035 * elf/tst-unique4lib.cc: New file.
46036 * elf/Makefile: Add rules to build and run tst-unique4.
46037 Patch by Piotr Bury <pbury@goahead.com>.
46039 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46042 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46045 * misc/mntent_r.c (addmntent): Flush the stream after the output
46048 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46049 (is_trusted_path_normalize): Skip initial colon. Append slash
46050 to empty buffer. Duplicate is_trusted_path code but allow
46051 constructed patch to be prefix.
46052 (is_dst): Allow $ORIGIN followed by /.
46053 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46054 Correct testing of result of is_trusted_path_normalize
46055 (decompose_rpath): Fix warning.
46057 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46060 * grp/initgroups.c (internal_getgrouplist): When we found the service
46061 list through the initgroups entry in nsswitch.conf do not always
46062 continue on a successful lookup. Don't always use the
46063 __nss_group_database value if it is set.
46064 * nss/nsswitch.conf (initgroups): Change action for successful db
46065 lookup to continue for compatibility.
46067 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46070 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46072 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46074 * iconvdata/tst-tables.sh: Likewise.
46075 * iconvdata/cp770.c: New file.
46076 * iconvdata/cp771.c: New file.
46077 * iconvdata/cp772.c: New file.
46078 * iconvdata/cp773.c: New file.
46079 * iconvdata/cp774.c: New file.
46080 * iconvdata/testdata/CP770: New file.
46081 * iconvdata/testdata/CP770..UTF8: New file.
46082 * iconvdata/testdata/CP771: New file.
46083 * iconvdata/testdata/CP771..UTF8: New file.
46084 * iconvdata/testdata/CP772: New file.
46085 * iconvdata/testdata/CP772..UTF8: New file.
46086 * iconvdata/testdata/CP773: New file.
46087 * iconvdata/testdata/CP773..UTF8: New file.
46088 * iconvdata/testdata/CP774: New file.
46089 * iconvdata/testdata/CP774..UTF8: New file.
46091 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46093 * iconvdata/gen-8bit-gap.sh: Likewise.
46094 * iconvdata/gen-8bit.sh: Likewise.
46096 * locale/iso-639.def: Add ary entry.
46099 * locale/C-translit.h.in: Add U20A1 transliteration.
46102 * locale/iso-639.def: Add wae entry.
46103 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46106 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46110 * locale/C-translit.h.in: Add entry for U20B9.
46111 Patch by pravin.d.s@gmail.com.
46113 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46116 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46117 ENAMETOOLONG use generic getcwd.
46118 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46119 in rtld. Use *stat64.
46120 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46121 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46122 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46123 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46124 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46125 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46126 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46127 __fstatat64 macros.
46128 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46129 * dirent/rewinddir.c: Add libc_hidden_def.
46130 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46131 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46133 * include/dirent.h (__alloc_dir): Add flags parameter.
46134 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46135 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46137 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46138 from fdopendir if O_CLOEXEC is already set.
46140 2011-03-15 Alan Modra <amodra@gmail.com>
46142 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46143 l_tls_firstbyte_offset non-zero. Save padding offset in
46144 l_tls_firstbyte_offset for later use.
46145 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46146 freeing static tls block.
46148 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46150 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46151 where #ifdef was intended. The intent is to prevent ARG_MAX from
46152 being defined by the kernel headers.
46154 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46157 * resolv/resolv.h: Define RES_NOTLDQUERY.
46158 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46159 no-tld-query and set RES_NOTLDQUERY.
46160 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46161 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46162 modern BIND to search name as TLD unless forbidden.
46164 2011-05-07 Petr Baudis <pasky@suse.cz>
46165 Ulrich Drepper <drepper@gmail.com>
46168 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46169 (is_trusted_path): ...to here.
46170 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46171 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46172 using is_trusted_path_normalize() in setuid scripts.
46174 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46176 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46177 __BEGIN/__END_DECLS.
46179 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46181 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46182 NSS_STATUS_NOTFOUND if no record was found.
46184 2011-05-05 Andreas Schwab <schwab@redhat.com>
46186 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46187 (headers-not-in-tirpc): Remove rpc/netdb.h
46188 * resolv/netdb.h: Revert last change.
46190 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46192 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46193 circular dependency between libgcc.a and libc.a.
46195 2011-05-05 Andreas Schwab <schwab@redhat.com>
46197 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46198 * nis/Makefile: Don't install rpcsvc/*.
46199 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46200 instead of <rpc/types.h>.
46201 (MAXHOSTNAMELEN): Define.
46203 2011-05-03 Andreas Schwab <schwab@redhat.com>
46205 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46207 2011-04-28 Maciej Babinski <mbabinski@google.com>
46210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46211 gethostbyname4_r when IPv6 results are possible.
46213 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46216 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46217 _PC_PIPE_BUF handling.
46219 2011-04-30 Bruno Haible <bruno@clisp.org>
46222 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46223 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46225 * inet/getnameinfo.c (getnameinfo): Likewise.
46227 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46229 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46230 to groups setting in database lookup.
46231 * nss/nsswitch.conf: Add initgroups entry.
46233 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46236 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46238 Patch by Eric Blake <eblake@redhat.com>.
46240 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46242 * sunrpc/Makefile (need-export-routines): Add svc_run.
46243 (routines): Remove svc_run.
46244 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46245 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46246 * sunrpc/svc_run.c (svc_run): Likewise.
46247 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46249 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46252 problem in reallocation in last patch.
46254 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46256 * sunrpc/Makefile: Move inclusion of Rules.
46258 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46260 * nss/nss_files/files-initgroups.c: New file.
46261 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46262 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46263 _nss_files_initgroups_dyn.
46265 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46267 * elf/elf.h (R_ARM_IRELATIVE): Define.
46269 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46271 * po/ru.po: Update from translation team.
46273 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46275 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46278 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46281 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46282 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46283 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46284 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46287 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46289 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46291 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46292 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46293 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46295 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46298 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46300 * stdlib/bug-getcontext.c: New file.
46301 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46303 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46305 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46306 instructions into .machine "z9-109".
46307 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46308 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46310 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46312 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46313 between environment variables and auxiliary vector.
46315 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46317 * Makefile: Add rules to build linkobj/libc.so.
46318 * include/libc-symbols.h: Define libc_hidden_nolink.
46319 * include/rpc/auth.h: Mark functions which are to be hidden.
46320 * include/rpc/auth_des.h: Likewise.
46321 * include/rpc/auth_unix.h: Likewise.
46322 * include/rpc/clnt.h: Likewise.
46323 * include/rpc/des_crypt.h: Likewise.
46324 * include/rpc/key_prot.h: Likewise.
46325 * include/rpc/pmap_clnt.h: Likewise.
46326 * include/rpc/pmap_prot.h: Likewise.
46327 * include/rpc/pmap_rmt.h: Likewise.
46328 * include/rpc/rpc_msg.h: Likewise.
46329 * include/rpc/svc.h: Likewise.
46330 * include/rpc/svc_auth.h: Likewise.
46331 * include/rpc/xdr.h: Likewise.
46332 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46333 * nss/Makefile: Likewise.
46334 * sunrpc/Makefile: Don't install headers. Build library with normal
46335 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46336 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46337 for the compat linking library. Remove use of INTDEF/INTUSE.
46338 * sunrpc/auth_none.c: Likewise.
46339 * sunrpc/auth_unix.c: Likewise.
46340 * sunrpc/authdes_prot.c: Likewise.
46341 * sunrpc/authuxprot.c: Likewise.
46342 * sunrpc/clnt_gen.c: Likewise.
46343 * sunrpc/clnt_perr.c: Likewise.
46344 * sunrpc/clnt_raw.c: Likewise.
46345 * sunrpc/clnt_simp.c: Likewise.
46346 * sunrpc/clnt_tcp.c: Likewise.
46347 * sunrpc/clnt_udp.c: Likewise.
46348 * sunrpc/clnt_unix.c: Likewise.
46349 * sunrpc/des_crypt.c: Likewise.
46350 * sunrpc/des_soft.c: Likewise.
46351 * sunrpc/get_myaddr.c: Likewise.
46352 * sunrpc/key_call.c: Likewise.
46353 * sunrpc/key_prot.c: Likewise.
46354 * sunrpc/netname.c: Likewise.
46355 * sunrpc/pm_getmaps.c: Likewise.
46356 * sunrpc/pm_getport.c: Likewise.
46357 * sunrpc/pmap_clnt.c: Likewise.
46358 * sunrpc/pmap_prot.c: Likewise.
46359 * sunrpc/pmap_prot2.c: Likewise.
46360 * sunrpc/pmap_rmt.c: Likewise.
46361 * sunrpc/publickey.c: Likewise.
46362 * sunrpc/rpc_cmsg.c: Likewise.
46363 * sunrpc/rpc_common.c: Likewise.
46364 * sunrpc/rpc_dtable.c: Likewise.
46365 * sunrpc/rpc_prot.c: Likewise.
46366 * sunrpc/rpc_thread.c: Likewise.
46367 * sunrpc/rtime.c: Likewise.
46368 * sunrpc/svc.c: Likewise.
46369 * sunrpc/svc_auth.c: Likewise.
46370 * sunrpc/svc_authux.c: Likewise.
46371 * sunrpc/svc_raw.c: Likewise.
46372 * sunrpc/svc_run.c: Likewise.
46373 * sunrpc/svc_simple.c: Likewise.
46374 * sunrpc/svc_tcp.c: Likewise.
46375 * sunrpc/svc_udp.c: Likewise.
46376 * sunrpc/svc_unix.c: Likewise.
46377 * sunrpc/svcauth_des.c: Likewise.
46378 * sunrpc/xcrypt.c: Likewise.
46379 * sunrpc/xdr.c: Likewise.
46380 * sunrpc/xdr_array.c: Likewise.
46381 * sunrpc/xdr_float.c: Likewise.
46382 * sunrpc/xdr_intXX_t.c: Likewise.
46383 * sunrpc/xdr_mem.c: Likewise.
46384 * sunrpc/xdr_rec.c: Likewise.
46385 * sunrpc/xdr_ref.c: Likewise.
46386 * sunrpc/xdr_sizeof.c: Likewise.
46387 * sunrpc/xdr_stdio.c: Likewise.
46389 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46392 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46393 * sysdeps/ia64/dl-tls.h: Likewise.
46394 * sysdeps/powerpc/dl-tls.h: Likewise.
46395 * sysdeps/s390/dl-tls.h: Likewise.
46396 * sysdeps/sh/dl-tls.h: Likewise.
46397 * sysdeps/sparc/dl-tls.h: Likewise.
46398 * sysdeps/x86_64/dl-tls.h: Likewise.
46399 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46401 2011-03-14 Andreas Schwab <schwab@redhat.com>
46403 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46404 rpath element also skip the following colon.
46405 (expand_dynamic_string_token): Add is_path parameter and pass
46406 down to DL_DST_REQUIRED and _dl_dst_substitute.
46407 (decompose_rpath): Call expand_dynamic_string_token with
46408 non-zero is_path. Ignore empty rpaths.
46409 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46412 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46417 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46420 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46421 Patch by Filipe David Manana <fdmanana@apache.org>.
46423 2011-04-07 Andreas Schwab <schwab@redhat.com>
46425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46426 Maintain aligned stack.
46427 (CHECK_RSP): Remove unused macro.
46429 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46431 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46432 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46434 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46436 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46438 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46440 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46443 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46444 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46445 * sysdeps/x86_64/memmove.c: New file.
46446 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46447 (memcpy): Renamed to ...
46448 (__new_memcpy): This.
46449 (memcpy): Provide GLIBC_2_14 memcpy.
46450 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46451 (memcpy): Provide GLIBC_2_2_5 memcpy.
46453 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46456 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46458 2011-03-30 Andreas Schwab <schwab@redhat.com>
46460 * misc/syncfs.c: New file.
46461 * misc/Makefile (routines): Add syncfs.
46462 * posix/unistd.h: Declare syncfs.
46463 * sysdeps/unix/syscalls.list: Add syncfs.
46465 2011-04-01 Andreas Schwab <schwab@redhat.com>
46467 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46469 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46470 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46471 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46472 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46473 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46474 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46475 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46477 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46480 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46481 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46483 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46487 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46488 sync_file_range.c with -fexceptions.
46489 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46490 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46491 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46492 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46493 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46494 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46495 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46496 sync_file_range as cancellation point
46497 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46498 now a wrapper around __call_sync_file_range with cancellation handling.
46499 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46500 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46501 function name to __call_sync_file_range.
46502 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46503 Add call_sync_file_range.
46505 2011-04-01 Andreas Schwab <schwab@redhat.com>
46507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46510 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46512 * iconv/iconv.h: Fix typo in comment.
46513 * io/fcntl.h: Likewise.
46514 * libio/stdio.h: Likewise.
46515 * posix/spawn.h: Likewise.
46516 * posix/unistd.h: Likewise.
46517 * stdlib/stdlib.h: Likewise.
46518 * time/time.h: Likewise.
46519 * wcsmbs/wchar.h: Likewise.
46521 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46522 open_by_handle): Add.
46523 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46524 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46525 Augment a few comments.
46526 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46531 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46534 * io/fcntl.h (AT_EMPTY_PATH): Define.
46536 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46538 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46539 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46540 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46542 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46543 * Versions.def: Add GLIBC_2.14.
46544 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46547 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46549 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46551 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46553 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46556 * string/test-strncmp.c (do_page_test): New function.
46557 (check2): Likewise.
46558 (test_main): Call check2.
46559 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46561 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46564 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46565 Handle cache information in CPU leaf 4.
46566 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46568 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46571 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46572 character representation.
46573 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46575 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46577 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46578 END(__isnan) to END(__isnanf) to match function entry point/label
46579 EALIGN(__isnanf,...).
46581 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46583 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46585 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46588 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46589 copy from the symbol referenced in the relocation to initialize the
46591 Patch by Piotr Bury <pbury@goahead.com>.
46592 * elf/Makefile: Add rules to build and tst-unique3.
46593 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46594 * elf/tst-unique3.cc: New file.
46595 * elf/tst-unique3.h: New file.
46596 * elf/tst-unique3lib.cc: New file.
46597 * elf/tst-unique3lib2.cc: New file.
46599 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46601 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46603 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46604 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46607 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46609 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46610 to-be-loaded object along a path to loader is ld.so.
46612 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46613 Ulrich Drepper <drepper@gmail.com>
46615 * sysdeps/x86_64/memset.S: After aligning destination, code
46616 branches to different locations depending on the value of
46617 misalignment, when multiarch is enabled. Fix this.
46619 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46621 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46622 Set _x86_64_preferred_memory_instruction for AMD processsors.
46623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46624 Set bit_Prefer_SSE_for_memop for AMD processors.
46626 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46628 * libio/fmemopen.c (fmemopen): Optimize a bit.
46630 2011-03-03 Andreas Schwab <schwab@redhat.com>
46632 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46634 2011-03-03 Roland McGrath <roland@redhat.com>
46636 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46638 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46640 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46641 __bzero_ultra1 instead of __memset_ultra1.
46643 2011-02-23 Andreas Schwab <schwab@redhat.com>
46644 Ulrich Drepper <drepper@gmail.com>
46647 * include/link.h (struct link_map): Add l_orig_initfini.
46648 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46649 returning unsuccessfully.
46650 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46651 close of a file loaded at startup, restore the original l_initfini
46653 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46654 list, store the pointer.
46655 * elf/Makefile ($(objpfx)noload-mem): New rule.
46656 (noload-ENV): Define.
46657 (tests): Add $(objpfx)noload-mem.
46658 * elf/noload.c: Include <memcheck.h>.
46659 (main): Call mtrace. Close all opened handles.
46661 2011-02-17 Andreas Schwab <schwab@redhat.com>
46664 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46665 dependencies are missing.
46667 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46669 Fix __if_freereq crash: Unlike the generic version which uses free,
46671 * sysdeps/mach/hurd/ifreq.h: New file.
46673 2011-01-27 Petr Baudis <pasky@suse.cz>
46674 Ulrich Drepper <drepper@gmail.com>
46677 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46678 to extend_alloca().
46679 * stdio-common/bug23.c: New file.
46680 * stdio-common/Makefile (tests): Add bug23.
46682 2010-09-28 Andreas Schwab <schwab@redhat.com>
46683 Ulrich Drepper <drepper@gmail.com>
46686 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46687 before performing relro protection. At old place add assertion
46688 to make sure nothing changed.
46690 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46691 Glauber de Oliveira Costa <glommer@gmail.com>
46693 * elf/elf.h: Add new ARM TLS relocs.
46695 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46698 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46700 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46702 * sysdeps/wordsize-64/tst-writev.c: New file.
46704 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46706 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46707 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46708 insns in _dl_start to prevent a TOC reference before relocs are
46711 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46714 * Makeconfig: Remove RANLIB definition.
46715 * Makerules: Don't use RANLIB.
46716 * aclocal.m4: Remove ranlib test.
46717 * configure.in: No need to check for ranlib.
46718 * elf/rtld-Rules: Don't use RANLIB.
46720 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46722 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46724 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46725 inclusion protection macro.
46727 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46728 SIGRTMIN and SIGRTMAX and print information in that case only when
46729 SIGRTMIN is defined.
46731 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46733 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46734 arginfo fn returning -1.
46736 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46737 and thousands string is zero terminated.
46739 2011-02-03 Andreas Schwab <schwab@redhat.com>
46741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46742 sysdeps/unix/sysv/linux/bits/socket.h.
46744 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46746 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46747 (__CPU_COUNT): Remove old macros.
46748 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46749 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46750 (__CPU_ALLOC, __CPU_FREE): Add macros.
46751 (__sched_cpualloc, __sched_cpufree): Add declarations.
46753 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46755 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46756 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46757 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46758 (readdhstai): Return value of addhstaiX call.
46759 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46760 (addgrbyX): Return value returned by cache_addgr.
46761 (readdgrbyname): Return value returned by addgrbyX.
46762 (readdgrbygid): Likewise.
46763 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46764 (addpwbyX): Return value returned by cache_addpw.
46765 (readdpwbyname): Return value returned by addhstbyX.
46766 (readdpwbyuid): Likewise.
46767 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46768 (addservbyX): Return value returned by cache_addserv.
46769 (readdservbyname): Return value returned by addservbyX:
46770 (readdservbyport): Likewise.
46771 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46772 (addhstbyX): Return value returned by cache_addhst.
46773 (readdhstbyname): Return value returned by addhstbyX.
46774 (readdhstbyaddr): Likewise.
46775 (readdhstbynamev6): Likewise.
46776 (readdhstbyaddrv6): Likewise.
46777 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46778 (readdinitgroups): Return value returned by addinitgroupsX.
46779 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46780 (prune_cache): Keep track of timeout value of re-added entries.
46781 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46782 * nscd/nscd.h: Adjust prototypes of readd* functions.
46784 2011-02-04 Roland McGrath <roland@redhat.com>
46786 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46787 (nis_stats): Likewise.
46788 * nis/nis_modify.c (nis_modify): Likewise.
46789 * nis/nis_remove.c (nis_remove): Likewise.
46790 * nis/nis_add.c (nis_add): Likewise.
46792 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46794 * posix/fnmatch_loop.c: Add some consts.
46796 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46798 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46801 * config.make.in (config-cflags-novzeroupper): Define.
46802 * configure.in: Substitute libc_cv_cc_novzeroupper.
46803 * elf/Makefile (AVX-CFLAGS): Define.
46804 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46805 (CFLAGS-tst-auditmod4a.c): Likewise.
46806 (CFLAGS-tst-auditmod4b.c): Likewise.
46807 (CFLAGS-tst-auditmod6b.c): Likewise.
46808 (CFLAGS-tst-auditmod6c.c): Likewise.
46809 (CFLAGS-tst-auditmod7b.c): Likewise.
46810 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46812 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46814 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46815 function to the callback.
46816 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46818 2011-02-02 Andreas Schwab <schwab@redhat.com>
46820 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46823 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46826 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46828 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46830 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46833 * elf/Makefile: Add rules to build and run new test.
46834 * elf/tst-initorder.c: New file.
46835 * elf/tst-initorder.exp: New file.
46836 * elf/tst-initordera1.c: New file.
46837 * elf/tst-initordera2.c: New file.
46838 * elf/tst-initordera3.c: New file.
46839 * elf/tst-initordera4.c: New file.
46840 * elf/tst-initorderb1.c: New file.
46841 * elf/tst-initorderb2.c: New file.
46842 * elf/tst-order-a1.c: New file.
46843 * elf/tst-order-a2.c: New file.
46844 * elf/tst-order-a3.c: New file.
46845 * elf/tst-order-a4.c: New file.
46846 * elf/tst-order-b1.c: New file.
46847 * elf/tst-order-b2.c: New file.
46848 * elf/tst-order-main.c: New file.
46849 New test case by George Gensure <werkt0@gmail.com>.
46851 2010-10-01 Andreas Schwab <schwab@redhat.com>
46853 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46854 decoding ACE if AI_CANONIDN.
46856 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46858 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46860 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46862 * version.h (RELEASE): Bump for 2.13 release.
46863 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46865 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46867 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46869 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46870 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46871 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46872 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46873 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46876 * posix/getconf.c: Update copyright year.
46877 * catgets/gencat.c: Likewise.
46878 * csu/version.c: Likewise.
46879 * debug/catchsegv.sh: Likewise.
46880 * debug/xtrace.sh: Likewise.
46881 * elf/ldconfig.c: Likewise.
46882 * elf/ldd.bash.in: Likewise.
46883 * elf/sprof.c (print_version): Likewise.
46884 * iconv/iconv_prog.c: Likewise.
46885 * iconv/iconvconfig.c: Likewise.
46886 * locale/programs/locale.c: Likewise.
46887 * locale/programs/localedef.c: Likewise.
46888 * malloc/memusage.sh: Likewise.
46889 * malloc/mtrace.pl: Likewise.
46890 * nscd/nscd.c (print_version): Likewise.
46891 * nss/getent.c: Likewise.
46893 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46894 PF_CAIF, and PF_ALG.
46895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46897 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46899 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46900 (modules-names): Use them.
46901 (ifunc-test-modules, ifunc-pie-tests): Define.
46902 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46903 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46904 (test-extras): Likewise.
46905 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46906 $(compile-command.c).
46907 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46908 (all-built-dso): Define.
46909 (check-textrel.out, check-execstack.out): Depend on it.
46911 * configure.in: Don't override --enable-multi-arch.
46913 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46916 * nscd/hstcache.c (tryagain): Define.
46917 (cache_addhst): Return tryagain not notfound for temporary errors.
46918 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46921 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46924 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46925 to make the syscall.
46926 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46929 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46930 and fall back to matching as normal character if the string ends before
46931 the matching ']' is found. This is what POSIX requires.
46932 * posix/testfnm.c: Adjust test result.
46933 * posix/globtest.sh: Adjust test result. Add new test.
46934 * posix/tst-fnmatch.input: Likewise.
46935 * posix/tst-fnmatch2.c: Add new test.
46937 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46939 * elf/Makefile (check-execstack): Revert last change. Depend on
46941 (check-execstack.h): New target.
46942 (generated): Add check-execstack.h.
46943 * elf/check-execstack.c: Include "check-execstack.h".
46944 (main): Revert last change.
46945 (handle_file): Return zero if GNU_STACK is absent and
46946 DEFAULT_STACK_PERMS doesn't include PF_X.
46948 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46950 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46951 in child fails because the descriptor is already closed.
46952 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46953 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46954 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46957 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46961 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46962 temporary buffer used to handle multi lookups locally.
46963 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46965 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46967 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46970 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46972 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46973 alignment for SSE2.
46975 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46978 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46979 characters. When rounding increased number of integer digits recompute
46981 * stdio-common/tst-grouping.c: New file.
46982 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46984 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46986 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46987 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
46989 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46991 * bits/select.h: Likewise.
46993 2011-01-08 Ulrich Drepper <drepper@gmail.com>
46995 * po/ja.po: Update from translation team.
46997 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47000 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47001 implementation just like for lxstat, fxstatat, et al.
47003 2010-12-27 Jim Meyering <meyering@redhat.com>
47006 * posix/regexec.c (build_trtable): Return failure indication upon
47007 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47009 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47012 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47013 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47014 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47015 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47018 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47021 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47022 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47024 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47026 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47027 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47028 script has SORT_BY_INIT_PRIORITY.
47029 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47030 NO_CTORS_DTORS_SECTIONS is defined.
47031 * elf/soinit.c: Likewise.
47032 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47033 NO_CTORS_DTORS_SECTIONS is defined.
47034 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47035 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47036 * sysdeps/sh/init-first.c: Likewise.
47037 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47039 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47041 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47042 always use the slow path.
47044 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47046 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47047 similar rule which adds the sysdep directories to the header search in
47048 order to pick up the correct platform stackinfo.h.
47049 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47050 perform test if it is, otherwise return successfully without testing.
47051 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47052 DEFAULT_STACK_PERMS define in stackinfo.h.
47053 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47054 defined in stackinfo.h.
47055 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47056 DEFAULT_STACK_PERMS defined in stackinfo.h.
47057 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47058 * sysdeps/ia64/stackinfo.h: Likewise.
47059 * sysdeps/s390/stackinfo.h: Likewise.
47060 * sysdeps/sh/stackinfo.h: Likewise.
47061 * sysdeps/sparc/stackinfo.h: Likewise.
47062 * sysdeps/x86_64/stackinfo.h: Likewise.
47063 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47064 PF_X for powerpc64. Retain PF_X for powerpc32.
47066 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47068 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47070 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47071 GETDENTS_64BIT_ALIGNED.
47073 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47075 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47077 2010-12-10 Andreas Schwab <schwab@redhat.com>
47079 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47082 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47083 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47085 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47086 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47088 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47091 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47094 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47096 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47098 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47100 * po/it.po: Update from translation team.
47102 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47104 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47107 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47109 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47111 2010-11-24 Andreas Schwab <schwab@redhat.com>
47113 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47115 (gaih_getanswer_slice): Likewise.
47117 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47119 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47121 2010-05-31 Petr Baudis <pasky@suse.cz>
47124 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47125 silently even in the chroot mode.
47127 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47129 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47130 last patch a bit. Pretty printing
47132 2010-05-31 Petr Baudis <pasky@suse.cz>
47135 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47136 initialization of skip_initgroups_dyn.
47138 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47140 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47141 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47143 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47145 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47147 2010-11-11 Andreas Schwab <schwab@redhat.com>
47149 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47150 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47151 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47152 ($(objpfx)tst-fnmatch-mem): New rule.
47153 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47154 * posix/tst-fnmatch.c (main): Call mtrace.
47156 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47159 Support Intel processor model 6 and model 0x2c.
47161 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47163 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47166 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47169 * string/test-strncasecmp.c (check_result): New function.
47170 (do_one_test): Use it.
47171 (check1): New function.
47172 (test_main): Use it.
47173 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47174 Support strcasecmp and strncasecmp.
47176 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47179 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47180 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47182 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47184 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47188 * sysdeps/x86_64/multiarch/bzero.S: New file.
47189 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47190 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47191 * sysdeps/x86_64/multiarch/memset.S: New file.
47192 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47194 Set bit_Prefer_SSE_for_memop for Intel processors.
47195 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47197 (index_Prefer_SSE_for_memop): Define.
47198 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47200 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47202 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47203 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47205 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47208 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47209 (__x86_64_raw_data_cache_size_half): Likewise.
47210 (__x86_64_raw_shared_cache_size): Likewise.
47211 (__x86_64_raw_shared_cache_size_half): Likewise.
47213 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47214 (__x86_64_raw_data_cache_size_half): Likewise.
47215 (__x86_64_raw_shared_cache_size): Likewise.
47216 (__x86_64_raw_shared_cache_size_half): Likewise.
47217 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47218 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47219 and __x86_64_raw_shared_cache_size_half. Round
47220 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47221 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47222 to multiple of 256 bytes.
47224 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47227 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47228 of inacessible symlinks. Verify result of symlink before returning it.
47229 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47230 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47232 2010-10-28 Erich Ritz <erichritz@gmail.com>
47234 * math/math.h (isinf): Fix typo in comment.
47236 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47238 * po/da.po: Update from translation team.
47240 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47242 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47243 is added to the list.
47245 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47246 Ulrich Drepper <drepper@gmail.com>
47248 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47249 the global list here. Move code to...
47250 (_dl_add_to_namespace_list): ...here. New function.
47251 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47252 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47253 * elf/dl-load.c (lose): Don't remove the element from the list.
47254 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47255 (_dl_map_object): Likewise.
47257 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47260 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47261 into all bytes of SSE register.
47262 Patch by Richard Li <richardpku@gmail.com>.
47264 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47267 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47270 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47272 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47273 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47274 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47275 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47280 2010-10-22 Andreas Schwab <schwab@redhat.com>
47282 * include/dlfcn.h (__RTLD_SECURE): Define.
47283 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47284 mode & __RTLD_SECURE instead.
47285 (open_path): Rename preloaded parameter to secure.
47286 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47287 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47288 * elf/dl-deps.c (openaux): Likewise.
47289 * elf/rtld.c (struct map_args): Remove is_preloaded.
47290 (map_doit): Don't use it.
47291 (dl_main): Likewise.
47292 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47293 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47295 2010-09-09 Andreas Schwab <schwab@redhat.com>
47297 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47298 (sysd-rules-targets): Remove duplicates.
47299 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47300 rtld-%.$o dependency.
47302 2010-10-18 Andreas Schwab <schwab@redhat.com>
47304 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47305 _dl_map_object do it.
47307 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47309 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47310 fast fma builtins, define the macros in the C99 standard.
47311 (FP_FAST_FMAF): Likewise.
47312 (FP_FAST_FMAL): Likewise.
47313 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47315 * bits/mathdef.h: Update copyright year.
47316 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47318 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47320 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47321 builtins, define the macros in the C99 standard.
47322 (FP_FAST_FMAF): Likewise.
47323 (FP_FAST_FMAL): Likewise.
47324 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47326 (FP_FAST_FMAF): Likewise.
47328 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47331 * math/libm-test.inc (fma_test): Some new testcases.
47332 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47334 y and infinite z. Do multiplication by C already in long double.
47335 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47337 y and infinite z. Do bitwise or of inexact bit into u.d.
47338 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47339 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47340 * sysdeps/i386/fpu/s_fma.S: Removed.
47341 * sysdeps/i386/fpu/s_fmal.S: Removed.
47343 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47346 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47347 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47348 computation is not scheduled after fetestexcept. Fix value
47349 of minimum denormal long double.
47351 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47354 * math/libm-test.inc (fma_test): Add some more tests.
47355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47358 2010-10-15 Andreas Schwab <schwab@redhat.com>
47360 * scripts/data/localplt-s390-linux-gnu.data: New file.
47361 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47363 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47366 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47367 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47369 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47371 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47373 if one of x and y is very large and the other is subnormal.
47374 * sysdeps/s390/fpu/s_fmaf.c: New file.
47375 * sysdeps/s390/fpu/s_fma.c: New file.
47376 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47377 * sysdeps/powerpc/fpu/s_fma.S: New file.
47378 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47379 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47380 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47382 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47385 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47387 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47388 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47389 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47390 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47391 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47392 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47393 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47395 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47398 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47399 * posix/bug-regex31.input: Add test case.
47401 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47403 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47404 * posix/bug-regex31.input: New file.
47407 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47408 (parse_sub_exp): Fix last change, use postorder.
47410 * posix/bug-regex31.c: New file.
47411 * posix/Makefile: Add rules to build and run bug-regex31.
47413 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47416 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47419 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47420 to have entries in sys_siglist.
47423 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47426 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47429 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47430 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47431 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47432 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47433 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47434 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47435 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47436 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47437 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47438 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47439 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47440 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47441 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47442 * math/ftestexcept.c (fetestexcept): Likewise.
47443 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47444 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47445 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47446 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47447 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47448 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47449 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47451 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47454 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47457 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47459 * string/bug-strstr1.c: New file.
47460 * string/Makefile: Add rules to build and run bug-strstr1.
47462 2010-10-05 Eric Blake <eblake@redhat.com>
47465 * string/str-two-way.h (two_way_long_needle): Always clear memory
47466 when skipping input due to the shift table.
47468 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47471 * malloc/mcheck.c: Handle large requests.
47474 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47475 for strncmp and strncasecmp.
47476 * string/stratcliff.c: Add tests for strcmp and strncmp.
47477 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47479 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47481 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47484 2010-09-30 Andreas Jaeger <aj@suse.de>
47486 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47487 (CGROUP_SUPER_MAGIC): Define.
47488 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47489 Handle btrfs and cgroup file systems.
47490 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47493 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47495 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47496 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47498 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47501 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47502 trying to locate the ELF header.
47504 2010-09-27 Andreas Schwab <schwab@redhat.com>
47507 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47508 Mask out sign-bit copies when constructing f_fsid.
47510 2010-09-24 Petr Baudis <pasky@suse.cz>
47512 * debug/stack_chk_fail_local.c: Add missing licence exception.
47513 * debug/warning-nop.c: Likewise.
47515 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47517 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47518 implementing getdents64 using getdents syscall, set d_type if
47519 __ASSUME_GETDENTS32_D_TYPE.
47521 2010-09-16 Andreas Schwab <schwab@redhat.com>
47523 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47524 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47526 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47529 * posix/unistd.h: Undo change of feature selection for ftruncate from
47532 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47534 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47537 2010-09-20 Andreas Schwab <schwab@redhat.com>
47539 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47541 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47543 2010-09-14 Andreas Schwab <schwab@redhat.com>
47545 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47546 variables after CHECK_SP call.
47547 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47549 2010-09-13 Andreas Schwab <schwab@redhat.com>
47550 Ulrich Drepper <drepper@redhat.com>
47552 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47553 re-relocationg ld.so.
47554 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47555 _dl_init_paths call.
47556 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47559 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47561 * resolv/res_init.c (__res_vinit): Count the default server we added.
47563 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47564 Ulrich Drepper <drepper@redhat.com>
47567 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47568 (____longjmp_chk): Use %ebx for saving value across system call.
47571 2010-09-06 Andreas Schwab <schwab@redhat.com>
47573 * manual/Makefile: Don't mix pattern rules with normal rules.
47575 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47577 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47579 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47580 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47581 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47582 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47583 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47586 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47589 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47590 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47592 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47594 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47595 * sysdeps/x86_64/addmul_1.S: Likewise.
47596 * sysdeps/x86_64/lshift.S: Likewise.
47597 * sysdeps/x86_64/mul_1.S: Likewise.
47598 * sysdeps/x86_64/rshift.S: Likewise.
47599 * sysdeps/x86_64/sub_n.S: Likewise.
47600 * sysdeps/x86_64/submul_1.S: Likewise.
47602 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47604 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47605 Define __sched_param instead of SCHED_* and sched_param when
47606 <bits/sched.h> is included with __need_schedparam defined.
47607 * bits/sched.h [__need_schedparam]
47608 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47609 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47610 (__defined_schedparam): Define to 1.
47611 (__sched_param): New structure, identical to sched_param.
47612 (__need_schedparam): Undefine.
47614 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47616 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47617 (epoll_create1): Declare.
47619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47621 2010-08-31 Andreas Schwab <schwab@redhat.com>
47624 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47625 shifting retval into place.
47627 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47629 * nis/rpcsvc/nis.h: Update copyright notice.
47630 * nis/rpcsvc/nis.x: Likewise.
47631 * nis/rpcsvc/nis_callback.h: Likewise.
47632 * nis/rpcsvc/nis_callback.x: Likewise.
47633 * nis/rpcsvc/nis_object.x: Likewise.
47634 * nis/rpcsvc/nis_tags.h: Likewise.
47635 * nis/rpcsvc/yp.h: Likewise.
47636 * nis/rpcsvc/yp.x: Likewise.
47637 * nis/rpcsvc/ypupd.h: Likewise.
47638 * nis/yp_xdr.c: Likewise.
47639 * nis/ypupdate_xdr.c: Likewise.
47641 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47642 mainly the body of pmap_getport. Add parameters to specify timeouts.
47643 (pmap_getport): Use __libc_rpc_getport.
47644 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47645 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47646 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47648 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47653 2010-08-27 Roland McGrath <roland@redhat.com>
47655 * sysdeps/i386/i686/multiarch/Makefile
47656 (CFLAGS-varshift.c): New variable.
47658 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47660 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47661 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47665 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47667 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47669 * sysdeps/x86_64/strlen.S: Unroll the loop.
47670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47671 strlen-sse2 strlen-sse2-bsf.
47672 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47673 __strlen_no_bsf if bit_Slow_BSF is set.
47674 (__strlen_sse42): Removed.
47675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47676 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47678 2010-08-25 Roland McGrath <roland@redhat.com>
47680 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47681 * sysdeps/x86_64/multiarch/varshift.c: New file.
47682 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47683 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47684 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47685 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47687 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47690 strlen-sse2 strlen-sse2-bsf.
47691 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47692 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47693 (__strlen_sse2): Removed.
47694 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47695 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47696 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47697 bit_Slow_BSF for Atom.
47698 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47699 (index_Slow_BSF): Define.
47700 (HAS_SLOW_BSF): Define.
47702 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47705 * resolv/res_init.c (__res_vinit): When no server address at all
47706 is given default to loopback.
47708 2010-08-24 Roland McGrath <roland@redhat.com>
47710 * configure.in: Remove config-name.h generation.
47711 * configure: Regenerated.
47712 * config-name.in: File removed.
47713 * scripts/config-uname.sh: New file.
47714 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47715 ($(objdir)config-name.h): New target.
47717 * sunrpc/rpc_parse.h: Avoid nested comment.
47719 2010-08-24 Richard Henderson <rth@redhat.com>
47720 Ulrich Drepper <drepper@redhat.com>
47721 H.J. Lu <hongjiu.lu@intel.com>
47723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47725 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47726 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47727 _mm_alignr_epi8 with _mm_loadu_si128.
47728 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47729 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47730 (__m128i_shift_right): Removed.
47731 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47732 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47733 * sysdeps/x86_64/multiarch/varshift.h: New file.
47734 * sysdeps/x86_64/multiarch/varshift.S: New file.
47736 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47738 * configure.in: Move assembler checks to before sysdep dir checking.
47740 2010-08-20 Petr Baudis <pasky@suse.cz>
47742 * LICENSES: Sync the sunrpc license.
47744 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47746 * sunrpc/auth_des.c: Update copyright notice once again.
47747 * sunrpc/auth_none.c: Likewise.
47748 * sunrpc/auth_unix.c: Likewise.
47749 * sunrpc/authdes_prot.c: Likewise.
47750 * sunrpc/authuxprot.c: Likewise.
47751 * sunrpc/bindrsvprt.c: Likewise.
47752 * sunrpc/clnt_gen.c: Likewise.
47753 * sunrpc/clnt_perr.c: Likewise.
47754 * sunrpc/clnt_raw.c: Likewise.
47755 * sunrpc/clnt_simp.c: Likewise.
47756 * sunrpc/clnt_tcp.c: Likewise.
47757 * sunrpc/clnt_udp.c: Likewise.
47758 * sunrpc/clnt_unix.c: Likewise.
47759 * sunrpc/des_crypt.c: Likewise.
47760 * sunrpc/des_soft.c: Likewise.
47761 * sunrpc/get_myaddr.c: Likewise.
47762 * sunrpc/getrpcport.c: Likewise.
47763 * sunrpc/key_call.c: Likewise.
47764 * sunrpc/key_prot.c: Likewise.
47765 * sunrpc/openchild.c: Likewise.
47766 * sunrpc/pm_getmaps.c: Likewise.
47767 * sunrpc/pm_getport.c: Likewise.
47768 * sunrpc/pmap_clnt.c: Likewise.
47769 * sunrpc/pmap_prot.c: Likewise.
47770 * sunrpc/pmap_prot2.c: Likewise.
47771 * sunrpc/pmap_rmt.c: Likewise.
47772 * sunrpc/rpc/auth.h: Likewise.
47773 * sunrpc/rpc/auth_unix.h: Likewise.
47774 * sunrpc/rpc/clnt.h: Likewise.
47775 * sunrpc/rpc/des_crypt.h: Likewise.
47776 * sunrpc/rpc/key_prot.h: Likewise.
47777 * sunrpc/rpc/netdb.h: Likewise.
47778 * sunrpc/rpc/pmap_clnt.h: Likewise.
47779 * sunrpc/rpc/pmap_prot.h: Likewise.
47780 * sunrpc/rpc/pmap_rmt.h: Likewise.
47781 * sunrpc/rpc/rpc.h: Likewise.
47782 * sunrpc/rpc/rpc_des.h: Likewise.
47783 * sunrpc/rpc/rpc_msg.h: Likewise.
47784 * sunrpc/rpc/svc.h: Likewise.
47785 * sunrpc/rpc/svc_auth.h: Likewise.
47786 * sunrpc/rpc/types.h: Likewise.
47787 * sunrpc/rpc/xdr.h: Likewise.
47788 * sunrpc/rpc_clntout.c: Likewise.
47789 * sunrpc/rpc_cmsg.c: Likewise.
47790 * sunrpc/rpc_common.c: Likewise.
47791 * sunrpc/rpc_cout.c: Likewise.
47792 * sunrpc/rpc_dtable.c: Likewise.
47793 * sunrpc/rpc_hout.c: Likewise.
47794 * sunrpc/rpc_main.c: Likewise.
47795 * sunrpc/rpc_parse.c: Likewise.
47796 * sunrpc/rpc_parse.h: Likewise.
47797 * sunrpc/rpc_prot.c: Likewise.
47798 * sunrpc/rpc_sample.c: Likewise.
47799 * sunrpc/rpc_scan.c: Likewise.
47800 * sunrpc/rpc_scan.h: Likewise.
47801 * sunrpc/rpc_svcout.c: Likewise.
47802 * sunrpc/rpc_tblout.c: Likewise.
47803 * sunrpc/rpc_util.c: Likewise.
47804 * sunrpc/rpc_util.h: Likewise.
47805 * sunrpc/rpcinfo.c: Likewise.
47806 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47807 * sunrpc/rpcsvc/key_prot.x: Likewise.
47808 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47809 * sunrpc/rpcsvc/mount.x: Likewise.
47810 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47811 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47812 * sunrpc/rpcsvc/rex.x: Likewise.
47813 * sunrpc/rpcsvc/rstat.x: Likewise.
47814 * sunrpc/rpcsvc/rusers.x: Likewise.
47815 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47816 * sunrpc/rpcsvc/spray.x: Likewise.
47817 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47818 * sunrpc/rtime.c: Likewise.
47819 * sunrpc/svc.c: Likewise.
47820 * sunrpc/svc_auth.c: Likewise.
47821 * sunrpc/svc_authux.c: Likewise.
47822 * sunrpc/svc_raw.c: Likewise.
47823 * sunrpc/svc_run.c: Likewise.
47824 * sunrpc/svc_simple.c: Likewise.
47825 * sunrpc/svc_tcp.c: Likewise.
47826 * sunrpc/svc_udp.c: Likewise.
47827 * sunrpc/svc_unix.c: Likewise.
47828 * sunrpc/svcauth_des.c: Likewise.
47829 * sunrpc/xcrypt.c: Likewise.
47830 * sunrpc/xdr.c: Likewise.
47831 * sunrpc/xdr_array.c: Likewise.
47832 * sunrpc/xdr_float.c: Likewise.
47833 * sunrpc/xdr_mem.c: Likewise.
47834 * sunrpc/xdr_rec.c: Likewise.
47835 * sunrpc/xdr_ref.c: Likewise.
47836 * sunrpc/xdr_sizeof.c: Likewise.
47837 * sunrpc/xdr_stdio.c: Likewise.
47839 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47842 2010-08-19 Andreas Schwab <schwab@redhat.com>
47844 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47846 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47848 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47849 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47850 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47851 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47852 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47853 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47854 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47855 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47856 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47857 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47858 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47859 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47860 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47861 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47863 2010-07-26 Anton Blanchard <anton@samba.org>
47865 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47866 * malloc/arena.c (heap_trim): Likewise.
47868 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47870 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47873 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47875 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47877 * sysdeps/i386/elf/Makefile: New file.
47879 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47881 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47882 from fanotify_init.
47883 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47884 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47886 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47888 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47890 * sysdeps/multiarch/strcmp.S: Likewise.
47892 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47894 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47895 strncase_l-nonascii.
47896 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47897 Add strncase_l-ssse3.
47898 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47899 * sysdeps/x86_64/strcmp.S: Likewise.
47900 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47901 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47902 * sysdeps/x86_64/strncase.S: New file.
47903 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47904 * sysdeps/x86_64/strncase_l.S: New file.
47905 * string/Makefile (strop-tests): Add strncasecmp.
47906 * string/test-strncasecmp.c: New file.
47908 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47911 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47912 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47914 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47916 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47918 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47920 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47921 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47922 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47924 2010-05-01 Alan Modra <amodra@gmail.com>
47926 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47927 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47928 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47929 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47930 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47931 tidying. Don't tail-call __sigjmp_save for static lib.
47932 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47934 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47935 (CALL_MCOUNT): Add eh info, and nop after bl.
47936 (TAIL_CALL_SYSCALL_ERROR): New macro.
47937 (PSEUDO_RET): Use it.
47938 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47939 Correct save location of integer regs and cr.
47940 (_dl_profile_resolve): Correct cr save location. Delete nops
47941 after bl when SHARED. Reduce cfi size a little by better
47942 placement of cfi directives.
47943 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47944 make a stack frame. Instead use parm save area as a temp.
47945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47946 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47948 Don't make a stack frame for parent, use parm save area.
47949 Increase child stack frame to 112 bytes. Don't save unused reg,
47950 and adjust reg usage. Set up cfi on error recovery and
47951 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47953 (__makecontext): Add dummy nop after jump to exit.
47954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47955 Use correct parm save area and cr save, reduce stack frame.
47956 Correct cfi for possible PSEUDO_RET frame setup.
47957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47958 Branch to local label emitted by PSEUDO_RET rather than
47961 2010-08-12 Andreas Schwab <schwab@redhat.com>
47964 * locale/programs/locale.c (print_assignment): New function.
47965 (show_locale_vars): Use it.
47967 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47969 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47971 (struct statfs64): Likewise.
47972 (_STATFS_F_FLAGS): Define.
47973 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47974 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47975 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47976 (ST_VALID): Define locally.
47977 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47978 __statvfs_getflags, use the provided value.
47979 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47980 __ASSUME_STATFS_F_FLAGS.
47982 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47984 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47985 Add sys/fanotify.h.
47986 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47987 fanotify_mask for GLIBC_2.13.
47988 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47989 fanotify_init and fanotify_mark.
47990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47991 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47993 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47995 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47996 prlimit64 for GLIBC_2.13.
47997 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47999 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48002 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48003 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48004 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48007 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48010 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48011 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48013 * nss/Makefile: Add rules to build and run tst-nss-test1.
48014 * shlib-versions: Add entry for libnss_test1.
48015 * nss/nss_test1.c: New file.
48016 * nss/tst-nss-test1.c: New file.
48018 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48019 (__nss_configure_lookup): Set appropriate entry in
48020 __nss_configure_lookup to true.
48021 * nss/nsswitch.h: Define enum with indeces of databases in
48022 databases and __nss_database_custom arrays. Declare
48023 __nss_database_custom.
48024 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48025 to avoid using nscd when custom rules are installed.
48026 * nss/getXXbyYY_r.c: Likewise.
48027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48029 * nss/nss_files/files-parse.c: Whitespace fixes.
48031 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48034 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48035 * posix/fnmatch_loop.c: Likewise.
48037 2010-07-17 Andi Kleen <ak@linux.intel.com>
48039 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48040 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48041 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48042 * Versions.def [GLIBC_2.13]: Add.
48044 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48046 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48047 Also fail if tpwd after pwuid call is NULL.
48049 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48051 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48052 when converting to ms.
48054 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48056 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48057 EOPNOTSUPP errors with ENOTTY.
48058 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48059 EOPNOTSUPP errors with ENOTTY.
48061 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48063 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48064 Add strcasecmp_l-ssse3.
48065 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48067 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48068 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48069 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48071 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48073 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48075 * string/Makefile (strop-tests): Add strcasecmp.
48076 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48077 strcasecmp_l-nonascii.
48078 (gen-as-const-headers): Add locale-defines.sym.
48079 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48080 * sysdeps/x86_64/strcasecmp.S: New file.
48081 * sysdeps/x86_64/strcasecmp_l.S: New file.
48082 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48083 * sysdeps/x86_64/locale-defines.sym: New file.
48084 * string/test-strcasecmp.c: New file.
48086 * string/test-strcasestr.c: Test both ends of the range of characters.
48087 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48089 2010-07-29 Roland McGrath <roland@redhat.com>
48092 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48094 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48096 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48099 2010-07-27 Andreas Schwab <schwab@redhat.com>
48101 * manual/memory.texi (Malloc Tunable Parameters): Document
48104 2010-07-26 Roland McGrath <roland@redhat.com>
48107 * configure.in (-fgnu89-inline check): Set and substitute
48108 gnu89_inline, not libc_cv_gnu89_inline.
48109 * configure: Regenerated.
48110 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48112 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48114 * string/test-strnlen.c: New file.
48115 * string/Makefile (strop-tests): Add strnlen.
48116 * string/tester.c (test_strnlen): Add a few more test cases.
48117 * string/tst-strlen.c: Better error reporting.
48119 * sysdeps/x86_64/strnlen.S: New file.
48121 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48123 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48124 lower-latency instructions.
48126 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48128 * string/test-strcasestr.c: New file.
48129 * string/test-strstr.c: New file.
48130 * string/Makefile (strop-tests): Add strstr and strcasestr.
48131 * string/str-two-way.h: Don't undefine MAX.
48132 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48134 2010-07-21 Andreas Schwab <schwab@redhat.com>
48136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48137 strcasestr-nonascii.
48138 (CFLAGS-strcasestr-nonascii.c): Define.
48139 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48140 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48141 Remove unused attribute.
48143 2010-07-20 Roland McGrath <roland@redhat.com>
48145 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48146 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48147 ld.so.cache was broken. With it, there is no way to disable dsocaps
48148 like LD_HWCAP_MASK can disable hwcaps.
48150 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48152 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48154 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48156 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48157 call in strcasestr.
48158 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48159 __strcasestr_sse42_nonascii.
48160 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48161 strcasestr-nonascii.c.
48162 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48164 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48166 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48168 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48169 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48171 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48173 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48176 2010-07-06 Andreas Schwab <schwab@redhat.com>
48179 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48182 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48184 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48185 _PC_PIPE_BUF using F_GETPIPE_SZ.
48187 2010-07-05 Roland McGrath <roland@redhat.com>
48189 * manual/arith.texi (Rounding Functions): Fix rint description
48190 implicit in round description.
48192 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48194 * elf/Makefile: Fix linking for a few tests to make recent linker
48197 2010-06-30 Andreas Schwab <schwab@redhat.com>
48199 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48200 $(common-objpfx)libc_nonshared.a.
48202 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48204 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48205 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48206 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48207 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48208 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48209 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48210 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48211 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48226 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48227 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48228 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48229 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48230 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48231 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48232 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48233 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48234 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48235 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48236 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48237 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48253 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48255 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48256 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48257 * string/memmove.c (memmove): Renamed to ...
48258 (MEMMOVE): ...this. Default to memmove.
48259 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48260 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48263 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48264 mempcpy-ssse3-back memmove-ssse3-back.
48265 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48266 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48267 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48268 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48269 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48270 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48271 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48272 * sysdeps/x86_64/multiarch/memmove.c: New file.
48273 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48274 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48275 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48276 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48277 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48280 (index_Fast_Copy_Backward): Define.
48281 (HAS_ARCH_FEATURE): Define.
48282 (HAS_FAST_REP_STRING): Define.
48283 (HAS_FAST_COPY_BACKWARD): Define.
48285 2010-06-21 Andreas Schwab <schwab@redhat.com>
48287 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48288 Restore proper fallback handling.
48290 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48293 * posix/group_member.c (__group_member): Correct checking loop.
48295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48296 OOM in getpwuid_r correctly. Return error number when the caller
48297 should return, otherwise -1.
48298 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48299 call returning > 0 value.
48300 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48302 2010-06-07 Andreas Schwab <schwab@redhat.com>
48304 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48305 libc_nonshared.a from targets in modules-names.
48307 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48309 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48312 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48314 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48315 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48316 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48317 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48319 2010-06-02 Andreas Schwab <schwab@redhat.com>
48321 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48323 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48325 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48327 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48328 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48331 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48332 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48334 2010-06-14 Roland McGrath <roland@redhat.com>
48336 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48338 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48340 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48341 __REDIRECT followed by __THROW.
48342 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48343 * posix/getopt.h (getopt): Likewise.
48345 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48347 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48348 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48349 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48351 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48352 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48354 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48358 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48362 Properly check family and model.
48364 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48366 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48368 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48370 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48372 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48374 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48377 2010-05-19 Andreas Schwab <schwab@redhat.com>
48379 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48382 2010-05-21 Andreas Schwab <schwab@redhat.com>
48384 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48385 and internal_recvmmsg.
48386 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48387 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48388 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48389 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48391 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48392 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48393 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48395 2010-05-20 Andreas Schwab <schwab@redhat.com>
48397 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48399 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48401 POWER7 optimizations.
48402 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48403 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48405 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48407 * version.h: Update for 2.13 development version.
48409 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48411 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48412 exceptions. Return 0.
48414 2010-05-07 Roland McGrath <roland@redhat.com>
48416 * elf/ldconfig.c (main): Add a const.
48418 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48420 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48421 (args_options): Add no-idn option.
48422 (ahosts_keys_int): Add idn_flags to ai_flags.
48423 (parse_option): Handle 'i' option to clear idn_flags.
48425 * malloc/malloc.c (_int_free): Possible race in the most recently
48426 added check. Only act on the data if no current modification
48429 See ChangeLog.17 for earlier changes.