1 2014-07-01 Richard henderson <rth@redhat.com>
3 * sysdeps/alpha/fpu/libm-test-ulps: Update.
5 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11 * resolv/nss_dns/dns-host.c (getanswer_r)
12 [MULTI_PTRS_ARE_ALIASES]: Remove code.
14 2014-07-01 Joseph Myers <joseph@codesourcery.com>
16 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
19 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
20 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
22 2014-07-01 Roland McGrath <roland@hack.frob.com>
24 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
25 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
28 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
38 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
39 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
43 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
44 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
49 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
50 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
51 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
52 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
53 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
54 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
55 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
56 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
57 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
58 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
59 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
60 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
61 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
62 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
63 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
64 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
65 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
66 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
67 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
68 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
70 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
71 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
72 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
73 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
74 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
75 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
76 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
77 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
79 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
81 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
82 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
83 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
86 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
90 2014-06-30 Joseph Myers <joseph@codesourcery.com>
92 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
93 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
95 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
97 * sysdeps/arm/libm-test-ulps: Regenerated.
99 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
100 Roland McGrath <roland@hack.frob.com>
102 * test-skeleton.c (signal_handler): Kill the whole process group
103 before killing the child individually.
104 (main): Report any failure on `setpgid'.
106 2014-06-30 Roland McGrath <roland@hack.frob.com>
108 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
109 from _TLS_H to _ARM_NPTL_TLS_H.
110 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
111 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
113 2014-06-30 Joseph Myers <joseph@codesourcery.com>
116 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
117 (__expm1l): Return argument unchanged when small but not
120 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
122 (_FP_UNPACK_RAW_1_P): Likewise.
123 (_FP_PACK_RAW_1): Likewise.
124 (_FP_PACK_RAW_1_P): Likewise.
125 (_FP_MUL_MEAT_1_wide): Likewise.
126 (_FP_MUL_MEAT_DW_1_hard): Likewise.
127 (_FP_MUL_MEAT_1_hard): Likewise.
128 (_FP_DIV_MEAT_1_imm): Likewise.
129 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
130 (_FP_DIV_MEAT_1_udiv): Likewise.
131 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
132 (_FP_UNPACK_RAW_2): Likewise.
133 (_FP_UNPACK_RAW_2_P): Likewise.
134 (_FP_PACK_RAW_2): Likewise.
135 (_FP_PACK_RAW_2_P): Likewise.
136 (_FP_MUL_MEAT_DW_2_wide): Likewise.
137 (_FP_MUL_MEAT_2_wide): Likewise.
138 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
139 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
140 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
141 (_FP_MUL_MEAT_2_gmp): Likewise.
142 (_FP_DIV_MEAT_2_udiv): Likewise.
143 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
144 (_FP_FRAC_SRL_4): Likewise.
145 (_FP_FRAC_SRST_4): Likewise.
146 (_FP_FRAC_SRS_4): Likewise.
147 (_FP_UNPACK_RAW_4): Likewise.
148 (_FP_UNPACK_RAW_4_P): Likewise.
149 (_FP_PACK_RAW_4): Likewise.
150 (_FP_PACK_RAW_4_P): Likewise.
151 (_FP_MUL_MEAT_DW_4_wide): Likewise.
152 (_FP_MUL_MEAT_4_wide): Likewise.
153 (_FP_MUL_MEAT_4_gmp): Likewise.
154 (umul_ppppmnnn): Likewise.
155 (_FP_DIV_MEAT_4_udiv): Likewise.
156 (__FP_FRAC_ADD_4): Likewise.
157 (__FP_FRAC_SUB_3): Likewise.
158 (__FP_FRAC_SUB_4): Likewise.
159 (__FP_FRAC_DEC_3): Likewise.
160 (__FP_FRAC_DEC_4): Likewise.
161 (__FP_FRAC_ADDI_4): Likewise.
162 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
163 (_FP_FRAC_SRL_8): Likewise.
164 (_FP_FRAC_SRS_8): Likewise.
166 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
168 (FP_UNPACK_RAW_EP): Likewise.
169 (FP_PACK_RAW_E): Likewise.
170 (FP_PACK_RAW_EP): Likewise.
171 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
172 (_FP_ISSIGNAN): Likewise.
173 (_FP_ADD_INTERNAL): Likewise.
176 (_FP_SQRT): Likewise.
177 (_FP_TO_INT): Likewise.
178 (_FP_FROM_INT): Likewise.
179 (FP_EXTEND): Likewise.
180 (_FP_DIV_MEAT_N_loop): Likewise.
182 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
184 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
187 2014-06-29 Joseph Myers <joseph@codesourcery.com>
190 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
191 result with correct sign in case of exponents that produce
192 overflow except for X very close to 1.
194 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
196 mktime: merge #if/#ifdef usage from glibc
197 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
198 as that works with both Glibc's and Gnulib's style.
199 See thread starting at Siddhesh Poyarekar's bug report at:
200 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
202 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
204 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
205 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
206 * sysdeps/tile/tilegx/memmove.c: Remove file.
208 2014-06-27 Joseph Myers <joseph@codesourcery.com>
210 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
212 * scripts/soversions.awk: Do not handle or generate ABI lines.
213 * shlib-versions: Remove ABI entries.
214 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
215 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
217 2014-06-27 Roland McGrath <roland@hack.frob.com>
219 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
220 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
221 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
222 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
223 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
224 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
225 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
227 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
229 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
230 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
231 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
232 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
233 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
234 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
235 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
236 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
237 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
238 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
239 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
240 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
241 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
243 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
244 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
245 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
246 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
247 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
248 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
250 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
251 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
253 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
254 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
255 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
256 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
258 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
260 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
261 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
262 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
264 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
267 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
268 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
269 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
270 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
272 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
273 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
275 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
276 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
277 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
278 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
280 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
282 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
283 Identical file removed.
284 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
286 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
287 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
288 Identical file removed.
289 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
291 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
293 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
294 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
295 Identical file removed.
296 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
297 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
298 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
299 Identical file removed.
300 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
301 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
302 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
303 Identical file removed.
304 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
305 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
306 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
307 Identical file removed.
308 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
310 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
311 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
312 Identical file removed.
313 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
315 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
316 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
317 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
318 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
319 Identical file removed.
320 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
322 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
324 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
325 Identical file removed.
326 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
328 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
330 Identical file removed.
331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
333 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
334 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
335 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
337 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
338 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
340 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
341 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
342 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
344 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
345 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
346 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
347 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
348 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
350 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
353 * nscd/nscd.c (monitor_child): Return exit status of child
354 instead of return value from wait syscall.
356 2014-06-27 Joseph Myers <joseph@codesourcery.com>
358 * configure.ac (libc_commonpagesize): Remove variable.
359 (libc_relro_required): Likewise.
360 (libc_cv_z_relro): Remove configure test.
361 * configure: Regenerated.
362 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
364 (libc_relro_required): Likewise.
365 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
366 (libc_relro_required): Likewise.
367 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
368 (libc_relro_required): Likewise.
369 * sysdeps/arm/preconfigure: Regenerated.
370 * sysdeps/ia64/preconfigure: Remove file.
371 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
373 (libc_relro_required): Likewise.
377 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
378 (__ieee754_yn): Set FE_TONEAREST mode internally and then
379 recompute overflowing results in original rounding mode.
380 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
381 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
382 recompute overflowing results in original rounding mode.
383 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
384 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
385 recompute overflowing results in original rounding mode.
386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
387 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
388 recompute overflowing results in original rounding mode.
389 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
390 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
391 recompute overflowing results in original rounding mode.
392 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
393 (libc_feholdsetround_ctx): New macro.
394 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
395 * sysdeps/i386/fpu/libm-test-ulps: Update.
396 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
398 2014-06-26 Joseph Myers <joseph@codesourcery.com>
400 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
401 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
402 corresponding .cpsetup call.
404 2014-06-26 Roland McGrath <roland@hack.frob.com>
406 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
407 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
408 * sysdeps/arm/Makefile [$(subdir) = csu]
409 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
410 (static-only-routines): Add aeabi_read_tp here.
411 (shared-only-routines): Add libc-aeabi_read_tp here.
412 (CFLAGS-libc-start.c): Add -fexceptions here.
413 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
414 (sysdep_routines, static-only-routines, shared-only-routines):
415 Don't add to these here.
416 (CFLAGS-libc-start.c): Likewise.
418 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
419 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
420 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
421 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
422 * sysdeps/arm/Makefile [$(subdir) = rt]
423 (librt-sysdep_routines, librt-shared-only-routines):
424 Append rt-aeabi_unwind_cpp_pr1 here.
425 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
426 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
427 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
428 (libpthread-sysdep_routines, libpthread-shared-only-routines):
429 Append nptl-aeabi_unwind_cpp_pr1 here.
430 (tests): Filter out tst-cleanupx4 here.
431 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
432 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
435 2014-06-26 Joseph Myers <joseph@codesourcery.com>
437 * scripts/list-sources.sh: Do not handle ports specially.
439 2014-06-26 Roland McGrath <roland@hack.frob.com>
441 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
442 * sysdeps/arm/feupdateenv.c: Likewise.
444 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
446 2014-06-26 Joseph Myers <joseph@codesourcery.com>
448 * manual/texinfo.tex: Update to version 2014-05-05.10 with
449 trailing whitespace removed.
450 * scripts/config.guess: Update to version 2014-03-23.
451 * scripts/config.sub: Update to version 2014-05-01
452 * scripts/install-sh: Update to version 2013-12-25.23.
453 * scripts/move-if-change: Update from gnulib.
455 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
457 * debug/memmove_chk.c: Remove pagecopy.h include.
459 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
461 * time/mktime.c (leapyear): Remove inline keyword. The code is now
462 identical to gnulib mktime.
464 2014-06-26 Joseph Myers <joseph@codesourcery.com>
466 * configure.ac: Do not test for machine being rs6000. Do not test
468 * configure: Regenerated.
470 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
472 * configure: Regenerated.
473 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
474 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
475 Remove configure test.
476 * sysdeps/arm/configure: Regenerated.
477 * sysdeps/nptl/configure.ac: Do not check
478 libc_cv_asm_cfi_directives.
479 * sysdeps/nptl/configure: Regenerated.
480 * sysdeps/x86_64/nptl/configure.ac: Remove file.
481 * sysdeps/x86_64/nptl/configure: Remove generated file.
482 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
484 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
486 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
488 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
489 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
490 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
493 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
494 instead of whether it is defined.
495 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
496 * sysdeps/hppa/dl-machine.h: Likewise.
497 * sysdeps/ia64/dl-machine.h: Likewise.
498 * sysdeps/m68k/dl-machine.h: Likewise.
499 * sysdeps/microblaze/dl-machine.h: Likewise.
500 * sysdeps/mips/dl-machine.: Likewise.
501 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
502 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
503 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
504 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
505 * sysdeps/sh/dl-machine.h: Likewise.
506 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
507 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
508 * sysdeps/tile/dl-machine.h: Likewise.
509 * sysdeps/x86_64/dl-machine.h: Likewise.
511 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
513 (verify_persistent_db): Likewise.
515 2014-06-26 Roland McGrath <roland@hack.frob.com>
517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
518 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
520 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
523 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
526 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
527 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
528 Identical file removed.
529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
530 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
532 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
534 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
536 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
538 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
541 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
543 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
545 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
548 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
550 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
552 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
554 Identical file removed.
555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
556 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
558 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
561 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
564 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
575 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
578 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
580 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
583 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
585 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
587 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
589 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
590 * sysdeps/unix/sysv/linux/s390/Versions
591 (libpthread: GLIBC_2.19): New version set.
592 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
593 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
594 (librt: GLIBC_2.3.3): New version set.
595 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
596 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
597 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
598 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
599 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
600 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
601 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
602 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
603 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
604 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
605 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
606 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
607 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
608 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
609 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
610 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
611 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
612 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
613 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
614 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
615 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
616 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
617 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
618 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
619 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
620 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
621 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
622 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
623 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
624 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
625 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
626 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
628 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
629 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
631 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
633 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
635 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
637 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
638 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
639 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
641 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
642 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
643 (__libc_vfork): Define the function under this name.
644 [!NOT_IN_libc] (__vfork): Make this an alias.
645 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
646 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
647 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
648 (__libc_vfork): Define the function under this name.
649 [!NOT_IN_libc] (__vfork): Make this an alias.
650 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
651 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
652 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
653 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
654 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
655 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
657 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
658 code that was previously under [RESET_PID].
659 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
660 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
663 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
664 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
665 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
666 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
667 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
668 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
669 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
670 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
671 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
672 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
673 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
675 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
676 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
677 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
678 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
679 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
680 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
681 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
682 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
683 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
684 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
685 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
686 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
687 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
688 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
689 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
690 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
691 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
692 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
693 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
694 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
695 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
696 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
697 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
698 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
699 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
700 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
701 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
702 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
703 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
705 2014-06-25 Roland McGrath <roland@hack.frob.com>
707 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
708 that was previously under [RESET_PID].
709 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
711 2014-06-25 Joseph Myers <joseph@codesourcery.com>
713 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
714 not undefine and redefine.
715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
716 [O_CLOEXEC]: Make code unconditional.
717 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
718 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
720 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
721 conditional variable definition.
722 (shm_open) [O_CLOEXEC]: Make code unconditional.
723 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
726 * configure.ac (USE_REGPARMS): Don't define here.
727 * configure: Regenerated.
728 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
729 * sysdeps/i386/configure: Regenerated.
731 * nptl/createthread.c: Don't include kernel-features.h.
732 * nptl/pthread_cancel.c: Likewise.
733 * nptl/pthread_condattr_setclock.c: Likewise.
734 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
735 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
736 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
737 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
738 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
739 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
740 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
741 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
743 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
744 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
745 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
746 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
747 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
748 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
749 * nscd/gai.c: Likewise.
750 * nss/nss_db/db-open.c: Likewise.
751 * sysdeps/generic/ldsodefs.h: Likewise.
752 * sysdeps/sh/nptl/tls.h: Likewise.
753 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
754 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
755 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
756 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
757 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
758 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
759 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
760 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
761 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
762 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
763 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
764 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
765 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
766 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
767 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
768 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
769 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
770 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
771 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
772 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
773 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
774 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
775 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
776 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
777 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
778 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
779 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
780 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
781 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
782 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
783 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
784 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
785 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
786 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
787 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
788 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
789 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
790 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
791 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
792 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
793 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
794 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
795 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
796 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
797 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
798 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
799 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
800 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
801 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
802 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
803 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
804 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
805 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
806 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
807 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
808 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
833 * sysdeps/unix/sysv/linux/pread.c: Likewise.
834 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
835 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
836 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
837 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
838 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
839 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
840 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
841 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
842 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
843 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
844 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
845 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
846 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
847 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
848 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
849 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
850 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
851 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
852 * sysdeps/unix/sysv/linux/system.c: Likewise.
853 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
854 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
855 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
856 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
857 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
858 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
859 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
861 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
862 * configure: Regenerated.
863 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
865 * configure.ac (base_machine): Do not set specially for particular
867 * configure: Regenerated.
868 * sysdeps/powerpc/preconfigure: Move machine and base_machine
869 settings from configure.ac.
870 * sysdeps/i386/preconfigure: New file.
871 * sysdeps/s390/preconfigure: Likewise.
872 * sysdeps/sh/preconfigure: Likewise.
873 * sysdeps/sparc/preconfigure: Likewise.
875 2014-06-25 Roland McGrath <roland@hack.frob.com>
877 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
878 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
879 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
880 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
881 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
882 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
883 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
884 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
885 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
886 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
887 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
888 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
889 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
890 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
891 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
892 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
893 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
894 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
895 * sysdeps/sparc/sparc64/Makefile: ... appended here.
897 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
898 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
899 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
900 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
901 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
902 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
903 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
904 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
905 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
906 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
907 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
908 * sysdeps/sparc/sparc32/sem_post.c: ... here.
909 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
910 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
911 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
912 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
913 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
914 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
915 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
916 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
917 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
918 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
919 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
920 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
921 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
922 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
923 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
924 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
925 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
926 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
927 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
928 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
929 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
930 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
931 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
932 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
933 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
934 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
937 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
939 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
942 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
945 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
947 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
950 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
952 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
954 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
956 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
959 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
962 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
964 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
967 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
969 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
971 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
973 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
975 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
978 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
981 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
986 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
988 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
990 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
992 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
995 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
998 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1000 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1003 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1005 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1007 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1009 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1011 * timezone/checktab.awk: Update from tzcode 2014e.
1012 * timezone/private.h: Likewise.
1013 * timezone/tzfile.h: Likewise.
1014 * timezone/zdump.c: Likewise.
1015 * timezone/zic.c: Likewise.
1017 * sysdeps/unix/sysv/linux/kernel-features.h
1018 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1019 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1020 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1021 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1022 Remove conditional code.
1024 2014-06-25 Will Newton <will.newton@linaro.org>
1026 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1027 (_dl_arm_cap_flags): Add HWCAP2 values.
1028 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1029 (_DL_HWCAP_COUNT): Increase to 37.
1030 (_DL_HWCAP_LAST): New define.
1031 (_DL_HWCAP2_LAST): New define.
1032 (_dl_procinfo): Add support for printing
1034 (_dl_string_hwcap): Use _dl_hwcap_string.
1036 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1040 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1042 * README: Do not mention ports directory.
1044 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1046 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1047 <kernel-features.h>.
1048 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1049 conditional variable definition.
1050 (__futimes): Update comment.
1051 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1052 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1055 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1056 arguments close to 0.
1057 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1059 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1061 * math/auto-libm-test-in: Add more tests of exp10.
1062 * math/auto-libm-test-out: Regenerated.
1063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1065 * sysdeps/unix/sysv/linux/kernel-features.h
1066 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1067 * sysdeps/unix/sysv/linux/readv.c: Do not include
1068 <kernel-features.h>.
1069 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1070 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1071 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1073 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1075 * sysdeps/unix/sysv/linux/writev.c: Do not include
1076 <kernel-features.h>.
1077 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1078 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1079 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1081 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1084 2014-06-25 Will Newton <will.newton@linaro.org>
1086 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1087 comment changes throughout the file. Remove checks
1088 for HAVE_*_H definitions that are not required.
1089 (__gen_tempname): Call abort if an unknown kind value is
1092 2014-06-25 Andreas Schwab <schwab@suse.de>
1095 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1096 scalbln, scalblnf, scalblnl in libc.
1098 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1101 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1102 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1103 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1105 2014-06-24 Roland McGrath <roland@hack.frob.com>
1107 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1108 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1109 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1110 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1112 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1113 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1115 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1116 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1117 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1118 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1119 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1120 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1121 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1122 * sysdeps/x86/bits/semaphore.h: ... here.
1123 * sysdeps/x86/nptl/elide.h: Moved ...
1124 * sysdeps/x86/elide.h: ... here.
1125 * sysdeps/x86_64/nptl/Implies: File removed.
1126 * sysdeps/i386/nptl/Implies: File removed.
1128 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1131 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1132 return the argument for normal arguments with exponent below -64.
1133 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1135 * math/auto-libm-test-in: Add another test of expm1.
1136 * math/auto-libm-test-out: Regenerated.
1139 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1140 calling __erfcl for arguments at least 16.
1141 * math/auto-libm-test-in: Add more tests of erf.
1142 * math/auto-libm-test-out: Regenerated.
1144 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1145 individual architectures.
1146 * sysdeps/unix/sysv/linux/configure: Regenerated.
1147 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1148 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1149 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1150 (ldd_rewrite_script): Define variable.
1151 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1156 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1157 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1158 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1159 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1160 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1161 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1162 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1163 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1165 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1168 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1169 Rename member __data.d to __data.__elision_data.
1171 2014-06-24 Wilco <wdijkstr@arm.com>
1173 * NEWS: Add 16918 to fixed bug list.
1175 2014-06-24 Wilco <wdijkstr@arm.com>
1177 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1179 2014-06-24 Wilco <wdijkstr@arm.com>
1181 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1182 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1183 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1184 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1185 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1186 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1187 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1190 2014-06-24 Wilco <wdijkstr@arm.com>
1192 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1194 2014-06-24 Wilco <wdijkstr@arm.com>
1196 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1197 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1198 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1199 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1201 2014-06-24 Wilco <wdijkstr@arm.com>
1204 * sysdeps/arm/feupdateenv.c (feupdateenv):
1205 Rewrite to reduce FPSCR accesses and fix return value.
1207 2014-06-24 Wilco <wdijkstr@arm.com>
1209 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1210 Optimize to avoid unnecessary FPSCR writes.
1211 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1212 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1213 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1214 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1216 2014-06-24 Wilco <wdijkstr@arm.com>
1218 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1219 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1220 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1221 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1222 Call libc_fetestexcept_vfp.
1223 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1224 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1225 __SOFTFP__ ifdef so that they can be built for softfp.
1227 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1229 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1230 argument type signed char.
1232 * Makerules (check-abi): Dump diff of symlist if the test
1235 2014-06-23 Roland McGrath <roland@hack.frob.com>
1237 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1240 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1241 Remove unused variable ST.
1243 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1247 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1248 small arguments before calling __expm1.
1249 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1250 small arguments before calling __expm1f.
1251 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1252 small arguments before calling __expm1l.
1253 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1255 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1256 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1257 spurious underflow for some cosh tests.
1258 * math/auto-libm-test-out: Regenerated.
1259 * sysdeps/i386/fpu/libm-test-ulps: Update.
1262 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1263 (__ieee754_y1): Set errno if return value overflows.
1264 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1265 (__ieee754_y1f): Set errno if return value overflows.
1266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1267 (__ieee754_y1l): Set errno if return value overflows.
1268 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1269 (__ieee754_y1l): Set errno if return value overflows.
1270 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1271 * math/auto-libm-test-out: Regenerated.
1273 * math/gen-auto-libm-tests.c: Document use of
1274 ignore-zero-inf-sign.
1275 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1276 (input_flags): Add ignore-zero-inf-sign.
1277 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1278 * math/gen-libm-test.pl (generate_testfile): Handle
1279 ignore-zero-inf-sign.
1280 * math/auto-libm-test-in: Mark some cpow tests with
1281 ignore-zero-inf-sign and some with xfail-rounding.
1282 * math/auto-libm-test-out: Regenerated.
1283 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1284 * sysdeps/i386/fpu/libm-test-ulps: Update.
1285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1288 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1289 overflowing or underflowing operations take place with sign of
1291 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1292 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1293 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1294 (__ieee754_pow): Recompute overflowing and underflowing results in
1295 original rounding mode.
1296 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1297 (__powl_helper): Allow negative argument X and scale negated value
1298 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1299 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1300 overflowing or underflowing operations take place with sign of
1302 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1304 * math/auto-libm-test-in: Add more tests of pow.
1305 * math/auto-libm-test-out: Regenerated.
1306 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1307 (pow_tonearest_test_data): Remove.
1308 (pow_test_tonearest): Likewise.
1309 (pow_towardzero_test_data): Likewise.
1310 (pow_test_towardzero): Likewise.
1311 (pow_downward_test_data): Likewise.
1312 (pow_test_downward): Likewise.
1313 (pow_upward_test_data): Likewise.
1314 (pow_test_upward): Likewise.
1315 (main): Don't call removed functions.
1316 * sysdeps/i386/fpu/libm-test-ulps: Update.
1317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1319 2014-06-23 Roland McGrath <roland@hack.frob.com>
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1495 2014-06-23 Will Newton <will.newton@linaro.org>
1496 Wilco <wdijkstr@arm.com>
1498 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1499 implementation. Include get-rounding-mode.h.
1500 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1501 [!libc_feholdsetround_noex_ctx]: Define
1502 libc_feholdsetround_noex_ctx.
1503 [!libc_feholdsetround_noexf_ctx]: Define
1504 libc_feholdsetround_noexf_ctx.
1505 [!libc_feholdsetround_noexl_ctx]: Define
1506 libc_feholdsetround_noexl_ctx.
1507 (libc_feholdsetround_ctx): New function.
1508 (libc_feresetround_ctx): New function.
1509 (libc_feholdsetround_noex_ctx): New function.
1510 (libc_feresetround_noex_ctx): New function.
1512 2014-06-23 Roland McGrath <roland@hack.frob.com>
1514 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1515 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1516 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1517 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1518 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1519 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1521 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1522 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1523 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1524 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1525 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1526 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1527 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1528 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1529 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1530 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1533 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1535 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1536 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1537 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1538 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1539 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1541 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1542 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1543 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1545 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1547 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1548 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1550 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1551 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1553 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1554 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1555 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1556 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1558 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1559 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1560 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1562 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1563 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1564 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1565 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1566 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1567 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1569 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1571 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1572 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1573 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1574 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1575 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1576 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1577 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1578 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1581 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1582 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1583 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1585 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1586 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1587 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1588 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1589 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1590 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1592 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1593 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1594 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1595 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1596 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1598 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1599 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1600 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1601 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1602 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1603 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1604 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1605 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1607 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1608 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1609 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1610 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1611 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1612 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1613 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1614 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1615 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1616 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1617 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1618 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1621 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1622 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1623 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1624 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1627 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1629 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1630 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1631 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1632 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1633 (IPV6_PMTUDISC_INTERFACE): Likewise.
1634 (IPV6_PMTUDISC_OMIT): Likewise.
1636 2014-06-23 Andreas Schwab <schwab@suse.de>
1638 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1639 Remove unused errout label.
1641 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1644 macro: hardware supports Vector Crypto instructions.
1646 2014-06-23 Will Newton <will.newton@linaro.org>
1648 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1649 rather than __builtin_expect.
1651 * elf/dl-lookup.c (undefined_msg): Remove variable.
1652 (_dl_lookup_symbol_x): Replace undefined_msg with string
1655 * elf/dl-lookup.c (do_lookup_unique): New function.
1656 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1657 to a separate function.
1659 2014-06-23 Andreas Schwab <schwab@suse.de>
1662 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1663 before reading the next line.
1665 2014-06-23 Will Newton <will.newton@linaro.org>
1667 * test-skeleton.c (signal_handler): Use printf and %m
1668 rather than perror. Use printf rather than fprintf to
1669 stderr. Use puts rather than fputs to stderr.
1672 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1674 * nscd/nscd.c (thread_info_t): Remove typedef.
1675 (thread_info): Remove variable.
1677 2014-06-21 Allan McRae <allan@archlinux.org>
1679 * NEWS: Mention CVE-2014-4043.
1681 2014-06-20 Roland McGrath <roland@hack.frob.com>
1683 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1684 * nptl/smp.h: ... here.
1686 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1688 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1689 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1690 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1691 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1693 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1694 * nptl/stack-aliasing.h: New file.
1695 * sysdeps/i386/i686/stack-aliasing.h: New file.
1696 * sysdeps/i386/i686/nptl/Makefile: File removed.
1697 * sysdeps/x86_64/stack-aliasing.h: New file.
1698 * sysdeps/x86_64/nptl/Makefile
1699 (CFLAGS-pthread_create.c): Variable removed.
1701 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1702 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1704 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1705 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1708 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1710 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1711 (__ASSUME_SIGFRAME_V2): Remove macro.
1712 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1713 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1714 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1715 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1716 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1717 Declare as function. Remove conditional macro definitions.
1718 (__default_rt_sa_restorer): Likewise.
1719 (__default_sa_restorer_v1): Remove declaration.
1720 (__default_sa_restorer_v2): Likewise.
1721 (__default_rt_sa_restorer_v1): Likewise.
1722 (__default_rt_sa_restorer_v2): Likewise.
1723 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1724 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1725 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1727 2014-06-20 Roland McGrath <roland@hack.frob.com>
1729 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1730 (libpthread-routines): Add sysdep.
1731 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1732 * sysdeps/unix/sysv/linux/sparc/Versions
1733 (libpthread: GLIBC_2.3.3): New version set.
1734 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1735 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1736 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1738 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1739 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1741 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1742 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1743 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1744 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1745 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1746 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1747 * sysdeps/sparc/nptl/sem_init.c: ... here.
1748 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1749 * sysdeps/sparc/nptl/sem_post.c: ... here.
1750 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1751 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1752 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1753 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1754 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1755 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1756 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1757 (libpthread-routines): Add cpu_relax.
1758 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1760 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1761 (librt: GLIBC_2.3.3): New version set.
1762 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1763 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1764 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1765 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1766 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1768 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1769 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1771 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1773 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1775 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1776 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1777 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1778 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1779 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1780 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1782 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1784 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1786 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1788 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1790 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1794 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1796 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1798 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1800 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1802 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1805 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1811 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1813 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1816 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1820 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1822 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1824 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1825 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1826 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1827 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1828 * nscd/nscd.c: Likewise.
1829 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1830 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1831 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1832 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1834 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1835 <kernel-features.h>.
1836 (init_mq_netlink): Remove conditional have_sock_cloexec
1837 definitions. Remove code conditional on have_sock_cloexec < 0.
1838 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1839 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1840 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1841 <kernel-features.h>.
1842 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1843 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1845 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1848 Add tests for memset_chk and memset.
1850 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1853 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1856 * elf/tst-dl-iter-static.c: New file.
1857 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1859 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1862 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1864 * sysdeps/unix/sysv/linux/kernel-features.h
1865 (__ASSUME_F_GETOWN_EX): Remove macro.
1866 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1867 <kernel-features.h>.
1868 (miss_F_GETOWN_EX): Remove variable or macro.
1869 (do_fcntl): Do not check miss_F_GETOWN_EX.
1870 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1872 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1874 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1875 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1876 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1878 * sysdeps/unix/sysv/linux/kernel-features.h
1879 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1880 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1881 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1882 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1884 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1887 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1888 Fix calculation of the symbol's value.
1889 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1890 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1891 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1892 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1893 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1894 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1895 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1896 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1897 (modules-names): Add `tst-armtlsdescmod',
1898 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1899 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1900 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1901 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1902 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1903 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1904 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1905 ($(objpfx)tst-armtlsdescloc): New dependency.
1906 ($(objpfx)tst-armtlsdescextnow): Likewise.
1907 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1908 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1910 * sysdeps/arm/configure: Regenerate.
1912 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1914 * include/fcntl.h (__atfct_seterrno): Remove prototype.
1915 (__atfct_seterrno_2): Likewise.
1916 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1917 <kernel-features.h>.
1918 (__ASSUME_ATFCTS): Do not undefine and redefine.
1919 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1920 (__have_atfcts): Remove conditional definition.
1921 (__fxstatat([__NR_fstatat64]: Make code unconditional.
1922 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1923 unreachable if [__ASSUME_ATFCTS].
1924 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1925 not undefine and redefine.
1926 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1927 <kernel-features.h>.
1928 (faccessat) [__NR_faccessat]: Make code unconditional.
1929 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1930 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1931 <kernel-features.h>.
1932 (fchmodat) [__NR_fchmodat]: Make code unconditional.
1933 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1934 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1935 <kernel-features.h>.
1936 (fchownat) [__NR_fchownat]: Make code unconditional.
1937 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1938 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1939 <kernel-features.h>.
1940 (futimesat) [__NR_futimesat]: Make code unconditional.
1941 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1942 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1943 <kernel-features.h>.
1944 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1945 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1946 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1947 <kernel-features.h>.
1948 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1949 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1950 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1951 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1952 <kernel-features.h>.
1953 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1954 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1955 * sysdeps/unix/sysv/linux/linkat.c: Do not include
1956 <kernel-features.h>.
1957 (linkat) [__NR_linkat]: Make code unconditional.
1958 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1959 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1960 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1961 <kernel-features.h>.
1962 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1963 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1964 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1965 <kernel-features.h>.
1966 (mkdirat) [__NR_mkdirat]: Make code unconditional.
1967 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1968 * sysdeps/unix/sysv/linux/openat.c: Do not include
1969 <kernel-features.h>.
1970 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1971 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1972 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1973 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1974 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1975 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1976 <kernel-features.h>.
1977 (readlinkat) [__NR_readlinkat]: Make code unconditional.
1978 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
1979 result of INLINE_SYSCALL directly, not via int variable.
1980 * sysdeps/unix/sysv/linux/renameat.c: Do not include
1981 <kernel-features.h>.
1982 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1983 (renameat) [__NR_renameat]: Make code unconditional.
1984 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1985 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1986 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1987 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1988 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1989 (__ASSUME_ATFCTS): Do not undefine and redefine.
1990 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1991 <kernel-features.h>.
1992 (symlinkat) [__NR_symlinkat]: Make code unconditional.
1993 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1994 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1995 <kernel-features.h>.
1996 (unlinkat) [__NR_unlinkat]: Make code unconditional.
1997 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1998 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1999 (__ASSUME_ATFCTS): Do not undefine and redefine.
2000 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2001 <kernel-features.h>.
2002 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2003 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2004 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2005 <kernel-features.h>.
2006 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2007 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2009 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2011 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2013 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2016 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2017 constructed tree before returning error.
2018 * posix/bug-regexp36.c: Expand test case.
2020 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2023 * math/libm-test.inc (scalbln_test_date):
2024 Add errno expectations.
2025 * math/w_scalblnf.c: New File.
2026 Add wrapper which checks for setting errno to ERANGE.
2027 Add weak_alias for corresponding scalbln function.
2028 * math/w_scalbln.c: Likewise.
2029 * math/w_scalblnl.c: Likewise.
2030 * math/Makefile (libm-calls): Add w_scalbln.
2031 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2032 Remove weak_alias for corresponding scalbln function.
2033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2035 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2037 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2038 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2039 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2040 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2041 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2042 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2043 Remove long_double_symbol for scalblnl function in libm, libc.
2044 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2045 Add wrapper which checks for setting errno to ERANGE.
2046 Add long_double_symbol for scalblnl function in libm, libc.
2047 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2048 Remove long_double_symbol for scalblnl in libm.
2049 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2050 Add wrapper which checks for setting errno to ERANGE.
2051 Add long_double_symbol for scalblnl function in libm.
2052 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2053 Do not use wrapper because of own implementation.
2055 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2057 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2058 3 bytes for __pad1 for x32.
2059 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2061 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2062 H.J. Lu <hongjiu.lu@intel.com>
2064 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2065 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2066 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2067 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2068 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2070 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2073 * posix/regcomp.c (parse_expression): Deallocate partially
2074 constructed tree before returning error.
2075 * posix/Makefile.c (tests): Add bug-regex36.
2076 (generated): Add bug-regex36.mtrace.
2077 (tests-special): Add $(objpfx)bug-regex36-mem.out
2078 (bug-regex36-ENV): New variable.
2079 ($(objpfx)bug-regex36-mem.out): New rule.
2080 * posix/bug-regex36.c: New file.
2082 2014-06-19 Will Newton <will.newton@linaro.org>
2084 * malloc/malloc.c (systrim): If extra is zero then return
2087 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2089 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2091 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2093 * sysdeps/aarch64/strchr.S: New file.
2095 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2098 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2099 from arguments -2 or below.
2100 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2101 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2103 2014-06-18 Andreas Schwab <schwab@suse.de>
2106 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2107 of a bracket expr not to run off the end of the string.
2108 * posix/Makefile (tests): Add tst-fnmatch3.
2109 * posix/tst-fnmatch3.c: New file.
2111 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2113 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2114 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2115 [$(cross-compiling) = no]: Likewise.
2116 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2117 [$(cross-compiling) = no]: Likewise.
2119 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2122 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2123 double, adjusted for any remainder from the high double.
2124 * math/libm-test.inc (nearbyint): Add tests.
2127 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2129 * nptl/sysdeps/powerpc/Makefile: Moved ...
2130 * sysdeps/powerpc/nptl/Makefile: ... here.
2131 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2132 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2133 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2134 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2135 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2136 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2137 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2138 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2139 * nptl/sysdeps/powerpc/tls.h: Moved ...
2140 * sysdeps/powerpc/nptl/tls.h: ... here.
2142 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2145 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2146 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2147 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2148 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2149 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2150 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2151 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2152 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2153 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2155 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2157 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2159 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2161 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2164 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2167 2014-06-16 Florian Weimer <fweimer@redhat.com>
2170 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2171 non-executed part of the test.
2173 2014-06-16 Andreas Schwab <schwab@suse.de>
2175 * string/bits/string2.h (strdup, strndup): Update feature guard.
2177 2014-06-14 David S. Miller <davem@davemloft.net>
2179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2181 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2183 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2184 that was previously under [RESET_PID].
2185 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2187 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2188 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2189 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2190 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2191 (__libc_vfork): New strong alias.
2192 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2194 2014-06-14 Andi Kleen <ak@linux.intel.com>
2196 * sysdeps/generic/elide.h: New file.
2198 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2200 * Makefile (installed-headers): Adjust path of pthread.h header.
2202 2014-06-13 Roland McGrath <roland@hack.frob.com>
2204 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2205 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2206 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2207 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2209 * nptl/sysdeps/s390/Makefile: Moved ...
2210 * sysdeps/s390/nptl/Makefile: ... here.
2211 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2212 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2213 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2214 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2215 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2216 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2217 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2218 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2219 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2220 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2221 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2222 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2223 * nptl/sysdeps/s390/tls.h: Moved ...
2224 * sysdeps/s390/nptl/tls.h: ... here.
2226 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2227 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2229 2014-06-13 David S. Miller <davem@davemloft.net>
2231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2234 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2238 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2239 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2240 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2242 Remove RESET_PID cpp guards.
2243 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2244 Remove RESET_PID cpp guards.
2245 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2247 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2249 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2252 2014-06-13 Andi Kleen <ak@linux.intel.com>
2254 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2255 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2256 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2259 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2261 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2263 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2264 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2265 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2266 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2267 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2269 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2270 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2271 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2272 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2273 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2275 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2276 (pthread_rwlock_rdlock): Add elision.
2277 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2278 (pthread_rwlock_wrlock): Add elision.
2279 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2280 (pthread_rwlock_trywrlock): Add elision.
2281 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2282 (pthread_rwlock_tryrdlock): Add elision.
2283 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2284 (pthread_rwlock_tryrdlock): Add elision unlock.
2285 * nptl/sysdeps/pthread/pthread.h:
2286 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2287 (PTHREAD_RWLOCK_INITIALIZER,
2288 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2289 Handle new elision field.
2290 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2291 * sysdeps/arm/nptl/bits/pthreadtypes.h
2292 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2293 * sysdeps/sh/nptl/bits/pthreadtypes.h
2294 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2295 * sysdeps/tile/nptl/bits/pthreadtypes.h
2296 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2297 * sysdeps/a/nptl/bits/pthreadtypes.h
2298 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2299 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2300 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2301 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2302 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2303 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2304 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2305 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2306 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2307 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2308 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2309 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2310 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2311 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2312 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2313 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2314 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2315 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2316 (elision_init): Set try_xbegin to zero when no RTM.
2317 * sysdeps/x86/nptl/bits/pthreadtypes.h
2318 (pthread_rwlock_t): Change __pad1 to __rwelision.
2319 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2321 2014-06-13 Andi Kleen <ak@linux.intel.com>
2323 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2324 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2325 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2326 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2328 2014-06-13 Meador Inge <meadori@codesourcery.com>
2331 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2332 that the cached result has been set before returning it.
2334 2014-06-12 Roland McGrath <roland@hack.frob.com>
2336 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2337 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2339 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2340 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2341 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2343 * nptl/sysdeps/sparc/Makefile: Moved ...
2344 * sysdeps/sparc/nptl/Makefile: ... here.
2345 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2346 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2347 * nptl/sysdeps/sparc/tls.h: Moved ...
2348 * sysdeps/sparc/nptl/tls.h: ... here.
2349 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2350 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2351 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2352 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2353 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2354 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2355 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2356 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2357 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2358 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2359 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2360 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2361 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2362 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2363 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2364 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2365 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2366 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2368 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2369 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2371 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2372 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2374 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2375 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2378 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2380 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2381 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2383 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2384 (struct list_links): Type removed.
2385 (struct thread_node, struct timer_node): Replace struct list_links
2386 with struct list_head.
2387 (list_unlink_ip): Likewise.
2388 * sysdeps/pthread/timer_routines.c
2389 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2390 (list_append, list_insbefore): Likewise.
2391 (list_init): Function removed.
2392 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2393 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2394 * sysdeps/pthread/Makefile: ... here, new file.
2396 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2397 * sysdeps/nptl/Implies: ... here.
2398 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2399 * nptl/sysdeps/pthread/list.h: Moved ...
2400 * include/list.h: ... here.
2401 * nptl/sysdeps/pthread/createthread.c: Moved ...
2402 * nptl/createthread.c: ... here.
2403 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2404 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2405 * nptl/pt-longjmp.c: ... here.
2406 * nptl/sysdeps/pthread/Makefile: Moved ...
2407 * sysdeps/nptl/Makefile: ... here.
2408 * nptl/sysdeps/pthread/Subdirs: Moved ...
2409 * sysdeps/nptl/Subdirs: ... here.
2410 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2411 * sysdeps/nptl/aio_misc.h: ... here.
2412 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2413 * sysdeps/nptl/bits/libc-lock.h: ... here.
2414 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2415 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2416 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2417 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2418 * nptl/sysdeps/pthread/configure: Moved ...
2419 * sysdeps/nptl/configure: ... here.
2420 * nptl/sysdeps/pthread/configure.ac: Moved ...
2421 * sysdeps/nptl/configure.ac: ... here.
2422 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2423 * sysdeps/nptl/gai_misc.h: ... here.
2424 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2425 * sysdeps/nptl/librt-cancellation.c: ... here.
2426 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2427 * sysdeps/nptl/malloc-machine.h: ... here.
2428 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2429 * sysdeps/nptl/pthread-functions.h: ... here.
2430 * nptl/sysdeps/pthread/pthread.h: Moved ...
2431 * sysdeps/nptl/pthread.h: ... here.
2432 * nptl/sysdeps/pthread/setxid.h: Moved ...
2433 * sysdeps/nptl/setxid.h: ... here.
2434 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2435 * sysdeps/nptl/sigfillset.c: ... here.
2436 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2437 * sysdeps/nptl/tcb-offsets.h: ... here.
2438 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2439 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2440 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2441 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2442 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2443 * sysdeps/pthread/allocalim.h: ... here.
2444 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2445 * sysdeps/pthread/bits/sigthread.h: ... here.
2446 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2447 * sysdeps/pthread/flockfile.c: ... here.
2448 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2449 * sysdeps/pthread/ftrylockfile.c: ... here.
2450 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2451 * sysdeps/pthread/funlockfile.c: ... here.
2452 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2453 * sysdeps/pthread/posix-timer.h: ... here.
2454 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2455 * sysdeps/pthread/timer_create.c: ... here.
2456 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2457 * sysdeps/pthread/timer_delete.c: ... here.
2458 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2459 * sysdeps/pthread/timer_getoverr.c: ... here.
2460 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2461 * sysdeps/pthread/timer_gettime.c: ... here.
2462 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2463 * sysdeps/pthread/timer_routines.c: ... here.
2464 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2465 * sysdeps/pthread/timer_settime.c: ... here.
2466 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2467 * sysdeps/pthread/tst-timer.c: ... here.
2468 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2469 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2471 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2472 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2474 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2475 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2476 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2477 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2478 Update #include target.
2479 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2480 * sysdeps/i386/i686/nptl/Makefile: ... here.
2481 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2482 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2483 Update #include target.
2484 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2485 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2486 * nptl/sysdeps/i386/Makefile: Moved ...
2487 * sysdeps/i386/nptl/Makefile: ... here.
2488 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2489 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2490 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2491 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2492 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2493 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2494 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2495 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2496 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2497 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2498 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2499 * nptl/sysdeps/i386/tls.h: Moved ...
2500 * sysdeps/i386/nptl/tls.h: ... here.
2502 * sysdeps/sh/Makefile [$(subdir) = csu]
2503 (gen-as-const-headers): Add tcb-offsets.sym.
2504 * nptl/sysdeps/sh/Makefile: File removed.
2505 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2506 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2507 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2508 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2509 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2510 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2511 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2512 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2513 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2514 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2515 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2516 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2517 * nptl/sysdeps/sh/tls.h: Moved ...
2518 * sysdeps/sh/nptl/tls.h: ... here.
2519 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2520 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2521 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2522 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2523 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2524 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2525 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2526 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2527 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2528 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2529 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2530 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2531 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2532 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2533 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2534 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2535 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2536 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2537 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2538 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2539 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2540 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2541 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2542 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2543 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2545 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2546 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2548 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2549 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2550 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2551 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2552 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2553 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2554 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2555 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2556 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2557 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2558 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2559 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2560 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2561 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2562 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2563 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2564 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2565 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2566 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2568 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2570 * posix/spawn_faction_addopen.c: Include string.h.
2572 2014-06-11 Roland McGrath <roland@hack.frob.com>
2574 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2575 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2576 * nptl/sysdeps/x86_64/Makefile: Moved ...
2577 * sysdeps/x86_64/nptl/Makefile: ... here.
2578 * nptl/sysdeps/x86_64/configure: Moved ...
2579 * sysdeps/x86_64/nptl/configure: ... here.
2580 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2581 * sysdeps/x86_64/nptl/configure.ac: ... here.
2582 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2583 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2584 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2585 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2586 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2587 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2588 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2589 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2590 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2591 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2592 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2593 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2594 * nptl/sysdeps/x86_64/tls.h: Moved ...
2595 * sysdeps/x86_64/nptl/tls.h: ... here.
2596 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2597 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2598 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2599 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2601 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2603 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2607 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2609 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2611 [POSIX] (off_t): Likewise.
2612 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2613 [POSIX] (S_ISBLK): Require macro.
2614 [POSIX] (S_ISCHR): Likewise.
2615 [POSIX] (S_ISDIR): Likewise.
2616 [POSIX] (S_ISFIFO): Likewise.
2617 [POSIX] (S_ISREG): Likewise.
2618 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2620 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2622 [POSIX] (time_t): Likewise.
2623 [POSIX] (timer_t): Likewise.
2625 2014-06-11 Florian Weimer <fweimer@redhat.com>
2628 * posix/spawn_int.h (struct __spawn_action): Make the path string
2629 non-const to support deallocation.
2630 * posix/spawn_faction_addopen.c
2631 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2632 * posix/spawn_faction_destroy.c
2633 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2634 path in all spawn_do_open actions.
2635 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2636 posix_spawn_file_actions_addopen.
2638 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2640 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2641 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2642 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2643 conditional code always true.
2644 (__libc_vfork): New alias.
2646 2014-06-11 Roland McGrath <roland@hack.frob.com>
2648 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2649 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2651 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2653 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2654 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2656 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2657 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2659 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2660 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2662 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2664 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2665 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2666 multiarch strcmp for PPC64.
2667 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2668 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2670 multiarch optimizations.
2671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2672 (__libc_ifunc_impl_list): Likewise.
2674 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2676 * benchtests/scripts/validate_benchout.py: New script.
2677 * benchtests/Makefile (bench-func): Call it.
2678 * benchtests/scripts/benchout.schema.json: New file.
2680 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2682 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2683 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2684 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2685 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2686 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2687 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2688 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2689 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2690 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2691 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2692 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2693 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2694 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2695 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2696 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2697 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2698 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2700 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2702 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2704 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2707 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2711 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2713 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2720 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2722 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2724 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2726 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2731 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2737 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2744 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2777 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2786 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2788 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2790 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2799 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2801 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2802 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2803 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2807 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2809 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2823 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2824 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2826 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2831 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2832 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2833 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2834 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2835 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2836 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2837 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2839 2014-06-10 Wilco <wdijkstr@arm.com>
2841 * math/test-fenv-return.c: New file.
2842 * math/Makefile: Add new test test-fenv-return.
2844 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2847 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2849 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2850 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2851 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2852 0.0L for an argument of 1.0L.
2853 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2855 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2856 value when x - 1 is zero.
2857 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2858 * sysdeps/i386/fpu/libm-test-ulps: Update.
2859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2861 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2864 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2866 2014-06-09 Roland McGrath <roland@hack.frob.com>
2868 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2869 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2871 2014-06-09 Roland McGrath <roland@hack.frob.com>
2873 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2874 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2876 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2877 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2879 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2880 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2882 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2883 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2885 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2886 if not already defined.
2887 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2888 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2889 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2890 (TLS_INIT_TP): Use it.
2891 (TLS_DEFINE_INIT_TP): New macro.
2892 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2894 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2896 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2898 [POSIX] (IXANY): Likewise.
2899 [POSIX] (OLCUC): Likewise.
2900 [POSIX || POSIX2008] (CBAUD): Do not allow.
2901 [POSIX || POSIX2008] (DEFECHO): Likewise.
2902 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2903 [POSIX || POSIX2008] (ECHOKE): Likewise.
2904 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2905 [POSIX || POSIX2008] (EXTA): Likewise.
2906 [POSIX || POSIX2008] (EXTB): Likewise.
2907 [POSIX || POSIX2008] (FLUSHO): Likewise.
2908 [POSIX || POSIX2008] (LOBLK): Likewise.
2909 [POSIX || POSIX2008] (PENDIN): Likewise.
2910 [POSIX || POSIX2008] (SWTCH): Likewise.
2911 [POSIX || POSIX2008] (VDISCARD): Likewise.
2912 [POSIX || POSIX2008] (VDSUSP): Likewise.
2913 [POSIX || POSIX2008] (VLNEXT): Likewise.
2914 [POSIX || POSIX2008] (VREPRINT): Likewise.
2915 [POSIX || POSIX2008] (VSTATUS): Likewise.
2916 [POSIX || POSIX2008] (VWERASE): Likewise.
2917 (B*): Change to B[0123456789]*.
2918 * conform/data/time.h-data [POSIX || UNIX98]
2919 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2920 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2921 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2922 [POSIX] (tm_*): Do not allow.
2924 2014-06-07 Joseph Myers <joseph@codesourcery.com>
2926 * Makefile (install): Don't set LANGUAGE.
2927 * Makefile.in (install): Likewise.
2928 * assert/Makefile (test-assert-ENV): Remove variable.
2929 (test-assert-perr-ENV): Likewise.
2930 * elf/Makefile (neededtest4-ENV): Likewise.
2931 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2932 [$(cross-compiling) = no]: Don't set LANGUAGE.
2933 * io/ftwtest-sh (LANG): Remove variable.
2934 * libio/Makefile (tst-widetext-ENV): Likewise.
2935 * manual/install.texi (Running make install): Don't refer to
2936 environment settings for make install.
2937 * INSTALL: Regenerated.
2938 * nptl/tst-tls6.sh: Don't set LANG.
2939 * posix/globtest.sh (LANG): Remove variable.
2940 * string/Makefile (tester-ENV): Likewise.
2941 (inl-tester-ENV): Likewise.
2942 (noinl-tester-ENV): Likewise.
2943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2944 [$(cross-compiling) = no]: Don't set LANGUAGE.
2945 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2946 without explicit environment settings.
2948 2014-06-06 Roland McGrath <roland@hack.frob.com>
2950 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2951 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2952 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2953 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2955 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
2957 * crypt/crypt-private.h [DOS]: Add some includes taken from the
2958 other files in the crypt directory.
2959 * crypt/crypt.c: Remove duplicate includes.
2960 * crypt/crypt-entry.c: Likewise.
2961 * crypt/crypt_util.c: Likewise.
2963 2014-06-06 Joseph Myers <joseph@codesourcery.com>
2965 * Makeconfig (run-program-env): New variable.
2966 (run-program-prefix-before-env): Likewise.
2967 (run-program-prefix-after-env): Likewise.
2968 (run-program-prefix): Define in terms of new variables.
2969 (built-program-cmd-before-env): New variable.
2970 (built-program-cmd-after-env): Likewise.
2971 (built-program-cmd): Define in terms of new variables.
2972 (test-program-prefix-before-env): New variable.
2973 (test-program-prefix-after-env): Likewise.
2974 (test-program-prefix): Define in terms of new variables.
2975 (test-program-cmd-before-env): New variable.
2976 (test-program-cmd-after-env): Likewise.
2977 (test-program-cmd): Define in terms of new variables.
2978 * Rules (make-test-out): Use $(run-program-env).
2979 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2980 (help): Do not mention environment variables. Mention
2981 --timeoutfactor option.
2982 (timeoutfactor): New variable.
2983 (blacklist_exports): Remove function.
2984 (exports): Remove variable.
2985 (command): Do not include ${exports}.
2986 * manual/install.texi (Configuring and compiling): Do not mention
2987 test wrappers preserving environment variables. Mention that last
2988 assignment to a variable must take precedence.
2989 * INSTALL: Regenerated.
2990 * benchtests/Makefile (run-bench): Use $(run-program-env).
2991 * catgets/Makefile ($(objpfx)test1.cat): Use
2992 $(built-program-cmd-before-env), $(run-program-env) and
2993 $(built-program-cmd-after-env).
2994 ($(objpfx)test2.cat): Do not specify environment variables
2996 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2997 $(run-program-env) and $(built-program-cmd-after-env).
2998 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2999 $(run-program-env) and $(test-program-cmd-after-env).
3000 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3002 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3003 run_program_env and test_program_cmd_after_env arguments.
3004 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3005 * elf/tst-pathopt.sh: Use run_program_env argument.
3006 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3007 $(test-wrapper-env) and $(run-program-env).
3008 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3009 run_program_env arguments.
3010 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3011 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3012 $(test-program-prefix-before-env), $(run-program-env) and
3013 $(test-program-prefix-after-env).
3014 ($(objpfx)tst-gettext2.out): Likewise.
3015 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3016 run_program_env and test_program_prefix_after_env arguments.
3017 * intl/tst-gettext2.sh: Likewise.
3018 * intl/tst-gettext4.sh: Do not set environment variables
3020 * intl/tst-gettext6.sh: Likewise.
3021 * intl/tst-translit.sh: Likewise.
3022 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3023 $(test-program-prefix-before-env), $(run-program-env) and
3024 $(test-program-prefix-after-env).
3025 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3026 run_program_env and test_program_prefix_after_env arguments.
3027 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3028 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3029 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3030 explicitly with each use of ${test_wrapper_env}.
3031 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3032 $(test-program-prefix-before-env), $(run-program-env) and
3033 $(test-program-prefix-after-env).
3034 * posix/tst-getconf.sh: Do not set environment variables
3036 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3037 run_program_env and test_program_prefix_after_env arguments.
3038 * stdio-common/tst-printf.sh: Do not set environment variables
3040 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3041 $(test-program-prefix-before-env), $(run-program-env) and
3042 $(test-program-prefix-after-env).
3043 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3044 run_program_env and test_program_prefix_after_env arguments.
3045 Split $test calls into $test_pre and $test.
3046 * timezone/Makefile (build-testdata): Use
3047 $(built-program-cmd-before-env), $(run-program-env) and
3048 $(built-program-cmd-after-env).
3050 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3052 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3053 strlen for non SHARED builds.
3055 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3057 * nptl/allocatestack.c (check_list): Inlined function...
3058 (__reclaim_stacks): ... here.
3060 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3063 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3066 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3068 * Rules (make-test-out): Include
3069 LOCPATH=$(common-objpfx)localedata in default environment.
3070 * debug/Makefile (tst-chk1-ENV): Remove variable.
3071 (tst-chk2-ENV): Likewise.
3072 (tst-chk3-ENV): Likewise.
3073 (tst-chk4-ENV): Likewise.
3074 (tst-chk5-ENV): Likewise.
3075 (tst-chk6-ENV): Likewise.
3076 (tst-lfschk1-ENV): Likewise.
3077 (tst-lfschk2-ENV): Likewise.
3078 (tst-lfschk3-ENV): Likewise.
3079 (tst-lfschk4-ENV): Likewise.
3080 (tst-lfschk5-ENV): Likewise.
3081 (tst-lfschk6-ENV): Likewise.
3082 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3083 (tst-iconv7-ENV): Likewise.
3084 * intl/Makefile (LOCPATH-ENV): Likewise.
3085 (tst-codeset-ENV): Likewise.
3086 (tst-gettext3-ENV): Likewise.
3087 (tst-gettext5-ENV): Likewise.
3088 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3089 (tst-fopenloc-ENV): Likewise.
3090 (tst-fgetws-ENV): Remove variable.
3091 (tst-ungetwc1-ENV): Likewise.
3092 (tst-ungetwc2-ENV): Likewise.
3093 (bug-ungetwc2-ENV): Likewise.
3094 (tst-swscanf-ENV): Likewise.
3095 (bug-ftell-ENV): Likewise.
3096 (tst-fgetwc-ENV): Likewise.
3097 (tst-fseek-ENV): Likewise.
3098 (tst-ftell-partial-wide-ENV): Likewise.
3099 (tst-ftell-active-handler-ENV): Likewise.
3100 (tst-ftell-append-ENV): Likewise.
3101 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3102 (tst-regexloc-ENV): Likewise.
3103 (bug-regex1-ENV): Likewise.
3104 (tst-regex-ENV): Likewise.
3105 (tst-regex2-ENV): Likewise.
3106 (bug-regex5-ENV): Likewise.
3107 (bug-regex6-ENV): Likewise.
3108 (bug-regex17-ENV): Likewise.
3109 (bug-regex18-ENV): Likewise.
3110 (bug-regex19-ENV): Likewise.
3111 (bug-regex20-ENV): Likewise.
3112 (bug-regex22-ENV): Likewise.
3113 (bug-regex23-ENV): Likewise.
3114 (bug-regex25-ENV): Likewise.
3115 (bug-regex26-ENV): Likewise.
3116 (bug-regex30-ENV): Likewise.
3117 (bug-regex32-ENV): Likewise.
3118 (bug-regex33-ENV): Likewise.
3119 (bug-regex34-ENV): Likewise.
3120 (bug-regex35-ENV): Likewise.
3121 (tst-rxspencer-ENV): Likewise.
3122 (tst-rxspencer-no-utf8-ENV): Likewise.
3123 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3124 (tst-sscanf-ENV): Likewise.
3125 (tst-swprintf-ENV): Likewise.
3126 (tst-swscanf-ENV): Likewise.
3127 (test-vfprintf-ENV): Likewise.
3128 (scanf13-ENV): Likewise.
3129 (bug14-ENV): Likewise.
3130 (tst-grouping-ENV): Likewise.
3131 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3132 (tst-strtod3-ENV): Likewise.
3133 (tst-strtod4-ENV): Likewise.
3134 (tst-strtod5-ENV): Likewise.
3135 (testmb2-ENV): Likewise./
3136 * string/Makefile (tst-strxfrm-ENV): Likewise.
3137 (tst-strxfrm2-ENV): Likewise.
3138 (bug-strcoll1-ENV): Likewise.
3139 (test-strcasecmp-ENV): Likewise.
3140 (test-strncasecmp-ENV): Likewise.
3141 * time/Makefile (tst-strptime-ENV): Likewise.
3142 (tst-ftime_l-ENV): Likewise.
3143 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3144 (tst-mbrtowc-ENV): Likewise.
3145 (tst-wcrtomb-ENV): Likewise.
3146 (tst-mbrtowc2-ENV): Likewise.
3147 (tst-c16c32-1-ENV): Likewise.
3148 (tst-mbsnrtowcs-ENV): Likewise.
3150 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3152 * manual/resource.texi (How to get information about the memory
3153 subsystem?): Fix typo.
3154 Reported by Peon de la Parra Ivan <peon@keba.com>
3156 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3159 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3160 (pthread_spin_lock): Branch out of spin loop to proper location.
3161 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3162 (pthread_spin_lock): Likewise.
3164 * nptl/tst-spin4.c: New test.
3165 * nptl/Makefile (tests): Add tst-spin4.
3167 2014-06-03 Andreas Schwab <schwab@suse.de>
3170 * resolv/res_send.c (send_dg): Reload file descriptor after
3173 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3175 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3177 2014-06-03 Richard Henderson <rth@redhat.com>
3179 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3180 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3181 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3182 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3183 in the SAVE_PID block.
3184 (__libc_vfork): New alias.
3185 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3187 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3188 child in registers, not on the stack. Remove RESET_PID conditionals.
3189 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3191 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3193 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3195 2014-06-03 Wilco <wdijkstr@arm.com>
3197 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3198 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3199 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3200 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3201 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3204 2014-06-03 Wilco <wdijkstr@arm.com>
3206 * sysdeps/aarch64/fpu/math_private.h
3207 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3208 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3209 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3210 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3213 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3215 * crypt/crypt-private.h: Include ufc-crypt.h.
3216 (__b64_from_24bit): Declare extern.
3217 * crypt/crypt_util.c(__b64_from_24bit): New function.
3218 (b64t): New static const variable.
3219 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3220 (b64t): Remove variable.
3221 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3222 * crypt/sha256-crypt.c: Include crypt-private.h.
3223 (b64t): Remove variable.
3224 (__sha256_crypt_r): Remove b64_from_24bit and replace
3225 with __b64_from_24bit.
3226 * crypt/sha512-crypt.c: Likewise.
3228 2014-06-02 Roland McGrath <roland@hack.frob.com>
3230 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3231 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3232 Label the code __libc_vfork rather than __vfork.
3233 [!NOT_IN_libc] (vfork): Define as weak alias.
3234 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3235 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3236 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3238 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3240 * malloc/malloc.c (malloc_info): Fix format specifier for
3243 2014-06-02 Wilco <wdijkstr@arm.com>
3245 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3248 2014-06-02 Wilco <wdijkstr@arm.com>
3251 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3252 Rewrite to reduce FPCR/FPSR accesses.
3254 2014-06-01 David S. Miller <davem@davemloft.net>
3256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3258 2014-05-31 David S. Miller <davem@davemloft.net>
3260 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3261 to occur in round to nearest mode when |x| >= 2.0
3263 2014-05-30 Richard Henderson <rth@twiddle.net>
3265 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3266 (PSEUDO_RET_NOERRNO): Remove.
3267 (ret): Don't redefine.
3268 (ret_NOERRNO): Define in terms of ret.
3269 (ret_ERRVAL): Likewise.
3271 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3272 use of PSEUDO_RET; perform the error check directly.
3274 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3276 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3279 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3281 * malloc/malloc (malloc_info): Fix formatting.
3283 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3284 Roland McGrath <roland@hack.frob.com>
3286 * malloc/malloc (malloc_info): Also print mmapped statistics.
3288 2014-05-30 Roland McGrath <roland@hack.frob.com>
3290 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3291 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3293 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3295 * malloc/malloc.c (malloc_info): Inline mi_arena.
3297 2014-05-29 Richard Henderson <rth@twiddle.net>
3299 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3300 Remove comma before expanding ASM_ARGS_##nr.
3301 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3302 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3304 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3305 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3306 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3307 (ASM_ARGS_1): Add leading comma.
3309 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3310 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3311 to __errno_location.
3312 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3313 Remove the expected plt for __errno_location.
3315 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3316 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3319 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3320 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3321 it and break it down.
3322 (DOCARGS_0, DOCARGS_1): Do nothing.
3323 (DOCARGS_2): Update to store into the new stack frame.
3324 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3325 (UNDOCARGS_1): Update to restore from the new stack frame.
3326 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3327 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3329 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3330 (SINGLE_THREAD_P): New parameter for result regno.
3331 (PSEUDO): Update to match; use cbz instead of beq.
3333 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3334 Use ENTRY to define the _nocancel entry point. Share the syscall
3335 and syscall error check paths with the cancel path.
3338 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3339 whitespace; tabs before and after asm mnemonics.
3341 2014-05-29 Eric Wong <normalperson@yhbt.net>
3344 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3345 Call fstat64 or stat64 internally, depending on arguments passed.
3346 Replace stat buffer argument with file descriptor argument.
3347 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3348 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3349 Pass fd to __internal_statvfs instead of calling fstat64.
3350 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3351 Pass fd to __internal_statvfs64 instead of calling fstat64.
3352 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3353 Pass -1 to __internal_statvfs instead of calling stat64.
3354 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3355 Pass -1 to __internal_statvfs64 instead of calling stat64.
3357 2014-05-28 Roland McGrath <roland@hack.frob.com>
3359 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3360 that was previously under [RESET_PID].
3361 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3363 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3364 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3366 2014-05-27 Roland McGrath <roland@hack.frob.com>
3368 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3370 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3371 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3373 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3375 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3377 2014-05-27 Andreas Schwab <schwab@suse.de>
3379 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3381 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3382 * elf/rtld.c (init_tls, dl_main): Likewise.
3383 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3384 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3385 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3386 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3387 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3388 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3389 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3390 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3391 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3392 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3393 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3394 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3395 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3396 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3397 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3398 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3399 * sysdeps/generic/tls.h: Update description.
3401 2014-05-27 Will Newton <will.newton@linaro.org>
3404 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3405 and restore r2 rather than just restoring.
3407 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3410 * libio/tst-ftell-append.c: New test case.
3411 * libio/Makefile (tests): Add test case.
3412 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3414 * libio/wfileops.c (do_ftell_wide): Likewise.
3416 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3420 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3424 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3425 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3426 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3427 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3428 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3429 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3430 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3436 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3437 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3438 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3439 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3440 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3442 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3443 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3445 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3447 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3449 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3450 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3451 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3453 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3454 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3455 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3456 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3458 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3461 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3464 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3467 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3479 conditional [RESET_PID].
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3481 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3483 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3488 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3489 (__libc_vfork): New strong alias.
3490 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3492 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3497 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3498 (__libc_vfork): New strong alias.
3499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3504 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3506 * malloc/malloc.c (mi_arena): New function.
3507 (malloc_info): Remove nested function mi_arena. Call non-nosted
3510 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3512 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3514 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3515 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3516 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3517 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3518 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3519 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3520 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3522 2014-05-26 Andreas Schwab <schwab@suse.de>
3525 * locale/programs/repertoire.c (repertoire_read): Add slash
3526 between I18NPATH element and file name.
3527 * locale/programs/locfile.c (locfile_read): Likewise.
3529 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3531 * nptl/pthread_mutexattr_settype.c
3532 (__pthread_mutexattr_settype):
3533 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3535 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3537 * nptl/tst-mutex5 (do_test):
3538 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3540 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3542 * benchtests/README: Document 'init' directive.
3543 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3545 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3546 (parse_file): Recognize 'init' directive.
3548 2014-05-26 Kyle McMartin <kyle@redhat.com>
3551 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3552 alignment of struct pthread.
3554 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3557 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3558 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3559 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3560 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3562 2014-05-25 Richard Henderson <rth@twiddle.net>
3564 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3565 (SINGLE_THREAD_P_PIC): Remove.
3566 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3567 (SINGLE_THREAD_P_PIC): Remove.
3569 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3570 branch to syscall error ...
3572 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3573 from __local_syscall_error to .Lsyscall_error.
3574 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3575 (SYSCALL_ERROR): Update label name.
3577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3578 Do not use DOARGS/UNDOARGS.
3579 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3580 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3581 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3582 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3583 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3585 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3588 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3589 define if !NOT_IN_libc.
3590 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3591 define with non-default symbol versions.
3593 2014-05-23 Richard Henderson <rth@twiddle.net>
3595 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3596 (vfork, __vfork): Define via compat_symbol.
3598 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3599 [!HAVE_IFUNC] (vfork_compat): Remove.
3600 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3602 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3605 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3606 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3609 2014-05-23 Richard Henderson <rth@twiddle.net>
3611 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3612 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3613 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3614 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3616 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3617 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3618 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3619 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3620 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3621 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3622 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3623 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3624 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3625 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3626 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3627 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3628 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3631 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3632 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3633 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3634 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3635 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3641 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3642 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3643 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3644 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3645 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3646 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3647 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3649 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3650 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3651 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3652 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3653 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3655 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3656 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3657 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3658 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3659 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3660 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3661 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3662 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3663 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3664 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3665 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3666 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3667 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3668 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3669 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3670 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3671 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3673 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3674 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3675 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3676 before exiting on error.
3677 (__libc_vfork): New strong alias.
3678 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3679 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3681 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3682 that was previously under [RESET_PID].
3683 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3685 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3687 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3690 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3691 value when x - 1 is zero.
3692 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3693 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3694 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3695 0.0L for an argument of 1.0L.
3696 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3698 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3699 value when x - 1 is zero.
3700 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3704 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3706 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3707 alphasort and versionsort.
3709 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3711 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3713 [copysignf]: Likewise.
3715 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3717 * crypt/md5-crypt.c: Fix formatting.
3719 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3721 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3722 (b64_from_24bit): New function.
3724 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3727 libc_hidden_builtin_def to ifunc.
3728 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3729 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3731 2014-05-21 Roland McGrath <roland@hack.frob.com>
3733 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3734 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3736 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3738 * nscd/Depend (linuxthreads): Remove.
3740 * resolv/Depend (linuxthreads): Remove.
3741 * rt/Depend (linuxthreads): Remove.
3743 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3744 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3745 $(common-objpfx)elf/.
3746 (link-libc-before-gnulib): Likewise.
3747 (elfobjdir): Remove variable.
3748 * Makefile (install): Use $(elf-objpfx) instead of
3749 $(common-objpfx)elf/.
3750 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3752 (link-libc-deps): Likewise.
3753 ($(common-objpfx)libc.so): Likewise.
3754 ($(common-objpfx)linkobj/libc.so): Likewise.
3755 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3756 instead of $(common-objpfx)elf/.
3757 (symbolic-link-list): Likewise.
3758 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3759 [$(cross-compiling) = no]: Likewise.
3760 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3762 (static-gnulib-arch): Likewise.
3763 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3764 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3765 $(common-objpfx)elf/.
3767 2014-05-21 Richard Henderson <rth@redhat.com>
3769 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3770 (SINGLE_THREAD_P): Use the correct width load. Fold
3771 into the ldr offset.
3773 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3774 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3776 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3778 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3779 (libgcc_s_resume): Use __attribute_used__.
3780 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3783 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3785 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3786 optimization when used with float constants.
3788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3790 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3793 * locale/nl_langinfo_l.c: Make direct reference to every
3794 _nl_current_CATEGORY symbol.
3795 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3796 (tests-static): Add tst-langinfo-static.
3797 (tests-special): Add tst-langinfo-static.out.
3798 ($(objpfx)tst-langinfo.out): Redirect output.
3799 ($(objpfx)tst-langinfo-static.out): New.
3800 * localedata/tst-langinfo.sh: Send output to stdout.
3801 * localedata/tst-langinfo-static.c: New file.
3804 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3805 when the shift amount is modulo the limb size.
3807 2014-05-20 Richard Henderson <rth@redhat.com>
3810 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3811 Change type of sa_flags from unsigned int to int.
3814 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3816 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3818 2014-05-20 Will Newton <will.newton@linaro.org>
3820 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3821 Test the return value of the system call in the nocancel case.
3823 2014-05-20 Will Newton <will.newton@linaro.org>
3824 Yvan Roux <yvan.roux@linaro.org>
3826 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3827 #include of asm/ptrace.h.
3828 (PTRACE_GET_THREAD_AREA): Remove #undef.
3829 (PTRACE_GETHBPREGS): Likewise.
3830 (PTRACE_SETHBPREGS): Likewise.
3831 (struct user_regs_struct): New structure.
3832 (struct user_fpsimd_struct): New structure.
3833 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3834 #include of asm/ptrace.h and second #include of sys/user.h.
3835 (PTRACE_GET_THREAD_AREA): Remove #undef.
3836 (PTRACE_GETHBPREGS): Likewise.
3837 (PTRACE_SETHBPREGS): Likewise.
3838 (ELF_NGREG): Use new struct user_regs_struct.
3839 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3841 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3843 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3846 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3849 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3850 membar to avoid block loads/stores to overlap previous stores.
3852 2014-05-17 Richard Henderson <rth@redhat.com>
3854 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3855 Create the __##syscall_name##_nocancel entry point.
3856 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3857 Remove; let the sysdep-cancel.h code create it.
3859 2014-05-17 David S. Miller <davem@davemloft.net>
3861 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3862 Protect with __USE_GNU.
3863 (TIOCSET_TEMPT): Likewise.
3864 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3865 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3866 these are already provided in bits/ioctl-types.h
3868 2014-05-16 Roland McGrath <roland@hack.frob.com>
3870 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3871 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3873 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3874 Use wait4 regardless of [__NR_waitpid].
3876 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3879 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3880 (_FP_NANSIGN_Q): Set the quiet bit.
3882 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3884 * benchtests/Makefile
3885 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3886 not $(common-objpfx)math/libm.so.
3887 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3888 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3889 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3890 $(common-objpfx)dlfcn/libdl.so.
3891 ($(objpfx)tst-audit8): Depend on $(libm), not
3892 $(common-objpfx)math/libm.so.
3893 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3894 not $(common-objpfx)dlfcn/libdl.so.
3896 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3897 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3898 [$(build-shared) = yes].
3899 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3900 $(common-objpfx)nptl/libpthread.so.
3901 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3902 $(common-objpfx)math/libm.so$(libm.so-version) or
3903 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3904 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3905 $(common-objpfx)dlfcn/libdl.so.
3906 * setjmp/Makefile (link-libm): Remove variable.
3907 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3908 * stdio-common/Makefile (link-libm): Remove variable.
3909 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3910 * stdlib/Makefile (link-libm): Remove variable.
3911 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3912 ($(objpfx)tst-strtod-round): Likewise.
3913 ($(objpfx)tst-tininess): Likewise.
3914 ($(objpfx)tst-strtod-underflow): Likewise.
3915 ($(objpfx)tst-strtod6): Likewise.
3916 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3917 $(libdl), not $(common-objpfx)nptl/libpthread.so and
3918 $(common-objpfx)dlfcn/libdl.so.
3920 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3923 BSD terminal modes definitions.
3925 2014-05-16 Roland McGrath <roland@hack.frob.com>
3927 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3928 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3930 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3931 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3932 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3933 Don't do #include_next.
3934 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3935 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3936 Don't do #include_next.
3937 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3938 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3939 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3940 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3942 2014-05-16 Allan McRae <allan@archlinux.org>
3944 * po/sv.po: Update Swedish translation from translation project.
3946 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3949 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
3952 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3953 errno if the TIOCGPTN ioctl fails with an error different than
3955 * login/tst-ptsname.c: New file.
3956 * login/Makefile (tests): Add tst-ptsname.
3959 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3962 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3966 herrno to return EAI_AGAIN.
3968 2014-05-14 Roland McGrath <roland@hack.frob.com>
3970 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3971 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3972 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3973 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3974 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3975 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3976 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3977 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3978 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3979 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3980 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3983 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3984 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3985 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3986 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3987 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3988 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3989 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3990 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3991 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3993 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3995 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3997 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3998 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3999 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4001 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4003 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4006 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4008 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4010 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4012 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4014 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4016 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4018 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4020 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4022 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4024 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4026 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4028 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4030 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4032 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4035 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4037 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4039 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4041 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4043 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4045 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4047 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4048 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4049 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4051 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4053 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4056 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4058 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4060 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4061 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4062 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4063 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4064 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4066 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4068 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4069 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4070 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4072 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4074 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4076 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4078 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4080 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4081 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4082 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4083 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4084 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4086 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4088 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4089 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4090 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4092 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4093 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4095 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4096 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4097 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4099 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4102 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4103 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4105 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4108 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4109 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4111 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4112 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4113 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4114 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4116 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4117 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4118 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4119 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4120 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4121 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4122 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4123 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4125 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4126 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4128 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4130 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4131 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4132 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4133 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4134 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4136 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4138 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4140 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4141 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4142 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4143 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4144 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4145 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4147 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4148 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4150 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4151 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4153 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4156 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4157 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4158 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4159 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4161 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4163 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4165 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4167 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4170 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4171 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4173 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4175 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4176 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4177 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4178 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4179 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4181 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4183 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4185 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4186 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4187 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4188 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4189 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4190 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4191 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4192 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4193 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4194 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4196 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4197 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4199 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4200 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4202 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4205 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4212 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4213 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4214 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4216 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4217 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4218 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4219 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4221 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4222 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4224 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4226 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4227 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4228 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4229 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4232 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4234 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4236 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4237 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4238 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4239 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4240 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4241 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4242 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4244 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4245 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4246 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4248 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4249 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4251 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4252 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4254 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4255 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4256 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4257 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4258 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4259 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4260 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4261 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4262 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4263 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4264 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4265 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4266 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4267 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4268 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4269 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4270 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4271 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4273 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4274 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4275 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4276 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4278 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4280 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4281 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4282 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4283 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4284 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4285 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4287 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4288 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4290 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4291 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4292 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4293 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4294 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4296 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4298 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4300 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4301 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4302 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4303 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4304 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4305 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4306 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4308 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4309 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4310 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4311 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4312 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4314 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4315 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4316 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4317 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4318 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4319 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4320 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4321 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4322 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4323 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4328 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4329 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4331 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4333 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4334 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4335 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4336 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4337 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4338 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4339 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4340 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4341 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4342 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4344 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4346 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4348 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4350 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4352 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4354 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4360 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4362 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4364 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4365 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4366 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4367 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4368 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4369 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4370 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4371 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4372 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4373 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4374 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4375 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4376 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4378 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4379 that was previously under [RESET_PID].
4380 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4381 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4382 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4384 * sysdeps/i386/nptl/Implies: New file.
4385 * sysdeps/x86_64/nptl/Implies: New file.
4386 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4387 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4389 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4391 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4392 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4393 (__libc_vfork): New strong alias.
4394 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4395 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4397 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4398 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4399 (__libc_vfork): New strong alias.
4400 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4401 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4403 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4404 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4405 (__libc_vfork): New strong alias.
4406 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4407 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4408 * nptl/pt-vfork.c: New file.
4409 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4410 (libpthread: GLIBC_2.20): New version set (empty).
4412 2014-05-14 Will Newton <will.newton@linaro.org>
4414 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4417 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4420 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4421 arguments with exponent 65 or above.
4422 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4423 arguments 0x1p113L or above.
4424 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4425 to arguments 0x1p107L or above.
4426 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4427 positive arguments with exponent 65 or above.
4428 * math/auto-libm-test-in: Add more tests of log1p.
4429 * math/auto-libm-test-out: Regenerated.
4432 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4433 non-finite arguments is +0.
4434 * math/s_cacosf.c (__cacosf): Likewise.
4435 * math/s_cacosl.c (__cacosl): Likewise.
4436 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4437 * sysdeps/i386/fpu/libm-test-ulps: Update.
4438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4441 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4443 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4444 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4445 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4446 for explicit high bit of mantissa when testing for argument equal
4448 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4449 * sysdeps/i386/fpu/libm-test-ulps: Update.
4450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4453 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4454 (__erf): Scale by 16 instead of 8 in potentially underflowing
4455 case. Ensure exception if result actually underflows.
4456 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4457 (__erff): Scale by 16 instead of 8 in potentially underflowing
4458 case. Ensure exception if result actually underflows.
4459 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4460 (efx8): Remove variable.
4461 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4462 case. Ensure exception if result actually underflows.
4463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4464 (efx8): Remove variable.
4465 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4466 case. Ensure exception if result actually underflows.
4467 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4468 (efx8): Remove variable.
4469 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4470 case. Ensure exception if result actually underflows.
4471 * math/auto-libm-test-in: Add more tests of erf.
4472 * math/auto-libm-test-out: Regenerated.
4474 2014-05-14 Andreas Schwab <schwab@suse.de>
4476 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4477 Remove code conditionalized on USE___THREAD.
4479 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4480 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4483 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4485 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4486 Define unconditionally.
4487 (__ASSUME_O_CLOEXEC): Likewise.
4488 (__ASSUME_SOCK_CLOEXEC): Likewise.
4489 (__ASSUME_IN_NONBLOCK): Likewise.
4490 (__ASSUME_PIPE2): Likewise.
4491 (__ASSUME_EVENTFD2): Likewise.
4492 (__ASSUME_SIGNALFD4): Likewise.
4493 (__ASSUME_DUP3): Likewise.
4494 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4495 (__ASSUME_DUP3): Do not define.
4496 (__ASSUME_EVENTFD2): Likewise.
4497 (__ASSUME_IN_NONBLOCK): Likewise.
4498 (__ASSUME_O_CLOEXEC): Likewise.
4499 (__ASSUME_PIPE2): Likewise.
4500 (__ASSUME_SIGNALFD4): Likewise.
4501 (__ASSUME_SOCK_CLOEXEC): Likewise.
4502 (__ASSUME_UTIMES): Undefine.
4503 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4504 (__ASSUME_UTIMES): Do not define.
4505 (__ASSUME_O_CLOEXEC): Likewise.
4506 (__ASSUME_SOCK_CLOEXEC): Likewise.
4507 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4508 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4510 (__ASSUME_PIPE2): Likewise.
4511 (__ASSUME_EVENTFD2): Likewise.
4512 (__ASSUME_SIGNALFD4): Likewise.
4513 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4514 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4516 (__ASSUME_EVENTFD2): Likewise.
4517 (__ASSUME_SIGNALFD4): Likewise.
4518 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4519 (__ASSUME_32BITUIDS): Likewise.
4520 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4521 (__ASSUME_IPC64): Likewise.
4522 (__ASSUME_ST_INO_64_BIT): Likewise.
4523 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4524 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4525 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4526 (__ASSUME_UTIMES): Do not define.
4527 (__ASSUME_PSELECT): Likewise.
4528 (__ASSUME_PPOLL): Likewise.
4529 (__ASSUME_O_CLOEXEC): Likewise.
4530 (__ASSUME_SOCK_CLOEXEC): Likewise.
4531 (__ASSUME_IN_NONBLOCK): Likewise.
4532 (__ASSUME_PIPE2): Likewise.
4533 (__ASSUME_EVENTFD2): Likewise.
4534 (__ASSUME_SIGNALFD4): Likewise.
4535 (__ASSUME_DUP3): Likewise.
4536 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4537 (__ASSUME_UTIMES): Likewise.
4538 (__ASSUME_O_CLOEXEC): Likewise.
4539 (__ASSUME_SOCK_CLOEXEC): Likewise.
4540 (__ASSUME_IN_NONBLOCK): Likewise.
4541 (__ASSUME_PIPE2): Likewise.
4542 (__ASSUME_EVENTFD2): Likewise.
4543 (__ASSUME_SIGNALFD4): Likewise.
4544 (__ASSUME_DUP3): Likewise.
4545 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4546 (__ASSUME_UTIMES): Likewise.
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 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4556 (__ASSUME_UTIMES): Likewise.
4557 (__ASSUME_EVENTFD2): Likewise.
4558 (__ASSUME_SIGNALFD4): Likewise.
4559 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4560 (__ASSUME_O_CLOEXEC): Likewise.
4561 (__ASSUME_SOCK_CLOEXEC): Likewise.
4562 (__ASSUME_IN_NONBLOCK): Likewise.
4563 (__ASSUME_PIPE2): Likewise.
4564 (__ASSUME_EVENTFD2): Likewise.
4565 (__ASSUME_SIGNALFD4): Likewise.
4566 (__ASSUME_DUP3): Likewise.
4567 (__ASSUME_UTIMES): Undefine.
4569 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4570 feclearexcept. Remove symbol versioning code.
4571 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4572 symbol versioning code.
4573 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4574 symbol versioning code.
4575 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4576 feupdateenv. Remove symbol versioning code.
4577 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4578 fegetexceptflag. Remove symbol versioning code.
4579 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4580 fesetexceptflag. Remove symbol versioning code.
4581 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4582 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4583 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4584 (__posix_fadvise64_l32): Remove prototype.
4585 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4588 2014-05-13 Roland McGrath <roland@hack.frob.com>
4590 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4591 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4592 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4593 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4595 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4597 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4598 current working directory
4600 2014-05-13 Roland McGrath <roland@hack.frob.com>
4602 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4603 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4604 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4605 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4606 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4607 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4608 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4609 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4610 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4611 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4612 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4613 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4614 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4615 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4616 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4617 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4618 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4619 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4620 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4621 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4622 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4623 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4625 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4626 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4627 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4628 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4629 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4630 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4631 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4632 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4633 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4634 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4635 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4636 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4637 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4638 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4639 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4640 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4641 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4642 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4643 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4645 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4646 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4648 * sysdeps/unix/sysv/linux/arm/Makefile
4649 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4650 Add rt-aeabi_unwind_cpp_pr1.
4651 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4652 Add nptl-aeabi_unwind_cpp_pr1.
4653 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4654 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4655 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4656 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4657 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4658 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4660 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4661 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4662 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4663 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4665 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4666 Deconditionalize the code that was previously under [RESET_PID].
4667 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4669 * sysdeps/generic/exit-thread.h: New file.
4670 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4671 * include/unistd.h (__exit_thread): Remove declaration.
4672 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4673 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4674 * csu/libc-start.c: Include <exit-thread.h>.
4675 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4676 * nptl/pthread_create.c: Include <exit-thread.h>.
4677 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4678 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4679 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4680 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4681 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4682 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4683 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4684 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4685 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4686 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4687 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4688 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4689 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4690 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4691 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4692 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4693 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4695 2014-05-13 Andreas Schwab <schwab@suse.de>
4697 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4699 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4701 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4702 (__ASSUME_UTIMES): Do not condition on kernel version.
4703 (__ASSUME_PSELECT): Define unconditionally.
4704 (__ASSUME_PPOLL): Likewise.
4705 (__ASSUME_ATFCTS): Likewise.
4706 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4707 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4708 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4709 (__ASSUME_UTIMENSAT): Define unconditionally.
4710 (__ASSUME_PRIVATE_FUTEX): Likewise.
4711 (__ASSUME_FALLOCATE): Likewise.
4712 (__ASSUME_O_CLOEXEC): Likewise.
4713 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4714 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4715 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4716 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4717 (__ASSUME_IN_NONBLOCK): Likewise.
4718 (__ASSUME_PIPE2): Likewise.
4719 (__ASSUME_EVENTFD2): Likewise.
4720 (__ASSUME_SIGNALFD4): Likewise.
4721 (__ASSUME_DUP3): Likewise.
4722 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4723 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4724 (__ASSUME_AT_RANDOM): Likewise.
4725 (__ASSUME_PREADV): Likewise.
4726 (__ASSUME_PWRITEV): Likewise.
4727 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4728 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4729 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4731 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4732 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4733 (__ASSUME_O_CLOEXEC): Define unconditionally.
4734 (__ASSUME_PSELECT): Do not undefine conditionally.
4735 (__ASSUME_PPOLL): Likewise.
4736 (__ASSUME_ATFCTS): Likewise.
4737 (__ASSUME_SET_ROBUST_LIST): Likewise.
4738 (__ASSUME_UTIMENSAT): Likewise.
4739 (__ASSUME_FDATASYNC): Define unconditionally.
4740 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4741 (__ASSUME_SIGFRAME_V2): Likewise.
4742 )__ASSUME_EVENTFD2): Likewise.
4743 (__ASSUME_SIGNALFD4): Likewise.
4744 (__ASSUME_PSELECT): Do not undefine conditionally.
4745 (__ASSUME_PPOLL): Likewise.
4746 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4747 (__ASSUME_PSELECT): Define unconditionally.
4748 (__ASSUME_PPOLL): Likewise.
4749 (__ASSUME_O_CLOEXEC): Likewise.
4750 (__ASSUME_SOCK_CLOEXEC): Likewise.
4751 (__ASSUME_IN_NONBLOCK): Likewise.
4752 (__ASSUME_PIPE2): Likewise.
4753 (__ASSUME_EVENTFD2): Likewise.
4754 (__ASSUME_SIGNALFD4): Likewise.
4755 (__ASSUME_DUP3): Likewise.
4756 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4757 (__ASSUME_O_CLOEXEC): Likewise.
4758 (__ASSUME_SOCK_CLOEXEC): Likewise.
4759 (__ASSUME_IN_NONBLOCK): Likewise.
4760 (__ASSUME_PIPE2): Likewise.
4761 (__ASSUME_EVENTFD2): Likewise.
4762 (__ASSUME_SIGNALFD4): Likewise.
4763 (__ASSUME_DUP3): Likewise.
4764 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4765 (__ASSUME_EVENTFD2): Likewise.
4766 (__ASSUME_SIGNALFD4): Likewise.
4767 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4769 2014-05-12 Andreas Schwab <schwab@suse.de>
4772 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4773 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4774 than maximum RPC packet size.
4775 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4776 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4777 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4778 (_nss_nis_getservbyport_r): Likewise.
4780 2014-05-12 Will Newton <will.newton@linaro.org>
4782 * malloc/Makefile (tests): Add tst-mallopt.
4783 * malloc/tst-mallopt.c: New file.
4785 2014-05-09 Roland McGrath <roland@hack.frob.com>
4787 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4788 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4790 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4792 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4793 (tst-tlsmod6.so): Likewise.
4795 2014-05-09 Roland McGrath <roland@hack.frob.com>
4797 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4799 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4802 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4803 and <dl-procinfo.h>.
4804 (__fegetenv): Save SSE state in envp->__eip if supported.
4805 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4806 envp->__eip if supported.
4807 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4808 and <dl-procinfo.h>.
4809 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4810 __data_offset and __data_selector in environment to 0. Set SSE
4812 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4814 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4816 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4818 2014-05-09 Will Newton <will.newton@linaro.org>
4820 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4821 and libc_relro_required for ARM.
4822 * sysdeps/arm/preconfigure: Regenerate.
4824 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4825 Stefan Liebler <stli@linux.vnet.ibm.com>
4827 * config.make.in (enable-lock-elision): New Makefile variable.
4828 * configure.ac: Likewise.
4829 * configure: Regenerate.
4830 * sysdeps/s390/configure.ac:
4831 Add check for gcc transactions support.
4832 * sysdeps/s390/configure: Regenerate.
4833 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4834 Build elision files if enabled.
4835 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4836 Add lock elision support for s390.
4837 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4838 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4839 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4840 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4841 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4842 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4843 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4845 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4847 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4849 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4851 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4852 (__lll_timedlock_elision, __lll_lock_elision)
4853 (__lll_unlock_elision, __lll_trylock_elision)
4854 (lll_timedlock_elision, lll_lock_elision)
4855 (lll_unlock_elision, lll_trylock_elision): Add.
4856 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4857 (pthread_mutex_t): Add lock elision support for s390.
4859 2014-05-14 Wilco <wdijkstr@arm.com>
4861 * sysdeps/arm/fclrexcpt.c: Cleanup.
4862 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4863 * sysdeps/arm/feenablxcpt.c: Cleanup.
4864 * sysdeps/arm/fegetenv.c: Cleanup.
4865 * sysdeps/arm/fegetexcept.c: Cleanup.
4866 * sysdeps/arm/fegetround.c: Cleanup.
4867 * sysdeps/arm/feholdexcpt.c: Cleanup.
4868 * sysdeps/arm/fesetenv.c: Cleanup.
4869 * sysdeps/arm/fesetround.c: Cleanup.
4870 * sysdeps/arm/feupdateenv.c: Cleanup.
4871 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4872 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4873 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4874 * sysdeps/arm/ftestexcept.c: Cleanup.
4875 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4876 * sysdeps/arm/setfpucw.c: Cleanup.
4878 2014-05-09 Will Newton <will.newton@linaro.org>
4880 * sysdeps/arm/armv7/strcmp.S: New file.
4881 * NEWS: Mention addition of ARMv7 optimized strcmp.
4883 2014-05-08 Roland McGrath <roland@hack.frob.com>
4885 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4886 look for %.ac rather than %.in.
4888 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4889 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4890 * sysdeps/mach/hurd/configure: Regenerated.
4891 * sysdeps/unix/sysv/linux/configure: Regenerated.
4893 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4895 2014-05-07 Steve Ellcey <sellcey@mips.com>
4898 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4902 2014-05-07 Andreas Schwab <schwab@suse.de>
4904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4905 when skipping over non-matching result from nscd.
4907 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4910 * nptl/sockperf.c (client): Check socket return value.
4913 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4914 nscd security class.
4916 2014-05-06 Roland McGrath <roland@hack.frob.com>
4918 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4919 * sysdeps/arm/unwind.h: ... here.
4921 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
4924 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4927 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4929 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4930 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4931 multiarch strncpy for PPC64.
4932 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4933 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4934 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4935 multiarch optimizations.
4936 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4937 (__libc_ifunc_impl_list): Likewise.
4938 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4939 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4940 multiarch stpncpy for PPC64.
4941 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4942 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4944 2014-05-06 Andreas Schwab <schwab@suse.de>
4947 * gmon/mcount.c (_MCOUNT_DECL): Use
4948 atomic_compare_and_exchange_bool_acq instead of
4949 catomic_compare_and_exchange_bool_acq.
4951 2014-05-05 Roland McGrath <roland@hack.frob.com>
4953 * elf/Makefile (others, install-bin): Remove pldd.
4954 (pldd-modules): Variable removed.
4955 ($(objpfx)pldd): Target removed.
4956 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4957 (others, install-bin): Append pldd here.
4958 ($(objpfx)pldd): New target.
4960 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4961 to 0, so the first #if test emitted later doesn't see it undefined.
4962 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4963 * sysdeps/gnu/errlist.c: Regenerated.
4965 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4967 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4968 [libc_hidden_builtin_def]: Define to empty value.
4969 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4970 [libc_hidden_builtin_def]: Likewise.
4971 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4972 [libc_hidden_builtin_def]: Likewise.
4973 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4974 [libc_hidden_builtin_def]: Likewise.
4975 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4976 __redirect_memcpy and define ifunc as default hidden symbol.
4977 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4978 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4980 2014-05-04 Adam Conrad <adconrad@0c3.net>
4982 * locale/iso-4217.def: Reintroduce XDR currency.
4984 2014-05-04 Allan McRae <allan@archlinux.org>
4986 * po/eo.po: Update Esperanto translation from translation project.
4988 2014-05-02 Carlos O'Donell <carlos@redhat.com>
4990 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4991 and FEATURE_INDEX_MAX to 1.
4992 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4994 2014-05-01 Steve Ellcey <sellcey@mips.com>
4996 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4997 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4998 * iconvdata/big5.c (ONE_DIRECTION): Define.
4999 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5000 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5001 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5002 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5003 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5004 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5005 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5006 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5007 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5008 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5009 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5010 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5011 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5012 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5013 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5014 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5015 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5016 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5017 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5018 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5019 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5020 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5021 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5022 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5023 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5024 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5025 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5026 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5027 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5028 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5029 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5030 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5031 * iconvdata/johab.c (ONE_DIRECTION): Define.
5032 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5033 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5034 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5035 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5036 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5037 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5038 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5039 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5040 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5041 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5043 2014-05-01 Roland McGrath <roland@hack.frob.com>
5045 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5046 (_IO_JUMPS_OFFSET): Define to 0.
5048 * nptl/sysdeps/pthread/bits/libc-lock.h
5049 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5050 (__libc_lock_define_initialized_recursive): Always define using
5051 initializer. Modern compilers treat uninitialized (implicit zero) and
5052 explicit zero initializers the same (i.e. put the datum in bss).
5054 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5056 * nscd/nscd-client.h: Include <string.h>.
5058 2014-05-01 David S. Miller <davem@davemloft.net>
5061 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5062 multiple zero bytes exist at the end of a string.
5063 Reported by Aurelien Jarno <aurelien@aurel32.net>
5065 * string/test-strcmp.c (check): Add explicit test for situations where
5066 there are multiple zero bytes after the first.
5068 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5071 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5072 when compiling wprintf.
5073 * stdio-common/tstdiomisc.c (t3): New function.
5076 2014-05-01 Steve Ellcey <sellcey@mips.com>
5078 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5079 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5080 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5081 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5083 2014-05-01 Steve Ellcey <sellcey@mips.com>
5085 * stdlib/longlong.h: Updated from GCC.
5087 2014-05-01 Will Newton <will.newton@linaro.org>
5088 Bernard Ogden <bernie.ogden@linaro.org>
5090 * NEWS: Update fixed bug list.
5093 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5095 2014-04-30 David S. Miller <davem@davemloft.net>
5097 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5098 (libc_feholdexcept_setround_sparc_ctx): New function.
5099 (libc_fesetenv_sparc_ctx): Likewise.
5100 (libc_feupdateenv_sparc_ctx): Likewise.
5101 (libc_feholdsetround_sparc_ctx): Likewise.
5102 (libc_feholdexcept_setround_ctx): Define.
5103 (libc_feholdexcept_setroundf_ctx): Likewise.
5104 (libc_feholdexcept_setroundl_ctx): Likewise.
5105 (libc_fesetenv_ctx): Likewise.
5106 (libc_fesetenvf_ctx): Likewise.
5107 (libc_fesetenvl_ctx): Likewise.
5108 (libc_feupdateenv_ctx): Likewise.
5109 (libc_feupdateenvf_ctx): Likewise.
5110 (libc_feupdateenvl_ctx): Likewise.
5111 (libc_feresetround_ctx): Likewise.
5112 (libc_feresetroundf_ctx): Likewise.
5113 (libc_feresetroundl_ctx): Likewise.
5114 (libc_feholdsetround_ctx): Likewise.
5115 (libc_feholdsetroundf_ctx): Likewise.
5116 (libc_feholdsetroundl_ctx): Likewise.
5118 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5119 with __USE_GNU instead of XOPEN cpp guards.
5121 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5124 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5125 with XOPEN cpp guards.
5127 2014-04-30 Julian Brown <julian@codesourcery.com>
5130 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5133 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5136 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5138 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5139 * sysdeps/unix/sysv/linux/configure: Regenerated.
5140 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5141 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5142 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5143 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5144 * README: Update reference to required Linux kernel version.
5145 * manual/install.texi (Linux): Update reference to required Linux
5146 kernel headers version.
5147 * INSTALL: Regenerated.
5149 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5151 [POSIX] (limits.h): Likewise.
5152 [POSIX] (math.h): Likewise.
5153 [POSIX] (sys/wait.h): Likewise.
5154 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5156 [POSIX] (stddef.h): Do not allow header inclusion.
5158 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5160 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5162 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5164 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5165 Return immediately after lll_futex_wake.
5167 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5170 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5172 (datahead_init_pos): Call datahead_init_common early.
5173 (datahead_init_neg): Likewise.
5175 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5176 datahead_init_neg): New functions.
5177 * nscd/aicache.c (addhstaiX): Use them.
5178 * nscd/grpcache.c (cache_addgr): Likewise.
5179 * nscd/hstcache.c (cache_addhst): Likewise.
5180 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5181 * nscd/netgroupcache.c (do_notfound): Likewise.
5182 (addgetnetgrentX): Likewise.
5183 (addinnetgrX): Likewise.
5184 * nscd/pwdcache.c (cache_addpw): Likewise.
5185 * nscd/servicescache.c (cache_addserv): Likewise.
5187 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5188 Atsushi Onoe <atsushi@onoe.org>
5193 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5194 one response is valid.
5195 * resolv/res_send.c (send_dg): Check for validity of other
5196 response if the current response is a referral.
5198 2014-04-29 Steve Ellcey <sellcey@mips.com>
5200 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5202 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5205 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5206 Always divide by positive zero when computing -Inf result.
5207 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5208 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5210 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5213 FPSCR if value do not change.
5214 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5215 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5216 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5217 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5218 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5219 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5222 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5224 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5225 * sysdeps/unix/sysv/linux/hppa: Move directory from
5226 ports/systeps/unix/sysv/linux/hppa.
5227 * README: Update listing for hppa-*-linux-gnu.
5229 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5232 * manual/stdio.texi (Hook functions): Fix types of stream hook
5235 * socket/sys/socket.h: Fix typo in comment.
5237 2014-04-28 Wilco <wdijkstr@arm.com>
5239 * sysdeps/arm/fenv_private.h: New file.
5240 * sysdeps/arm/math_private.h: New file.
5241 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5243 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5245 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5247 (La_x86_64_retval): Likewise.
5249 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5251 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5252 fpsr if value didn't change.
5253 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5254 to fpcr if value didn't change.
5255 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5256 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5257 fpsr or fpcr if value didn't change.
5258 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5259 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5260 fpcr if value didn't change.
5261 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5262 to fpsr if value didn't change.
5264 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5266 * nptl/tst-sem3.c: Use test-skeleton.c
5267 (main): Rename to do_test. Use return instead of
5269 * nptl/tst-sem4.c: Use test-skeleton.c
5270 (main): Rename to do_test.
5272 2014-04-22 David S. Miller <davem@davemloft.net>
5274 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5275 (struct sigaction): New struct member __glibc_reserved0, change
5276 type of sa_flags to int.
5278 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5280 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5281 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5283 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5285 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5286 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5288 2014-04-22 Will Newton <will.newton@linaro.org>
5289 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5291 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5292 (__longjmp): Add longjmp and longjmp_target SystemTap
5294 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5295 (__sigsetjmp): Add setjmp SystemTap probe.
5297 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5299 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5302 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5304 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5306 * sysdeps/powerpc/fpu/fenv_private.h
5307 (libc_feholdexcept_setroundl_ctx): Define to
5308 libc_feholdexcept_setround_ppc_ctx.
5309 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5310 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5311 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5312 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5314 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5316 * sysdeps/aarch64/math-tests.h: New file.
5318 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5320 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5323 Check and set bit_AVX2_Usable.
5324 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5326 (bit_AVX2): Likewise.
5327 (index_AVX2_Usable): Likewise.
5328 (CPUID_AVX2): Likewise.
5329 (HAS_AVX2): Likewise.
5331 2014-04-17 Will Newton <will.newton@linaro.org>
5333 * manual/setjmp.texi (System V contexts): Add note that
5334 calling setcontext on a context created by a call to a
5335 signal handler is undefined. Update text to note that
5336 setcontext from a signal handler is possible but not
5340 * stdlib/tst-setcontext.c: Include signal.h.
5341 (main): Check that the signal stack before and
5342 after swapcontext is the same.
5344 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5345 Re-implement to restore registers in user code and avoid
5346 rt_sigreturn system call.
5348 2014-04-17 Wilco <wdijkstr@arm.com>
5350 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5351 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5352 * math/test-fenv.c: Skip exception trap tests on targets which only
5353 support non-stop mode.
5355 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5356 Wilco Dijkstra <wilco.dijkstra@arm.com>
5358 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5359 (libc_feholdsetround_aarch64_ctx)
5360 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5361 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5362 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5363 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5364 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5365 (libc_feresetround_noexl_ctx): Define.
5367 2014-04-16 Richard Henderson <rth@redhat.com>
5369 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5371 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5374 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5375 const from the non-libc, non-ldso copy.
5377 * sysdeps/alpha/libm-test-ulps: Regenerate.
5379 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5380 Wilco Dijkstra <wilco.dijkstra@arm.com>
5382 * sysdeps/aarch64/fpu/math_private.h: New file.
5384 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5386 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5388 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5390 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5391 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5393 Intel MPX bound registers before _dl_profile_fixup.
5394 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5395 registers after _dl_profile_fixup. Save and restore bound
5396 registers bnd0/bnd1 when calling _dl_call_pltexit.
5397 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5398 (LR_BND_OFFSET): Likewise.
5399 (LRV_BND0_OFFSET): Likewise.
5400 (LRV_BND1_OFFSET): Likewise.
5402 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5404 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5406 * sysdeps/mach/hurd/i386/tls.h: ... here.
5407 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5408 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5411 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5413 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5415 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5417 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5419 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5422 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5423 * sysdeps/s390/configure: Regenerate.
5426 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5427 Set round-to-nearest internally to reduce error accumulation.
5429 2014-04-16 Alan Modra <amodra@gmail.com>
5433 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5434 * math/libm-test.inc (frexp_test_data): Add tests.
5435 * NEWS: Update fixed bug list.
5437 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5439 * benchtests/Makefile: Depend on libraries in build directory.
5440 (bench-math): Separate out math tests.
5441 (bench-pthread): Separate out pthread tests.
5442 (bench): Include math and pthread tests.
5444 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5447 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5448 _dl_debug_initialize.
5450 * configure.ac: Remove SELinux header check.
5451 * configure: Regenerate.
5452 * nscd/selinux.c (perms): Array of const char* to permission names.
5453 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5454 default policy. Call string_to_security_class and string_to_av_perm to
5455 translate strings. Enforce default policy and call avs_has_perm with
5456 results of translated strings.
5458 2014-04-13 David S. Miller <davem@davemloft.net>
5460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5462 2014-04-12 Allan McRae <allan@archlinux.org>
5465 * manual/string.texi (Collation Functions): Fix qsort argument
5467 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5469 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5471 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5472 Make the test a no-op if there are no exceptions defined.
5474 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5476 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5477 enable-hardcoded-path-in-tests
5479 2014-04-11 Will Newton <will.newton@linaro.org>
5481 * benchtests/Makefile (extra-objs): Add json-lib.o.
5482 (bench-func): Tidy up JSON output.
5483 * benchtests/bench-skeleton.c: Include json-lib.h.
5484 (main): Use JSON library functions to do output of
5486 * benchtests/bench-timing-type.c (main): Output the
5487 timing type simply, leaving formatting to the user.
5488 * benchtests/json-lib.c: New file.
5489 * benchtests/json-lib.h: Likewise.
5491 2014-04-11 Torvald Riegel <triegel@redhat.com>
5494 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5495 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5496 memory barriers. Add comments.
5497 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5498 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5499 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5500 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5501 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5502 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5504 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5506 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5507 * sysdeps/s390/s390-64/configure.ac: ... this ...
5508 * sysdeps/s390/configure.ac: ... to here.
5509 * sysdeps/s390/s390-32/configure: Delete file.
5510 * sysdeps/s390/s390-64/configure: Delete file.
5511 * sysdeps/s390/configure: Regenerate.
5513 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5515 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5517 2014-04-11 Will Newton <will.newton@linaro.org>
5519 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5520 to zero if it is not defined elsewhere. (mtrim): Test
5521 the value of MALLOC_DEBUG with #if rather than #ifdef.
5523 2014-04-10 Torvald Riegel <triegel@redhat.com>
5525 * benchtests/pthread_once-inputs: New file.
5526 * benchtests/pthread_once-source.c: New file.
5527 * benchtests/README: Update documentation.
5529 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5530 H.J. Lu <hongjiu.lu@intel.com>
5532 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5533 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5534 * sysdeps/x86_64/configure: Regenerated.
5535 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5537 (REGISTER_SAVE_RAX): Likewise.
5538 (REGISTER_SAVE_RCX): Likewise.
5539 (REGISTER_SAVE_RDX): Likewise.
5540 (REGISTER_SAVE_RSI): Likewise.
5541 (REGISTER_SAVE_RDI): Likewise.
5542 (REGISTER_SAVE_R8): Likewise.
5543 (REGISTER_SAVE_R9): Likewise.
5544 (REGISTER_SAVE_BND0): Likewise.
5545 (REGISTER_SAVE_BND1): Likewise.
5546 (REGISTER_SAVE_BND2): Likewise.
5547 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5548 bound registers when calling _dl_fixup.
5550 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5552 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5553 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5555 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5556 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5557 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5558 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5559 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5560 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5561 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5563 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5566 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5567 pathconf(_PC_NAME_MAX).
5569 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5571 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5573 (__PTHREAD_SPINS): Move definition to ...
5574 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5575 (__PTHREAD_SPINS): ... here.
5576 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5577 (__PTHREAD_SPIN): Likewise.
5578 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5579 (__PTHREAD_SPIN): Likewise.
5580 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5581 (__PTHREAD_SPIN): Likewise.
5582 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5583 (__PTHREAD_SPIN): Likewise.
5584 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5585 (__PTHREAD_SPIN): Likewise.
5586 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5587 (__PTHREAD_SPIN): Likewise.
5588 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5589 (__PTHREAD_SPIN): Likewise.
5590 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5591 (__PTHREAD_SPIN): Likewise.
5592 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5593 (__PTHREAD_SPIN): Likewise.
5594 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5595 (__PTHREAD_SPIN): Likewise.
5596 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5597 (__PTHREAD_SPIN): Likewise.
5598 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5599 (__PTHREAD_SPIN): Likewise.
5601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5602 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5603 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5606 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5607 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5608 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5609 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5611 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5612 strlen symbol for non multi-arch builds.
5613 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5614 missing hidden_def and weak_alias.
5616 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5618 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5620 2014-04-07 Will Newton <will.newton@linaro.org>
5622 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5623 and contents. [!_LIBC] Remove #ifndef and contents.
5624 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5625 * string/memccpy.c (__memccpy): Use ANSI prototype.
5626 * string/memfrob.c (memfrob): Likewise.
5627 * string/strcoll.c (STRCOLL): Likewise.
5628 * string/strlen.c (strlen): Likewise.
5629 * string/strtok.c (STRTOK): Likewise.
5630 * string/strcat.c: Remove unused #include of memcopy.h.
5631 (strcat): Use ANSI prototype.
5632 * string/strchr.c: Remove unused #include of memcopy.h.
5633 (strchr): Use ANSI prototype.
5634 * string/strcmp.c: Remove unused #include of memcopy.h.
5635 (strcmp): Use ANSI prototype.
5636 * string/strcpy.c: Remove unused #include of memcopy.h.
5637 (strcpy): Use ANSI prototype.
5639 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5642 * config.make.in (config-extra-cppflags): Set it from
5643 libc_extra_cppflags.
5644 * configure.ac (libc_extra_cflags): Make it accumulate over
5645 configure fragments.
5646 (libc_extra_cppflags): New flag.
5647 * configure. Regenerate.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5649 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5650 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5654 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5655 result for FE_DOWNWARD rounding mode.
5656 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5660 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5662 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5663 in function argument name.
5665 2014-04-03 David Svoboda <svoboda@cert.org>
5668 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5671 2014-04-03 Roland McGrath <roland@hack.frob.com>
5673 * elf/dl-unmap-segments.h: New file.
5674 * sysdeps/generic/ldsodefs.h
5675 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5676 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5677 * elf/dl-fptr.c: Likewise.
5678 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5679 * sysdeps/aarch64/tlsdesc.c: Likewise.
5680 * sysdeps/arm/tlsdesc.c: Likewise.
5681 * sysdeps/i386/tlsdesc.c: Likewise.
5682 * sysdeps/tile/dl-runtime.c: Likewise.
5683 * sysdeps/x86_64/tlsdesc.c: Likewise.
5684 * elf/dl-load.h: New file.
5685 * elf/dl-load.c: Include it.
5686 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5687 Macros moved to dl-load.h.
5688 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5689 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5690 Use _dl_unmap_segments in place of __munmap.
5691 Break out segment-mapping loop into ...
5692 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5694 2014-04-03 Will Newton <will.newton@linaro.org>
5696 * elf/dl-lookup.c (do_lookup_x): Remove comment
5697 referring to nested function and move variable
5698 declarations down to before first use.
5700 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5704 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5706 * math/s_catanf.c (__catanf): Likewise.
5707 * math/s_catanh.c (__catanh): Likewise.
5708 * math/s_catanhf.c (__catanhf): Likewise.
5709 * math/s_catanhl.c (__catanhl): Likewise.
5710 * math/s_catanl.c (__catanl): Likewise.
5711 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5712 by positive zero when computing -Inf result.
5713 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5714 (catanh_test): Likewise.
5715 * sysdeps/i386/fpu/libm-test-ulps: Update.
5716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5719 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5720 instead of using underflowing value in computing result.
5721 * math/s_clog10.c (__clog10): Likewise.
5722 * math/s_clog10f.c (__clog10f): Likewise.
5723 * math/s_clog10l.c (__clog10l): Likewise.
5724 * math/s_clogf.c (__clogf): Likewise.
5725 * math/s_clogl.c (__clogl): Likewise.
5726 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5727 (clog10_test): Likewise.
5728 * sysdeps/i386/fpu/libm-test-ulps: Update.
5729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5731 2014-04-02 Alan Modra <amodra@gmail.com>
5734 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5735 output when value is near a power of two. Use int64_t for lx and
5736 remove casts. Use decimal rather than hex exponent constants.
5737 Don't use long double multiplication when double will suffice.
5738 * math/libm-test.inc (nextafter_test_data): Add tests.
5739 * NEWS: Add 16739 and 16786 to bug list.
5741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5743 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5745 2014-04-01 Will Newton <will.newton@linaro.org>
5747 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5748 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5750 2014-04-01 Florian Weimer <fweimer@redhat.com>
5753 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5754 * nptl/tst-setuid2.c: New file.
5755 * nptl/Makefile (xtests): Add tst-setuid2.
5757 2014-04-01 Alan Modra <amodra@gmail.com>
5760 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5762 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5766 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5767 set errno as appropriate.
5768 * math/w_scalbf.c (__scalbf): Likewise.
5769 * math/w_scalbl.c (__scalbl): Likewise.
5770 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5771 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5772 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5776 * math/w_atan2.c: Include <errno.h>.
5777 (__atan2): Set errno for result underflowing to zero.
5778 * math/w_atan2f.c: Include <errno.h>.
5779 (__atan2f): Set errno for result underflowing to zero.
5780 * math/w_atan2l.c: Include <errno.h>.
5781 (__atan2l): Set errno for result underflowing to zero.
5782 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5784 * math/auto-libm-test-out: Regenerated.
5786 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5788 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5789 Encode instruction correctly in little endian.
5790 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5792 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5794 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5796 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5799 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5802 * sysdeps/unix/sysv/linux/kernel-features.h
5803 [__sparc__ && !__arch64__ && !__sparc_v9__]
5804 (__ASSUME_SET_ROBUST_LIST): Do not define.
5805 [__sparc__ && !__arch64__ && !__sparc_v9__]
5806 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5807 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5809 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5810 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5811 (__ASSUME_REQUEUE_PI): Likewise.
5812 (__ASSUME_SET_ROBUST_LIST): Likewise.
5813 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5814 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5816 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5817 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5819 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5821 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5823 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5824 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5826 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5827 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5831 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5832 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5833 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5835 2014-03-31 Will Newton <will.newton@linaro.org>
5837 * benchtests/Makefile (bench): Add ffs and ffsll to list
5839 * benchtests/ffs-inputs: New file.
5840 * benchtests/ffsll-inputs: Likewise.
5842 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5845 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5846 too large before casting to int.
5847 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5848 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5849 * math/libm-test.inc (scalb_test_data): Add more tests.
5851 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5853 * benchtests/Makefile (DETAILED_OPT): New make option.
5854 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5856 * benchtests/bench-skeleton.c: Include stdbool.h.
5857 (main): Store and print timings per input.
5858 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5859 member to each argument value.
5860 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5861 (_print_arg_data): Initialize per-input timing to 0.
5863 * benchtests/Makefile (timing-type): New binary.
5864 (bench-clean): Also remove bench-timing-type.
5865 (bench): New target for timing-type.
5866 (bench-func): Print output in JSON format.
5867 * benchtests/bench-skeleton.c (main): Print output in JSON
5869 * benchtests/bench-timing-type.c: New file.
5870 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5871 (TIMING_PRINT_STATS): Remove.
5872 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5875 * benchtests/bench-modf.c: Remove.
5876 * benchtests/modf-inputs: New inputs file.
5878 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5881 * math/s_clog10.c (M_PI_LOG10E): New macro.
5882 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5883 imaginary parts are 0.
5884 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5885 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5886 imaginary parts are 0.
5887 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5888 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5889 imaginary parts are 0.
5890 * math/libm-test.inc (clog10_test_data): Update expected results
5891 for when real and imaginary parts are 0.
5893 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5895 * elf/dl-load.c: Finish conversion of __builtin_expect into
5898 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5901 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5902 1+x for argument with exponent below -67.
5903 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5905 * math/auto-libm-test-in: Add more tests of exp.
5906 * math/auto-libm-test-out: Regenerated.
5908 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5911 * inet/getnetgrent_r.c (get_nonempty_val): New function.
5912 (nscd_getnetgrent): Use it.
5915 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5918 2014-03-27 Andi Kleen <ak@linux.intel.com>
5920 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5921 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5922 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5923 (lll_robust_unlock): Remove out of line section. Use cfi
5925 (LLL_STUB_UNWIND_INFO*): Remove.
5926 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5927 (lll_robust_lock, lll_cond_lock, lll_timedlock)
5928 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5929 (lll_robust_unlock): Remove out of line section. Use cfi
5931 (LLL_STUB_UNWIND_INFO*): Remove.
5933 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5936 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5939 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
5941 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5943 2014-03-26 Joseph Myers <joseph@codesourcery.com>
5946 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5948 * math/test-fenv-preserve.c: New file.
5949 * math/Makefile (tests): Add test-fenv-preserve.
5951 2014-03-26 Will Newton <will.newton@linaro.org>
5953 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5955 2014-03-25 Roland McGrath <roland@hack.frob.com>
5957 * scripts/versionlist.awk: Partition the version sets and emit all
5958 GLIBC_* (sorted) before all others (sorted).
5960 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5962 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5963 GLIBC_2.2.5 version.
5965 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5967 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5970 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5973 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5975 2014-03-25 Andreas Schwab <schwab@suse.de>
5977 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5978 label to be used after in6ailist is initialized.
5980 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5982 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5983 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5985 2014-03-25 Joseph Myers <joseph@codesourcery.com>
5989 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5991 (fp_formats): Update initializers.
5992 (init_fp_formats): Initialize new field.
5993 (output_for_one_input_case): Allow underflow for results up to
5995 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5996 * math/auto-libm-test-in: Don't mark some underflows from asin and
5998 * math/auto-libm-test-out: Regenerated.
5999 * sysdeps/i386/fpu/libm-test-ulps: Update.
6000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6002 2014-03-25 Andreas Schwab <schwab@suse.de>
6004 * libio/Makefile (tst-ftell-partial-wide-ENV)
6005 (tst-ftell-active-handler-ENV): Define.
6007 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6009 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6011 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6013 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6015 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6017 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6018 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6019 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6021 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6024 * elf/dl-load.c (open_verify): Add mode parameter.
6025 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6026 (open_path): Change from boolean 'secure' to complete flag 'mode'
6027 (_dl_map_object): Adjust.
6028 * elf/Makefile (tests): Add tst-dlopen-aout.
6029 * elf/tst-dlopen-aout.c: New test.
6031 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6034 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6035 (struct stat): Rename member pad0 to __glibc_reserved0.
6038 * sysdeps/s390/s390-32/bits/wordsize.h
6039 (__WORDSIZE32_SIZE_ULONG): New define.
6040 * sysdeps/s390/s390-64/bits/wordsize.h
6041 (__WORDSIZE32_SIZE_ULONG): Likewise.
6042 * sysdeps/generic/stdint.h (SIZE_MAX):
6043 Define as UL if __WORDSIZE32_SIZE_ULONG.
6046 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6047 (__glibc_reserved0): New variable.
6048 (sa_flags): Change type to int.
6050 * posix/Makefile (before-compile): Use += before-compile instead
6053 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6054 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6056 2014-03-20 Andreas Schwab <schwab@suse.de>
6059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6060 non-matching result from nscd.
6062 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6064 * scripts/bench.py: Moved to ...
6065 * benchtests/scripts/bench.py: ... here.
6066 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6068 2014-03-24 Andreas Schwab <schwab@suse.de>
6071 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6072 alloca_account and account alloca use for struct in6ailist.
6074 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6077 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6078 rounding mode to recompute results that overflow to infinity or
6080 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6082 * math/auto-libm-test-out: Regenerated.
6083 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6084 (ccosh_test): Likewise.
6085 (csin_test_data): Use plus_oflow.
6086 (csin_test): Use ALL_RM_TEST.
6087 (csinh_test_data): Use plus_oflow.
6088 (csinh_test): Use ALL_RM_TEST.
6089 * sysdeps/i386/fpu/libm-test-ulps: Update.
6090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6092 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6094 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6095 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6096 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6099 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6101 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6102 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6103 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6106 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6107 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6109 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6110 * sysdeps/i386/fpu/libm-test-ulps: Update.
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6113 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6115 * scripts/bench.pl: Remove file.
6116 * scripts/bench.py: New benchmark script.
6117 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6118 * benchtests/README: Mention python dependency.
6119 * scripts/pylintrc: New file.
6120 * scripts/pylint: New file.
6122 * bits/mathdef.h: Use #ifdef instead of #if.
6123 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6124 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6125 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6126 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6127 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6128 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6130 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6133 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6135 and strpbrk-ppc64 objects.
6136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6137 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6138 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6139 multiarch strpbrk for POWER7.
6140 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6141 multiarch strpbrk for PPC64.
6142 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6144 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6147 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6149 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6150 (atan_test): Likewise.
6151 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6152 (atanh_test): Use ALL_RM_TEST.
6153 (atan2_test_data): Likewise.
6154 (cabs_test): Likewise.
6155 (cacosh_test): Likewise.
6156 (carg_test): Likewise.
6157 (casin_test): Likewise.
6158 (casinh_test): Likewise.
6159 (cbrt_test): Likewise.
6160 (csqrt_test): Likewise.
6161 (erf_test): Likewise.
6162 (erfc_test): Likewise.
6163 (pow10_test): Likewise.
6164 (exp2_test): Likewise.
6165 (hypot_test): Likewise.
6166 (j0_test): Likewise.
6167 (j1_test): Likewise.
6168 (lgamma_test): Likewise.
6169 (gamma_test): Likewise.
6170 (sincos_test): Likewise.
6171 (tanh_test): Likewise.
6172 (y0_test): Likewise.
6173 (y1_test): Likewise.
6174 * sysdeps/i386/fpu/libm-test-ulps: Update.
6175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6177 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6179 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6181 and strcspn-ppc64 objects.
6182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6183 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6184 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6185 multiarch strcspn for POWER7.
6186 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6187 multiarch strcspn for PPC64.
6188 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6190 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6193 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6195 * math/gen-libm-test.pl (generate_testfile): Expect only function
6196 name as argument to AUTO_TESTS_* and pass results for all rounding
6197 modes to parse_args.
6198 (parse_auto_input): Separate inputs of automatic tests from
6199 outputs before storing in %auto_tests.
6200 * math/libm-test.inc (acos_test_data): Update call to
6202 (acos_test): Use ALL_RM_TEST.
6203 (acos_tonearest_test_data): Remove.
6204 (acos_test_tonearest): Likewise.
6205 (acos_towardzero_test_data): Likewise.
6206 (acos_test_towardzero): Likewise.
6207 (acos_downward_test_data): Likewise.
6208 (acos_test_downward): Likewise.
6209 (acos_upward_test_data): Likewise.
6210 (acos_test_upward): Likewise.
6211 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6212 (asin_test_data): Likewise.
6213 (asin_test): Use ALL_RM_TEST.
6214 (asin_tonearest_test_data): Remove.
6215 (asin_test_tonearest): Likewise.
6216 (asin_towardzero_test_data): Likewise.
6217 (asin_test_towardzero): Likewise.
6218 (asin_downward_test_data): Likewise.
6219 (asin_test_downward): Likewise.
6220 (asin_upward_test_data): Likewise.
6221 (asin_test_upward): Likewise.
6222 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6223 (atan_test_data): Likewise.
6224 (atanh_test_data): Likewise.
6225 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6226 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6227 (carg_test_data): Likewise.
6228 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6229 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6230 (ccosh_test_data): Likewise.
6231 (cexp_test_data): Likewise.
6232 (clog_test_data): Likewise.
6233 (clog10_test_data): Likewise.
6234 (cos_test_data): Update call to AUTO_TESTS_f_f.
6235 (cos_test): Use ALL_RM_TEST.
6236 (cos_tonearest_test_data): Remove.
6237 (cos_test_tonearest): Likewise.
6238 (cos_towardzero_test_data): Likewise.
6239 (cos_test_towardzero): Likewise.
6240 (cos_downward_test_data): Likewise.
6241 (cos_test_downward): Likewise.
6242 (cos_upward_test_data): Likewise.
6243 (cos_test_upward): Likewise.
6244 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6245 (cosh_test): Use ALL_RM_TEST.
6246 (cosh_tonearest_test_data): Remove.
6247 (cosh_test_tonearest): Likewise.
6248 (cosh_towardzero_test_data): Likewise.
6249 (cosh_test_towardzero): Likewise.
6250 (cosh_downward_test_data): Likewise.
6251 (cosh_test_downward): Likewise.
6252 (cosh_upward_test_data): Likewise.
6253 (cosh_test_upward): Likewise.
6254 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6255 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6256 (ctan_test_data): Likewise.
6257 (ctan_test): Use ALL_RM_TEST.
6258 (ctan_tonearest_test_data): Remove.
6259 (ctan_test_tonearest): Likewise.
6260 (ctan_towardzero_test_data): Likewise.
6261 (ctan_test_towardzero): Likewise.
6262 (ctan_downward_test_data): Likewise.
6263 (ctan_test_downward): Likewise.
6264 (ctan_upward_test_data): Likewise.
6265 (ctan_test_upward): Likewise.
6266 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6267 (ctanh_test): Use ALL_RM_TEST.
6268 (ctanh_tonearest_test_data): Remove.
6269 (ctanh_test_tonearest): Likewise.
6270 (ctanh_towardzero_test_data): Likewise.
6271 (ctanh_test_towardzero): Likewise.
6272 (ctanh_downward_test_data): Likewise.
6273 (ctanh_test_downward): Likewise.
6274 (ctanh_upward_test_data): Likewise.
6275 (ctanh_test_upward): Likewise.
6276 (erf_test_data): Update call to AUTO_TESTS_f_f.
6277 (erfc_test_data): Likewise.
6278 (exp_test_data): Likewise.
6279 (exp_test): Use ALL_RM_TEST.
6280 (exp_tonearest_test_data): Remove.
6281 (exp_test_tonearest): Likewise.
6282 (exp_towardzero_test_data): Likewise.
6283 (exp_test_towardzero): Likewise.
6284 (exp_downward_test_data): Likewise.
6285 (exp_test_downward): Likewise.
6286 (exp_upward_test_data): Likewise.
6287 (exp_test_upward): Likewise.
6288 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6289 (exp10_test): Use ALL_RM_TEST.
6290 (exp10_tonearest_test_data): Remove.
6291 (exp10_test_tonearest): Likewise.
6292 (exp10_towardzero_test_data): Likewise.
6293 (exp10_test_towardzero): Likewise.
6294 (exp10_downward_test_data): Likewise.
6295 (exp10_test_downward): Likewise.
6296 (exp10_upward_test_data): Likewise.
6297 (exp10_test_upward): Likewise.
6298 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6299 (expm1_test_data): Likewise.
6300 (expm1_test): Use ALL_RM_TEST.
6301 (expm1_tonearest_test_data): Remove.
6302 (expm1_test_tonearest): Likewise.
6303 (expm1_towardzero_test_data): Likewise.
6304 (expm1_test_towardzero): Likewise.
6305 (expm1_downward_test_data): Likewise.
6306 (expm1_test_downward): Likewise.
6307 (expm1_upward_test_data): Likewise.
6308 (expm1_test_upward): Likewise.
6309 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6310 (fma_test): Use ALL_RM_TEST.
6311 (fma_towardzero_test_data): Remove.
6312 (fma_test_towardzero): Likewise.
6313 (fma_downward_test_data): Likewise.
6314 (fma_test_downward): Likewise.
6315 (fma_upward_test_data): Likewise.
6316 (fma_test_upward): Likewise.
6317 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6318 (j0_test_data): Update call to AUTO_TESTS_f_f.
6319 (j1_test_data): Likewise.
6320 (jn_test_data): Update call to AUTO_TESTS_if_f.
6321 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6322 (log_test_data): Update call to AUTO_TESTS_f_f.
6323 (log10_test_data): Likewise.
6324 (log1p_test_data): Likewise.
6325 (log2_test_data): Likewise.
6326 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6327 (pow_tonearest_test_data): Likewise.
6328 (sin_test_data): Update call to AUTO_TESTS_f_f.
6329 (sin_test): Use ALL_RM_TEST.
6330 (sin_tonearest_test_data): Remove.
6331 (sin_test_tonearest): Likewise.
6332 (sin_towardzero_test_data): Likewise.
6333 (sin_test_towardzero): Likewise.
6334 (sin_downward_test_data): Likewise.
6335 (sin_test_downward): Likewise.
6336 (sin_upward_test_data): Likewise.
6337 (sin_test_upward): Likewise.
6338 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6339 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6340 (sinh_test): Use ALL_RM_TEST.
6341 (sinh_tonearest_test_data): Remove.
6342 (sinh_test_tonearest): Likewise.
6343 (sinh_towardzero_test_data): Likewise.
6344 (sinh_test_towardzero): Likewise.
6345 (sinh_downward_test_data): Likewise.
6346 (sinh_test_downward): Likewise.
6347 (sinh_upward_test_data): Likewise.
6348 (sinh_test_upward): Likewise.
6349 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6350 (sqrt_test): Use ALL_RM_TEST.
6351 (sqrt_tonearest_test_data): Remove.
6352 (sqrt_test_tonearest): Likewise.
6353 (sqrt_towardzero_test_data): Likewise.
6354 (sqrt_test_towardzero): Likewise.
6355 (sqrt_downward_test_data): Likewise.
6356 (sqrt_test_downward): Likewise.
6357 (sqrt_upward_test_data): Likewise.
6358 (sqrt_test_upward): Likewise.
6359 (tan_test_data): Update call to AUTO_TESTS_f_f.
6360 (tan_test): Use ALL_RM_TEST.
6361 (tan_tonearest_test_data): Remove.
6362 (tan_test_tonearest): Likewise.
6363 (tan_towardzero_test_data): Likewise.
6364 (tan_test_towardzero): Likewise.
6365 (tan_downward_test_data): Likewise.
6366 (tan_test_downward): Likewise.
6367 (tan_upward_test_data): Likewise.
6368 (tan_test_upward): Likewise.
6369 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6370 (tgamma_test_data): Likewise.
6371 (y0_test_data): Likewise.
6372 (y1_test_data): Likewise.
6373 (yn_test_data): Update call to AUTO_TESTS_if_f.
6374 (main): Do not call removed functions.
6376 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6378 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6379 (ldexp_test_data): Remove.
6380 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6382 (scalb_test): Use ALL_RM_TEST.
6384 2014-03-19 Andreas Schwab <schwab@suse.de>
6386 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6388 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6391 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6392 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6393 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6394 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6395 (__ASSUME_PREADV): Undefine.
6396 (__ASSUME_PWRITEV): Likewise.
6398 2014-03-18 Roland McGrath <roland@hack.frob.com>
6400 * bits/mman-linux.h: Add comment about non-Linux use.
6401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6402 bits/mman-linux.h resting place.
6404 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6405 * bits/mman-linux.h: ... here.
6407 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6409 * conform/conformtest.pl: Add standard definition when calling C
6410 preprocessor on data files.
6411 (checknamespace): Remove unused variable.
6413 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6415 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6416 minus_oflow, plus_uflow and minus_uflow in expected results.
6417 * math/libm-test.inc (scalbn_test_data): Add more tests of
6418 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6420 (scalbn_test): Use ALL_RM_TEST.
6421 (scalbln_test_data): Add more tests of negative arguments. Use
6422 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6423 (scalbln_test): Use ALL_RM_TEST.
6425 2014-03-18 Roland McGrath <roland@hack.frob.com>
6427 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6429 2014-03-18 Will Newton <will.newton@linaro.org>
6431 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6434 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6436 * Makerules [!subdir] (check-abi): Exit with error status if a
6439 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6441 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6442 for rint. Include results for all rounding modes.
6443 (nearbyint_test): Use ALL_RM_TEST.
6444 (rint_test_data): Include all tests used for nearbyint.
6446 2014-03-17 Will Newton <will.newton@linaro.org>
6448 * nptl/sysdeps/pthread/pthread.h: Revert previous
6451 * sysdeps/generic/ldsodefs.h: Revert previous
6454 * libio/genops.c: Revert previous change.
6455 * libio/libioP.h: Likewise.
6456 * stdio-common/vfprintf.c: Likewise.
6458 * sysdeps/generic/math_private.h: Revert previous
6461 * sysdeps/generic/math_private.h: Check whether
6462 HAVE_RM_CTX is defined with #ifdef rather
6465 * argp/argp-fmtstream.h: Check whether
6466 __STRICT_ANSI__ is defined with #ifdef rather
6468 * argp/argp.h: Likewise.
6470 * libio/genops.c: Check whether
6471 _IO_JUMPS_OFFSET is defined with #ifdef rather
6473 * libio/libioP.h: Likewise.
6474 * stdio-common/vfprintf.c: Likewise.
6476 * sysdeps/generic/ldsodefs.h: Check whether
6477 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6480 * nptl/sysdeps/pthread/pthread.h: Check
6481 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6484 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6486 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6488 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6492 * libio/fileops.c (_IO_file_open): Seek to end of file but
6493 don't cache the offset.
6494 (get_file_offset): Remove function.
6495 (do_ftell): Use cached offset when available.
6496 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6497 don't cache the offset.
6498 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6500 (do_one_test): Call it.
6501 (do_ftell_test): Fix up expected old offset for a+ mode.
6502 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6505 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6506 up test status with function return status.
6507 (do_write_test): Likewise.
6508 (do_append_test): Likewise.
6510 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6511 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6514 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6516 * math/gen-libm-test.pl (parse_args): Handle results specified for
6517 each rounding mode separately.
6518 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6519 tests and results from lrint_tonearest_test_data,
6520 lrint_towardzero_test_data, lrint_downward_test_data and
6521 lrint_upward_test_data.
6522 (lrint_test): Use ALL_RM_TEST.
6523 (lrint_tonearest_test_data): Remove.
6524 (lrint_test_tonearest): Likewise.
6525 (lrint_towardzero_test_data): Likewise.
6526 (lrint_test_towardzero): Likewise.
6527 (lrint_downward_test_data): Likewise.
6528 (lrint_test_downward): Likewise.
6529 (lrint_upward_test_data): Likewise.
6530 (lrint_test_upward): Likewise.
6531 (llrint_test_data): Merge in per-rounding-mode tests and results
6532 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6533 llrint_downward_test_data and llrint_upward_test_data.
6534 (llrint_test): Use ALL_RM_TEST.
6535 (llrint_tonearest_test_data): Remove.
6536 (llrint_test_tonearest): Likewise.
6537 (llrint_towardzero_test_data): Likewise.
6538 (llrint_test_towardzero): Likewise.
6539 (llrint_downward_test_data): Likewise.
6540 (llrint_test_downward): Likewise.
6541 (llrint_upward_test_data): Likewise.
6542 (llrint_test_upward): Likewise.
6543 (rint_test_data): Merge in per-rounding-mode tests and results
6544 from rint_tonearest_test_data, rint_towardzero_test_data,
6545 rint_downward_test_data and rint_upward_test_data. Add
6546 per-rounding-mode results for tests not in those arrays.
6547 (rint_test): Use ALL_RM_TEST.
6548 (rint_tonearest_test_data): Remove.
6549 (rint_test_tonearest): Likewise.
6550 (rint_towardzero_test_data): Likewise.
6551 (rint_test_towardzero): Likewise.
6552 (rint_downward_test_data): Likewise.
6553 (rint_test_downward): Likewise.
6554 (rint_upward_test_data): Likewise.
6555 (rint_test_upward): Likewise.
6556 (main): Don't call removed functions.
6558 2014-03-14 Roland McGrath <roland@hack.frob.com>
6560 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6561 "Compiled on ..." crapola. It is anti-useful.
6563 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6565 * scripts/evaluate-test.sh: Handle fourth argument to determine
6566 whether test run should stop on failure.
6567 * Makeconfig (stop-on-test-failure): New variable.
6568 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6569 $(stop-on-test-failure).
6570 * Makefile (tests): Give a summary of results from testing and
6571 exit with failure status if they include an ERROR or FAIL.
6573 * manual/install.texi (Configuring and compiling): Mention
6574 stop-on-test-failure=y.
6575 * INSTALL: Regenerated.
6577 2014-03-14 Roland McGrath <roland@hack.frob.com>
6579 * scripts/versionlist.awk: New file.
6580 * Makerules [$(build-shared) = yes]
6581 (postclean-generated): Add Versions.def, not Versions.def.v and
6583 ($(common-objpfx)Versions.def.v.i): Target removed.
6584 ($(common-objpfx)Versions.def): New target.
6585 ($(common-objpfx)Versions.all): Depend on that rather that
6586 $(common-objpfx)Versions.def.v.
6587 * Versions.def: File removed.
6589 * Makeconfig (+gccwarn): Add -Wundef.
6590 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6591 a dl-sysdep.h breaking its contract.
6592 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6593 * include/stackinfo.h: New file.
6594 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6595 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6596 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6597 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6598 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6599 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6600 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6601 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6602 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6603 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6604 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6605 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6606 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6607 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6608 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6610 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6613 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6615 * math/libm-test.inc (round_test_data): Add more tests.
6618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6620 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6623 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6625 * math/libm-test.inc (ceil_test_data): Add more tests.
6627 * math/libm-test.inc (trunc_test_data): Add more tests related to
6630 2014-03-14 Roland McGrath <roland@hack.frob.com>
6632 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6633 with #if rather than #ifdef.
6634 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6636 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6638 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6639 first. Disable AVX-512 GCC support if assembler doesn't support
6641 * sysdeps/x86_64/configure: Regenerated.
6643 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6645 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6646 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6647 (__old_pthread_attr_setstack): Likewise.
6648 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6649 [!_STACK_GROWS_DOWN]: Likewise.
6651 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6653 * config.make.in (have-bash2): Delete.
6654 * configure.ac (libc_cv_have_bash2): Delete.
6655 * configure: Regenerate.
6656 * elf/Makefile (common-ldd-rewrite): Rename to ...
6657 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6658 (sh-ldd-rewrite): Delete.
6659 (bash-ldd-rewrite): Delete.
6660 (have-bash2): Delete checks.
6661 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6664 * config.make.in (have-ksh): Delete.
6666 * configure.ac (libc_cv_have_ksh): Delete.
6667 * configure: Regenerate.
6669 * elf/Makefile: Delete $(have-ksh) check.
6670 ($(objpfx)sotruss): Change KSH to BASH.
6671 * elf/sotruss.ksh: Rename to ...
6672 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6673 function style to match POSIX. Drop ksh vim mode setting.
6675 * manual/time.texi (Specifying the Time Zone with TZ): Change
6676 Tuesday to Thursday.
6678 * debug/tst-longjmp_chk2.c: Update header comment.
6679 (stackoverflow_handler): Add comment. Call assert on pass value.
6681 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6683 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6684 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6685 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6686 (La_x86_64_vector): Add zmm.
6687 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6688 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6689 ($(objpfx)tst-audit10): New target.
6690 ($(objpfx)tst-audit10.out): Likewise.
6691 (tst-audit10-ENV): New.
6692 (AVX512-CFLAGS): Likewise.
6693 (CFLAGS-tst-audit10.c): Likewise.
6694 (CFLAGS-tst-auditmod10a.c): Likewise.
6695 (CFLAGS-tst-auditmod10b.c): Likewise.
6696 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6697 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6698 * sysdeps/x86_64/configure: Regenerated.
6699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6700 AVX-512 zmm register support.
6701 (_dl_x86_64_save_sse): Likewise.
6702 (_dl_x86_64_restore_sse): Likewise.
6703 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6704 size vector registers.
6705 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6706 (ZMM_SIZE): Likewise.
6707 * sysdeps/x86_64/tst-audit10.c: New file.
6708 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6709 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6711 2014-03-13 Roland McGrath <roland@hack.frob.com>
6713 * configure.ac (HAVE_EHDR_START): New check.
6714 * configure: Regenerated.
6715 * config.h.in (HAVE_EHDR_START): New #undef.
6716 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6717 assuming the lowest-addressed segment maps the start of the file.
6719 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6721 * INSTALL: Regenerated.
6723 2014-03-13 Will Newton <will.newton@linaro.org>
6725 * manual/setjmp.texi (System V contexts): Improve
6726 clarity and grammar of documentation.
6728 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6731 * elf/Makefile (tests): Add tst-pie2.
6732 (tests-pie): Add tst-pie2.
6733 * elf/tst-pie2.c: New file.
6734 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6736 * elf/rtld.c (map_doit): Load executable as lt_executable.
6737 (dl_main): Likewise.
6739 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6742 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6743 (__ASSUME_PSELECT): Undefine.
6745 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6749 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6751 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6752 selector for static builds.
6754 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6757 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6760 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6762 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6763 IFUNC selector for static builds.
6765 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6767 * sysdeps/mips/math_private.h [__mips_hard_float]
6768 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6769 libc_feresetround_mips_ctx.
6770 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6771 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6772 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6775 * math/s_nextafter.c (__nextafter): Do not return value from
6776 overflowing computation.
6777 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6778 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6779 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6781 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6783 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6784 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6786 2014-03-11 Roland McGrath <roland@hack.frob.com>
6788 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6789 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6790 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6791 the new mov targetting sp.
6793 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6796 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6797 Define it for static builds as well.
6798 (NO_BZERO_IMPL): Likewise.
6800 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6802 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6803 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6804 multiarch strspn for PPC64.
6805 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6806 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6808 (__libc_ifunc_impl_list): Likewise.
6809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6810 multiarch optimizations
6811 * string/strspn.c (strspn): Using macro to redefine symbol name.
6813 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6814 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6816 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6817 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6818 multiarch strncat for PPC64.
6819 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6820 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6822 (__libc_ifunc_impl_list): Likewise.
6823 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6824 multiarch optimizations
6826 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6829 * nscd/nscd.service: Make service type forking.
6831 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6833 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6834 sign in non default rounding modes.
6835 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6837 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6839 * math/libm-test.inc (ALL_RM_TEST): New macro.
6840 (ceil_test): Use ALL_RM_TEST.
6841 (cimag_test): Likewise.
6842 (conj_test): Likewise.
6843 (copysign_test): Likewise.
6844 (cproj_test): Likewise.
6845 (creal_test): Likewise.
6846 (fabs_test): Likewise.
6847 (floor_test): Likewise.
6848 (fmax_test): Likewise.
6849 (fmin_test): Likewise.
6850 (fmod_test): Likewise.
6851 (fpclassify_test): Likewise.
6852 (frexp_test): Likewise.
6853 (ilogb_test): Likewise.
6854 (isfinite_test): Likewise.
6855 (finite_test): Likewise.
6856 (isgreater_test): Likewise.
6857 (isgreaterequal_test): Likewise.
6858 (isinf_test): Likewise.
6859 (isless_test): Likewise.
6860 (islessequal_test): Likewise.
6861 (islessgreater_test): Likewise.
6862 (isnan_test): Likewise.
6863 (isnormal_test): Likewise.
6864 (issignaling_test): Likewise.
6865 (isunordered_test): Likewise.
6866 (logb_test): Likewise.
6867 (logb_downward_test_data): Remove.
6868 (logb_test_downward): Likewise.
6869 (lround_test): Use ALL_RM_TEST.
6870 (llround_test): Likewise.
6871 (modf_test): Likewise.
6872 (nexttoward_test): Likewise.
6873 (remainder_test): Likewise.
6874 (drem_test): Likewise.
6875 (remainder_tonearest_test_data): Likewise.
6876 (remainder_test_tonearest): Likewise.
6877 (drem_test_tonearest): Likewise.
6878 (remainder_towardzero_test_data): Likewise.
6879 (remainder_test_towardzero): Likewise.
6880 (drem_test_towardzero): Likewise.
6881 (remainder_downward_test_data): Likewise.
6882 (remainder_test_downward): Likewise.
6883 (drem_test_downward): Likewise.
6884 (remainder_upward_test_data): Likewise.
6885 (remainder_test_upward): Likewise.
6886 (drem_test_upward): Likewise.
6887 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6888 (round_test): Use ALL_RM_TEST.
6889 (signbit_test): Likewise.
6890 (trunc_test): Likewise.
6891 (significand_test): Likewise.
6892 (main): Don't call removed functions.
6894 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6897 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6899 (ILL_ILLOPN): Likewise.
6900 (ILL_ILLADR): Likewise.
6901 (ILL_ILLTRP): Likewise.
6902 (ILL_PRVOPC): Likewise.
6903 (ILL_PRVREG): Likewise.
6904 (ILL_COPROC): Likewise.
6905 (ILL_BADSTK): Likewise.
6906 (FPE_INTDIV): Likewise.
6907 (FPE_INTOVF): Likewise.
6908 (FPE_FLTDIV): Likewise.
6909 (FPE_FLTOVF): Likewise.
6910 (FPE_FLTUND): Likewise.
6911 (FPE_FLTRES): Likewise.
6912 (FPE_FLTINV): Likewise.
6913 (FPE_FLTSUB): Likewise.
6914 (SEGV_MAPERR): Likewise.
6915 (SEGV_ACCERR): Likewise.
6916 (BUS_ADRALN): Likewise.
6917 (BUS_ADRERR): Likewise.
6918 (BUS_OBJERR): Likewise.
6919 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6920 (TRAP_TRACE): Likewise.
6921 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6923 (CLD_KILLED): Likewise.
6924 (CLD_DUMPED): Likewise.
6925 (CLD_TRAPPED): Likewise.
6926 (CLD_STOPPED): Likewise.
6927 (CLD_CONTINUED): Likewise.
6928 (POLL_IN): Likewise.
6929 (POLL_OUT): Likewise.
6930 (POLL_MSG): Likewise.
6931 (POLL_ERR): Likewise.
6932 (POLL_PRI): Likewise.
6933 (POLL_HUP): Likewise.
6934 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6936 (ILL_ILLOPN): Likewise.
6937 (ILL_ILLADR): Likewise.
6938 (ILL_ILLTRP): Likewise.
6939 (ILL_PRVOPC): Likewise.
6940 (ILL_PRVREG): Likewise.
6941 (ILL_COPROC): Likewise.
6942 (ILL_BADSTK): Likewise.
6943 (FPE_INTDIV): Likewise.
6944 (FPE_INTOVF): Likewise.
6945 (FPE_FLTDIV): Likewise.
6946 (FPE_FLTOVF): Likewise.
6947 (FPE_FLTUND): Likewise.
6948 (FPE_FLTRES): Likewise.
6949 (FPE_FLTINV): Likewise.
6950 (FPE_FLTSUB): Likewise.
6951 (SEGV_MAPERR): Likewise.
6952 (SEGV_ACCERR): Likewise.
6953 (BUS_ADRALN): Likewise.
6954 (BUS_ADRERR): Likewise.
6955 (BUS_OBJERR): Likewise.
6956 (BUS_MCEERR_AR): Likewise.
6957 (BUS_MCEERR_AO): Likewise.
6958 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6959 (TRAP_TRACE): Likewise.
6960 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6962 (CLD_KILLED): Likewise.
6963 (CLD_DUMPED): Likewise.
6964 (CLD_TRAPPED): Likewise.
6965 (CLD_STOPPED): Likewise.
6966 (CLD_CONTINUED): Likewise.
6967 (POLL_IN): Likewise.
6968 (POLL_OUT): Likewise.
6969 (POLL_MSG): Likewise.
6970 (POLL_ERR): Likewise.
6971 (POLL_PRI): Likewise.
6972 (POLL_HUP): Likewise.
6973 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6974 (ILL_ILLOPN): Likewise.
6975 (ILL_ILLADR): Likewise.
6976 (ILL_ILLTRP): Likewise.
6977 (ILL_PRVOPC): Likewise.
6978 (ILL_PRVREG): Likewise.
6979 (ILL_COPROC): Likewise.
6980 (ILL_BADSTK): Likewise.
6981 (FPE_INTDIV): Likewise.
6982 (FPE_INTOVF): Likewise.
6983 (FPE_FLTDIV): Likewise.
6984 (FPE_FLTOVF): Likewise.
6985 (FPE_FLTUND): Likewise.
6986 (FPE_FLTRES): Likewise.
6987 (FPE_FLTINV): Likewise.
6988 (FPE_FLTSUB): Likewise.
6989 (SEGV_MAPERR): Likewise.
6990 (SEGV_ACCERR): Likewise.
6991 (BUS_ADRALN): Likewise.
6992 (BUS_ADRERR): Likewise.
6993 (BUS_OBJERR): Likewise.
6994 (BUS_MCEERR_AR): Likewise.
6995 (BUS_MCEERR_AO): Likewise.
6996 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6997 (TRAP_TRACE): Likewise.
6998 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7000 (CLD_KILLED): Likewise.
7001 (CLD_DUMPED): Likewise.
7002 (CLD_TRAPPED): Likewise.
7003 (CLD_STOPPED): Likewise.
7004 (CLD_CONTINUED): Likewise.
7005 (POLL_IN): Likewise.
7006 (POLL_OUT): Likewise.
7007 (POLL_MSG): Likewise.
7008 (POLL_ERR): Likewise.
7009 (POLL_PRI): Likewise.
7010 (POLL_HUP): Likewise.
7011 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7013 (ILL_ILLOPN): Likewise.
7014 (ILL_ILLADR): Likewise.
7015 (ILL_ILLTRP): Likewise.
7016 (ILL_PRVOPC): Likewise.
7017 (ILL_PRVREG): Likewise.
7018 (ILL_COPROC): Likewise.
7019 (ILL_BADSTK): Likewise.
7020 (ILL_BADIADDR): Likewise.
7021 (ILL_BREAK): Likewise.
7022 (FPE_INTDIV): Likewise.
7023 (FPE_INTOVF): Likewise.
7024 (FPE_FLTDIV): Likewise.
7025 (FPE_FLTOVF): Likewise.
7026 (FPE_FLTUND): Likewise.
7027 (FPE_FLTRES): Likewise.
7028 (FPE_FLTINV): Likewise.
7029 (FPE_FLTSUB): Likewise.
7030 (FPE_DECOVF): Likewise.
7031 (FPE_DECDIV): Likewise.
7032 (FPE_DECERR): Likewise.
7033 (FPE_INVASC): Likewise.
7034 (FPE_INVDEC): Likewise.
7035 (SEGV_MAPERR): Likewise.
7036 (SEGV_ACCERR): Likewise.
7037 (SEGV_PSTKOVF): Likewise.
7038 (BUS_ADRALN): Likewise.
7039 (BUS_ADRERR): Likewise.
7040 (BUS_OBJERR): Likewise.
7041 (BUS_MCEERR_AR): Likewise.
7042 (BUS_MCEERR_AO): Likewise.
7043 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7044 (TRAP_TRACE): Likewise.
7045 (TRAP_BRANCH): Likewise.
7046 (TRAP_HWBKPT): Likewise.
7047 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7049 (CLD_KILLED): Likewise.
7050 (CLD_DUMPED): Likewise.
7051 (CLD_TRAPPED): Likewise.
7052 (CLD_STOPPED): Likewise.
7053 (CLD_CONTINUED): Likewise.
7054 (POLL_IN): Likewise.
7055 (POLL_OUT): Likewise.
7056 (POLL_MSG): Likewise.
7057 (POLL_ERR): Likewise.
7058 (POLL_PRI): Likewise.
7059 (POLL_HUP): Likewise.
7060 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7061 (ILL_ILLOPN): Likewise.
7062 (ILL_ILLADR): Likewise.
7063 (ILL_ILLTRP): Likewise.
7064 (ILL_PRVOPC): Likewise.
7065 (ILL_PRVREG): Likewise.
7066 (ILL_COPROC): Likewise.
7067 (ILL_BADSTK): Likewise.
7068 (FPE_INTDIV): Likewise.
7069 (FPE_INTOVF): Likewise.
7070 (FPE_FLTDIV): Likewise.
7071 (FPE_FLTOVF): Likewise.
7072 (FPE_FLTUND): Likewise.
7073 (FPE_FLTRES): Likewise.
7074 (FPE_FLTINV): Likewise.
7075 (FPE_FLTSUB): Likewise.
7076 (SEGV_MAPERR): Likewise.
7077 (SEGV_ACCERR): Likewise.
7078 (BUS_ADRALN): Likewise.
7079 (BUS_ADRERR): Likewise.
7080 (BUS_OBJERR): Likewise.
7081 (BUS_MCEERR_AR): Likewise.
7082 (BUS_MCEERR_AO): Likewise.
7083 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7084 (TRAP_TRACE): Likewise.
7085 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7087 (CLD_KILLED): Likewise.
7088 (CLD_DUMPED): Likewise.
7089 (CLD_TRAPPED): Likewise.
7090 (CLD_STOPPED): Likewise.
7091 (CLD_CONTINUED): Likewise.
7092 (POLL_IN): Likewise.
7093 (POLL_OUT): Likewise.
7094 (POLL_MSG): Likewise.
7095 (POLL_ERR): Likewise.
7096 (POLL_PRI): Likewise.
7097 (POLL_HUP): Likewise.
7098 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7099 (ILL_ILLOPN): Likewise.
7100 (ILL_ILLADR): Likewise.
7101 (ILL_ILLTRP): Likewise.
7102 (ILL_PRVOPC): Likewise.
7103 (ILL_PRVREG): Likewise.
7104 (ILL_COPROC): Likewise.
7105 (ILL_BADSTK): Likewise.
7106 (FPE_INTDIV): Likewise.
7107 (FPE_INTOVF): Likewise.
7108 (FPE_FLTDIV): Likewise.
7109 (FPE_FLTOVF): Likewise.
7110 (FPE_FLTUND): Likewise.
7111 (FPE_FLTRES): Likewise.
7112 (FPE_FLTINV): Likewise.
7113 (FPE_FLTSUB): Likewise.
7114 (SEGV_MAPERR): Likewise.
7115 (SEGV_ACCERR): Likewise.
7116 (BUS_ADRALN): Likewise.
7117 (BUS_ADRERR): Likewise.
7118 (BUS_OBJERR): Likewise.
7119 (BUS_MCEERR_AR): Likewise.
7120 (BUS_MCEERR_AO): Likewise.
7121 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7122 (TRAP_TRACE): Likewise.
7123 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7125 (CLD_KILLED): Likewise.
7126 (CLD_DUMPED): Likewise.
7127 (CLD_TRAPPED): Likewise.
7128 (CLD_STOPPED): Likewise.
7129 (CLD_CONTINUED): Likewise.
7130 (POLL_IN): Likewise.
7131 (POLL_OUT): Likewise.
7132 (POLL_MSG): Likewise.
7133 (POLL_ERR): Likewise.
7134 (POLL_PRI): Likewise.
7135 (POLL_HUP): Likewise.
7136 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7137 (ILL_ILLOPN): Likewise.
7138 (ILL_ILLADR): Likewise.
7139 (ILL_ILLTRP): Likewise.
7140 (ILL_PRVOPC): Likewise.
7141 (ILL_PRVREG): Likewise.
7142 (ILL_COPROC): Likewise.
7143 (ILL_BADSTK): Likewise.
7144 (FPE_INTDIV): Likewise.
7145 (FPE_INTOVF): Likewise.
7146 (FPE_FLTDIV): Likewise.
7147 (FPE_FLTOVF): Likewise.
7148 (FPE_FLTUND): Likewise.
7149 (FPE_FLTRES): Likewise.
7150 (FPE_FLTINV): Likewise.
7151 (FPE_FLTSUB): Likewise.
7152 (SEGV_MAPERR): Likewise.
7153 (SEGV_ACCERR): Likewise.
7154 (BUS_ADRALN): Likewise.
7155 (BUS_ADRERR): Likewise.
7156 (BUS_OBJERR): Likewise.
7157 (BUS_MCEERR_AR): Likewise.
7158 (BUS_MCEERR_AO): Likewise.
7159 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7160 (TRAP_TRACE): Likewise.
7161 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7163 (CLD_KILLED): Likewise.
7164 (CLD_DUMPED): Likewise.
7165 (CLD_TRAPPED): Likewise.
7166 (CLD_STOPPED): Likewise.
7167 (CLD_CONTINUED): Likewise.
7168 (POLL_IN): Likewise.
7169 (POLL_OUT): Likewise.
7170 (POLL_MSG): Likewise.
7171 (POLL_ERR): Likewise.
7172 (POLL_PRI): Likewise.
7173 (POLL_HUP): Likewise.
7174 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7175 (ILL_ILLOPN): Likewise.
7176 (ILL_ILLADR): Likewise.
7177 (ILL_ILLTRP): Likewise.
7178 (ILL_PRVOPC): Likewise.
7179 (ILL_PRVREG): Likewise.
7180 (ILL_COPROC): Likewise.
7181 (ILL_BADSTK): Likewise.
7182 (ILL_DBLFLT): Likewise.
7183 (ILL_HARDWALL): Likewise.
7184 (FPE_INTDIV): Likewise.
7185 (FPE_INTOVF): Likewise.
7186 (FPE_FLTDIV): Likewise.
7187 (FPE_FLTOVF): Likewise.
7188 (FPE_FLTUND): Likewise.
7189 (FPE_FLTRES): Likewise.
7190 (FPE_FLTINV): Likewise.
7191 (FPE_FLTSUB): Likewise.
7192 (SEGV_MAPERR): Likewise.
7193 (SEGV_ACCERR): Likewise.
7194 (BUS_ADRALN): Likewise.
7195 (BUS_ADRERR): Likewise.
7196 (BUS_OBJERR): Likewise.
7197 (BUS_MCEERR_AR): Likewise.
7198 (BUS_MCEERR_AO): Likewise.
7199 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7200 (TRAP_TRACE): Likewise.
7201 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7203 (CLD_KILLED): Likewise.
7204 (CLD_DUMPED): Likewise.
7205 (CLD_TRAPPED): Likewise.
7206 (CLD_STOPPED): Likewise.
7207 (CLD_CONTINUED): Likewise.
7208 (POLL_IN): Likewise.
7209 (POLL_OUT): Likewise.
7210 (POLL_MSG): Likewise.
7211 (POLL_ERR): Likewise.
7212 (POLL_PRI): Likewise.
7213 (POLL_HUP): Likewise.
7214 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7215 (ILL_ILLOPN): Likewise.
7216 (ILL_ILLADR): Likewise.
7217 (ILL_ILLTRP): Likewise.
7218 (ILL_PRVOPC): Likewise.
7219 (ILL_PRVREG): Likewise.
7220 (ILL_COPROC): Likewise.
7221 (ILL_BADSTK): Likewise.
7222 (FPE_INTDIV): Likewise.
7223 (FPE_INTOVF): Likewise.
7224 (FPE_FLTDIV): Likewise.
7225 (FPE_FLTOVF): Likewise.
7226 (FPE_FLTUND): Likewise.
7227 (FPE_FLTRES): Likewise.
7228 (FPE_FLTINV): Likewise.
7229 (FPE_FLTSUB): Likewise.
7230 (SEGV_MAPERR): Likewise.
7231 (SEGV_ACCERR): Likewise.
7232 (BUS_ADRALN): Likewise.
7233 (BUS_ADRERR): Likewise.
7234 (BUS_OBJERR): Likewise.
7235 (BUS_MCEERR_AR): Likewise.
7236 (BUS_MCEERR_AO): Likewise.
7237 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7238 (TRAP_TRACE): Likewise.
7239 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7241 (CLD_KILLED): Likewise.
7242 (CLD_DUMPED): Likewise.
7243 (CLD_TRAPPED): Likewise.
7244 (CLD_STOPPED): Likewise.
7245 (CLD_CONTINUED): Likewise.
7246 (POLL_IN): Likewise.
7247 (POLL_OUT): Likewise.
7248 (POLL_MSG): Likewise.
7249 (POLL_ERR): Likewise.
7250 (POLL_PRI): Likewise.
7251 (POLL_HUP): Likewise.
7252 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7253 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7256 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7257 before #include of <time.h>.
7258 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7259 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7260 (test-xfail-UNIX98/sched.h/conform): Likewise.
7262 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7264 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7265 error absence of trapping exception support.
7266 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7268 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7270 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7271 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7272 * timezone/Makefile (testdata): Move definition above include of
7274 (test-zones): New variable.
7275 (tests-special): Add zone files.
7276 (build-testdata): Use $(evaluate-test).
7278 * elf/Makefile (tests-special): Rename tests to end with .out.
7279 ($(objpfx)noload-mem): Likewise.
7280 ($(objpfx)tst-leaks1-mem): Likewise.
7281 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7282 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7283 $(objpfx)test-iconvconfig.out.
7284 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7285 set -e inside subshell and redirect output to file.
7286 * iconvdata/Makefile (generated): Rename tests to end with .out.
7288 (tests-special): Rename tests to end with .out.
7289 ($(objpfx)mtrace-tst-loading): Likewise.
7290 * intl/Makefile (generated): Likewise.
7291 (tests-special): Likewise.
7292 ($(objpfx)mtrace-tst-gettext): Likewise.
7293 * misc/Makefile (generated): Likewise.
7294 (tests-special): Likewise.
7295 ($(objpfx)tst-error1-mem): Likewise.
7296 * nptl/Makefile (tests-special): Likewise.
7297 ($(objpfx)tst-stack3-mem): Likewise.
7298 (generated): Likewise.
7299 * posix/Makefile (generated): Likewise.
7300 (tests-special): Likewise.
7301 (xtests-special): Likewise.
7302 ($(objpfx)tst-fnmatch-mem): Likewise.
7303 ($(objpfx)bug-regex2-mem): Likewise.
7304 ($(objpfx)bug-regex14-mem): Likewise.
7305 ($(objpfx)bug-regex21-mem): Likewise.
7306 ($(objpfx)bug-regex31-mem): Likewise.
7307 ($(objpfx)tst-vfork3-mem): Likewise.
7308 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7309 ($(objpfx)tst-pcre-mem): Likewise.
7310 ($(objpfx)tst-boost-mem): Likewise.
7311 ($(objpfx)bug-ga2-mem): Likewise.
7312 ($(objpfx)bug-glob2-mem): Likewise.
7313 * resolv/Makefile (generate): Likewise.
7314 (tests-special): Likewise.
7315 (xtests-special): Likewise.
7316 (generated): Likewise.
7317 ($(objpfx)mtrace-tst-leaks): Likewise.
7318 ($(objpfx)mtrace-tst-leaks2): Likewise.
7320 * scripts/merge-test-results.sh: New file.
7321 * Makefile (tests-special-notdir): New variable.
7322 (tests): Run merge-test-results.sh.
7324 * Rules (tests-special-notdir): New variable.
7325 (xtests-special-notdir): Likewise.
7326 (tests): Run merge-test-results.sh
7329 * Makeconfig (test-xfail-name): New variable.
7330 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7331 compute variable name for expected failures.
7332 * conform/Makefile (conformtest-headers-data): New variable.
7333 (conformtest-standards): Likewise.
7334 (conformtest-headers-ISO): Likewise.
7335 (conformtest-headers-ISO99): Likewise.
7336 (conformtest-headers-ISO11): Likewise.
7337 (conformtest-headers-POSIX): Likewise.
7338 (conformtest-headers-XPG3): Likewise.
7339 (conformtest-headers-XPG4): Likewise.
7340 (conformtest-headers-UNIX98): Likewise.
7341 (conformtest-headers-XOPEN2K): Likewise.
7342 (conformtest-headers-POSIX2008): Likewise.
7343 (conformtest-headers-XOPEN2K8): Likewise.
7344 (conformtest-header-list-base): Likewise.
7345 (conformtest-header-list-tests): Likewise.
7346 (conformtest-header-base): Likewise.
7347 (conformtest-header-tests): Likewise.
7348 (tests-special): Add $(conformtest-header-list-tests). If
7349 [$(fast-check) && !$(cross-compiling)], add
7350 $(conformtest-header-tests) instead of
7351 $(objpfx)run-conformtest.out.
7352 (generated): Add $(conformtest-header-list-base). If
7353 [$(fast-check) && !$(cross-compiling)], add
7354 $(conformtest-header-base). Remove previous setting.
7355 ($(conformtest-header-list-tests)): New target.
7356 (test-xfail-run-conformtest): Remove variable.
7357 ($(objpfx)run-conformtest.out): Remove target.
7358 (test-xfail-ISO11/complex.h/conform): New variable.
7359 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7360 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7361 (test-xfail-XPG3/varargs.h/conform): Likewise.
7362 (test-xfail-XPG4/varargs.h/conform): Likewise.
7363 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7364 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7365 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7366 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7367 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7368 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7369 (test-xfail-XPG3/ftw.h/conform): Likewise.
7370 (test-xfail-XPG3/grp.h/conform): Likewise.
7371 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7372 (test-xfail-XPG3/limits.h/conform): Likewise.
7373 (test-xfail-XPG3/pwd.h/conform): Likewise.
7374 (test-xfail-XPG3/search.h/conform): Likewise.
7375 (test-xfail-XPG3/signal.h/conform): Likewise.
7376 (test-xfail-XPG3/stdio.h/conform): Likewise.
7377 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7378 (test-xfail-XPG3/string.h/conform): Likewise.
7379 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7380 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7381 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7382 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7383 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7384 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7385 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7386 (test-xfail-XPG3/termios.h/conform): Likewise.
7387 (test-xfail-XPG3/time.h/conform): Likewise.
7388 (test-xfail-XPG3/unistd.h/conform): Likewise.
7389 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7390 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7391 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7392 (test-xfail-XPG4/netdb.h/conform): Likewise.
7393 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7394 (test-xfail-XPG4/signal.h/conform): Likewise.
7395 (test-xfail-XPG4/stdio.h/conform): Likewise.
7396 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7397 (test-xfail-XPG4/stropts.h/conform): Likewise.
7398 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7399 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7400 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7401 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7402 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7403 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7404 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7405 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7406 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7407 (test-xfail-XPG4/termios.h/conform): Likewise.
7408 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7409 (test-xfail-XPG4/unistd.h/conform): Likewise.
7410 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7411 (test-xfail-POSIX/sched.h/conform): Likewise.
7412 (test-xfail-POSIX/signal.h/conform): Likewise.
7413 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7414 (test-xfail-POSIX/tar.h/conform): Likewise.
7415 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7416 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7417 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7418 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7419 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7420 (test-xfail-UNIX98/sched.h/conform): Likewise.
7421 (test-xfail-UNIX98/signal.h/conform): Likewise.
7422 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7423 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7424 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7425 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7426 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7427 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7428 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7429 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7430 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7431 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7432 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7433 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7434 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7435 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7436 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7437 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7438 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7439 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7440 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7441 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7442 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7443 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7444 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7445 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7446 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7447 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7448 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7449 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7450 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7451 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7452 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7453 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7454 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7455 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7456 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7457 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7458 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7459 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7460 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7461 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7462 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7463 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7464 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7465 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7466 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7467 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7468 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7469 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7470 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7471 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7472 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7473 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7474 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7475 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7476 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7477 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7478 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7479 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7480 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7481 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7482 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7483 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7484 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7485 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7486 (conformtest-cc-flags): Likewise.
7487 ($(conformtest-header-tests): New target.
7488 * conform/check-header-lists.sh: New file.
7489 * conform/run-conformtest.sh: Remove.
7491 * conform/conformtest.pl: Allow ' and \ in values given for
7493 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7495 [POSIX] (sys/types.h): Likewise.
7496 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7498 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7500 * conform/data/signal.h-data (SIGIO): Remove expectation.
7501 [XPG3] (SIGBUS): Do not expect.
7502 [POSIX || XPG3] (SIGPOLL): Likewise.
7503 [POSIX || XPG3] (SIGPROF): Likewise.
7504 [POSIX || XPG3] (SIGSYS): Likewise.
7505 [XPG3] (SIGTRAP): Likewise.
7506 [POSIX || XPG3] (SIGURG): Likewise.
7507 [POSIX || XPG3] (SIGVTALRM): Likewise.
7508 [POSIX || XPG3] (SIGXCPU): Likewise.
7509 [POSIX || XPG3] (SIGXFSZ): Likewise.
7510 [POSIX] (SA_SIGINFO): Expect.
7511 [XPG3] (siginfo_t): Do not expect type or contents.
7512 [POSIX] (si_pid): Do not expect element.
7513 [POSIX] (si_uid): Likewise.
7514 [POSIX] (si_addr): Likewise.
7515 [POSIX] (si_status): Likewise.
7516 [POSIX] (si_band): Likewise.
7517 [XPG4] (si_value): Likewise.
7518 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7519 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7520 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7521 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7522 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7523 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7524 [POSIX || XPG3] (ILL_COPROC): Likewise.
7525 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7526 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7527 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7528 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7529 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7530 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7531 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7532 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7533 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7534 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7535 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7536 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7537 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7538 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7539 [POSIX || XPG3] (CLD_EXITED): Likewise.
7540 [POSIX || XPG3] (CLD_KILLED): Likewise.
7541 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7542 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7543 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7544 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7545 [POSIX || XPG3] (POLL_IN): Likewise.
7546 [POSIX || XPG3] (POLL_OUT): Likewise.
7547 [POSIX || XPG3] (POLL_MSG): Likewise.
7548 [POSIX || XPG3] (POLL_ERR): Likewise.
7549 [POSIX || XPG3] (POLL_PRI): Likewise.
7550 [POSIX || XPG3] (POLL_HUP): Likewise.
7551 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7552 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7553 (SIG*): Do not allow.
7554 [XPG3] (si_*): Likewise.
7555 [XPG3] (SI_*): Likewise.
7556 [XPG3 || XPG4] (sigev_*): Likewise.
7557 [XPG3 || XPG4] (SIGEV_*): Likewise.
7558 [XPG3 || XPG4] (sival_*): Likewise.
7559 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7560 [POSIX || XPG3] (BUS_*): Likewise.
7561 [POSIX || XPG3] (CLD_*): Likewise.
7562 [POSIX || XPG3] (FPE_*): Likewise.
7563 [POSIX || XPG3] (ILL_*): Likewise.
7564 [POSIX || XPG3] (POLL_*): Likewise.
7565 [POSIX || XPG3] (SEGV_*): Likewise.
7566 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7567 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7568 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7569 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7570 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7571 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7572 Specify type and value.
7573 (TVERSLEN): Likewise.
7574 (REGTYPE): Likewise.
7575 (AREGTYPE): Likewise.
7576 (LNKTYPE): Likewise.
7577 (SYMTYPE): Likewise.
7578 (CHRTYPE): Likewise.
7579 (BLKTYPE): Likewise.
7580 (DIRTYPE): Likewise.
7581 (FIFOTYPE): Likewise.
7582 (CONTTYPE): Likewise.
7587 (TUWRITE): Likewise.
7590 (TGWRITE): Likewise.
7593 (TOWRITE): Likewise.
7595 [POSIX] (TSVTX): Expect constant.
7597 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7599 * Makefile (tests): Change dependencies to ....
7600 (tests-special): ... additions to this variable.
7601 (tests): Depend on $(tests-special).
7602 * Makerules (check-abi-list): New variable.
7603 (check-abi): Depend on $(check-abi-list).
7604 [$(subdir) = elf] (tests-special): Add
7605 $(objpfx)check-abi-libc.out.
7606 [$(build-shared) = yes && subdir] (tests-special): Add
7608 [$(build-shared) = yes && subdir] (tests): Do not depend on
7610 * Rules (tests): Depend on $(tests-special).
7611 (xtests): Depend on $(xtests-special).
7612 * catgets/Makefile (tests): Change dependencies to ....
7613 (tests-special): ... additions to this variable.
7614 * conform/Makefile (tests): Change dependencies to ....
7615 (tests-special): ... additions to this variable.
7616 * elf/Makefile (tests): Change dependencies to ....
7617 (tests-special): ... additions to this variable.
7618 * grp/Makefile (tests): Change dependencies to ....
7619 (tests-special): ... additions to this variable.
7620 * iconv/Makefile (xtests): Change dependencies to ....
7621 (xtests-special): ... additions to this variable.
7622 * iconvdata/Makefile (tests): Change dependencies to ....
7623 (tests-special): ... additions to this variable.
7624 * intl/Makefile (tests): Change dependencies to ....
7625 (tests-special): ... additions to this variable. Also add
7626 $(objpfx)tst-gettext.out.
7627 * io/Makefile (tests): Change dependencies to ....
7628 (tests-special): ... additions to this variable.
7629 * libio/Makefile (tests): Change dependencies to ....
7630 (tests-special): ... additions to this variable.
7631 * malloc/Makefile (tests): Change dependencies to ....
7632 (tests-special): ... additions to this variable.
7633 * misc/Makefile (tests): Change dependencies to ....
7634 (tests-special): ... additions to this variable.
7635 * nptl/Makefile (tests): Change dependencies to ....
7636 (tests-special): ... additions to this variable.
7637 * nptl_db/Makefile (tests): Change dependencies to ....
7638 (tests-special): ... additions to this variable.
7639 * posix/Makefile (tests): Change dependencies to ....
7640 (tests-special): ... additions to this variable.
7641 (xtests): Change dependencies to ....
7642 (xtests-special): ... additions to this variable.
7643 * resolv/Makefile (tests): Change dependencies to ....
7644 (tests-special): ... additions to this variable.
7645 (xtests): Change dependencies to ....
7646 (xtests-special): ... additions to this variable.
7647 * stdio-common/Makefile (tests): Change dependencies to ....
7648 (tests-special): ... additions to this variable.
7649 (do-tst-unbputc): Remove target.
7650 (do-tst-printf): Likewise.
7651 * stdlib/Makefile (tests): Change dependencies to ....
7652 (tests-special): ... additions to this variable.
7653 * string/Makefile (tests): Change dependencies to ....
7654 (tests-special): ... additions to this variable.
7655 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7656 (tests-special): ... additions to this variable.
7658 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7660 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7662 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7663 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7665 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7666 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7667 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7668 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7669 * conform/data/libgen.h-data [XPG3]: Likewise.
7670 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7671 * conform/data/ndbm.h-data [XPG3]: Likewise.
7672 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7673 * conform/data/netdb.h-data [XPG3]: Likewise.
7674 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7675 * conform/data/poll.h-data [XPG3]: Likewise.
7676 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7677 * conform/data/strings.h-data [XPG3]: Likewise.
7678 * conform/data/stropts.h-data [XPG3]: Likewise.
7679 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7680 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7681 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7683 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7684 * conform/data/sys/time.h-data [XPG3]: Likewise.
7685 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7686 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7687 * conform/data/sys/un.h-data [XPG3]: Likewise.
7688 * conform/data/syslog.h-data [XPG3]: Likewise.
7689 * conform/data/ucontext.h-data [XPG3]: Likewise.
7690 * conform/data/utmpx.h-data [XPG3]: Likewise.
7691 * conform/data/varargs.h-data [UNIX98]: Enable file.
7693 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7695 * math/libm-test.inc (struct test_f_f_data): Move expected results
7696 into structure for each rounding mode.
7697 (struct test_ff_f_data): Likewise.
7698 (struct test_ff_f_data_nexttoward): Likewise.
7699 (struct test_fi_f_data): Likewise.
7700 (struct test_fl_f_data): Likewise.
7701 (struct test_if_f_data): Likewise.
7702 (struct test_fff_f_data): Likewise.
7703 (struct test_c_f_data): Likewise.
7704 (struct test_f_f1_data): Likewise.
7705 (struct test_fF_f1_data): Likewise.
7706 (struct test_ffI_f1_data): Likewise.
7707 (struct test_c_c_data): Likewise.
7708 (struct test_cc_c_data): Likewise.
7709 (struct test_f_i_data): Likewise.
7710 (struct test_ff_i_data): Likewise.
7711 (struct test_f_l_data): Likewise.
7712 (struct test_f_L_data): Likewise.
7713 (struct test_fFF_11_data): Likewise.
7715 (RM_FE_DOWNWARD): Likewise.
7716 (RM_FE_TONEAREST): Likewise.
7717 (RM_FE_TOWARDZERO): Likewise.
7718 (RM_FE_UPWARD): Likewise.
7719 (RUN_TEST_LOOP_f_f): Update references to expected results.
7720 (RUN_TEST_LOOP_2_f): Likewise.
7721 (RUN_TEST_LOOP_fff_f): Likewise.
7722 (RUN_TEST_LOOP_c_f): Likewise.
7723 (RUN_TEST_LOOP_f_f1): Likewise.
7724 (RUN_TEST_LOOP_fF_f1): Likewise.
7725 (RUN_TEST_LOOP_fI_f1): Likewise.
7726 (RUN_TEST_LOOP_ffI_f1): Likewise.
7727 (RUN_TEST_LOOP_c_c): Likewise.
7728 (RUN_TEST_LOOP_cc_c): Likewise.
7729 (RUN_TEST_LOOP_f_i): Likewise.
7730 (RUN_TEST_LOOP_f_i_tg): Likewise.
7731 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7732 (RUN_TEST_LOOP_f_b): Likewise.
7733 (RUN_TEST_LOOP_f_b_tg): Likewise.
7734 (RUN_TEST_LOOP_f_l): Likewise.
7735 (RUN_TEST_LOOP_f_L): Likewise.
7736 (RUN_TEST_LOOP_fFF_11): Likewise.
7737 * math/gen-libm-test.pl (parse_args): Output four copies of
7738 expected results for each test.
7740 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7741 (__ASSUME_UTIMES): Remove.
7742 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7743 (__ASSUME_UTIMES): Likewise.
7745 * math/gen-auto-libm-tests.c: Update comment on output format.
7746 (output_for_one_input_case): Generate before-rounding and
7747 after-rounding information as conditions on output flags not
7748 floating-point format.
7749 * math/auto-libm-test-out: Regenerated.
7750 * math/gen-libm-test.pl (cond_value): New function.
7751 (or_cond_value): Use cond_value.
7752 (generate_testfile): Handle conditional exceptions.
7754 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7756 * math/libm-test.inc (max_valid_error): New variable.
7757 (init_max_error): Take new argument specifying whether function
7758 results are exactly determined. Set max_valid_error and bound
7759 other variables for errors based on this argument.
7760 (set_max_error): Do not record results above max_valid_error.
7761 (check_float_internal): Only accept errors of up to 0.5ulps if
7762 also at most max_valid_error.
7763 (START): Take new argument EXACT and pass it to init_max_error.
7764 (acos_test): Update call to START.
7765 (acos_test_tonearest): Likewise.
7766 (acos_test_towardzero): Likewise.
7767 (acos_test_downward): Likewise.
7768 (acos_test_upward): Likewise.
7769 (acosh_test): Likewise.
7770 (asin_test): Likewise.
7771 (asin_test_tonearest): Likewise.
7772 (asin_test_towardzero): Likewise.
7773 (asin_test_downward): Likewise.
7774 (asin_test_upward): Likewise.
7775 (asinh_test): Likewise.
7776 (atan_test): Likewise.
7777 (atanh_test): Likewise.
7778 (atan2_test): Likewise.
7779 (cabs_test): Likewise.
7780 (cacos_test): Likewise.
7781 (cacosh_test): Likewise.
7782 (carg_test): Likewise.
7783 (casin_test): Likewise.
7784 (casinh_test): Likewise.
7785 (catan_test): Likewise.
7786 (catanh_test): Likewise.
7787 (cbrt_test): Likewise.
7788 (ccos_test): Likewise.
7789 (ccosh_test): Likewise.
7790 (ceil_test): Likewise.
7791 (cexp_test): Likewise.
7792 (cimag_test): Likewise.
7793 (clog_test): Likewise.
7794 (clog10_test): Likewise.
7795 (conj_test): Likewise.
7796 (copysign_test): Likewise.
7797 (cos_test): Likewise.
7798 (cos_test_tonearest): Likewise.
7799 (cos_test_towardzero): Likewise.
7800 (cos_test_downward): Likewise.
7801 (cos_test_upward): Likewise.
7802 (cosh_test): Likewise.
7803 (cosh_test_tonearest): Likewise.
7804 (cosh_test_towardzero): Likewise.
7805 (cosh_test_downward): Likewise.
7806 (cosh_test_upward): Likewise.
7807 (cpow_test): Likewise.
7808 (cproj_test): Likewise.
7809 (creal_test): Likewise.
7810 (csin_test): Likewise.
7811 (csinh_test): Likewise.
7812 (csqrt_test): Likewise.
7813 (ctan_test): Likewise.
7814 (ctan_test_tonearest): Likewise.
7815 (ctan_test_towardzero): Likewise.
7816 (ctan_test_downward): Likewise.
7817 (ctan_test_upward): Likewise.
7818 (ctanh_test): Likewise.
7819 (ctanh_test_tonearest): Likewise.
7820 (ctanh_test_towardzero): Likewise.
7821 (ctanh_test_downward): Likewise.
7822 (ctanh_test_upward): Likewise.
7823 (erf_test): Likewise.
7824 (erfc_test): Likewise.
7825 (exp_test): Likewise.
7826 (exp_test_tonearest): Likewise.
7827 (exp_test_towardzero): Likewise.
7828 (exp_test_downward): Likewise.
7829 (exp_test_upward): Likewise.
7830 (exp10_test): Likewise.
7831 (exp10_test_tonearest): Likewise.
7832 (exp10_test_towardzero): Likewise.
7833 (exp10_test_downward): Likewise.
7834 (exp10_test_upward): Likewise.
7835 (pow10_test): Likewise.
7836 (exp2_test): Likewise.
7837 (expm1_test): Likewise.
7838 (expm1_test_tonearest): Likewise.
7839 (expm1_test_towardzero): Likewise.
7840 (expm1_test_downward): Likewise.
7841 (expm1_test_upward): Likewise.
7842 (fabs_test): Likewise.
7843 (fdim_test): Likewise.
7844 (floor_test): Likewise.
7845 (fma_test): Likewise.
7846 (fma_test_towardzero): Likewise.
7847 (fma_test_downward): Likewise.
7848 (fma_test_upward): Likewise.
7849 (fmax_test): Likewise.
7850 (fmin_test): Likewise.
7851 (fmod_test): Likewise.
7852 (fpclassify_test): Likewise.
7853 (frexp_test): Likewise.
7854 (hypot_test): Likewise.
7855 (ilogb_test): Likewise.
7856 (isfinite_test): Likewise.
7857 (finite_test): Likewise.
7858 (isgreater_test): Likewise.
7859 (isgreaterequal_test): Likewise.
7860 (isinf_test): Likewise.
7861 (isless_test): Likewise.
7862 (islessequal_test): Likewise.
7863 (islessgreater_test): Likewise.
7864 (isnan_test): Likewise.
7865 (isnormal_test): Likewise.
7866 (issignaling_test): Likewise.
7867 (isunordered_test): Likewise.
7868 (j0_test): Likewise.
7869 (j1_test): Likewise.
7870 (jn_test): Likewise.
7871 (ldexp_test): Likewise.
7872 (lgamma_test): Likewise.
7873 (gamma_test): Likewise.
7874 (lrint_test): Likewise.
7875 (lrint_test_tonearest): Likewise.
7876 (lrint_test_towardzero): Likewise.
7877 (lrint_test_downward): Likewise.
7878 (lrint_test_upward): Likewise.
7879 (llrint_test): Likewise.
7880 (llrint_test_tonearest): Likewise.
7881 (llrint_test_towardzero): Likewise.
7882 (llrint_test_downward): Likewise.
7883 (llrint_test_upward): Likewise.
7884 (log_test): Likewise.
7885 (log10_test): Likewise.
7886 (log1p_test): Likewise.
7887 (log2_test): Likewise.
7888 (logb_test): Likewise.
7889 (logb_test_downward): Likewise.
7890 (lround_test): Likewise.
7891 (llround_test): Likewise.
7892 (modf_test): Likewise.
7893 (nearbyint_test): Likewise.
7894 (nextafter_test): Likewise.
7895 (nexttoward_test): Likewise.
7896 (pow_test): Likewise.
7897 (pow_test_tonearest): Likewise.
7898 (pow_test_towardzero): Likewise.
7899 (pow_test_downward): Likewise.
7900 (pow_test_upward): Likewise.
7901 (remainder_test): Likewise.
7902 (drem_test): Likewise.
7903 (remainder_test_tonearest): Likewise.
7904 (drem_test_tonearest): Likewise.
7905 (remainder_test_towardzero): Likewise.
7906 (drem_test_towardzero): Likewise.
7907 (remainder_test_downward): Likewise.
7908 (drem_test_downward): Likewise.
7909 (remainder_test_upward): Likewise.
7910 (drem_test_upward): Likewise.
7911 (remquo_test): Likewise.
7912 (rint_test): Likewise.
7913 (rint_test_tonearest): Likewise.
7914 (rint_test_towardzero): Likewise.
7915 (rint_test_downward): Likewise.
7916 (rint_test_upward): Likewise.
7917 (round_test): Likewise.
7918 (scalb_test): Likewise.
7919 (scalbn_test): Likewise.
7920 (scalbln_test): Likewise.
7921 (signbit_test): Likewise.
7922 (sin_test): Likewise.
7923 (sin_test_tonearest): Likewise.
7924 (sin_test_towardzero): Likewise.
7925 (sin_test_downward): Likewise.
7926 (sin_test_upward): Likewise.
7927 (sincos_test): Likewise.
7928 (sinh_test): Likewise.
7929 (sinh_test_tonearest): Likewise.
7930 (sinh_test_towardzero): Likewise.
7931 (sinh_test_downward): Likewise.
7932 (sinh_test_upward): Likewise.
7933 (sqrt_test): Likewise.
7934 (sqrt_test_tonearest): Likewise.
7935 (sqrt_test_towardzero): Likewise.
7936 (sqrt_test_downward): Likewise.
7937 (sqrt_test_upward): Likewise.
7938 (tan_test): Likewise.
7939 (tan_test_tonearest): Likewise.
7940 (tan_test_towardzero): Likewise.
7941 (tan_test_downward): Likewise.
7942 (tan_test_upward): Likewise.
7943 (tanh_test): Likewise.
7944 (tgamma_test): Likewise.
7945 (trunc_test): Likewise.
7946 (y0_test): Likewise.
7947 (y1_test): Likewise.
7948 (yn_test): Likewise.
7949 (significand_test): Likewise.
7951 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7952 individual tests in comment.
7953 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7954 (prev_max_error): New variable.
7955 (prev_real_max_error): Likewise.
7956 (prev_imag_max_error): Likewise.
7957 (compare_ulp_data): Don't refer to test names in comment.
7958 (find_test_ulps): Remove function.
7959 (find_function_ulps): Likewise.
7960 (find_complex_function_ulps): Likewise.
7961 (init_max_error): Take function name as argument. Look up ulps
7963 (print_ulps): Remove function.
7964 (print_max_error): Use prev_max_error instead of calling
7966 (print_complex_max_error): Use prev_real_max_error and
7967 prev_imag_max_error instead of calling find_complex_function_ulps.
7968 (check_float_internal): Take max_ulp parameter instead of calling
7969 find_test_ulps. Don't call print_ulps.
7970 (check_float): Update call to check_float_internal.
7971 (check_complex): Update calls to check_float_internal.
7972 (START): Pass argument to init_max_error.
7973 * math/gen-libm-test.pl (%results): Don't include "kind"
7975 (parse_ulps): Don't handle ulps of individual tests.
7976 (print_ulps_file): Likewise.
7977 (output_ulps): Likewise.
7978 * math/README.libm-test: Update.
7979 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7981 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7982 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7983 * sysdeps/arm/libm-test-ulps: Likewise.
7984 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7985 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7986 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7987 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7988 * sysdeps/microblaze/libm-test-ulps: Likewise.
7989 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7990 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7991 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7992 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7993 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7994 * sysdeps/sh/libm-test-ulps: Likewise.
7995 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7996 * sysdeps/tile/libm-test-ulps: Likewise.
7997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7999 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8001 * math/libm-test.inc (print_complex_max_error): Check separately
8002 whether real and imaginary errors are within allowed range and
8003 pass 0 to print_complex_function_ulps instead of value within
8006 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8008 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8010 (get_handles_fopen): Likewise.
8011 (do_write_test): Likewise.
8013 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8015 * libio/fileops.c (do_ftell): Use cached offset when
8017 * libio/iofwide.c (do_ftell_wide): Likewise.
8018 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8020 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8023 * libio/libioP.h (get_file_offset): New function.
8024 * libio/fileops.c (get_file_offset): Likewise.
8025 (do_ftell): Likewise.
8026 (_IO_new_file_seekoff): Split out ftell logic.
8027 * libio/wfileops.c (do_ftell_wide): Likewise.
8028 (_IO_wfile_seekoff): Split out ftell logic.
8029 * libio/tst-ftell-active-handler.c: New test case.
8030 * libio/Makefile (tests): Add it.
8032 2014-03-03 Roland McGrath <roland@hack.frob.com>
8034 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8035 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8037 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8040 * nscd/connections.c (nscd_init): Call do_exit.
8041 (start_threads): Call do_exit and notify_parent.
8042 (begin_drop_privileges): Call do_exit.
8043 (finish_drop_privileges): Likewise.
8044 * nscd/selinux.c (preserve_capabilities): Likewise.
8045 (install_real_capabilities): Likewise.
8046 (nscd_selinux_enabled): Likewise.
8047 (avc_create_thread): Likewise.
8048 (avc_alloc_lock): Likewise.
8049 (nscd_avc_init): Likewise.
8050 * nscd/nscd.c (parent_fd): New static variable.
8051 (main): Create a pipe between parent and child processes.
8052 Skip closing parent_fd.
8053 (monitor_child): New function.
8054 (do_exit): Likewise.
8055 (notify_parent): Likewise.
8056 * nscd/nscd.h (notify_parent): Likewise.
8057 (do_exit): Likewise.
8059 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8061 * malloc/malloc.c (__libc_calloc): Revert last change.
8063 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8067 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8069 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8073 (__libc_ifunc_impl_list): Likewise.
8074 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8075 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8076 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8077 * string/strrchr.c: Define STRRCHR.
8079 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8081 * benchtest/bench-strtok.c (simple_strtok): Delete.
8082 (strtok_string): Use as benchmark.
8083 * string/strtok (STRTOK): New macro.
8085 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8087 * manual/threads.texi: Add header and standard comments to all
8090 * elf/dl-lookup.c (check_match): New function.
8091 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8092 (do_lookup_x): Remove nested function check_match. Use non-nested
8093 function check_match.
8095 2014-02-28 Roland McGrath <roland@hack.frob.com>
8097 * csu/Makefile (generated, before-compile): Use += rather than =.
8098 * catgets/Makefile (generated, generated-dirs): Likewise.
8099 * debug/Makefile (generated): Likewise.
8100 * dlfcn/Makefile (generated): Likewise.
8101 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8102 * iconvdata/Makefile (before-compile, generated): Likewise.
8103 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8104 * libio/Makefile (generated): Likewise.
8105 * malloc/Makefile (generated): Likewise.
8106 * manual/Makefile (generated, generated-dirs): Likewise.
8107 * misc/Makefile (generated): Likewise.
8108 * posix/Makefile (generated): Likewise.
8109 * resolv/Makefile (generated): Likewise.
8110 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8111 * timezone/Makefile (generated, generated-dirs): Likewise.
8113 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8115 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8118 power8 implementation.
8119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8120 file: POWER8 llround ifunc implementation.
8121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8122 (__lllround): Add POWER8 implementation.
8123 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8124 POWER8 llround implementation.
8126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8127 power8 implementation.
8128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8129 file: POWER8 llrint ifunc implementation.
8130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8131 Add POWER8 implementation.
8132 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8133 POWER8 llrint implementation.
8135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8136 power8 implementation.
8137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8138 file: POWER8 finite ifunc implementation.
8139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8140 Add POWER8 implementation.
8141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8143 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8144 POWER8 finite implementation.
8145 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8147 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8148 power8 implementation.
8149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8150 file: POWER8 isinf ifunc implementation.
8151 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8152 POWER8 implementation.
8153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8155 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8156 isinf implementation.
8157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8159 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8160 (INIT_ARCH): Add hwcap2 initialization.
8161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8162 power8 implementation.
8163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8164 file: POWER8 isnan ifunc implementation.
8165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8166 POWER8 implementation.
8167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8169 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8170 isnan implementation.
8171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8173 2014-02-27 Joey Ye <joey.ye@arm.com>
8175 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8176 (_FP_NANFRAC_Q): Set to zero.
8178 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8181 * math/auto-libm-test-in: New test inputs.
8182 * math/auto-libm-test-out: Regenerate.
8183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8186 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8188 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8190 * scripts/evaluate-test.sh: Take new argument indicating whether
8191 failure is expected.
8192 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8193 indicating whether failure is expected.
8194 * conform/Makefile (test-xfail-run-conformtest): New variable.
8195 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8197 * posix/Makefile (test-xfail-annexc): New variable.
8198 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8200 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8202 * argp/Makefile: Include Makeconfig immediately after defining
8204 * assert/Makefile: Likewise.
8205 * benchtests/Makefile: Likewise.
8206 * catgets/Makefile: Likewise.
8207 * conform/Makefile: Likewise.
8208 * crypt/Makefile: Likewise.
8209 * csu/Makefile: Likewise.
8210 (all): Remove target.
8211 * ctype/Makefile: Include Makeconfig immediately after defining
8213 * debug/Makefile: Likewise.
8214 * dirent/Makefile: Likewise.
8215 * dlfcn/Makefile: Likewise.
8216 * gmon/Makefile: Likewise.
8217 * gnulib/Makefile: Likewise.
8218 * grp/Makefile: Likewise.
8219 * gshadow/Makefile: Likewise.
8220 * hesiod/Makefile: Likewise.
8221 * hurd/Makefile: Likewise.
8222 (all): Remove target.
8223 * iconvdata/Makefile: Include Makeconfig immediately after
8225 * inet/Makefile: Likewise.
8226 * intl/Makefile: Likewise.
8227 * io/Makefile: Likewise.
8228 * libio/Makefile: Likewise.
8229 (all): Remove target.
8230 * locale/Makefile: Include Makeconfig immediately after defining
8232 * login/Makefile: Likewise.
8233 * mach/Makefile: Likewise.
8234 (all): Remove target.
8235 * malloc/Makefile: Include Makeconfig immediately after defining
8237 (all): Remove target.
8238 * manual/Makefile: Include Makeconfig immediately after defining
8240 * math/Makefile: Likewise.
8241 * misc/Makefile: Likewise.
8242 * nis/Makefile: Likewise.
8243 * nss/Makefile: Likewise.
8244 * po/Makefile: Likewise.
8245 (all): Remove target.
8246 * posix/Makefile: Include Makeconfig immediately after defining
8248 * pwd/Makefile: Likewise.
8249 * resolv/Makefile: Likewise.
8250 * resource/Makefile: Likewise.
8251 * rt/Makefile: Likewise.
8252 * setjmp/Makefile: Likewise.
8253 * shadow/Makefile: Likewise.
8254 * signal/Makefile: Likewise.
8255 * socket/Makefile: Likewise.
8256 * soft-fp/Makefile: Likewise.
8257 * stdio-common/Makefile: Likewise.
8258 * stdlib/Makefile: Likewise.
8259 * streams/Makefile: Likewise.
8260 * string/Makefile: Likewise.
8261 * sunrpc/Makefile: Likewise.
8262 (all): Remove target.
8263 * sysvipc/Makefile: Include Makeconfig immediately after defining
8265 * termios/Makefile: Likewise.
8266 * time/Makefile: Likewise.
8267 * timezone/Makefile: Likewise.
8268 (all): Remove target.
8269 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8271 * wctype/Makefile: Likewise.
8273 2014-02-26 Steve Ellcey <sellcey@mips.com>
8275 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8276 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8277 (libc_feholdexcept_setround_mips): Ditto.
8278 (libc_feholdsetround): New.
8279 (libc_feholdsetroundf): New.
8280 (libc_feholdsetroundl): New.
8281 (libc_feupdateenv_test_mips): New.
8282 (libc_feupdateenv_test): New.
8283 (libc_feupdateenv_testf): New.
8284 (libc_feupdateenv_testl): New.
8285 (libc_feresetround): New.
8286 (libc_feresetroundf): New.
8287 (libc_feresetroundl): New.
8288 (libc_fetestexcept_mips): New.
8289 (libc_fetestexcept): New.
8290 (libc_fetestexceptf): New.
8291 (libc_fetestexceptl): New.
8293 (libc_feholdexcept_setround_mips_ctx): New.
8294 (libc_feholdexcept_setround_ctx): New.
8295 (libc_feholdexcept_setroundf_ctx): New.
8296 (libc_feholdexcept_setroundl_ctx): New.
8297 (libc_fesetenv_mips_ctx): New.
8298 (libc_fesetenv_ctx): New.
8299 (libc_fesetenv_ctxf): New.
8300 (libc_fesetenv_ctxl): New.
8301 (libc_feupdateenv_mips_ctx): New.
8302 (libc_feupdateenv_ctx): New.
8303 (libc_feupdateenvf_ctx): New.
8304 (libc_feupdateenvl_ctx): New.
8305 (libc_feholdsetround_mips_ctx): New.
8306 (libc_feholdsetround_ctx): New.
8307 (libc_feholdsetroundf_ctx): New.
8308 (libc_feholdsetroundl_ctx): New.
8309 (libc_feresetround_mips_ctx): New.
8310 (libc_feresetround_ctx): New.
8311 (libc_feresetroundf_ctx): New.
8312 (libc_feresetroundl_ctx): New.
8314 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8316 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8318 * manual/ipc.texi: New file.
8319 * manual/Makefile (chapters): Add ipc.
8320 * manual/job.texi: Add "Inter-Process Communication" to next.
8321 * manual/process.texi: Add "Inter-Process Communication" to prev.
8323 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8327 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8329 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8331 * manual/arith.texi: Fix spaces after sentences.
8332 * manual/charset.texi: Likewise.
8333 * manual/errno.texi: Likewise.
8334 * manual/install.texi: Likewise.
8335 * manual/llio.texi: Likewise.
8336 * manual/locale.texi: Likewise.
8337 * manual/maint.texi: Likewise.
8338 * manual/math.texi: Likewise.
8339 * manual/memory.texi: Likewise.
8340 * manual/message.texi: Likewise.
8341 * manual/probes.texi: Likewise.
8342 * manual/resource.texi: Likewise.
8343 * manual/signal.texi: Likewise.
8344 * manual/socket.texi: Likewise.
8345 * manual/stdio.texi: Likewise.
8346 * manual/string.texi: Likewise.
8347 * manual/time.texi: Likewise.
8348 * manual/users.texi: Likewise.
8350 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8353 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8354 _DEFAULT_SOURCE is defined.
8356 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8357 Carlos O'Donell <carlos@redhat.com>
8360 * elf/dl-tls.c (_dl_count_modids): New function.
8361 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8362 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8363 audit library and increment generation counter.
8364 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8365 * elf/tst-audit9.c: New file.
8366 * elf/tst-auditmod9a.c: New file.
8367 * elf/tst-auditmod9b.c: New file.
8368 * elf/Makefile: Add rules to build and run tst-audit9.
8370 2014-02-25 Florian Weimer <fweimer@redhat.com>
8373 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8375 2014-02-25 Will Newton <will.newton@linaro.org>
8377 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8378 (__longjmp): Restore sp and lr before restoring callee
8379 saved registers. Add longjmp and longjmp_target
8380 SystemTap probe point.
8381 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8382 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8383 Define to zero to match jmpbuf layout.
8384 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8385 (__sigsetjmp): Save sp and lr before saving callee
8386 saved registers. Add setjmp SystemTap probe point.
8388 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8390 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8392 2014-02-24 Andreas Schwab <schwab@suse.de>
8395 * elf/pldd.c (wait_for_ptrace_stop): New function.
8396 (main): Call it after attaching.
8398 2014-02-22 Roland McGrath <roland@hack.frob.com>
8400 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8401 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8402 Versions files is now verboten.
8403 * hurd/Versions (libc: GLIBC_2.0):
8404 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8405 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8406 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8407 * mach/Versions: Likewise.
8409 * csu/Versions: Remove unused %include.
8410 * resolv/Versions: Likewise.
8412 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8414 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8415 ($(objpfx)check-local-headers.out): Likewise.
8416 ($(objpfx)begin-end-check.out): Likewise.
8417 * Makerules (check-abi-%.out): Likewise.
8418 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8419 ($(objpfx)test2.cat): Likewise.
8420 ($(objpfx)de/libc.cat): Likewise.
8421 ($(objpfx)test-gencat.out): Likewise.
8422 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8423 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8424 ($(objpfx)noload-mem): Likewise.
8425 ($(objpfx)tst-pathopt.out): Likewise.
8426 ($(objpfx)tst-rtld-load-self.out): Likewise.
8427 ($(objpfx)tst-array1-cmp.out): Likewise.
8428 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8429 ($(objpfx)tst-array2-cmp.out): Likewise.
8430 ($(objpfx)tst-array3-cmp.out): Likewise.
8431 ($(objpfx)tst-array4-cmp.out): Likewise.
8432 ($(objpfx)tst-array5-cmp.out): Likewise.
8433 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8434 ($(objpfx)check-textrel.out): Likewise.
8435 ($(objpfx)check-execstack.out): Likewise.
8436 ($(objpfx)check-localplt.out): Likewise.
8437 ($(objpfx)order2-cmp.out): Likewise.
8438 ($(objpfx)tst-leaks1-mem): Likewise.
8439 ($(objpfx)tst-leaks1-static-mem): Likewise.
8440 ($(objpfx)tst-initorder-cmp.out): Likewise.
8441 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8442 ($(objpfx)tst-unused-dep.out): Likewise.
8443 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8444 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8445 * iconv/Makefile (test-iconvconfig): Likewise.
8446 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8447 ($(objpfx)iconv-test.out): Likewise.
8448 ($(objpfx)tst-tables.out): Likewise.
8449 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8450 ($(objpfx)tst-gettext.out): Likewise.
8451 ($(objpfx)tst-translit.out): Likewise.
8452 ($(objpfx)tst-gettext2.out): Likewise.
8453 ($(objpfx)tst-gettext4.out): Likewise.
8454 ($(objpfx)tst-gettext6.out): Likewise.
8455 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8456 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8457 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8458 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8459 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8460 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8461 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8462 ($(objpfx)wordexp-tst.out): Likewise.
8463 ($(objpfx)annexc.out): Likewise.
8464 ($(objpfx)tst-fnmatch-mem): Likewise.
8465 ($(objpfx)bug-regex2-mem): Likewise.
8466 ($(objpfx)bug-regex14-mem): Likewise.
8467 ($(objpfx)bug-regex21-mem): Likewise.
8468 ($(objpfx)bug-regex31-mem): Likewise.
8469 ($(objpfx)tst-vfork3-mem): Likewise.
8470 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8471 ($(objpfx)tst-pcre-mem): Likewise.
8472 ($(objpfx)tst-boost-mem): Likewise.
8473 ($(objpfx)tst-getconf.out): Likewise.
8474 ($(objpfx)bug-ga2-mem): Likewise.
8475 ($(objpfx)bug-glob2-mem): Likewise.
8476 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8477 ($(objpfx)mtrace-tst-leaks2): Likewise.
8478 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8479 ($(objpfx)tst-printf.out): Likewise.
8480 ($(objpfx)tst-setvbuf1.out): Likewise.
8481 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8482 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8483 ($(objpfx)tst-fmtmsg.out): Likewise.
8484 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8485 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8487 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8488 * bits/sigaction.h [__USE_MISC]: Likewise.
8489 * bits/waitstatus.h: Update #endif comments.
8490 * ctype/ctype.h: Likewise.
8491 * dirent/dirent.h: Likewise.
8492 [__USE_MISC]: Remove redundant conditionals.
8493 * grp/grp.h: Update #endif comments.
8494 [__USE_GNU]: Remove redundant conditionals.
8495 [__USE_MISC]: Likewise.
8496 * inet/netinet/in.h [__USE_GNU]: Likewise.
8497 * io/sys/stat.h [__USE_MISC]: Likewise.
8498 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8499 * libio/bits/stdio.h: Update #endif comments.
8500 [__USE_MISC]: Remove redundant conditionals.
8501 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8502 * libio/stdio.h: Update #endif comments.
8503 [__USE_MISC]: Remove redundant conditionals.
8504 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8505 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8506 * math/math.h: Update #else and #endif comments.
8507 [__USE_MISC]: Remove redundant conditionals.
8508 * misc/sys/uio.h: Update #endif comments.
8509 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8510 * posix/glob.h [__USE_MISC]: Likewise.
8511 * posix/sys/types.h: Update #endif comments.
8512 [__USE_MISC]: Remove redundant conditionals.
8513 * posix/sys/wait.h: Update #endif comments.
8514 [__USE_MISC]: Remove redundant conditionals.
8515 * posix/unistd.h: Update #endif comments.
8516 [__USE_MISC]: Remove redundant conditionals.
8517 * pwd/pwd.h [__USE_GNU]: Likewise.
8518 [__USE_MISC]: Likewise.
8519 * resolv/netdb.h [__USE_GNU]: Likewise.
8520 * signal/signal.h: Update #endif comments.
8521 [__USE_MISC]: Remove redundant conditionals.
8522 * stdlib/stdlib.h: Update #else and #endif comments.
8523 [__USE_MISC]: Remove redundant conditionals.
8524 [__USE_GNU]: Likewise.
8525 * string/bits/string2.h [__USE_MISC]: Likewise.
8526 * string/string.h: Update #endif comments.
8527 [__USE_MISC]: Remove redundant conditionals.
8528 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8530 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8531 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8532 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8534 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8536 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8538 [__USE_MISC]: Remove redundant conditionals.
8539 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8540 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8541 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8542 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8543 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8545 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8546 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8548 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8549 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8551 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8553 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8554 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8556 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8558 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8559 * sysdeps/x86/bits/string.h: Update #endif comments.
8560 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8562 * time/sys/time.h: Update #endif comments.
8563 * time/time.h: Likewise.
8564 [__USE_MISC]: Remove redundant conditionals.
8566 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8569 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8571 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8573 * Versions.def (librt): Add GLIBC_2.17.
8575 2014-02-21 Adam Conrad <adconrad@0c3.net>
8577 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8578 synonym for _SYS_AUXV_H to allow direct inclusion.
8579 * sysdeps/sparc/bits/hwcap.h: Likewise.
8580 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8581 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8582 * sysdeps/sparc/sysdep.h: Likewise.
8584 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8586 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8588 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8590 * benchtests/bench-strrchr.c: Print length instead of position.
8592 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8595 * sysdeps/unix/sysv/linux/kernel-features.h
8596 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8597 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8598 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8599 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8601 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8602 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8603 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8604 (__ASSUME_SENDMMSG): Define instead of using previous
8605 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8606 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8607 (__ASSUME_SENDMMSG_SYSCALL): Define.
8608 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8609 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8611 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8612 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8614 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8615 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8617 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8618 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8619 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8620 [__ASSUME_SENDMMSG]: Change conditionals to
8621 [__ASSUME_SENDMMSG_SOCKETCALL].
8622 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8623 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8625 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8626 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8628 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8629 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8630 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8631 [!__ASSUME_SENDMMSG]: Change conditional to
8632 [!__ASSUME_SENDMMSG_SOCKETCALL].
8633 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8634 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8638 * sysdeps/unix/sysv/linux/kernel-features.h
8639 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8640 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8641 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8642 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8643 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8644 [__i386__ || __sparc__]
8645 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8646 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8647 (__ASSUME_RECVMMSG): Define instead of using previous
8648 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8649 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8650 (__ASSUME_RECVMMSG_SYSCALL): Define.
8651 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8652 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8654 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8655 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8657 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8658 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8660 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8661 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8662 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8663 [__ASSUME_RECVMMSG]: Change condition to
8664 [__ASSUME_RECVMMSG_SOCKETCALL].
8665 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8666 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8668 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8669 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8670 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8672 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8673 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8674 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8675 [!__ASSUME_RECVMMSG]: Change condition to
8676 [!__ASSUME_RECVMMSG_SOCKETCALL].
8677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8678 (__ASSUME_RECVMMSG_SYSCALL): Define.
8681 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8682 __powerpc__ || __s390__ || __sh__ || __sparc__]
8683 (__ASSUME_SOCKETCALL): Define.
8684 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8685 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8686 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8687 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8688 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8689 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8690 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8691 (__ASSUME_ACCEPT4): Define instead of using previous
8692 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8693 __powerpc__ || __sparc__ || __s390__)] condition.
8694 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8695 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8696 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8697 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8698 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8699 [!__ASSUME_ACCEPT4]: Change condition to
8700 [!__ASSUME_ACCEPT4_SOCKETCALL].
8701 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8702 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8703 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8704 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8705 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8706 __ASSUME_ACCEPT4_SYSCALL.
8707 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8708 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8709 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8710 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8711 __ASSUME_ACCEPT4_SYSCALL.
8712 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8713 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8714 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8715 [__ASSUME_ACCEPT4]: Change condition to
8716 [__ASSUME_ACCEPT4_SOCKETCALL].
8717 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8718 (__ASSUME_SOCKETCALL): Define.
8719 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8720 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8721 (__ASSUME_SOCKETCALL): Define.
8722 (__ASSUME_ACCEPT4): Remove.
8723 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8725 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8726 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8728 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8729 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8731 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8733 (HWCAP_ARM_LPAE): Likewise.
8734 (HWCAP_ARM_EVTSTRM): Likewise.
8735 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8736 Add vpfd32, lpae and evtstrm.
8737 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8740 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8742 * math/auto-libm-test-in: Add tests of clog10.
8743 * math/auto-libm-test-out: Regenerated.
8744 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8745 * sysdeps/i386/fpu/libm-test-ulps: Update.
8746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8748 2014-02-18 Andreas Schwab <schwab@suse.de>
8751 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8752 Store non-zero if the second buffer was newly allocated.
8753 (send_dg): Likewise.
8754 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8755 to send_vc and send_dg.
8756 (res_nsend): Pass NULL for ansp2_malloced.
8757 * resolv/res_query.c (__libc_res_nquery): Add parameter
8758 answerp2_malloced and pass it down to __libc_res_nsend.
8759 (res_nquery): Pass additional NULL to __libc_res_nquery.
8760 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8761 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8762 second answer buffer if answerp2_malloced was set.
8763 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8764 (__libc_res_nquerydomain): Add parameter
8765 answerp2_malloced and pass it down to __libc_res_nquery.
8766 (res_nquerydomain): Pass additional NULL to
8767 __libc_res_nquerydomain.
8768 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8769 additional NULL to __libc_res_nsend and __libc_res_nquery.
8770 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8771 additional NULL to __libc_res_nsearch.
8772 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8773 parameter of __libc_res_nsearch to check for separately allocated
8775 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8777 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8778 additional NULL to __libc_res_nquery.
8779 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8781 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8782 * include/resolv.h: Update prototypes of __libc_res_nquery,
8783 __libc_res_nsearch, __libc_res_nsend.
8785 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8787 * math/auto-libm-test-in: Add tests of fma.
8788 * math/auto-libm-test-out: Regenerated.
8789 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8790 (fma_towardzero_test_data): Likewise.
8791 (fma_downward_test_data): Likewise.
8792 (fma_upward_test_data): Likewise.
8793 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8795 (rounding_modes): Add values for new field.
8796 (func_calc_method): Add value mpfr_fff_f.
8797 (func_calc_desc): Add mpfr_fff_f union field.
8798 (test_function): Add field exact_args.
8799 (FUNC): Add macro argument EXACT_ARGS.
8800 (FUNC_mpfr_f_f): Update call to FUNC.
8801 (FUNC_mpfr_f_f): Likewise.
8802 (FUNC_mpfr_ff_f): Likewise.
8803 (FUNC_mpfr_if_f): Likewise.
8804 (FUNC_mpc_c_f): Likewise.
8805 (FUNC_mpc_c_c): Likewise.
8806 (test_functions): Add fma. Update calls to FUNC.
8807 (handle_input_arg): Add argument exact_args.
8808 (add_test): Update call to handle_input_arg.
8809 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8810 (output_for_one_input_case): Update call to calc_generic_results.
8811 Recalculate exact zero results in each rounding mode.
8813 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8814 non-negative before setting low bit.
8815 * math/auto-libm-test-in: Mark one asin test possibly having
8817 * math/auto-libm-test-out: Regenerated.
8818 * sysdeps/i386/fpu/libm-test-ulps: Update.
8819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8821 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8823 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8824 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8825 ports/sysdeps/unix/sysv/linux/microblaze.
8826 * README: Add missing listing for microblaze*-*-linux-gnu.
8828 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8830 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8831 * sysdeps/unix/sysv/linux/ia64: Move directory from
8832 ports/sysdeps/unix/sysv/linux/ia64.
8833 * README: Update listing for ia64-*-linux-gnu.
8835 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8836 Joseph Myers <joseph@codesourcery.com>
8838 * Makeconfig (test-name): New variable.
8839 (evaluate-test): Likewise.
8840 * Makerules (do-test-clean): Remove .test-result files.
8841 (common-mostlyclean): Likewise.
8842 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8843 * scripts/evaluate-test.sh: New file.
8845 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8847 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8848 separate $(objpfx)tst-fopenloc-cmp.out and
8849 $(objpfx)tst-fopenloc-mem.out targets.
8850 (tests): Update dependencies.
8851 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8852 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8853 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8854 (tst-rxspencer-no-utf8-ARGS): New variable.
8855 (tst-rxspencer-no-utf8-ENV): Likewise.
8856 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8857 instead of $(objpfx)tst-rxspencer-mem.
8858 ($(objpfx)tst-rxspencer-mem): Change target to
8859 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8860 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8861 * posix/tst-rxspencer-no-utf8.c: New file.
8863 * elf/Makefile ($(objpfx)order.out): Remove rule.
8864 [$(run-built-tests) = yes] (tests): Depend on
8865 $(objpfx)order-cmp.out.
8866 ($(objpfx)order-cmp.out): New rule.
8867 [$(run-built-tests) = yes] (tests): Depend on
8868 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8869 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8870 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8871 $(objpfx)tst-array5-static-cmp.out.
8872 ($(objpfx)tst-array1.out): Remove rule.
8873 ($(objpfx)tst-array1-cmp.out): New rule.
8874 ($(objpfx)tst-array1-static.out): Remove rule.
8875 ($(objpfx)tst-array1-static-cmp.out): New rule.
8876 ($(objpfx)tst-array2.out): Remove rule.
8877 ($(objpfx)tst-array2-cmp.out): New rule.
8878 ($(objpfx)tst-array3.out): Remove rule.
8879 ($(objpfx)tst-array3-cmp.out): New rule.
8880 ($(objpfx)tst-array4.out): Remove rule.
8881 ($(objpfx)tst-array4-cmp.out): New rule.
8882 ($(objpfx)tst-array5.out): Remove rule.
8883 ($(objpfx)tst-array5-cmp.out): New rule.
8884 ($(objpfx)tst-array5-static.out): Remove rule.
8885 ($(objpfx)tst-array5-static-cmp.out): New rule.
8886 [$(run-built-tests) = yes] (tests): Depend on
8887 $(objpfx)order2-cmp.out.
8888 ($(objpfx)order2.out): Remove rule.
8889 ($(objpfx)order2-cmp.out): New rule.
8890 ($(objpfx)tst-initorder.out): Remove rule.
8891 [$(run-built-tests) = yes] (tests): Depend on
8892 $(objpfx)tst-initorder-cmp.out.
8893 ($(objpfx)tst-initorder-cmp.out): New rule.
8894 ($(objpfx)tst-initorder2.out): Remove rule.
8895 [$(run-built-tests) = yes] (tests): Depend on
8896 $(objpfx)tst-initorder2-cmp.out.
8897 ($(objpfx)tst-initorder2-cmp.out): New rule.
8898 [$(run-built-tests) = yes] (tests): Depend on
8899 $(objpfx)tst-unused-dep-cmp.out.
8900 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8901 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8902 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8903 on $(objpfx)tst-setvbuf1-cmp.out.
8904 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8905 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8906 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8907 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8908 ($(objpfx)tst-svc.out): Remove rule.
8909 ($(objpfx)tst-svc-cmp.out): New rule.
8911 2014-02-13 Joseph Myers <joseph@codesourcery.com>
8913 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8914 * ctype/ctype.h [__USE_MISC]: Likewise.
8915 * dirent/dirent.h [__USE_MISC]: Likewise.
8916 * grp/grp.h [__USE_MISC]: Likewise.
8917 * io/fcntl.h [__USE_MISC]: Likewise.
8918 * io/sys/stat.h [__USE_MISC]: Likewise.
8919 * libio/stdio.h [__USE_MISC]: Likewise.
8920 * posix/unistd.h [__USE_MISC]: Likewise.
8921 * pwd/pwd.h [__USE_MISC]: Likewise.
8922 * stdlib.h [__USE_MISC]: Likewise.
8923 * string/bits/string2.h [__USE_MISC]: Likewise.
8924 * string/string.h [__USE_MISC]: Likewise.
8925 * time/time.h [__USE_MISC]: Likewise.
8927 2014-02-13 Andreas Schwab <schwab@suse.de>
8930 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8931 second answer buffer if it was separately allocated.
8933 2014-02-12 Joseph Myers <joseph@codesourcery.com>
8935 * sysdeps/mips/math-tests.h: Include <features.h>.
8936 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8937 (ROUNDING_TESTS_long_double): Do not define.
8938 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8939 (EXCEPTION_TESTS_long_double): Likewise.
8940 * sysdeps/mips/mips64/libm-test-ulps: Update.
8942 * include/features.h (__USE_BSD): Remove macro definitions.
8943 (__USE_SVID): Likewise.
8944 (_BSD_SOURCE): Likewise.
8945 (_SVID_SOURCE): Likewise.
8946 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8947 from definition of _DEFAULT_SOURCE.
8948 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8950 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8951 * bits/mman.h [__USE_BSD]: Likewise.
8952 * bits/termios.h [__USE_BSD]: Likewise.
8953 * bits/waitstatus.h [__USE_BSD]: Likewise.
8954 * ctype/ctype.h [__USE_SVID]: Likewise.
8955 * dirent/dirent.h [__USE_BSD]: Likewise.
8956 * grp/grp.h [__USE_SVID]: Likewise.
8957 [__USE_BSD]: Likewise.
8958 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8959 * io/fcntl.h [__USE_BSD]: Likewise.
8960 * io/ftw.h [__USE_BSD]: Likewise.
8961 * io/sys/stat.h [__USE_BSD]: Likewise.
8962 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8963 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8964 * libio/stdio.h [__USE_SVID]: Likewise.
8965 [__USE_BSD]: Likewise.
8966 * math/math.h [__USE_SVID]: Likewise.
8967 [__USE_BSD]: Likewise.
8968 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8969 * misc/bits/syslog.h [__USE_BSD]: Likewise.
8970 * misc/search.h [__USE_SVID]: Likewise.
8971 * misc/sys/mman.h [__USE_BSD]: Likewise.
8972 * misc/sys/syslog.h [__USE_BSD]: Likewise.
8973 * misc/sys/uio.h [__USE_BSD]: Likewise.
8974 * posix/bits/unistd.h [__USE_BSD]: Likewise.
8975 * posix/glob.h [__USE_BSD]: Likewise.
8976 * posix/regex.h [__USE_BSD]: Likewise.
8977 * posix/sys/types.h [__USE_BSD]: Likewise.
8978 [__USE_SVID]: Likewise.
8979 * posix/sys/utsname.h [__USE_SVID]: Likewise.
8980 * posix/sys/wait.h [__USE_BSD]: Likewise.
8981 [__USE_SVID]: Likewise.
8982 * posix/unistd.h [__USE_BSD]: Likewise.
8983 [__USE_SVID]: Likewise.
8984 * pwd/pwd.h [__USE_SVID]: Likewise.
8985 * resolv/netdb.h [__USE_BSD]: Likewise.
8986 * setjmp/setjmp.h [__USE_BSD]: Likewise.
8987 * signal/signal.h [__USE_BSD]: Likewise.
8988 [__USE_SVID]: Likewise.
8989 * socket/sys/socket.h [__USE_BSD]: Likewise.
8990 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8991 * stdlib/stdlib.h [__USE_BSD]: Likewise.
8992 [__USE_SVID]: Likewise.
8993 * string/bits/string2.h [__USE_BSD]: Likewise.
8994 [__USE_SVID]: Likewise.
8995 * string/bits/string3.h [__USE_BSD]: Likewise.
8996 * string/endian.h [__USE_BSD]: Likewise.
8997 * string/string.h [__USE_SVID]: Likewise.
8998 [__USE_BSD]: Likewise.
8999 * string/strings.h [__USE_BSD]: Likewise.
9000 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9001 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9002 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9003 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9004 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9005 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9007 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9009 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9010 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9012 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9013 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9015 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9017 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9018 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9019 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9021 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9023 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9024 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9025 * termios/termios.h [__USE_BSD]: Likewise.
9026 * time/sys/time.h [__USE_BSD]: Likewise.
9027 * time/time.h [__USE_BSD]: Likewise.
9028 [__USE_SVID]: Likewise.
9030 * Makefile (subdir_targets): Remove subdir_lint.out.
9032 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9033 (do-tst-printf): Likewise.
9034 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9035 $(objpfx)tst-printf.out.
9037 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9039 * Makerules (check-abi-%): Change target to
9040 $(objpfx)check-abi-%.out.
9041 (check-abi target): Update dependencies.
9042 (check-abi-pattern variable): Redirect output of diff to $@.
9043 (check-abi variable): Likewise.
9044 * elf/Makefile (check-abi): Update dependencies.
9046 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9048 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9049 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9051 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9052 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9053 value has largest subnormal exponent.
9054 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9055 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9056 * sysdeps/aarch64/soft-fp/sfp-machine.h
9057 (_FP_TININESS_AFTER_ROUNDING): New macro.
9058 * sysdeps/alpha/soft-fp/sfp-machine.h
9059 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9060 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9062 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9063 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9064 * sysdeps/mips/soft-fp/sfp-machine.h
9065 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9066 * sysdeps/powerpc/soft-fp/sfp-machine.h
9067 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9068 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9070 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9071 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9072 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9073 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9074 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9077 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9080 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9083 2014-02-12 Richard Henderson <rth@redhat.com>
9085 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9086 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9087 * sysdeps/unix/sysv/linux/alpha: Move directory from
9088 ports/sysdeps/unix/sysv/linux/alpha.
9089 * README: Update listing for alpha-*-linux-gnu.
9091 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9093 * include/features.h: Update comment documenting feature test
9095 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9097 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9098 (_SVID_SOURCE): Likewise.
9099 (_DEFAULT_SOURCE): Update description of default features.
9100 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9102 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9103 (S_ISVTX): Likewise.
9104 * manual/math.texi (Mathematical Constants): Likewise.
9105 * manual/signal.texi (Interrupted Primitives): Likewise.
9106 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9107 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9108 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9109 Don't refer to _SVID_SOURCE in warning text.
9111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9113 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9115 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9116 * sysdeps/mips/dl-lookup.c: Remove.
9117 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9119 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9122 * math/auto-libm-test-in: Add testcase for expl.
9123 * math/auto-libm-test-out: Regenerate.
9124 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9125 calculation of unsafe.
9126 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9128 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9130 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9131 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9132 ports/sysdeps/unix/sysv/linux/aarch64.
9133 * README: Update listing for aarch64*-*-linux-gnu.
9135 2014-02-11 Will Newton <will.newton@linaro.org>
9137 * manual/probes.texi (Mathematical Function Probes): Use
9138 "triggered" instead of "hit".
9140 * manual/probes.texi (Internal Probes): Add documentation
9141 of setjmp, longjmp and longjmp_target probes.
9143 * include/stap-probe.h: Add comment about probe argument
9146 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9147 definition. (tr_where, tr_freehook, tr_mallochook,
9148 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9150 2014-02-11 David S. Miller <davem@davemloft.net>
9152 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9153 processing int_tests.
9155 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9157 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9158 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9159 * sysdeps/unix/sysv/linux/mips: Move directory from
9160 ports/sysdeps/unix/sysv/linux/mips.
9161 * README: Update listing for mips-*-linux-gnu and
9164 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9166 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9167 * sysdeps/unix/sysv/linux/m68k: Move directory from
9168 ports/sysdeps/unix/sysv/linux/m68k.
9169 * README: Update listing for m68k-*-linux-gnu.
9171 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9173 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9174 * sysdeps/unix/sysv/linux/generic: Move directory from
9175 ports/sysdeps/unix/sysv/linux/generic.
9176 * sysdeps/unix/sysv/linux/tile: Move directory from
9177 ports/sysdeps/unix/sysv/linux/tile.
9178 * README: Update listing for tile*-*-linux-gnu.
9180 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9182 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9184 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9185 * catgets/open_catalog.c (__open_catalog): Likewise.
9186 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9187 * debug/confstr_chk.c: Likewise.
9188 * debug/fread_chk.c (__fread_chk): Likewise.
9189 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9190 * debug/getgroups_chk.c: Likewise.
9191 * debug/mbsnrtowcs_chk.c: Likewise.
9192 * debug/mbsrtowcs_chk.c: Likewise.
9193 * debug/mbstowcs_chk.c: Likewise.
9194 * debug/memcpy_chk.c: Likewise.
9195 * debug/memmove_chk.c: Likewise.
9196 * debug/mempcpy_chk.c: Likewise.
9197 * debug/memset_chk.c: Likewise.
9198 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9199 * debug/strcat_chk.c (__strcat_chk): Likewise.
9200 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9201 * debug/strncat_chk.c (__strncat_chk): Likewise.
9202 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9203 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9204 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9205 * debug/wcpncpy_chk.c: Likewise.
9206 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9207 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9208 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9209 * debug/wcsncpy_chk.c: Likewise.
9210 * debug/wcsnrtombs_chk.c: Likewise.
9211 * debug/wcsrtombs_chk.c: Likewise.
9212 * debug/wcstombs_chk.c: Likewise.
9213 * debug/wmemcpy_chk.c: Likewise.
9214 * debug/wmemmove_chk.c: Likewise.
9215 * debug/wmempcpy_chk.c: Likewise.
9216 * debug/wmemset_chk.c: Likewise.
9217 * dirent/scandirat.c (SCANDIRAT): Likewise.
9218 * dlfcn/dladdr1.c (dladdr1): Likewise.
9219 * dlfcn/dladdr.c (dladdr): Likewise.
9220 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9221 * dlfcn/dlerror.c (__dlerror): Likewise.
9222 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9223 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9224 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9225 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9226 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9227 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9228 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9229 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9231 * elf/dl-conflict.c: Likewise.
9232 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9233 * elf/dl-dst.h: Likewise.
9234 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9235 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9236 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9237 * elf/dl-init.c (call_init, _dl_init): Likewise.
9238 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9239 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9240 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9242 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9244 * elf/dl-minimal.c (__libc_memalign): Likewise.
9245 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9246 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9247 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9248 * elf/dl-sym.c (do_sym): Likewise.
9249 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9250 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9251 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9252 * elf/dl-writev.h (_dl_writev): Likewise.
9253 * elf/ldconfig.c (search_dir): Likewise.
9254 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9255 (dl_main): Likewise.
9256 * elf/setup-vdso.h (setup_vdso): Likewise.
9257 * grp/compat-initgroups.c (compat_call): Likewise.
9258 * grp/fgetgrent.c (fgetgrent): Likewise.
9259 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9260 * grp/putgrent.c (putgrent): Likewise.
9261 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9263 * hurd/hurdinit.c: Likewise.
9264 * iconvdata/8bit-gap.c (struct): Likewise.
9265 * iconvdata/ansi_x3.110.c : Likewise.
9266 * iconvdata/big5.c : Likewise.
9267 * iconvdata/big5hkscs.c : Likewise.
9268 * iconvdata/cp1255.c: Likewise.
9269 * iconvdata/cp1258.c : Likewise.
9270 * iconvdata/cp932.c : Likewise.
9271 * iconvdata/euc-cn.c: Likewise.
9272 * iconvdata/euc-jisx0213.c : Likewise.
9273 * iconvdata/euc-jp.c: Likewise.
9274 * iconvdata/euc-jp-ms.c : Likewise.
9275 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9276 * iconvdata/gb18030.c : Likewise.
9277 * iconvdata/gbbig5.c (const): Likewise.
9278 * iconvdata/gbgbk.c: Likewise.
9279 * iconvdata/gbk.c : Likewise.
9280 * iconvdata/ibm1364.c : Likewise.
9281 * iconvdata/ibm930.c : Likewise.
9282 * iconvdata/ibm932.c: Likewise.
9283 * iconvdata/ibm933.c : Likewise.
9284 * iconvdata/ibm935.c : Likewise.
9285 * iconvdata/ibm937.c : Likewise.
9286 * iconvdata/ibm939.c : Likewise.
9287 * iconvdata/ibm943.c: Likewise.
9288 * iconvdata/iso_11548-1.c: Likewise.
9289 * iconvdata/iso-2022-cn.c : Likewise.
9290 * iconvdata/iso-2022-cn-ext.c : Likewise.
9291 * iconvdata/iso-2022-jp-3.c: Likewise.
9292 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9293 * iconvdata/iso-2022-kr.c : Likewise.
9294 * iconvdata/iso646.c (gconv_end): Likewise.
9295 * iconvdata/iso_6937-2.c : Likewise.
9296 * iconvdata/iso_6937.c : Likewise.
9297 * iconvdata/iso8859-1.c: Likewise.
9298 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9299 * iconvdata/shift_jisx0213.c : Likewise.
9300 * iconvdata/sjis.c : Likewise.
9301 * iconvdata/t.61.c : Likewise.
9302 * iconvdata/tcvn5712-1.c : Likewise.
9303 * iconvdata/tscii.c: Likewise.
9304 * iconvdata/uhc.c : Likewise.
9305 * iconvdata/unicode.c (gconv_end): Likewise.
9306 * iconvdata/utf-16.c (gconv_end): Likewise.
9307 * iconvdata/utf-32.c (gconv_end): Likewise.
9308 * iconvdata/utf-7.c (base64): Likewise.
9309 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9310 * iconv/gconv_close.c (__gconv_close): Likewise.
9311 * iconv/gconv_open.c (__gconv_open): Likewise.
9312 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9313 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9314 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9315 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9316 (ucs4le_internal_loop_single): Likewise.
9317 * iconv/iconv.c (iconv): Likewise.
9318 * iconv/iconv_close.c: Likewise.
9319 * iconv/loop.c (SINGLE): Likewise.
9320 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9321 * include/atomic.h: Likewise.
9322 * inet/inet6_option.c (option_alloc): Likewise.
9323 * intl/bindtextdom.c (set_binding_values): Likewise.
9324 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9325 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9326 * intl/localealias.c (read_alias_file): Likewise.
9327 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9328 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9329 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9330 * libio/fmemopen.c (fmemopen): Likewise.
9331 * libio/iofgets.c (_IO_fgets): Likewise.
9332 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9333 * libio/iofgetws.c (fgetws): Likewise.
9334 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9335 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9336 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9337 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9338 * locale/findlocale.c (_nl_find_locale): Likewise.
9339 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9340 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9342 * locale/setlocale.c (setlocale): Likewise.
9343 * login/programs/pt_chown.c (main): Likewise.
9344 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9345 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9346 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9347 (mmap, mmap64, mremap, munmap): Likewise.
9348 * math/e_exp2l.c: Likewise.
9349 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9350 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9351 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9352 * math/s_catan.c (__catan): Likewise.
9353 * math/s_catanf.c (__catanf): Likewise.
9354 * math/s_catanh.c (__catanh): Likewise.
9355 * math/s_catanhf.c (__catanhf): Likewise.
9356 * math/s_catanhl.c (__catanhl): Likewise.
9357 * math/s_catanl.c (__catanl): Likewise.
9358 * math/s_ccosh.c (__ccosh): Likewise.
9359 * math/s_ccoshf.c (__ccoshf): Likewise.
9360 * math/s_ccoshl.c (__ccoshl): Likewise.
9361 * math/s_cexp.c (__cexp): Likewise.
9362 * math/s_cexpf.c (__cexpf): Likewise.
9363 * math/s_cexpl.c (__cexpl): Likewise.
9364 * math/s_clog10.c (__clog10): Likewise.
9365 * math/s_clog10f.c (__clog10f): Likewise.
9366 * math/s_clog10l.c (__clog10l): Likewise.
9367 * math/s_clog.c (__clog): Likewise.
9368 * math/s_clogf.c (__clogf): Likewise.
9369 * math/s_clogl.c (__clogl): Likewise.
9370 * math/s_csin.c (__csin): Likewise.
9371 * math/s_csinf.c (__csinf): Likewise.
9372 * math/s_csinh.c (__csinh): Likewise.
9373 * math/s_csinhf.c (__csinhf): Likewise.
9374 * math/s_csinhl.c (__csinhl): Likewise.
9375 * math/s_csinl.c (__csinl): Likewise.
9376 * math/s_csqrt.c (__csqrt): Likewise.
9377 * math/s_csqrtf.c (__csqrtf): Likewise.
9378 * math/s_csqrtl.c (__csqrtl): Likewise.
9379 * math/s_ctan.c (__ctan): Likewise.
9380 * math/s_ctanf.c (__ctanf): Likewise.
9381 * math/s_ctanh.c (__ctanh): Likewise.
9382 * math/s_ctanhf.c (__ctanhf): Likewise.
9383 * math/s_ctanhl.c (__ctanhl): Likewise.
9384 * math/s_ctanl.c (__ctanl): Likewise.
9385 * math/w_pow.c: Likewise.
9386 * math/w_powf.c: Likewise.
9387 * math/w_powl.c: Likewise.
9388 * math/w_scalb.c (sysv_scalb): Likewise.
9389 * math/w_scalbf.c (sysv_scalbf): Likewise.
9390 * math/w_scalbl.c (sysv_scalbl): Likewise.
9391 * misc/error.c (error_tail): Likewise.
9392 * misc/pselect.c (__pselect): Likewise.
9393 * nis/nis_callback.c (__nis_create_callback): Likewise.
9394 * nis/nis_call.c (__nisfind_server): Likewise.
9395 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9396 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9397 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9398 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9399 * nis/nis_lookup.c (nis_lookup): Likewise.
9400 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9401 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9402 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9403 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9404 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9405 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9406 * nis/nss_compat/compat-initgroups.c (add_group)
9407 (internal_getgrent_r): Likewise.
9408 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9409 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9410 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9411 (internal_getspnam_r): Likewise.
9412 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9413 (_nss_nis_getaliasbyname_r): Likewise.
9414 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9415 (_nss_nis_getntohost_r): Likewise.
9416 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9417 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9418 (_nss_nis_getgrgid_r): Likewise.
9419 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9420 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9421 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9422 (_nss_nis_gethostbyname4_r): Likewise.
9423 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9424 (initgroups_netid): Likewise.
9425 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9426 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9427 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9428 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9429 (_nss_nis_getprotobynumber_r): Likewise.
9430 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9431 (_nss_nis_getsecretkey): Likewise.
9432 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9433 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9434 (_nss_nis_getpwuid_r): Likewise.
9435 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9436 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9437 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9438 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9439 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9440 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9441 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9443 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9444 (_nss_nisplus_getntohost_r): Likewise.
9445 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9446 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9447 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9448 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9450 * nis/nss_nisplus/nisplus-initgroups.c
9451 (_nss_nisplus_initgroups_dyn): Likewise.
9452 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9453 (_nss_nisplus_getnetbyaddr_r): Likewise.
9454 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9455 (_nss_nisplus_getprotobynumber_r): Likewise.
9456 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9457 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9458 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9460 * nis/nss_nisplus/nisplus-service.c
9461 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9462 (_nss_nisplus_getservbyport_r): Likewise.
9463 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9464 (_nss_nisplus_getspnam_r): Likewise.
9465 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9467 * nscd/aicache.c (addhstaiX): Likewise.
9468 * nscd/cache.c (cache_search, prune_cache): Likewise.
9469 * nscd/connections.c (register_traced_file, send_ro_fd)
9470 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9471 (main_loop_epoll): Likewise.
9472 * nscd/grpcache.c (addgrbyX): Likewise.
9473 * nscd/hstcache.c (addhstbyX): Likewise.
9474 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9475 * nscd/mem.c (gc, mempool_alloc): Likewise.
9476 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9477 (addinnetgrX): Likewise.
9478 * nscd/nscd-client.h (__nscd_acquire_maplock)
9479 (__nscd_drop_map_ref): Likewise.
9480 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9481 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9482 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9484 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9486 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9487 (__nscd_get_map_ref): Likewise.
9488 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9489 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9491 * nscd/pwdcache.c (addpwbyX): Likewise.
9492 * nscd/selinux.c (preserve_capabilities): Likewise.
9493 * nscd/servicescache.c (addservbyX): Likewise.
9494 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9495 * posix/fnmatch.c (fnmatch): Likewise.
9496 * posix/getopt.c (_getopt_internal_r): Likewise.
9497 * posix/glob.c (glob, glob_in_dir): Likewise.
9498 * posix/wordexp.c (exec_comm_child): Likewise.
9499 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9500 (getanswer_r, gaih_getanswer_slice): Likewise.
9501 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9502 * resolv/res_init.c: Likewise.
9503 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9504 * resolv/res_query.c (__libc_res_nquery): Likewise.
9505 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9507 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9508 * stdio-common/perror.c (perror): Likewise.
9509 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9510 * stdio-common/tmpnam.c (tmpnam): Likewise.
9511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9512 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9513 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9515 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9516 * stdlib/putenv.c (putenv): Likewise.
9517 * stdlib/setenv.c (__add_to_environ): Likewise.
9518 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9519 * stdlib/strtol_l.c (INTERNAL): Likewise.
9520 * string/memmem.c (memmem): Likewise.
9521 * string/strerror.c (strerror): Likewise.
9522 * string/strnlen.c (__strnlen): Likewise.
9523 * string/test-memmem.c (simple_memmem): Likewise.
9524 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9525 * sunrpc/pm_getport.c (__get_socket): Likewise.
9526 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9527 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9528 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9529 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9531 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9532 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9533 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9534 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9535 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9536 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9538 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9540 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9541 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9542 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9543 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9544 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9546 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9547 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9548 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9549 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9550 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9551 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9553 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9555 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9557 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9558 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9559 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9560 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9561 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9562 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9563 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9571 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9574 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9578 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9580 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9581 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9582 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9584 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9585 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9586 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9587 * sysdeps/posix/sleep.c: Likewise.
9588 * sysdeps/posix/tempname.c: Likewise.
9589 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9590 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9592 * sysdeps/powerpc/powerpc32/dl-machine.h
9593 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9594 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9595 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9596 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9597 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9599 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9600 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9601 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9602 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9603 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9604 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9605 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9606 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9607 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9608 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9609 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9610 (elf_machine_lazy_rel): Likewise.
9611 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9612 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9613 (elf_machine_lazy_rel): Likewise.
9614 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9615 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9616 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9617 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9618 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9619 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9620 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9621 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9623 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9624 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9625 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9626 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9627 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9628 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9629 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9630 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9631 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9632 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9633 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9635 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9636 (__posix_fallocate64_l64): Likewise.
9637 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9638 (posix_fallocate): Likewise.
9639 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9641 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9642 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9643 (getifaddrs_internal): Likewise.
9644 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9645 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9646 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9647 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9648 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9649 (__posix_fallocate64_l64): Likewise.
9650 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9652 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9653 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9654 (__get_clockfreq): Likewise.
9655 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9656 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9657 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9658 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9659 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9660 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9661 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9662 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9664 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9665 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9666 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9667 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9669 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9670 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9672 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9673 (posix_fallocate): Likewise.
9674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9675 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9676 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9677 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9678 (elf_machine_rela, elf_machine_rela_relative)
9679 (elf_machine_lazy_rel): Likewise.
9680 * time/asctime.c (asctime_internal): Likewise.
9681 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9682 * time/tzset.c (__tzset_parse_tz): Likewise.
9683 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9684 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9685 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9686 * wcsmbs/wcsmbsload.h: Likewise.
9689 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9691 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9692 (arena_get2): Remove THREAD_STATS conditionals.
9693 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9694 (__malloc_stats, int): Likewise.
9696 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9698 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9699 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9701 * manual/setjmp.texi: Fix typos/grammar errors.
9703 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9704 Only return early when n is <= 0. Delete unused return statement.
9706 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9707 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9708 * debug/tst-longjmp_chk3.c: New file.
9710 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9711 (test_main): Replace code with set_fortify_handler call.
9712 * debug/test-strcpy_chk.c: Likewise.
9713 * debug/tst-chk1.c: Likewise.
9714 * debug/tst-longjmp_chk.c: Likewise.
9715 * test-skeleton.c: Include fcntl.h & paths.h
9716 (set_fortify_handler): Define.
9718 * debug/tst-longjmp_chk.c: Add header comment and include
9720 (do_test): Mark static.
9721 (TEST_FUNCTION): Define.
9723 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9724 (IP_PMTUDISC_INTERFACE): Likewise.
9725 (IP_MULTICAST_IF): Likewise.
9726 (IP_MULTICAST_TTL): Likewise.
9727 (IP_MULTICAST_LOOP): Likewise.
9728 (IP_ADD_MEMBERSHIP): Likewise.
9729 (IP_DROP_MEMBERSHIP): Likewise.
9730 (IP_UNBLOCK_SOURCE): Likewise.
9731 (IP_BLOCK_SOURCE): Likewise.
9732 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9733 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9734 (IP_MSFILTER): Likewise.
9735 (MCAST_JOIN_GROUP): Likewise.
9736 (MCAST_BLOCK_SOURCE): Likewise.
9737 (MCAST_UNBLOCK_SOURCE): Likewise.
9738 (MCAST_LEAVE_GROUP): Likewise.
9739 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9740 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9741 (MCAST_MSFILTER): Likewise.
9742 (IP_MULTICAST_ALL): Likewise.
9743 (IP_UNICAST_IF): Likewise.
9745 * timezone/Makefile: Delete $(have-ksh) check.
9746 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9747 * timezone/tzselect.ksh: Add +x mode bits.
9749 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9750 (ANON_INODE_FS_MAGIC): Likewise.
9751 (BDEVFS_MAGIC): Likewise.
9752 (BINFMTFS_MAGIC): Likewise.
9753 (BTRFS_TEST_MAGIC): Likewise.
9754 (CRAMFS_MAGIC_WEND): Likewise.
9755 (DEBUGFS_MAGIC): Likewise.
9756 (ECRYPTFS_SUPER_MAGIC): Likewise.
9757 (EXT3_SUPER_MAGIC): Likewise.
9758 (EXT4_SUPER_MAGIC): Likewise.
9759 (FUTEXFS_SUPER_MAGIC): Likewise.
9760 (HOSTFS_SUPER_MAGIC): Likewise.
9761 (HUGETLBFS_MAGIC): Likewise.
9762 (MINIX3_SUPER_MAGIC): Likewise.
9763 (MTD_INODE_FS_MAGIC): Likewise.
9764 (NILFS_SUPER_MAGIC): Likewise.
9765 (OPENPROM_SUPER_MAGIC): Likewise.
9766 (PIPEFS_MAGIC): Likewise.
9767 (PSTOREFS_MAGIC): Likewise.
9768 (QNX6_SUPER_MAGIC): Likewise.
9769 (RAMFS_MAGIC): Likewise.
9770 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9771 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9772 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9773 (SECURITYFS_MAGIC): Likewise.
9774 (SELINUX_MAGIC): Likewise.
9775 (SMACK_MAGIC): Likewise.
9776 (SOCKFS_MAGIC): Likewise.
9777 (SQUASHFS_MAGIC): Likewise.
9778 (STACK_END_MAGIC): Likewise.
9779 (TMPFS_MAGIC): Likewise.
9780 (USBDEVICE_SUPER_MAGIC): Likewise.
9781 (V9FS_MAGIC): Likewise.
9782 (XENFS_SUPER_MAGIC): Likewise.
9783 (CRAMFS_MAGIC): Fix typo in comment.
9784 (EXT2_SUPER_MAGIC): Update comment.
9785 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9787 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9789 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9790 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9791 * sysdeps/unix/sysv/linux/arm: Move directory from
9792 ports/sysdeps/unix/sysv/linux/arm.
9793 * README: Update listing for arm-*-linux-gnueabi.
9795 * README: Remove mention of am33.
9797 2014-02-07 Roland McGrath <roland@hack.frob.com>
9799 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9800 than the comma operator, to avoid "rhs of comma has no effect"
9802 (__sigfillset, __sigandset, __sigorset): Likewise.
9803 * include/signal.h (__sigemptyset): Likewise.
9804 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9806 2014-02-07 Allan McRae <allan@archlinux.org>
9808 * version.h (RELEASE): Set to "development".
9809 (VERSION): Set to "2.19.90"
9810 * NEWS: Add 2.20 section.
9812 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9815 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9817 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9819 * manual/contrib.texi: Update entry for Carlos O'Donell,
9820 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9822 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9824 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9826 * sysdeps/unix/sysv/linux/kernel-features.h
9827 [__LINUX_KERNEL_VERSION >= 0x020621]
9828 (__ASSUME_PROC_PID_TASK_COMM): Define.
9830 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9833 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9834 conversion when destination buffer does not have enough space.
9835 * libio/tst-ftell-partial-wide.c: New test case.
9836 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9838 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9839 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9840 Leonard and Allan McRae.
9842 2014-02-04 David S. Miller <davem@davemloft.net>
9844 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9847 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9876 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9878 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9879 * shlib-versions: Likewise.
9881 2014-02-04 Roland McGrath <roland@hack.frob.com>
9882 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9884 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9885 (abilist-pattern): New variable, set to %-le.abilist.
9887 * Makerules (abilist-pattern): New variable.
9888 (vpath): Use $(abilist-pattern) in place of %.abilist.
9889 (check-abi-% pattern rule): Likewise.
9890 (check-abi, update-abi): Likewise.
9892 2014-02-04 Eric Wong <normalperson@yhbt.net>
9894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9896 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9898 * manual/startup.texi: Add next, previous, and top entries for
9899 the `Program Arguments' and `Environment Variables' nodes.
9901 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9903 * manual/macros.texi: Add comments before MTASC-safety macros.
9905 * manual/users.texi: Document MTASC-safety properties.
9907 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9908 (pthread_getspecific, pthread_setspecific): Format with
9909 @deftypefun, and add @safety note.
9910 * manual/signal.texi: Move comments that analyze the above
9911 functions to their home place.
9913 2014-02-03 Allan McRae <allan@archlinux.org>
9915 * po/sl.po: Update Slovenian translation from translation project.
9917 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
9919 * manual/time.texi (timegm): Add missing blank after @c.
9920 Reported by Joseph Myers <joseph@codesourcery.com>.
9922 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
9924 * manual/check-safety.sh: New.
9925 * manual/Makefile ($(objpfx)stamp-summary): Run it.
9927 * manual/terminal.texi: Document MTASC-safety properties.
9929 * manual/filesys.texi: Document MTASC-safety properties.
9931 * manual/errno.texi: Document MTASC-safety properties.
9933 * manual/intro.texi: Document safety identifiers and
9936 * manual/string.texi (wcstok): Fix prototype.
9937 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9939 * manual/time.texi: Document MTASC-safety properties.
9941 * manual/string.texi: Document MTASC-safety properties.
9943 * manual/threads.texi: Document MTASC-safety properties.
9945 * manual/stdio.texi: Document MTASC-safety properties.
9947 * manual/syslog.texi: Document MTASC-safety properties.
9949 * manual/sysinfo.texi: Document MTASC-safety properties.
9951 * manual/startup.texi: Document MTASC-safety properties.
9953 * manual/socket.texi: Document MTASC-safety properties.
9955 * manual/signal.texi: Document MTASC-safety properties.
9957 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
9959 * manual/setjmp.texi: Document MTASC-safety properties.
9961 * manual/search.texi: Document MTASC-safety properties.
9963 * manual/resource.texi: Document MTASC-safety properties.
9965 * manual/process.texi: Document MTASC-safety properties.
9967 * manual/platform.texi: Document MTASC-safety properties.
9969 * manual/pipe.texi: Document MTASC-safety properties.
9971 * manual/pattern.texi: Document MTASC-safety properties.
9973 * manual/message.texi: Document MTASC-safety properties.
9976 * manual/memory.texi: Document MTASC-safety properties.
9978 * manual/math.texi: Document MTASC-safety properties.
9980 * manual/locale.texi: Document MTASC-safety properties.
9982 * manual/llio.texi: Document MTASC-safety properties.
9984 * manual/libdl.texi: New.
9986 * manual/lang.texi: Document MTASC-safety properties.
9988 * manual/job.texi: Document MTASC-safety properties.
9990 * manual/getopt.texi: Document MTASC-safety properties.
9992 * manual/ctype.texi: Document MTASC-safety properties.
9994 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
9997 * csu/libc-tls.c (static_map): Remove variable.
9998 (__libc_setup_tls): Use main executable's link map for TLS data.
9999 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10000 casing for LM_ID_BASE and GL(dl_nns).
10001 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10002 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10003 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10004 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10005 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10007 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10010 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10012 * manual/debug.texi: Document MTASC-safety properties.
10014 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10017 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10018 of __x86_64__ when disabling x87 inline functions.
10020 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10022 * manual/charset.texi: Document MTASC-safety properties.
10024 * manual/crypt.texi: Document MTASC-safety properties.
10026 * manual/conf.texi: Document MTASC-safety properties.
10028 * manual/arith.texi: Document MTASC-safety properties.
10030 * manual/argp.texi: Document MTASC-safety properties.
10032 * manual/macros.texi: Introduce macros to document multi
10033 thread, asynchronous signal and asynchronous cancellation
10035 * manual/intro.texi: Introduce the properties themselves.
10037 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10039 * sysdeps/sh/sh4/Makefile: New file.
10041 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10043 * math/gen-libm-test.pl ($srcdir): New variable.
10044 ($auto_input): Use it.
10046 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10049 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10050 access beyond array bounds when parsing netgroups file.
10052 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10053 the old buffer before realloc.
10055 2014-01-27 Allan McRae <allan@archlinux.org>
10057 * po/fr.po: Update French translation from translation project.
10059 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10061 * sysdeps/sh/libm-test-ulps: Regenerate.
10063 2014-01-24 David S. Miller <davem@davemloft.net>
10065 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10067 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10069 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10070 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10072 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10075 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10076 string pointers after reallocation.
10078 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10080 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10081 __SH4A__ instead of __SH_FPU_ANY__.
10083 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10085 * sysdeps/sh/fpu_control.h: New file.
10086 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10087 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10088 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10089 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10090 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10091 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10092 * sysdeps/sh/sys/ucontext.h: Remove.
10093 * sysdeps/sh/sys: Remove directory.
10095 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10097 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10098 s390/sys/ucontext.h.
10099 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10102 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10105 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10107 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10110 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10111 Adjust the vDSO correctly for internal calls.
10112 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10114 2014-01-20 Allan McRae <allan@archlinux.org>
10116 * po/ca.po: Update Catalan translation from translation project.
10118 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10120 * sysdeps/s390/sotruss-lib.c: New file.
10122 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10126 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10127 local calls issues by not having a PLT stub required for IFUNC calls.
10128 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10130 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10132 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10133 * math/test-fpucw-static.c: Likewise.
10135 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10138 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10140 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10142 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10143 implementation for powerpc.
10145 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10148 * sysdeps/posix/system.c (__libc_system): Do not enable
10149 asynchronous cancellation.
10151 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10154 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10155 handling only for numbers special also in the IEEE case.
10157 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10159 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10161 2014-01-11 Allan McRae <allan@archlinux.org>
10163 * po/bg.po: Update Bulgarian translation from translation project.
10165 * po/de.po: Update German translation from translation project.
10167 2014-01-10 Roland McGrath <roland@hack.frob.com>
10169 * sysdeps/generic/gcc-compat.h: New file.
10171 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10173 * benchtests/asin-inputs: Correct slow inputs.
10174 * benchtests/acos-inputs: Likewise.
10176 2014-01-10 Allan McRae <allan@archlinux.org>
10178 * po:sv.po: Update Swedish translation from translation project.
10180 * po/vi.po: Update Vietnamese translation from translation project.
10182 * po/eo.po: Update Esperanto translation from translation project.
10184 * po/cs.po: Update Czech translation from translation project.
10186 * po/nl.po: Update Dutch translation from translation project.
10188 * po/pl.po: Update Polish translation from translation project.
10190 * po/ru.po: Update Russian translation from translation project.
10192 * po/uk.po: Update Ukrainian translation from translation project.
10194 2014-01-08 Brooks Moses <bmoses@google.com>
10196 * elf/dl-load.c: Fix comment typo.
10198 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10200 * po/header.pot: Rename to...
10201 * po/pot.header: ... this.
10202 * po/Makefile: Use pot.header.
10204 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10205 Maxim Kuvyrkov <maxim@kugelworks.com>
10208 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10209 SRC and DEST against LEN.
10211 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10214 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10216 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10218 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10222 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10225 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10226 for large positive arguments.
10228 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10230 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10232 * math/auto-libm-test-in: Mark various tests with
10233 xfail-rounding:ldbl-128ibm.
10234 * math/auto-libm-test-out: Regenerated.
10237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10238 Increase overflow threshold.
10240 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10243 * stdio-common/vfprintf.c: Check for integer overflow.
10245 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10247 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10248 the first argument and return value of __tls_get_addr_internal.
10250 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10252 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10253 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10255 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10257 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10258 * sysdeps/s390/rtld-global-offsets.sym: New file.
10259 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10261 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10262 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10263 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10265 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10266 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10272 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10273 halfs of GPRs for high_gprs contexts.
10274 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10275 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10277 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10281 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10282 for high GPRs (uc_high_gprs) and for future extensions
10284 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10285 for future extensions (__reserved).
10286 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10288 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10289 SC_HIGHGPRS offset definition.
10290 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10291 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10293 * Versions.def: Add GLIBC_2.19 for libpthread.
10294 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10295 siglongjmp for libpthread with GLIBC_2.19 symver.
10296 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10297 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10298 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10299 * sysdeps/s390/__longjmp.c: New file.
10300 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10301 * sysdeps/s390/longjmp.c: New file.
10302 * sysdeps/s390/setjmp.S: New file.
10303 * sysdeps/s390/sigjmp.S: New file.
10304 * sysdeps/s390/v1-longjmp.c: New file.
10305 * sysdeps/s390/v1-setjmp.h: New file.
10306 * sysdeps/s390/v1-sigjmp.c: New file.
10307 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10308 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10309 GLIBC_2.19 version.
10310 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10311 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10312 versioned symbols for ____longjmp_chk.
10313 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10323 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10324 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10325 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10326 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10327 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10328 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10329 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10330 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10331 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10332 * sysdeps/s390/rtld-__longjmp.c: New file.
10333 * sysdeps/s390/rtld-setjmp.S: New file.
10335 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10338 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10339 Return -__logl (x) for small positive arguments without evaluating
10342 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10344 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10346 (__ptrace_peeksiginfo_args): ... this.
10347 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10348 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10349 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10351 2014-01-06 Allan McRae <allan@archlinux.org>
10353 * inet/netinet/in.h: Fix typo in comment.
10355 2014-01-05 Andreas Jaeger <aj@suse.de>
10357 * sysdeps/i386/fpu/libm-test-ulps: Update.
10359 2014-01-05 Allan McRae <allan@archlinux.org>
10361 * po/libc.pot: Regenerated.
10363 * malloc/memusagestat.c: Fix gettext call formatting.
10365 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10367 * nscd/nscd.c: Improve usage() output.
10369 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10371 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10372 * sysdeps/unix/sysv/linux/configure: Regenerated.
10373 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10374 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10376 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10379 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10380 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10382 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10385 extra tokens at end of #undef directive.
10386 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10387 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10388 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10390 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10392 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10394 * math/auto-libm-test-in: Mark various tests with
10395 xfail-rounding:ldbl-128ibm.
10396 * math/auto-libm-test-out: Regenerated.
10398 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10401 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10402 numbers with subnormal high part when calculating exponent.
10405 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10409 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10411 (__ieee754_acoshl): Use __log1pl not __log1p.
10413 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10415 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10416 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10417 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10418 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10419 (reused_arena, arena_get2): Convert to GNU style.
10420 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10421 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10422 (memalign_check, __malloc_set_state): Likewise.
10423 * malloc/mallocbug.c (main): Likewise.
10424 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10425 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10426 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10427 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10428 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10429 (__posix_memalign, malloc_info): Likewise.
10430 * malloc/malloc.h: Likewise.
10431 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10432 (mallochook, memalignhook, reallochook, mabort): Likewise.
10433 * malloc/mcheck.h: Likewise.
10434 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10435 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10436 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10437 * malloc/morecore.c (__default_morecore): Likewise.
10438 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10439 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10440 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10441 (print_and_abort): Likewise.
10442 * malloc/obstack.h: Likewise.
10443 * malloc/set-freeres.c (__libc_freeres): Likewise.
10444 * malloc/tst-mallocstate.c (main): Likewise.
10445 * malloc/tst-mtrace.c (main): Likewise.
10446 * malloc/tst-realloc.c (do_test): Likewise.
10448 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10451 * nscd/netgroupcache.c (do_notfound): New function.
10452 (addgetnetgrentX): Use it.
10455 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10456 NSS_STATUS_NOTFOUND.
10458 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10460 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10463 2014-01-01 Allan McRae <allan@archlinux.org>
10465 * scripts/update-copyrights: Update configure input file suffix.
10467 * NEWS: Update copyright year.
10468 * catgets/gencat.c: Likewise.
10469 * csu/version.c: Likewise.
10470 * debug/catchsegv.sh: Likewise.
10471 * debug/pcprofiledump.c: Likewise.
10472 * debug/xtrace.sh: Likewise.
10473 * elf/ldconfig.c: Likewise.
10474 * elf/ldd.bash.in: Likewise.
10475 * elf/pldd.c: Likewise.
10476 * elf/sotruss.ksh: Likewise.
10477 * elf/sprof.c: Likewise.
10478 * iconv/iconv_prog.c: Likewise.
10479 * iconv/iconvconfig.c: Likewise.
10480 * locale/programs/locale.c: Likewise.
10481 * locale/programs/localedef.c: Likewise.
10482 * login/programs/pt_chown.c: Likewise.
10483 * malloc/memusage.sh: Likewise.
10484 * malloc/memusagestat.c: Likewise.
10485 * malloc/mtrace.pl: Likewise.
10486 * manual/libc.texinfo: Likewise.
10487 * nscd/nscd.c: Likewise.
10488 * nss/getent.c: Likewise.
10489 * nss/makedb.c: Likewise.
10490 * posix/getconf.c: Likewise.
10491 * scripts/test-installation.pl: Likewise.
10493 * All files with FSF copyright notices: Update copyright dates
10494 using scripts/update-copyrights.
10495 * intl/plural.c: Regenerated.
10496 * locale/programs/charmap-kw.h: Likewise.
10497 * locale/programs/locfile-kw.h: Likewise.
10499 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10501 * sysdeps/unix/sysv/linux/configure: Regenerated.
10502 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10503 the linux/fanotify.h header.
10504 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10505 HAVE_LINUX_FANOTIFY_H is defined.
10507 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10509 * benchtests/cos-inputs: New inputs.
10510 * benchtests/sin-inputs: Likewise.
10512 * benchtests/atan-inputs: New inputs. Fix name of multiple
10513 precision fallback inputs.
10515 * benchtests/atanh-inputs: New inputs.
10516 * benchtests/tanh-inputs: Likewise.
10518 * benchtests/acosh-inputs: New inputs.
10519 * benchtests/asinh-inputs: Likewise.
10521 * benchtests/cosh-inputs: New inputs.
10522 * benchtests/sinh-inputs: Likewise.
10524 * benchtests/acos-inputs: Add more inputs.
10525 * benchtests/asin-inputs: Likewise.
10527 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10530 * manual/arith.texi: Fix spelling.
10531 * manual/charset.texi: Likewise.
10532 * manual/errno.texi: Likewise.
10533 * manual/filesys.texi: Likewise.
10534 * manual/lang.texi: Likewise.
10535 * manual/llio.texi: Likewise.
10536 * manual/locale.texi: Likewise.
10537 * manual/message.texi: Likewise.
10538 * manual/resource.texi: Likewise.
10539 * manual/search.texi: Likewise.
10540 * manual/setjmp.texi: Likewise.
10541 * manual/stdio.texi: Likewise.
10542 * manual/string.texi: Likewise.
10543 * manual/sysinfo.texi: Likewise.
10544 * manual/time.texi: Likewise.
10546 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10548 * po/sl.po: New file.
10550 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10552 * .gitignore: Add core/.gdbinit/.gdb_history.
10554 2013-12-27 Allan McRae <allan@archlinux.org>
10557 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10558 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10560 2013-12-24 Brooks Moses <bmoses@google.com>
10562 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10563 all compilers that claim C++98 compliance, not just GCC.
10564 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10567 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10569 * NEWS: Restore accidentally deleted bug-fix entries.
10571 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10572 Ondřej Bílka <neleai@seznam.cz>
10575 * malloc/malloc.c (_int_free): Perform sanity check only if we
10578 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10581 * manual/stdio.texi (String Input Conversions): Clarify that character
10582 classes are not supported.
10584 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10588 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10591 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10592 Calculate results for small negative arguments directly rather
10593 than using reflection formula with special underflow handling.
10595 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10596 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10597 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10598 (fchflags): Likewise.
10599 (revoke): Likewise.
10600 (setlogin): Likewise.
10601 (sigaltstack): Likewise.
10603 (sigblock): Remove.
10604 (sigsetmask): Likewise.
10606 (waitpid): Likewise.
10607 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10608 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10610 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10611 * sysdeps/unix/bsd/Makefile: ... here.
10612 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10613 * sysdeps/unix/bsd/Versions: ... here.
10614 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10615 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10616 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10617 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10618 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10619 * sysdeps/unix/bsd/sigblock.c: ... here.
10620 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10621 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10622 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10623 * sysdeps/unix/bsd/sigvec.c: ... here.
10624 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10625 * sysdeps/unix/bsd/tcdrain.c: ... here.
10626 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10627 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10628 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10629 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10630 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10631 * sysdeps/unix/bsd/wait.c: ... here.
10632 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10633 * sysdeps/unix/bsd/wait3.c: ... here.
10634 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10635 * sysdeps/unix/bsd/waitpid.c: ... here.
10637 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10640 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10641 round-to-nearest for [!USE_AS_EXPM1L].
10642 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10643 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10644 more tests of exp and exp10. Expect some exp10 tests to miss
10645 exceptions or fail in directed rounding modes.
10646 * math/auto-libm-test-out: Regenerated.
10647 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10648 (exp10_test_tonearest): New function.
10649 (exp10_towardzero_test_data): New array.
10650 (exp10_test_towardzero): New function.
10651 (exp10_downward_test_data): New array.
10652 (exp10_test_downward): New function.
10653 (exp10_upward_test_data): New array.
10654 (exp10_test_upward): New function.
10655 (main): Call the new functions.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10659 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10661 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10662 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10663 * math/auto-libm-test-out: Regenerated.
10664 * math/libm-test.inc (acosh_test_data): Add more tests.
10665 (atanh_test_data): Likewise.
10666 (ceil_test_data): Likewise.
10667 (copysign_test_data): Likewise.
10668 * sysdeps/i386/fpu/libm-test-ulps: Update.
10669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10671 * timezone/checktab.awk: Update from tzcode 2013i.
10672 * timezone/private.h: Likewise.
10673 * timezone/scheck.c: Likewise.
10674 * timezone/tzfile.h: Likewise.
10675 * timezone/tzselect.ksh: Likewise.
10676 * timezone/zdump.c: Likewise.
10677 * timezone/zic.c: Likewise.
10679 * math/auto-libm-test-in: Add tests of cpow.
10680 * math/auto-libm-test-out: Regenerated.
10681 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10682 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10684 (func_calc_desc): Add mpc_cc_c union field.
10685 (test_functions): Add cpow.
10686 (special_fill_2pi): New function.
10687 (special_real_inputs): Add 2pi.
10688 (calc_generic_results): Handle mpc_cc_c.
10689 * sysdeps/i386/fpu/libm-test-ulps: Update.
10690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10692 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10693 csqrt, ctan and ctanh.
10694 * math/auto-libm-test-out: Regenerated.
10695 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10696 (TEST_COND_x86): Likewise.
10697 (ccos_test_data): Use AUTO_TESTS_c_c.
10698 (ccosh_test_data): Likewise.
10699 (cexp_test_data): Likewise.
10700 (clog_test_data): Likewise.
10701 (csqrt_test_data): Likewise.
10702 (ctan_test_data): Likewise.
10703 (ctan_tonearest_test_data): Likewise.
10704 (ctan_towardzero_test_data): Likewise.
10705 (ctan_downward_test_data): Likewise.
10706 (ctan_upward_test_data): Likewise.
10707 (ctanh_test_data): Likewise.
10708 (ctanh_tonearest_test_data): Likewise.
10709 (ctanh_towardzero_test_data): Likewise.
10710 (ctanh_downward_test_data): Likewise.
10711 (ctanh_upward_test_data): Likewise.
10712 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10714 (func_calc_desc): Add mpc_c_c union field.
10715 (FUNC_mpc_c_c): New macro.
10716 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10717 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10719 (special_fill_min_subnorm_p120): New function.
10720 (special_real_inputs): Add min_subnorm_p120.
10721 (calc_generic_results): Handle mpc_c_c.
10722 * sysdeps/i386/fpu/libm-test-ulps: Update.
10723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10725 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10727 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10728 (do_sin_slow): New functions.
10729 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10730 (cslow2, csloww1, csloww2): Use the new functions.
10732 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10733 Use M to change sign of result instead of X. Assume X is
10735 (csloww1): Likewise.
10739 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10740 arguments A and DA.
10744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10746 (sloww1): Don't adjust sign of DX.
10747 (csloww1): Likewise.
10748 (sloww2): Use X directly and don't adjust sign of DX.
10749 (csloww2): Likewise.
10751 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10753 * math/auto-libm-test-in: Add tests of cabs and carg.
10754 * math/auto-libm-test-out: Regenerated.
10755 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10756 (carg_test_data): Likewise.
10757 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10759 (func_calc_desc): Add mpc_c_f union field.
10760 (test_functions): Add cabs and carg.
10761 (calc_generic_results): Handle mpc_c_f.
10763 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10764 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10765 as a macro and a compat symbol.
10766 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10767 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10768 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10769 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10770 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10771 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10773 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10775 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10777 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10779 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10781 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10783 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10784 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10787 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10791 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10793 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10794 trailing whitespace removed.
10795 * scripts/config.guess: Update to version 2013-11-29.
10796 * scripts/config.sub: Update to version 2013-10-01.
10798 * math/auto-libm-test-in: Add tests of sincos.
10799 * math/auto-libm-test-out: Regenerated.
10800 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10803 (func_calc_desc): Add mpfr_f_11 union field.
10804 (test_functions): Add sincos.
10805 (calc_generic_results): Handle mpfr_f_11.
10806 * sysdeps/i386/fpu/libm-test-ulps: Update.
10807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10809 2013-12-19 Andreas Schwab <schwab@suse.de>
10811 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10813 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10814 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10815 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10817 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10819 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10820 * sysdeps/i386/fpu/libm-test-ulps: Update.
10821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10825 round-to-nearest mode when using frndint.
10826 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10827 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10830 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10832 * math/auto-libm-test-out: Regenerated.
10833 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10834 (TEST_COND_x86): Likewise.
10835 (expm1_tonearest_test_data): New array.
10836 (expm1_test_tonearest): New function.
10837 (expm1_towardzero_test_data): New array.
10838 (expm1_test_towardzero): New function.
10839 (expm1_downward_test_data): New array.
10840 (expm1_test_downward): New function.
10841 (expm1_upward_test_data): New array.
10842 (expm1_test_upward): New function.
10843 (main): Run the new test functions.
10844 * sysdeps/i386/fpu/libm-test-ulps: Update.
10845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10847 * include/features.h: Update comment documenting feature test
10848 macros. Mention _DEFAULT_SOURCE in comment.
10849 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10850 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10851 _BSD_SOURCE and _SVID_SOURCE.
10852 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10853 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10854 !_SVID_SOURCE]: Likewise.
10855 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10856 (__USE_POSIX_IMPLICITLY): Define.
10857 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10858 (_POSIX_SOURCE): Undefine and redefine.
10859 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10860 (_POSIX_C_SOURCE): Likewise.
10861 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10862 (Feature Test Macros): Update documentation of default features.
10864 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10866 * benchtests/Makefile: Add bench-strtok.
10867 * benchtests/bench-strtok.c: New file: strtok benchtest.
10869 2013-12-19 Allan McRae <allan@archlinux.org>
10871 * manual/install.texi: Suppress menu for plain text output.
10872 * INSTALL: Regenerated.
10874 2013-12-18 Brooks Moses <bmoses@google.com>
10877 * misc/getauxval.c: Include errno.h.
10878 (__getauxval): Set errno to ENOENT if the requested type is not
10880 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10881 don't declare with __attribute_const__.
10882 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10883 * manual/startup.texi: Document that getauxval sets errno.
10885 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10887 * math/auto-libm-test-in: Add tests of jn and yn.
10888 * math/auto-libm-test-out: Regenerated.
10889 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10890 (yn_test_data): Likewise.
10891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10893 (func_calc_desc): Add mpfr_if_f union field.
10894 (FUNC_mpfr_if_f): New macro.
10895 (test_functions): Add jn and yn.
10896 (calc_generic_results): Assert type of second input for
10897 mpfr_ff_f. Handle mpfr_if_f.
10898 (output_for_one_input_case): Disable all checking for arguments
10899 fitting floating-point types in case of an integer argument.
10900 * sysdeps/i386/fpu/libm-test-ulps: Update.
10901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10904 Don't expect fegetround reference in libm.so.
10906 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10908 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10909 $(config-cflags-nofma).
10911 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10913 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10914 * math/auto-libm-test-out: Regenerated.
10917 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10918 to determine exponent and adjust argument to have exponent of -1.
10919 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10921 * math/auto-libm-test-out: Regenerated.
10922 * sysdeps/i386/fpu/libm-test-ulps: Update.
10923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10925 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
10927 * manual/probes.texi: Remove cases when per-thread arenas are
10930 2013-12-18 Andreas Schwab <schwab@suse.de>
10932 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10933 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10934 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10935 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10936 * sysdeps/i386/i686/multiarch/Makefile: Update.
10937 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10939 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10941 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10942 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10944 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
10947 Support TZ transition times < 00:00:00.
10948 This is needed for version-3 tz-format files; it supports time
10949 stamps past 2037 for America/Godthab (the only entry in the tz
10950 database for which this change is relevant).
10951 * manual/time.texi (TZ Variable): Document transition times
10952 from -167:59:59 through -00:00:01.
10953 * time/tzset.c (tz_rule): Time of day is now signed.
10954 (__tzset_parse_tz): Parse negative time of day.
10956 Document TZ transition times >= 25:00:00.
10957 * manual/time.texi (TZ Variable): Document transition times from
10958 25:00:00 through 167:59:59. These are already supported, and this
10959 support will help with version-3 tz-format files.
10961 * manual/time.texi (TZ Variable): Modernize North America example
10962 to reflect current (i.e., 2007-and-later) daylight saving rules.
10964 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10966 2013-12-17 Joseph Myers <joseph@codesourcery.com>
10968 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10969 * sysdeps/unix/bsd/bits/stat.h: Likewise.
10970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10972 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10973 * sysdeps/unix/bsd/bsdstat.h: Likewise.
10974 * sysdeps/unix/bsd/clock.c: Likewise.
10975 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10976 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10977 * sysdeps/unix/bsd/init-posix.c: Likewise.
10978 * sysdeps/unix/bsd/poll.c: Likewise.
10979 * sysdeps/unix/bsd/ptsname.c: Likewise.
10980 * sysdeps/unix/bsd/seekdir.c: Likewise.
10981 * sysdeps/unix/bsd/setegid.c: Likewise.
10982 * sysdeps/unix/bsd/seteuid.c: Likewise.
10983 * sysdeps/unix/bsd/setgid.c: Likewise.
10984 * sysdeps/unix/bsd/setrgid.c: Likewise.
10985 * sysdeps/unix/bsd/setruid.c: Likewise.
10986 * sysdeps/unix/bsd/setsid.c: Likewise.
10987 * sysdeps/unix/bsd/setuid.c: Likewise.
10988 * sysdeps/unix/bsd/sigaction.c: Likewise.
10989 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10990 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10991 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10992 * sysdeps/unix/bsd/telldir.c: Likewise.
10993 * sysdeps/unix/bsd/times.c: Likewise.
10994 * sysdeps/unix/bsd/usleep.c: Likewise.
10996 * misc/Makefile (install-lib): Remove libbsd-compat.a.
10997 ($(objpfx)libbsd-compat.a): Remove rule.
10999 * include/features.h (__FAVOR_BSD): Do not define.
11000 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11001 features conflicting with POSIX.
11002 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11003 (_BSD_SOURCE): Remove description of not being a subset of other
11004 feature test macros.
11005 * manual/job.texi (getpgrp): Do not document BSD version.
11006 (getpgid): Do not document by reference to BSD getpgrp.
11007 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11008 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11009 * signal/signal.h [__FAVOR_BSD]: Likewise.
11010 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11011 instead of making contents conditional on [__FAVOR_BSD].
11012 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11014 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11018 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11021 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11022 values below 2**-450, not 2**-500.
11023 * math/auto-libm-test-in: Don't allow spurious underflow from
11025 * math/auto-libm-test-out: Regenerated.
11029 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11030 values of ha and hb and sort them after adjusting subnormal
11032 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11034 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11035 values of ea and eb and sort them after adjusting subnormal
11037 * math/auto-libm-test-in: Do not expect some hypot tests of
11038 subnormals to fail. Add more hypot tests.
11039 * math/auto-libm-test-out: Regenerated.
11041 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11044 * sysdeps/sh/s_fma.c: New file.
11045 * sysdeps/sh/s_fmaf.c: New file.
11046 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11048 * sysdeps/sh/Implies: Add sh/soft-fp.
11050 2013-12-16 Roland McGrath <roland@hack.frob.com>
11052 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11053 level of indirection to members `objname', `errstring', `malloced'.
11054 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11055 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11056 it as the __longjmp argument (just pass 1 instead).
11057 (_dl_catch_error): Initialize C with argument pointers and address of
11058 volatile local ERRCODE rather than copying values out of C at return.
11060 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11062 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11063 * math/auto-libm-test-out: Regenerated.
11064 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11065 (hypot_test_data): Likewise.
11066 (pow_test_data): Likewise.
11067 (pow_tonearest_test_data): Likewise.
11068 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11070 (func_calc_desc): Add mpfr_ff_f union field.
11071 (FUNC_mpfr_ff_f): New macro.
11072 (test_functions): Add atan2, hypot and pow.
11073 (special_fill_min): New function.
11074 (special_fill_minus_min): Likewise.
11075 (special_fill_min_subnorm): Likewise.
11076 (special_fill_minus_min_subnorm): Likewise.
11077 (special_real_inputs): Add min, -min, min_subnorm and
11079 (calc_generic_results): Handle mpfr_ff_f.
11080 * sysdeps/i386/fpu/libm-test-ulps: Update.
11081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11083 2013-12-16 Will Newton <will.newton@linaro.org>
11085 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11086 (Aligned Memory Blocks): Add documentation for aligned_alloc
11087 and suggest it as an alternative to posix_memalign.
11088 (Hooks for Malloc): Document __memalign_hook is also called
11089 for aligned_alloc. (Summary of Malloc): Add summary for
11090 aligned alloc. Document __memalign_hook is also called
11093 2013-12-16 Will Newton <will.newton@linaro.org>
11095 * manual/memory.texi (Malloc Examples): Clarify default
11096 alignment documentation. Suggest posix_memalign rather
11097 than memalign or valloc.
11098 (Aligned Memory Blocks): Remove suggestion to use memalign
11099 or valloc. Remove obsolete comment about BSD.
11100 Document memalign errno values and mark the function obsolete.
11101 Document posix_memalign returned error codes. Mark valloc
11102 as obsolete. (Hooks for Malloc): __memalign_hook is also
11103 called for posix_memalign and valloc.
11104 (Summary of Malloc): Add posix_memalign to function summary.
11105 __memalign_hook is also called for posix_memalign and valloc.
11107 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11109 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11113 (sloww): Use mynumber union. Expand ternary operator into
11114 if-else statements.
11115 (cslow): use mynumber union.
11117 2013-12-16 Allan McRae <allan@archlinux.org>
11119 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11120 * configure: Regenerated.
11122 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11125 * configure.ac: Added --enable-maintainer-mode. Check for
11126 autoconf when enabled.
11127 * configure: Regenerated.
11129 * nscd/nscd.service: New file.
11130 * nscd/nscd.tmpfiles: New file.
11132 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11135 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11136 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11137 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11138 (strstr): Add __strstr_sse2_unaligned ifunc.
11139 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11140 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11141 (strcasestr): Remove __strcasestr_sse42 ifunc.
11142 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11143 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11146 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11148 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11149 * sysdeps/sh/bits/fenv.h: ... here.
11150 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11152 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11154 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11156 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11157 hypotf multiarch implementations.
11158 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11159 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11160 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11161 multiarch hypot for PPC64.
11162 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11163 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11164 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11165 multiarch hypotf for PPC64.
11167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11168 modff multiarch implementations.
11169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11170 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11172 multiarch modf for PPC64.
11173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11176 multiarch modff for PPC64.
11178 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11179 and logl multiarch implementations.
11180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11183 multiarch logb for PPC64.
11184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11187 multiarch logb for PPC64.
11188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11191 multiarch logb for PPC64.
11193 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11194 isinff multiarch implementation.
11195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11199 multiarch isinf for PPC64.
11200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11203 multiarch isinff for PPC64.
11205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11206 finitef multiarch implementation.
11207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11211 multiarch finite for PPC64.
11212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11215 multiarch finitef for PPC64.
11217 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11218 lrint multiarch implementation.
11219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11223 multiarch llrint for PPC64.
11224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11225 multiarch lrint for PPC64.
11227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11228 copysignf multiarch implementation.
11229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11234 multiarch copysign for PPC64.
11235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11236 multiarch copysignf for PPC64.
11238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11239 multiarch implementation.
11240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11248 multiarch llround for PPC64.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11250 multiarch trunc for PPC64.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11252 multiarch truncf for PPC64.
11254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11255 multiarch implementation.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11264 multiarch llround for PPC64.
11265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11266 multiarch round for PPC64.
11267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11268 multiarch roundf for PPC64.
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11271 multiarch implementation.
11272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11280 multiarch llround for PPC64.
11281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11282 multiarch floor for PPC64.
11283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11284 multiarch floorf for PPC64.
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11287 multiarch implementation.
11288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11296 multiarch llround for PPC64.
11297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11298 multiarch ceil for PPC64.
11299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11300 multiarch ceilf for PPC64.
11302 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11303 multiarch implementation.
11304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11311 multiarch llround for PPC64.
11312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11313 multiarch lround for PPC64.
11315 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11316 multiarch implementation.
11317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11324 multiarch isnan for PPC64.
11325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11326 multiarch isnanf for PPC64.
11328 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11329 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11330 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11331 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11332 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11335 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11336 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11340 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11341 multiarch implementations.
11342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11343 (__libc_ifunc_impl_list): Likewise.
11344 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11345 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11346 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11347 multiarch stpcpy for PPC64.
11349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11350 multiarch implementations.
11351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11352 (__libc_ifunc_impl_list): Likewise.
11353 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11354 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11355 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11356 multiarch strcpy for PPC64.
11358 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11359 redefine function name.
11360 (_wordcopy_fwd_dest_aligned): Likewise.
11361 (_wordcopy_bwd_aligned): Likewise.
11362 (_wordcopy_bwd_dest_aligned): Likewise.
11363 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11364 multiarch implementations.
11365 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11366 (__libc_ifunc_impl_list): Likewise.
11367 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11368 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11369 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11370 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11371 multiarch wcscpy for PPC64.
11373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11374 multiarch implementations.
11375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11376 (__libc_ifunc_impl_list): Likewise.
11377 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11378 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11379 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11380 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11381 multiarch wcscpy for PPC64.
11383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11384 multiarch implementations.
11385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11386 (__libc_ifunc_impl_list): Likewise.
11387 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11388 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11389 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11390 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11391 multiarch wcsrchr for PPC64.
11393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11394 multiarch implementations.
11395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11396 (__libc_ifunc_impl_list): Likewise.
11397 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11398 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11399 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11400 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11401 multiarch wcschr for PPC64.
11403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11404 multiarch implementations.
11405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11406 (__libc_ifunc_impl_list): Likewise.
11407 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11408 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11409 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11410 multiarch strchrnul for PPC64.
11412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11415 (__libc_ifunc_impl_list): Likewise.
11416 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11417 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11418 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11419 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11425 (__libc_ifunc_impl_list): Likewise.
11426 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11427 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11428 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11429 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11433 multiarch implementations.
11434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11435 (__libc_ifunc_impl_list): Likewise.
11436 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11437 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11438 strncasecmp for PPC64.
11439 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11440 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11441 multiarch strncasecmp_l for PPC64.
11443 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11444 multiarch implementations.
11445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11446 (__libc_ifunc_impl_list): Likewise.
11447 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11449 multiarch strcasecmp for PPC64.
11450 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11452 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11453 multiarch strcasecmp_l for PPC64.
11455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11458 (__libc_ifunc_impl_list): Likewise.
11459 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11460 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11461 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11467 (__libc_ifunc_impl_list): Likewise.
11468 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11469 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11470 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11476 (__libc_ifunc_impl_list): Likewise.
11477 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11478 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11479 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11480 rawmemrchr for PPC64.
11482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11485 (__libc_ifunc_impl_list): Likewise.
11486 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11487 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11488 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11494 (__libc_ifunc_impl_list): Likewise.
11495 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11496 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11497 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11503 (__libc_ifunc_impl_list): Likewise.
11504 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11505 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11506 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11509 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11510 avoid cretion of __bzero symbol.
11511 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11513 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11515 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11518 multiarch implementations.
11519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11520 (__libc_ifunc_impl_list): Likewise.
11521 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11522 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11523 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11524 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11526 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11527 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11528 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11529 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11530 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11532 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11534 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11538 (__libc_ifunc_impl_list): Likewise.
11539 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11540 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11541 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11542 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11546 multiarch for POWER/PPC64.
11547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11548 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11549 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11550 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11551 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11555 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11558 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11559 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11560 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11561 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11562 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11563 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11564 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11565 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11566 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11567 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11568 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11569 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11570 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11571 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11572 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11581 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11583 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11585 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11587 * benchtests/Makefile (bench): Add exp2 and log2.
11588 (LDLIBS-bench-exp2): Add -lm.
11589 (LDLIBS-bench-log2): Likewise.
11590 * benchtests/exp2-inputs: New inputs file.
11591 * benchtests/log2-inputs: New inputs file.
11592 * benchtests/log-inputs: Add new inputs.
11593 * benchtests/tan-inputs: Likewise.
11595 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11597 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11599 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11600 (csloww2): ... from here.
11602 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11603 instead of structures.
11604 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11605 (POLYNOMIAL): Likewise.
11606 (TAYLOR_SLOW): Likewise.
11612 (sloww1); Likewise.
11613 (sloww2): Likewise.
11614 (bsloww1): Likewise.
11615 (bsloww2): Likewise.
11616 (cslow2): Likewise.
11617 (csloww): Likewise.
11618 (csloww1): Likewise.
11619 (csloww2): Likewise.
11621 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11623 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11624 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11625 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11626 * malloc/hooks.c (realloc_check): Likewise.
11628 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11629 * malloc/arena.c: Remove PER_THREAD conditional.
11630 [!PER_THREAD]: Remove code.
11631 (ptmalloc_unlock_all2): Likewise.
11632 (ptmalloc_init): Likewise.
11633 (_int_new_arena): Likewise.
11634 (arena_get2): Likewise.
11635 * malloc/hooks.c (__malloc_get_state): Likewise.
11636 (__malloc_set_state): Likewise.
11637 * malloc/malloc.c: Likewise.
11638 (struct malloc_state): Likewise.
11639 (struct malloc_par): Likewise.
11640 (__libc_realloc): Likewise.
11641 (__libc_mallopt): Likewise.
11643 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11645 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11647 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11649 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11650 macro to a function. Check for zero perturb_byte.
11651 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11653 * malloc/malloc.c: (force_reg): Remove.
11654 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11655 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11656 force_reg by atomic_forced_read.
11657 * malloc/arena.c (ptmalloc_init): Likewise.
11658 * malloc/hooks.c (top_check): Likewise.
11660 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11664 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11666 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11668 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11670 * math/auto-libm-test-in: Add tests of lgamma.
11671 * math/auto-libm-test-out: Regenerated.
11672 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11673 (M_LOG_2_SQRT_PIl): Likewise.
11674 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11675 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11677 (func_calc_desc): Add mpfr_f_f1 union field.
11678 (ARGS1): New macro.
11686 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11687 (test_functions): Add lgamma.
11688 (calc_generic_results): Handle mpfr_f_f1.
11689 * sysdeps/i386/fpu/libm-test-ulps: Update.
11690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11692 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11694 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11695 __mpn_add_n for PowerPC64/POWER7.
11696 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11697 __mpn_sub_n for PowerPC64/POWER7.
11699 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11700 __mpn_addmul_1 for PowerPC64.
11701 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11702 __mpn_submul_1 for PowerPC64.
11703 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11705 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11708 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11711 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11713 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11715 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11717 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11718 add multiarch folders.
11719 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11720 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11721 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11722 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11723 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11724 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11725 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11726 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11727 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11728 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11729 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11738 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11744 multiarch __ieee754_hypot for PowerPC32.
11745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11750 multiarch __ieee754_hypotf for PowerPC32.
11752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11753 long_double_symbol only if __logbl is defined.
11754 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11755 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11757 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11758 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11759 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11760 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11761 path for implementation.
11762 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11763 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11765 logb, and logbl multiarch implementations for PowerPC32.
11766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11771 multiarch logb for PowerPC32.
11772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11777 multiarch logbf for PowerPC32.
11778 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11782 multiarch logbl implementation for PowerPC32.
11784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11785 and modff multiarch implementations.
11786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11791 multiarch modf for PowerPC32.
11792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11797 multiarch modff for PowerPC32.
11799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11800 and lrintf multiarch implementations.
11801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11806 multiarch lrint for PowerPC32.
11807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11808 file: multiarch lrintf for PowerPC32.
11810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11811 and lroundf multiarch implementations.
11812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11819 multiarch lround for PowerPC32.
11820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11821 file: multiarch lroundf for PowerPC32.
11823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11824 copysign and copysignf multiarch implementations.
11825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11830 file: multiarch copysign for PowerPC32.
11831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11832 file: multiarch copysignf for PowerPC32.
11834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11835 and truncf multiarch implementations.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11841 multiarch trunc for PowerPC32.
11842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11847 multiarch truncf for PowerPC32.
11849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11850 and roundf multiarch implementations.
11851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11856 multiarch round for PowerPC32.
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11862 multiarch roundf for PowerPC32.
11864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11865 and floorf multiarch implementations.
11866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11871 multiarch floor for PowerPC32.
11872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11877 multiarch floorf for PowerPC32.
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11880 and ceilf multiarch implementations.
11881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11886 multiarch ceil for PowerPC32.
11887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11892 multiarch ceilf for PowerPC32.
11894 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11896 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11897 FINITEF is defined.
11898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11899 and finitef multiarch implementations.
11900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11905 multiarch finite for PowerPC32.
11906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11909 file: multiarch finitef for PowerPC32.
11911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11912 and isinff multiarch implementations.
11913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11918 multiarch isinf for PowerPC32.
11919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11922 multiarch isinff for PowerPC32.
11924 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11925 alias when __isnan is defined.
11926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11927 and isnanf multiarch implementations.
11928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11937 multiarch isnan for PowerPC32.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11943 multiarch isnanf for PowerPC32.
11945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11946 and sqrtf multiarch implementations.
11947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11952 multiarch sqrt for PowerPC32.
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11958 multiarch sqrtf for PowerPC32.
11960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11961 and llroundf multiarch implementations.
11962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11969 file: multiarch llround for PowerPC32.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11971 file: multiarch llroundf for PowerPC32.
11973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11974 multiarch PowerPC32 fpu implementations.
11975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11980 multiarch llrint for PowerPC32.
11981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11990 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11992 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11994 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11996 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11997 multiarch wordcopy for PPC32.
11998 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12000 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12001 (__libc_ifunc_impl_list): Likewise.
12002 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12003 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12004 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12005 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12006 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12007 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12009 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12010 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12012 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12014 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12016 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12017 multiarch wcscpy for PPC32.
12018 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12020 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12021 (__libc_ifunc_impl_list): Likewise.
12022 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12023 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12024 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12025 sysdeps/powerpc/power6/wcscpy.c.
12027 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12028 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12030 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12032 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12034 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12035 multiarch wcsrchr for PPC32.
12036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12038 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12039 (__libc_ifunc_impl_list): Likewise.
12040 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12041 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12042 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12043 sysdeps/powerpc/power6/wcsrchr.c.
12045 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12047 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12049 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12051 multiarch wcschr for PPc32.
12052 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12054 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12055 (__libc_ifunc_impl_list): Likewise.
12056 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12057 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12058 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12059 sysdeps/powerpc/power6/wcschr.c.
12061 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12062 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12064 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12065 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12066 file: multiarch strchr for PPC32.
12067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12070 (__libc_ifunc_impl_list): Likewise.
12072 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12074 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12076 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12078 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12079 multiarch strchrnul for PPC32.
12080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12083 (__libc_ifunc_impl_list): Likewise.
12085 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12088 multiarch strncasecmp for PPC32.
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12091 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12092 multiarch strncasecmp_l for PPC32.
12093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12094 strncasecmp multiarch objects.
12095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12096 (__libc_ifunc_impl_list): Likewise.
12098 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12100 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12101 multiarch strncasecmp for PPC32.
12102 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12104 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12105 multiarch strcasecmp_l for PPC32.
12106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12109 (__libc_ifunc_impl_list): Likewise.
12111 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12113 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12115 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12116 multiarch strncmp for PPC32.
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12120 (__libc_ifunc_impl_list): Likewise.
12122 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12123 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12125 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12126 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12129 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12130 (__libc_ifunc_impl_list): Likewise.
12132 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12140 (__libc_ifunc_impl_list): Likewise.
12142 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12144 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12146 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12147 multiarch rawmemchr for PPC32.
12148 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12151 (__libc_ifunc_impl_list): Likewise.
12153 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12155 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12157 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12158 file: memrchr multiarch for PPC32.
12159 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12161 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12162 (__libc_ifunc_impl_list): Likewise.
12164 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12168 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12169 multiarch memchr for PPC32.
12170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12173 (__libc_ifunc_impl_list): Likewise.
12175 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12180 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12181 file: multiarch mempcpy for PPC32.
12182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12185 (__libc_ifunc_impl_list): Likewise.
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12188 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12190 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12191 multiarch bzero for PPC32.
12192 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12194 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12196 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12197 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12198 file: multiarch memset for PPC32.
12199 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12201 memset multiarch objects.
12202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12203 (__libc_ifunc_impl_list): Likewise.
12205 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12207 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12210 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12214 (__libc_ifunc_impl_list): Likewise.
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12220 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12222 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12224 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12225 multiarch memcpy for PPC32.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12229 (__libc_ifunc_impl_list): Likewise.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12232 support multiarch for POWER/PPC32.
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12237 Implies file to make multiarch folder appers before the fpu and
12238 default folder for power4 configuration.
12240 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 * scripts/bench.pl: Append volatile keyword to type.
12244 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12246 * sysdeps/sh/sotruss-lib.c: New file.
12247 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12249 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12253 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12256 * math/w_tgamma.c: Include <errno.h>.
12257 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12258 * math/w_tgammaf.c: Include <errno.h>.
12259 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12260 * math/w_tgammal.c: Include <errno.h>.
12261 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12262 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12263 underflow. Add more tgamma tests.
12264 * math/auto-libm-test-out: Regenerated.
12265 * sysdeps/i386/fpu/libm-test-ulps: Update.
12266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12268 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12269 sin, sinh, tan, tanh, tgamma, y0 and y1.
12270 * math/auto-libm-test-out: Regenerated.
12271 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12272 (TEST_COND_x86): Likewise.
12273 (M_E2l): Remove macro.
12275 (M_2_SQRT_PIl): Likewise.
12276 (M_SQRT_PIl): Likewise.
12277 (M_1_DIV_El): Likewise.
12278 (log_test_data): Use AUTO_TESTS_f_f.
12279 (log10_test_data): Likewise.
12280 (log1p_test_data): Likewise.
12281 (log2_test_data): Likewise.
12282 (sin_test_data): Likewise.
12283 (sin_tonearest_test_data): Likewise.
12284 (sin_towardzero_test_data): Likewise.
12285 (sin_downward_test_data): Likewise.
12286 (sin_upward_test_data): Likewise.
12287 (sinh_test_data): Likewise.
12288 (sinh_tonearest_test_data): Likewise.
12289 (sinh_towardzero_test_data): Likewise.
12290 (sinh_downward_test_data): Likewise.
12291 (sinh_upward_test_data): Likewise.
12292 (tan_test_data): Likewise.
12293 (tan_tonearest_test_data): Likewise.
12294 (tan_towardzero_test_data): Likewise.
12295 (tan_downward_test_data): Likewise.
12296 (tan_upward_test_data): Likewise.
12297 (tanh_test_data): Likewise.
12298 (tgamma_test_data): Likewise.
12299 (y0_test_data): Likewise.
12300 (y1_test_data): Likewise.
12301 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12302 (special_real_inputs): Add pi/4.
12303 * sysdeps/i386/fpu/libm-test-ulps: Update.
12304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12306 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12308 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12309 "longjmp_target" static probes.
12310 (__longjmp): Rename to __longjmp_symbol.
12311 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12313 on which longjmp to generate.
12314 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12315 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12317 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12318 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12319 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12321 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12322 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12324 __longjmp_symbol based on which __longjmp to generate.
12325 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12327 (setjmp): Rename to setjmp_symbol.
12328 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12329 (_setjmp): Rename to _setjmp_symbol.
12330 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12331 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12332 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12333 which setjmp to generate.
12334 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12335 "longjmp_target" static probes.
12337 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12339 * benchtests/README: Add note about output arguments.
12340 * benchtests/bench-sincos.c: Remove file.
12341 * benchtests/sincos-inputs: New file.
12342 * scripts/bench.pl: Identify output arguments and define
12343 static variables for them.
12345 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12348 * Makefile (INSTALL): Add install-plain.texi as the primary
12350 * manual/install-plain.texi: New file.
12351 * manual/install.texi: Include node directive only for
12352 non-plaintext output.
12354 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12356 * stdlib/longlong.h: Update from GCC.
12360 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12361 * math/w_j0f.c (y0f): Likewise.
12362 * math/w_j0l.c (__y0l): Likewise.
12363 * math/w_j1.c (y1): Likewise.
12364 * math/w_j1f.c (y1f): Likewise.
12365 * math/w_j1l.c (__y1l): Likewise
12366 * math/w_jn.c (yn): Likewise.
12367 * math/w_jnf.c (ynf): Likewise.
12368 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12369 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12370 value for Bessel function domain errors outside _SVID_ mode.
12371 Adjust sign of return value for yn (negative integer, 0).
12372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12373 by zero in return for negative x and set sign appropriately for
12375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12376 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12377 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12378 expectations in error cases.
12379 (y1_test_data): Likewise.
12380 (yn_test_data): Likewise.
12381 * sysdeps/i386/fpu/libm-test-ulps: Update.
12382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12384 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12386 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12387 "64" to "64-v1". Add "64-v2".
12388 (abi-64-options): Rename to ...
12389 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12390 (abi-64-condition): Rename to ...
12391 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12392 (abi-64-ld-soname): Rename to ...
12393 (abi-64-v1-ld-soname): ... this.
12394 (abi-64-v2-options): Define.
12395 (abi-64-v2-condition): Likewise.
12396 (abi-64-v2-ld-soname): Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12398 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12403 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12404 Alan Modra <amodra@gmail.com>
12406 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12407 New versions for use with the ELFv2 ABI.
12408 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12409 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12411 (struct La_ppc64v2_retval): Likewise.
12412 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12413 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12414 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12415 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12416 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12417 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12418 Do not save or restore CR.
12419 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12420 (_dl_profile_resolve): Do no save or restore CR. Support extended
12421 return values for ELFv2 ABI. Fix location of FPR return registers.
12422 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12423 updated values for _CALL_ELF == 2.
12424 (La_regs, La_retval, int_retval): Likewise.
12426 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12428 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12429 (FRAME_MIN_SIZE_PARM): Likewise.
12430 (FRAME_BACKCHAIN): Likewise.
12431 (FRAME_CR_SAVE): Likewise.
12432 (FRAME_LR_SAVE): Likewise.
12433 (FRAME_TOC_SAVE): Likewise.
12434 (FRAME_PARM_SAVE): Likewise.
12435 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12436 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12437 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12438 (call_mcount_parm_offset): New macro.
12439 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12440 (PROF): Use symbolic stack frame offsets.
12441 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12442 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12443 Redefine in terms of FRAME_MIN_SIZE.
12444 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12445 (_dl_profile_resolve): Likewise. Update comment.
12446 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12447 symbols stack frame offsets.
12448 (__sigsetjmp): Likewise.
12449 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12450 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12451 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12452 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12455 (FRAME_BACKCHAIN): Remove.
12456 (FRAME_CR_SAVE): Likewise.
12457 (FRAME_LR_SAVE): Likewise.
12458 (FRAME_COMPILER_DW): Likewise.
12459 (FRAME_LINKER_DW): Likewise.
12460 (FRAME_TOC_SAVE): Likewise.
12461 (FRAME_PARM_SAVE): Likewise.
12462 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12463 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12464 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12466 (CHECK_SP): Use symbolic stack frame offsets.
12467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12468 zone" instead of caller's parameter save area for temp storage.
12469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12470 Likewise. Also, use symbolic stack frame offsets.
12471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12472 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12473 our own stack frame instead of the caller's.
12474 (__socket): Use symbolic stack frame offsets.
12476 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12477 Alan Modra <amodra@gmail.com>
12479 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12481 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12482 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12483 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12485 (elf_machine_fixup_plt): Call it.
12486 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12488 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12489 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12490 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12491 r2 before calling target.
12493 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12494 Alan Modra <amodra@gmail.com>
12496 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12497 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12498 versions of macros to support ELFv2 ABI.
12499 (LOCALENTRY): New macro.
12500 (ENTRY, EALIGN): Use it.
12501 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12502 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12503 fall through into ENTRY entry point.
12504 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12505 Only define if _CALL_ELF != 2.
12507 (elf_machine_matches_host): Verify ABI version matches.
12508 (RTLD_START): Use LOCALENTRY.
12509 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12510 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12511 (PLT_ENTRY_WORDS): New macro.
12512 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12513 (elf_machine_runtime_setup): Support ELFv2 ABI.
12514 (elf_machine_fixup_plt): Likewise.
12515 (elf_machine_plt_conflict): Likewise.
12516 (resolve_ifunc): Likewise.
12517 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12518 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12521 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12523 (makecontext): Support ELFv2 ABI.
12524 * elf/elf.h (EF_PPC64_ABI): Define.
12526 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12528 * sysdeps/powerpc/powerpc64/sysdep.h
12529 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12530 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12531 (ENTRY) [ASSEMBLER]: ... but instead here ...
12532 (EALIGN) [ASSEMBLER]: ... and here.
12533 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12534 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12535 (ENTRY_2) [!ASSEMBLER]: Use it.
12536 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12537 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12538 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12539 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12540 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12542 Use PPC64_LOAD_FUNCPTR.
12544 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12546 2013-12-04 Alan Modra <amodra@gmail.com>
12548 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12549 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12550 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12551 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12554 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12555 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12556 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12557 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12558 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12560 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12563 (__makecontext): Fix incorrect CFI when backtracing out of
12564 context created via makecontext.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12566 (__setcontext): Fix incorrect CFI during switch to new context.
12567 (__novec_setcontext): Likewise.
12569 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12572 * time/strptime_l.c (__strptime_internal): Allow modifiers
12574 * time/tst-strptime.c (day_tests): Add testcase.
12576 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12578 * scripts/bench.pl: Skip over blank lines.
12580 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12583 * manual/time.texi (Calendar Time): Clarify what timezone functions
12586 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12590 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12592 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12594 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12595 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12596 * debug/memset_chk.c (__memset_chk): Likewise.
12597 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12598 * debug/strncpy_chk.c: Likewise.
12600 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12604 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12605 (__ieee754_exp): For possibly underflowing results, check size of
12606 result and force underflow exception if required.
12607 * math/auto-libm-test-in: Add more tests of exp.
12608 * math/auto-libm-test-out: Regenerated.
12609 * sysdeps/i386/fpu/libm-test-ulps: Update.
12610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12613 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12614 * math/w_exp2f.c (__exp2f): Likewise.
12615 * math/w_exp2l.c (__exp2l): Likewise.
12616 * math/auto-libm-test-in: Do not allow missing errno on exp2
12618 * math/auto-libm-test-out: Regenerated.
12620 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12623 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12624 handle filename validation.
12625 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12628 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12631 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12632 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12633 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12635 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12637 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12639 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12640 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12641 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12642 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12643 Add more erfc tests.
12644 * math/auto-libm-test-out: Regenerated.
12645 * sysdeps/i386/fpu/libm-test-ulps: Update.
12646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12648 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12649 exp2, expm1, j0 and j1.
12650 * math/auto-libm-test-out: Regenerated.
12651 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12652 (erfc_test_data): Likewise.
12653 (exp_test_data): Likewise.
12654 (exp_tonearest_test_data): Likewise.
12655 (exp_towardzero_test_data): Likewise.
12656 (exp_downward_test_data): Likewise.
12657 (exp_upward_test_data): Likewise.
12658 (exp10_test_data): Likewise.
12659 (exp2_test_data): Likewise.
12660 (expm1_test_data): Likewise.
12661 (j0_test_data): Likewise.
12662 (j1_test_data): Likewise.
12663 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12664 (input_flag_type): Add flag_xfail_rounding.
12665 (input_flags): Add xfail-rounding.
12666 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12667 (output_for_one_input_case): Handle flag_xfail_rounding.
12668 * sysdeps/i386/fpu/libm-test-ulps: Update.
12669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12671 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12674 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12677 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12680 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12681 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12682 (STAP_PROBE0): New macro.
12683 (STAP_PROBE1): Likewise.
12684 (STAP_PROBE2): Likewise.
12685 (STAP_PROBE3): Likewise.
12686 (STAP_PROBE4): Likewise.
12688 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12690 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12692 2013-12-02 Steve Ellcey <sellcey@mips.com>
12694 * benchtests/Makefile (bench): Add sqrt.
12695 (LDLIBS-bench-sqrt): New.
12696 * benchtests/sqrt-input: New.
12698 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12700 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12701 (GAIH_EAI): Likewise.
12702 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12703 (gaih_inet): Likewise.
12704 (getaddrinfo): Don't use GAIH_EAI.
12706 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12707 (struct gaih): Remove definition.
12709 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12711 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12712 Use HERRNOP directly.
12714 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12718 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12720 * math/gen-auto-libm-tests.c (test_functions): Add more
12721 single-argument functions.
12722 (special_fill_pi_2): New function.
12723 (special_fill_minus_pi_2): Likewise.
12724 (special_fill_pi_6): Likewise.
12725 (special_fill_minus_pi_6): Likewise.
12726 (special_fill_pi_3): Likewise.
12727 (special_fill_2pi_3): Likewise.
12728 (special_fill_e): Likewise.
12729 (special_fill_1_e): Likewise.
12730 (special_fill_e_minus_1): Likewise.
12731 (special_real_inputs): Add more special inputs.
12732 (output_for_one_input_case): Do not require ERANGE on underflow to
12733 zero if round-to-nearest result does not underflow to zero, unless
12734 exact results required.
12735 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12736 atan, atanh, cbrt, cos and cosh.
12737 * math/auto-libm-test-out: Regenerated.
12738 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12739 (acos_tonearest_test_data): Likewise.
12740 (acos_towardzero_test_data): Likewise.
12741 (acos_downward_test_data): Likewise.
12742 (acos_upward_test_data): Likewise.
12743 (acosh_test_data): Likewise.
12744 (asin_test_data): Likewise.
12745 (asin_tonearest_test_data): Likewise.
12746 (asin_towardzero_test_data): Likewise.
12747 (asin_upward_test_data): Likewise.
12748 (asinh_test_data): Likewise.
12749 (atan_test_data): Likewise.
12750 (atanh_test_data): Likewise.
12751 (cbrt_test_data): Likewise.
12752 (cos_test_data): Likewise.
12753 (cos_tonearest_test_data): Likewise.
12754 (cos_towardzero_test_data): Likewise.
12755 (cos_downward_test_data): Likewise.
12756 (cos_upward_test_data): Likewise.
12757 (cosh_test_data): Likewise.
12758 (cosh_tonearest_test_data): Likewise.
12759 (cosh_towardzero_test_data): Likewise.
12760 (cosh_downward_test_data): Likewise.
12761 (cosh_upward_test_data): Likewise.
12762 * sysdeps/i386/fpu/libm-test-ulps: Update.
12763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12765 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12768 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12769 * math/w_exp10f.c (__exp10f): Likewise.
12770 * math/w_exp10l.c (__exp10l): Likewise.
12771 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12772 errno settings in existing tests.
12775 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12776 precision control set to double precision.
12777 * sysdeps/i386/fpu/w_sqrt.c: New file.
12778 * math/auto-libm-test-in: Add more tests.
12779 * math/auto-libm-test-out: Update.
12781 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12782 (sqrt_test_tonearest): New function.
12783 (sqrt_towardzero_test_data): New variable.
12784 (sqrt_test_towardzero): New function.
12785 (sqrt_downward_test_data): New variable.
12786 (sqrt_test_downward): New function.
12787 (sqrt_upward_test_data): New variable.
12788 (sqrt_test_upward): New function.
12789 (main): Call the new functions.
12791 * math/gen-auto-libm-tests.c: New file.
12792 * math/auto-libm-test-in: Likewise.
12793 * math/auto-libm-test-out: New generated file.
12794 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12796 (%beautify): Add generated representations of zero.
12797 (top level): Set $auto_input and call parse_auto_input.
12798 (beautify): Remove trailing "f" from hex float constants.
12799 (parse_args): Handle XFAIL_TEST.
12800 (convert_condition): New function.
12801 (or_value): Likewise.
12802 (or_cond_value): Likewise.
12803 (generate_testfile): Handle AUTO_TESTS_* lines.
12804 (parse_auto_input): New function.
12805 * math/libm-test.inc (XFAIL_TEST): New macro.
12806 (ERRNO_UNCHANGED): Update value.
12807 (ERRNO_EDOM): Likewise.
12808 (ERRNO_ERANGE): Likewise.
12809 (IGNORE_RESULT): Likewise.
12810 (TEST_COND_flt_32): New macro.
12811 (TEST_COND_dbl_64): Likewise.
12812 (TEST_COND_ldbl_96_intel): Likewise.
12813 (TEST_COND_ldbl_96_m68k): Likewise.
12814 (TEST_COND_ldbl_128): Likewise.
12815 (TEST_COND_ldbl_128ibm): Likewise.
12816 (TEST_COND_long32): Likewise.
12817 (TEST_COND_long64): Likewise.
12818 (TEST_COND_before_rounding): Likewise.
12819 (TEST_COND_after_rounding): Likewise.
12820 (enable_test): Handle XFAIL_TEST flag.
12821 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12822 with finite results.
12823 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12824 auto-libm-test-out.
12826 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12827 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12830 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12831 __tls_get_addr_internal instead of __tls_get_offset in order to
12832 avoid GOT pointer dependency. Make rtld export
12833 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12834 __tls_get_addr since we are a __tls_get_offset platform.
12835 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12836 GOT pointer being set up before.
12837 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12839 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12841 * manual/math.texi (Errors in Math Functions): Document accuracy
12845 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12846 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12848 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12849 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12851 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12852 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12853 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12854 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12855 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12856 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12857 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12858 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12862 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12863 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12864 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12865 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12866 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12868 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12870 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12872 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12873 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12874 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12875 atomic-feupdateenv and flt-rounds.
12876 * sysdeps/powerpc/nofpu/Versions (libc): Add
12877 __atomic_feholdexcept, __atomic_feclearexcept,
12878 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12880 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12881 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12882 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12887 * manual/arith.texi (FP Exceptions): Document that exceptions may
12888 not be raised when matherr is used.
12889 (Math Error Reporting): Document overflow in directed rounding
12890 modes. Document that errno may not be set when finite values are
12891 returned on overflow. Document intent to set errno on underflow
12892 only for underflow to zero.
12895 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12896 round-to-nearest then adjust result for other rounding modes.
12897 * include/fenv.h (fegetround): Use libm_hidden_proto.
12898 * math/fegetround.c (fegetround): Use libm_hidden_def.
12899 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12900 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12901 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12902 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12904 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12905 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12906 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12907 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12909 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12912 * nss/Versions (libnss_files): Add
12913 _nss_files_gethostbyname3_r.
12914 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12916 (HOST_DB_LOOKUP): Remove macro.
12917 (_nss_files_gethostbyname_r): Implement function without the
12918 HOST_DB_LOOKUP macro.
12919 (_nss_files_gethostbyname2_r): Likewise.
12921 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
12923 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12925 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
12927 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12928 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12931 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12933 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12934 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12935 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12936 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12937 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12938 __fe_nomask_env_priv and attribute_hidden.
12939 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12940 (libc_feupdateenv_test_ppc): Likewise.
12941 (libc_feresetround_ppc): Likewise.
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12943 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12944 compat_symbol macro.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12946 (__fe_nomask_env): Likewise.
12947 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12949 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12951 * string/Makefile: Remove ifunc tests.
12952 * string/test-string.h: Define TEST_IFUNC.
12953 * string/test-bcopy-ifunc.c: Remove.
12954 * string/test-bzero-ifunc.c: Likewise.
12955 * string/test-memccpy-ifunc.c: Likewise.
12956 * string/test-memchr-ifunc.c: Likewise.
12957 * string/test-memcmp-ifunc.c: Likewise.
12958 * string/test-memcpy-ifunc.c: Likewise.
12959 * string/test-memmem-ifunc.c: Likewise.
12960 * string/test-memmove-ifunc.c: Likewise.
12961 * string/test-mempcpy-ifunc.c: Likewise.
12962 * string/test-memrchr-ifunc.c: Likewise.
12963 * string/test-memset-ifunc.c: Likewise.
12964 * string/test-rawmemchr-ifunc.c: Likewise.
12965 * string/test-stpcpy-ifunc.c: Likewise.
12966 * string/test-stpncpy-ifunc.c: Likewise.
12967 * string/test-strcasecmp-ifunc.c: Likewise.
12968 * string/test-strcasestr-ifunc.c: Likewise.
12969 * string/test-strcat-ifunc.c: Likewise.
12970 * string/test-strchr-ifunc.c: Likewise.
12971 * string/test-strchrnul-ifunc.c: Likewise.
12972 * string/test-strcmp-ifunc.c: Likewise.
12973 * string/test-strcpy-ifunc.c: Likewise.
12974 * string/test-strcspn-ifunc.c: Likewise.
12975 * string/test-strlen-ifunc.c: Likewise.
12976 * string/test-strncasecmp-ifunc.c: Likewise.
12977 * string/test-strncat-ifunc.c: Likewise.
12978 * string/test-strncmp-ifunc.c: Likewise.
12979 * string/test-strncpy-ifunc.c: Likewise.
12980 * string/test-strnlen-ifunc.c: Likewise.
12981 * string/test-strpbrk-ifunc.c: Likewise.
12982 * string/test-strrchr-ifunc.c: Likewise.
12983 * string/test-strspn-ifunc.c: Likewise.
12984 * string/test-strstr-ifunc.c: Likewise.
12986 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
12988 * benchtests/Makefile: Remove ifunc tests.
12989 * benchtests/bench-string.h: Define TEST_IFUNC.
12990 * benchtests/bench-bcopy-ifunc.c: Remove.
12991 * benchtests/bench-bzero-ifunc.c: Likewise.
12992 * benchtests/bench-memccpy-ifunc.c: Likewise.
12993 * benchtests/bench-memchr-ifunc.c: Likewise.
12994 * benchtests/bench-memcmp-ifunc.c: Likewise.
12995 * benchtests/bench-memcpy-ifunc.c: Likewise.
12996 * benchtests/bench-memmem-ifunc.c: Likewise.
12997 * benchtests/bench-memmove-ifunc.c: Likewise.
12998 * benchtests/bench-mempcpy-ifunc.c: Likewise.
12999 * benchtests/bench-memrchr-ifunc.c: Likewise.
13000 * benchtests/bench-memset-ifunc.c: Likewise.
13001 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13002 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13003 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13004 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13005 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13006 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13007 * benchtests/bench-strcat-ifunc.c: Likewise.
13008 * benchtests/bench-strchr-ifunc.c: Likewise.
13009 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13010 * benchtests/bench-strcmp-ifunc.c: Likewise.
13011 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13012 * benchtests/bench-strcpy-ifunc.c: Likewise.
13013 * benchtests/bench-strcspn-ifunc.c: Likewise.
13014 * benchtests/bench-strlen-ifunc.c: Likewise.
13015 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13016 * benchtests/bench-strncat-ifunc.c: Likewise.
13017 * benchtests/bench-strncmp-ifunc.c: Likewise.
13018 * benchtests/bench-strncpy-ifunc.c: Likewise.
13019 * benchtests/bench-strnlen-ifunc.c: Likewise.
13020 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13021 * benchtests/bench-strrchr-ifunc.c: Likewise.
13022 * benchtests/bench-strsep-ifunc.c: Likewise.
13023 * benchtests/bench-strspn-ifunc.c: Likewise.
13024 * benchtests/bench-strstr-ifunc.c: Likewise.
13026 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13028 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13030 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13032 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13033 * rt/aio.h: Likewise.
13034 * sysdeps/gnu/bits/utmp.h: Likewise.
13035 * sysdeps/gnu/bits/utmpx.h: Likewise.
13036 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13037 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13038 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13039 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13040 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13041 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13042 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13043 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13044 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13045 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13047 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13048 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13051 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13052 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13053 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13054 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13055 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13056 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13057 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13059 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13060 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13062 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13063 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13064 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13065 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13066 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13067 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13068 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13069 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13070 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13071 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13072 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13073 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13074 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13075 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13076 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13077 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13079 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13082 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13083 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13085 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13087 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13088 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13091 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13093 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13094 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13095 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13096 (__fesetround): Remove define.
13097 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13098 rounding and exceptions handling.
13099 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13100 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13101 (__fe_nomask_env): Likewise.
13102 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13103 __fegetround instead of fegetround.
13104 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13105 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13107 2013-11-21 Roland McGrath <roland@hack.frob.com>
13109 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13112 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13114 2013-11-21 Meador Inge <meadori@codesourcery.com>
13117 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13118 (encrypt_r): Likewise.
13119 * malloc/obstack.h (obstack_free): Likewise.
13120 * posix/unistd.h (encrypt): Likewise.
13122 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13124 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13125 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13126 DL_CALL_DT_FINI() that call the functions directly.
13127 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13128 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13129 * elf/dl-fini.c: Likewise.
13131 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13133 * malloc/hooks.c (memalign_check): Add alignment rounding.
13134 * malloc/malloc.c (_mid_memalign): New function.
13135 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13136 Implement by calling _mid_memalign.
13137 * manual/probes.texi (Memory Allocation Probes): Remove
13138 memory_valloc_retry and memory_pvalloc_retry.
13140 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13142 * locale/programs/locarchive.c (open_archive): Add const
13143 qualifier to ARCHIVEFNAME and copy default fname to
13147 * libio/tst-widetext.input: Rename Oriya to Odia.
13148 * locale/iso-639.def: Likewise.
13150 * manual/probes.texi (Mathematical Function Probes): Add
13151 documentation for sin, cos, asin and acos probes.
13152 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13153 (__sin32): Add slowasin probe.
13154 (__cos32): Add slowacos probe.
13155 (__mpsin): Add slowsin probe.
13156 (__mpcos): Add slowcos probe.
13158 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13161 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13162 thread-local __sim_exceptions_thread and global
13163 __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 (__simulate_exceptions): Use thread-local floating-point state and
13170 set global state from it as needed.
13171 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13172 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13173 __sim_round_mode_thread.
13174 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13175 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13176 and global __sim_exceptions_global.
13177 (__sim_disabled_exceptions): Change to thread-local
13178 __sim_disabled_exceptions_thread and global
13179 __sim_disabled_exceptions_global.
13180 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13181 and global __sim_round_mode_global.
13182 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13183 (SIM_SET_GLOBAL): Likewise.
13184 * sysdeps/powerpc/soft-fp/sfp-machine.h
13185 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13186 __sim_round_mode_thread.
13187 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13188 __sim_disabled_exceptions_thread.
13189 (__sim_exceptions): Change to __sim_exceptions_thread.
13190 (__sim_disabled_exceptions): Change to
13191 __sim_disabled_exceptions_thread.
13192 (__sim_round_mode): Change to __sim_round_mode_thread.
13193 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13194 thread-local floating-point state and set global state from it as
13196 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13197 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13198 (__sim_disabled_exceptions): Remove extern declaration.
13199 (feenableexcept): Use thread-local floating-point state and set
13200 global state from it as needed.
13201 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13202 extern declaration.
13203 (__sim_disabled_exceptions): Likewise.
13204 (__sim_round_mode): Likewise.
13205 (__fegetenv): Use thread-local floating-point state.
13206 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13207 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13208 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13209 floating-point state and set global state from it as needed.
13210 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13211 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13212 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13214 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13215 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13217 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13218 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13219 Use __sim_round_mode_thread.
13220 * math/test-fenv-tls.c: New file.
13221 * math/Makefile (tests): Add test-fenv-tls.
13222 ($(objpfx)test-fenv-tls): Depend on
13223 $(common-objpfx)nptl/libpthread.so.
13225 2013-11-19 Andreas Schwab <schwab@suse.de>
13227 * locale/programs/locale.c (show_info): Decode wordarray elements.
13228 * locale/categories.def (LC_MONETARY): Add element for
13229 _NL_MONETARY_CRNCYSTR.
13230 * locale/C-monetary.c (conversion_rate): New variable.
13231 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13234 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13236 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13237 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13239 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13241 * elf/Makefile (tst-auxv): New test.
13242 * elf/tst-auxv.c: New
13243 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13245 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13247 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13248 (hidden_proto): Caller changed.
13249 (hidden_tls_proto): New macro.
13250 (libc_hidden_tls_proto): Likewise.
13251 (rtld_hidden_tls_proto): Likewise.
13252 (libm_hidden_tls_proto): Likewise.
13253 (libresolv_hidden_tls_proto): Likewise.
13254 (librt_hidden_tls_proto): Likewise.
13255 (libdl_hidden_tls_proto): Likewise.
13256 (libnss_files_hidden_tls_proto): Likewise.
13257 (libnsl_hidden_tls_proto): Likewise.
13258 (libnss_nisplus_hidden_tls_proto): Likewise.
13259 (libutil_hidden_tls_proto): Likewise.
13261 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13264 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13265 (decompose_rpath): Defer expansion to fillin_rpath.
13266 (_dl_init_paths): Pass linkmap to fillin_rpath.
13268 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13270 * benchtests/Makefile: Add strsep.
13271 * benchtests/bench-strsep.c: New file: strsep benchtest.
13272 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13274 2013-11-18 Andreas Schwab <schwab@suse.de>
13276 * locale/programs/locale.c (show_info) [case byte]: Check for
13277 '\377' instead of '\177'.
13278 * locale/C-monetary.c (not_available): Always use "\377".
13279 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13280 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13281 detect unavailable sign_posn locale elements.
13282 * locale/localeconv.c (__localeconv): For grouping and
13283 mon_grouping handle "\177" and "\377" like no grouping.
13284 (INT_ELEM): New macro. Use it to set all numeric members.
13285 * locale/programs/ld-monetary.c (monetary_read)
13286 <tok_mon_grouping>: Normalize single -1 to the empty string.
13287 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13290 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13293 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13294 when we match (nil).
13295 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13297 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13299 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13300 (NO_TEST_INLINE): Update value.
13301 (ERRNO_UNCHANGED): Likewise.
13302 (ERRNO_EDOM): Likewise.
13303 (ERRNO_ERANGE): Likewise.
13304 (IGNORE_RESULT): Likewise.
13305 (check_float_internal): Check signs of NaN results if
13306 TEST_NAN_SIGN used.
13307 (check_complex): Pass TEST_NAN_SIGN flag through to second
13308 check_float_internal call.
13309 (copysign_test_data): Add tests with quiet NaNs as second
13310 argument. Use TEST_NAN_SIGN.
13311 (fabs_test_data): Add test of negative quiet NaN argument. Use
13313 (signbit_test_data): Add tests of quiet NaN argument.
13314 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13316 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13318 (parse_args): Handle function results specified as IGNORE.
13319 * math/libm-test.inc (IGNORE_RESULT): New macro.
13320 (check_float_internal): Do not check numerical result if flag
13322 (check_complex): Pass through IGNORE_RESULT to second
13323 check_float_internal call.
13324 (check_int): Do not check numerical result if flag IGNORE_RESULT
13326 (check_long): Likewise.
13327 (check_bool): Likewise.
13328 (check_longlong): Likewise.
13329 (lrint_test_data): Add tests of infinite and NaN arguments.
13330 (lrint_tonearest_test_data): Likewise.
13331 (lrint_towardzero_test_data): Likewise.
13332 (lrint_downward_test_data): Likewise.
13333 (lrint_upward_test_data): Likewise.
13334 (llrint_test_data): Likewise.
13335 (llrint_tonearest_test_data): Likewise.
13336 (llrint_towardzero_test_data): Likewise.
13337 (llrint_downward_test_data): Likewise.
13338 (llrint_upward_test_data): Likewise.
13339 (lround_test_data): Likewise.
13340 (llround_test_data): Likewise.
13342 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13343 (ERRNO_UNCHANGED): Update value.
13344 (ERRNO_EDOM): Likewise.
13345 (ERRNO_ERANGE): Likewise.
13346 (NO_TEST_INLINE_FLOAT): New macro.
13347 (NO_TEST_INLINE_DOUBLE): Likewise.
13348 (enable_test): New function.
13349 (RUN_TEST_f_f): Check enable_test before running test.
13350 (RUN_TEST_2_f): Likewise.
13351 (RUN_TEST_fff_f): Likewise.
13352 (RUN_TEST_c_f): Likewise.
13353 (RUN_TEST_f_f1): Likewise.
13354 (RUN_TEST_fF_f1): Likewise.
13355 (RUN_TEST_fI_f1): Likewise.
13356 (RUN_TEST_ffI_f1): Likewise.
13357 (RUN_TEST_c_c): Likewise.
13358 (RUN_TEST_cc_c): Likewise.
13359 (RUN_TEST_f_i): Likewise.
13360 (RUN_TEST_f_i_tg): Likewise.
13361 (RUN_TEST_ff_i_tg): Likewise.
13362 (RUN_TEST_f_b): Likewise.
13363 (RUN_TEST_f_b_tg): Likewise.
13364 (RUN_TEST_f_l): Likewise.
13365 (RUN_TEST_f_L): Likewise.
13366 (RUN_TEST_fFF_11): Likewise.
13367 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13369 (cosh_test_data): Likewise.
13370 (exp_test_data): Likewise.
13371 (expm1_test_data): Likewise.
13372 (hypot_test_data): Likewise.
13373 (pow_test_data): Likewise.
13374 (sinh_test_data): Likewise.
13375 (tanh_test_data): Likewise.
13376 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13379 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13380 tests with quiet NaN input and output.
13381 (acosh_test_data): Likewise.
13382 (asin_test_data): Likewise.
13383 (asinh_test_data): Likewise.
13384 (atan_test_data): Likewise.
13385 (atanh_test_data): Likewise.
13386 (atan2_test_data): Likewise.
13387 (cbrt_test_data): Likewise.
13388 (cos_test_data): Likewise.
13389 (cosh_test_data): Likewise.
13390 (erf_test_data): Likewise.
13391 (erfc_test_data): Likewise.
13392 (exp_test_data): Likewise.
13393 (exp10_test_data): Likewise.
13394 (exp2_test_data): Likewise.
13395 (expm1_test_data): Likewise.
13396 (hypot_test_data): Likewise.
13397 (j0_test_data): Likewise.
13398 (j1_test_data): Likewise.
13399 (jn_test_data): Likewise.
13400 (lgamma_test_data): Likewise.
13401 (log_test_data): Likewise.
13402 (log10_test_data): Likewise.
13403 (log1p_test_data): Likewise.
13404 (log2_test_data): Likewise.
13405 (pow_test_data): Likewise.
13406 (scalb_test_data): Likewise.
13407 (sin_test_data): Likewise.
13408 (sincos_test_data): Likewise.
13409 (sinh_test_data): Likewise.
13410 (tan_test_data): Likewise.
13411 (tanh_test_data): Likewise.
13412 (tgamma_test_data): Likewise.
13413 (y0_test_data): Likewise.
13414 (y1_test_data): Likewise.
13415 (yn_test_data): Likewise.
13418 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13419 argument being NaN and avoid computations with second argument in
13421 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13422 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13423 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13425 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13427 * locale/iso-639.def: Add Chitwani Tharu (the).
13429 2013-11-14 Andreas Schwab <schwab@suse.de>
13431 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13432 word instead of empty string.
13434 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13437 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13439 (__fe_nomask_env): Likewise.
13441 2013-11-13 Steve Ellcey <sellcey@mips.com>
13443 * benchtests/bench-timing.h: Include time.h.
13445 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13448 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13450 * sysdeps/unix/sysv/linux/configure: Regenerated.
13452 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13455 * stdlib/strtod_l.c (round_and_return): Do not consider
13456 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13457 exponent one less than half the least subnormal exponent.
13458 * stdlib/test-strtod-round-data: Add more tests.
13459 * stdlib/tst-strtod-round.c (tests): Regenerated.
13461 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13464 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13465 (__fe_mask_env): Likewise.
13466 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13467 libm_hidden_proto and add function prototype.
13468 (__fe_mask_env): Add function prototype.
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13470 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13472 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13474 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13476 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13478 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13479 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13481 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13483 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13484 of htab_find_slot().
13486 2013-11-11 David S. Miller <davem@davemloft.net>
13489 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13490 symbol in the non-vis3 case in static builds.
13491 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13492 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13493 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13494 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13496 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13499 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13502 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13504 * benchtests/Makefile: Add bench-strtod.
13505 * benchtests/bench-strtod.c: New file: strtod benchtest
13507 2013-11-11 Andreas Schwab <schwab@suse.de>
13510 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13511 terminating NUL in key length.
13513 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13516 Add artificial ODP entry for vDSO symbol for PPC64.
13517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13518 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13520 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13523 * nss/getent.c (services_keys): Recognize services starting with digit.
13525 2013-11-06 David S. Miller <davem@davemloft.net>
13528 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13529 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13531 2013-11-06 Will Newton <will.newton@linaro.org>
13533 * manual/memory.texi (Malloc Examples): Remove register
13534 keyword from examples.
13536 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13538 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13540 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13543 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13544 depending on [__GCC_IEC_559 > 0].
13545 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13546 depending on [__GCC_IEC_559_COMPLEX > 0].
13548 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13550 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13553 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13555 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13557 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13560 * malloc/malloc (malloc_info): Do not handle first bin as
13563 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13565 * locale/iso-639.def: Add Central Nahuatl (nhn).
13567 2013-11-01 Bruno Haible <bruno@clisp.org>
13570 * manual/math.texi (BSD Random): Specify range upper bound as
13573 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13575 * locale/iso-639.def: Add Meadow Mari (mhr).
13577 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13579 [BZ #14752], [BZ #15763]
13580 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13582 * rt/tst_shm.c: Add test for escaping directory.
13584 2013-10-31 Andreas Schwab <schwab@suse.de>
13587 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13588 followed by 'x' as part of digit sequence.
13589 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13591 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13594 * configure.ac: allow GNU Make 4.0 and greater.
13595 * configure: Regenerated.
13597 2013-10-30 Will Newton <will.newton@linaro.org>
13600 * malloc/hooks.c (memalign_check): Limit alignment to the
13601 maximum representable power of two.
13602 * malloc/malloc.c (__libc_memalign): Likewise.
13603 * malloc/tst-memalign.c (do_test): Add test for very
13604 large alignment values.
13605 * malloc/tst-posix_memalign.c (do_test): Likewise.
13607 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13610 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13611 (munmap_chunk): Likewise.
13612 (mremap_chunk): Likewise.
13614 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13617 * stdlib/div.c (div): Remove obsolete code.
13618 * stdlib/ldiv.c (ldiv): Likewise.
13619 * stdlib/lldiv.c (lldiv): Likewise.
13621 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13624 * nss/nss_files/files-XXX.c (get_contents_ret): New
13626 (get_contents): New function.
13627 (internal_getent): Use it. Expand size of LINEBUFLEN.
13629 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13631 * configure.in: Moved to ...
13632 * configure.ac: ... here. Change reference to configure.in
13634 * sysdeps/arm/preconfigure.ac: ... here.
13635 configure.in to configure.ac.
13636 * sysdeps/gnu/configure.in: Moved to ...
13637 * sysdeps/gnu/configure.ac: ... here.
13638 * sysdeps/i386/configure.in: Moved to ...
13639 * sysdeps/i386/configure.ac: ... here.
13640 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13641 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13642 * sysdeps/mach/configure.in: Moved to ...
13643 * sysdeps/mach/configure.ac: ... here.
13644 * sysdeps/mach/hurd/configure.in: Moved to ...
13645 * sysdeps/mach/hurd/configure.ac: ... here.
13646 * sysdeps/powerpc/configure.in: Moved to ...
13647 * sysdeps/powerpc/configure.ac: ... here.
13648 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13649 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13650 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13651 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13652 * sysdeps/s390/s390-32/configure.in: Moved to ...
13653 * sysdeps/s390/s390-32/configure.ac: ... here.
13654 * sysdeps/s390/s390-64/configure.in: Moved to ...
13655 * sysdeps/s390/s390-64/configure.ac: ... here.
13656 * sysdeps/sh/configure.in: Moved to ...
13657 * sysdeps/sh/configure.ac: ... here.
13658 * sysdeps/sparc/configure.in: Moved to ...
13659 * sysdeps/sparc/configure.ac: ... here.
13660 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13661 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13662 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13663 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13664 * sysdeps/x86_64/configure.in: Moved to ...
13665 * sysdeps/x86_64/configure.ac: ... here.
13666 * sysdeps/x86_64/preconfigure.in: Moved to ...
13667 * sysdeps/x86_64/preconfigure.ac: ... here.
13668 * aclocal.m4: Change reference to configure.in to configure.ac.
13669 * config.h.in: Likewise.
13670 * manual/install.texi: Likewise.
13671 * manual/maint.texi: Likewise.
13672 * Makefile: Likewise.
13673 * malloc/Makefile: Likewise.
13674 * nscd/Makefile: Likewise.
13675 * Makeconfig: Change reference to configure.in and
13676 preconfigure.in to configure.ac and preconfigure.ac
13678 * INSTALL: Regenerated.
13679 * configure: Likewise.
13680 * sysdeps/gnu/configure: Likewise.
13681 * sysdeps/i386/configure: Likewise.
13682 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13683 * sysdeps/mach/configure: Likewise.
13684 * sysdeps/mach/hurd/configure: Likewise.
13685 * sysdeps/powerpc/configure: Likewise.
13686 * sysdeps/powerpc/powerpc32/configure: Likewise.
13687 * sysdeps/powerpc/powerpc64/configure: Likewise.
13688 * sysdeps/s390/s390-32/configure: Likewise.
13689 * sysdeps/s390/s390-64/configure: Likewise.
13690 * sysdeps/sh/configure: Likewise.
13691 * sysdeps/sparc/configure: Likewise.
13692 * sysdeps/unix/sysv/linux/configure: Likewise.
13693 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13694 * sysdeps/x86_64/configure: Likewise.
13695 * sysdeps/x86_64/preconfigure: Likewise.
13697 2013-10-29 Andreas Schwab <schwab@suse.de>
13699 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13701 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13703 * benchtests/pow-inputs: Add new inputs.
13705 * benchtests/exp-inputs: Add new inputs.
13707 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13708 conditional check for return value.
13709 (__cos32): Likewise.
13711 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13713 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13714 to provide a boost for large inputs with word alignment.
13715 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13716 implementation based on optimized PPC64 strcpy.
13717 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13718 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13719 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13720 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13722 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13725 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13727 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13730 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13731 * time/tst-strptime.c (day_tests): Add testcase.
13733 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13736 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13738 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13741 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13742 MAP_FAILED on error.
13744 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13747 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13748 heap for large requests.
13750 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13753 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13754 result if the result has no associated interface.
13755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13756 interface for all 127.X.Y.Z addresses.
13758 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13760 * locale/iso-639.def: Add Ligurian (lij)
13762 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13765 * sunrpc/rpc_main.c: Document rpcgen -5.
13767 2013-10-19 Michael Stahl <mstahl@redhat.com>
13769 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13771 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13774 * posix/glob.c: Match only directories when trailing slash is present.
13775 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13776 (main): Add testcase.
13778 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13781 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13783 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13785 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13786 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13787 AUTH_DES and cindex for FIPS 140-2.
13788 (DES Encryption): Add cindex FIPS 46-3.
13790 * locale/locarchive.h (struct locarhandle): Add fname.
13791 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13792 if an optional argument was specified to --list-archive,
13794 * locale/programs/locarchive.c (show_archive_content): Take new
13795 argument fname and pass it via ah.fname to open_archive.
13796 * locale/programs/localedef.h: Update decl.
13797 (open_archive): If AH->fname is non-null, open that file
13798 rather than the default file name, and don't ignore ENOENT.
13799 (create_archive): Set AH.fname to NULL.
13800 (delete_locales_from_archive): Likewise.
13801 (add_locales_to_archive): Likewise.
13802 * locale/programs/locfile.c (write_all_categories): Likewise.
13804 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13805 Aldy Hernandez <aldyh@redhat.com>
13807 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13808 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13809 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13810 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13811 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13812 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13813 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13814 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13815 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13816 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13817 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13818 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13819 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13820 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13821 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13823 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13825 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13827 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13829 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13830 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13832 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13833 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13834 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13835 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13837 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13838 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13839 * sysdeps/powerpc/preconfigure: Likewise.
13840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13842 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13843 Replace contents of file by #include of <fenv_libc.h>.
13844 * sysdeps/powerpc/soft-fp/sfp-machine.h
13845 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13847 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13848 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13849 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13850 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13851 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13852 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13854 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13855 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13856 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13857 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13860 Allow copysignl PLT reference to be missing.
13862 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13863 Joseph Myers <joseph@codesourcery.com
13866 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13868 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13870 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13872 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13873 * elf/tst-tls1.c: Likewise.
13874 * elf/tst-tls10.h: Likewise.
13875 * elf/tst-tls14.c: Likewise.
13876 * elf/tst-tls2.c: Likewise.
13877 * elf/tst-tls3.c: Likewise.
13878 * elf/tst-tls4.c: Likewise.
13879 * elf/tst-tls5.c: Likewise.
13880 * elf/tst-tls6.c: Likewise.
13881 * elf/tst-tls7.c: Likewise.
13882 * elf/tst-tls8.c: Likewise.
13883 * elf/tst-tls9.c: Likewise.
13884 * elf/tst-tlsmod1.c: Likewise.
13885 * elf/tst-tlsmod13.c: Likewise.
13886 * elf/tst-tlsmod13a.c: Likewise.
13887 * elf/tst-tlsmod14a.c: Likewise.
13888 * elf/tst-tlsmod16a.c: Likewise.
13889 * elf/tst-tlsmod16b.c: Likewise.
13890 * elf/tst-tlsmod2.c: Likewise.
13891 * elf/tst-tlsmod3.c: Likewise.
13892 * elf/tst-tlsmod4.c: Likewise.
13893 * elf/tst-tlsmod5.c: Likewise.
13894 * elf/tst-tlsmod6.c: Likewise.
13896 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13899 * malloc/malloc.c: remove checks for statistics.
13901 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13904 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13905 * inet/tst-network.c: Add testcase.
13907 2013-10-17 Andreas Schwab <schwab@suse.de>
13910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13911 to determine canonical name.
13913 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13915 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13916 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13922 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13923 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13924 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13925 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13928 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13929 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13930 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13933 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13934 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13935 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13936 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13938 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13939 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13940 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13941 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13942 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13943 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13944 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13945 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13947 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13948 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13951 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13958 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13959 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13960 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13961 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13962 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13963 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13964 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13965 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13967 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13968 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13969 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13970 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13971 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13972 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13974 2013-10-17 Joseph Myers <joseph@codesourcery.com>
13977 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13978 make result into a quiet NaN.
13980 2013-10-16 Joseph Myers <joseph@codesourcery.com>
13982 * soft-fp/adddf3.c: Fix horizontal whitespace.
13983 * soft-fp/addsf3.c: Likewise.
13984 * soft-fp/addtf3.c: Likewise.
13985 * soft-fp/divdf3.c: Likewise.
13986 * soft-fp/divsf3.c: Likewise.
13987 * soft-fp/divtf3.c: Likewise.
13988 * soft-fp/double.h: Likewise.
13989 * soft-fp/eqdf2.c: Likewise.
13990 * soft-fp/eqsf2.c: Likewise.
13991 * soft-fp/eqtf2.c: Likewise.
13992 * soft-fp/extenddftf2.c: Likewise.
13993 * soft-fp/extended.h: Likewise.
13994 * soft-fp/extendsfdf2.c: Likewise.
13995 * soft-fp/extendsftf2.c: Likewise.
13996 * soft-fp/extendxftf2.c: Likewise.
13997 * soft-fp/fixdfdi.c: Likewise.
13998 * soft-fp/fixdfsi.c: Likewise.
13999 * soft-fp/fixdfti.c: Likewise.
14000 * soft-fp/fixsfdi.c: Likewise.
14001 * soft-fp/fixsfsi.c: Likewise.
14002 * soft-fp/fixsfti.c: Likewise.
14003 * soft-fp/fixtfdi.c: Likewise.
14004 * soft-fp/fixtfsi.c: Likewise.
14005 * soft-fp/fixtfti.c: Likewise.
14006 * soft-fp/fixunsdfdi.c: Likewise.
14007 * soft-fp/fixunsdfsi.c: Likewise.
14008 * soft-fp/fixunsdfti.c: Likewise.
14009 * soft-fp/fixunssfdi.c: Likewise.
14010 * soft-fp/fixunssfsi.c: Likewise.
14011 * soft-fp/fixunssfti.c: Likewise.
14012 * soft-fp/fixunstfdi.c: Likewise.
14013 * soft-fp/fixunstfsi.c: Likewise.
14014 * soft-fp/fixunstfti.c: Likewise.
14015 * soft-fp/floatdidf.c: Likewise.
14016 * soft-fp/floatdisf.c: Likewise.
14017 * soft-fp/floatditf.c: Likewise.
14018 * soft-fp/floatsidf.c: Likewise.
14019 * soft-fp/floatsisf.c: Likewise.
14020 * soft-fp/floatsitf.c: Likewise.
14021 * soft-fp/floattidf.c: Likewise.
14022 * soft-fp/floattisf.c: Likewise.
14023 * soft-fp/floattitf.c: Likewise.
14024 * soft-fp/floatundidf.c: Likewise.
14025 * soft-fp/floatundisf.c: Likewise.
14026 * soft-fp/floatunditf.c: Likewise.
14027 * soft-fp/floatunsidf.c: Likewise.
14028 * soft-fp/floatunsisf.c: Likewise.
14029 * soft-fp/floatunsitf.c: Likewise.
14030 * soft-fp/floatuntidf.c: Likewise.
14031 * soft-fp/floatuntisf.c: Likewise.
14032 * soft-fp/floatuntitf.c: Likewise.
14033 * soft-fp/fmadf4.c: Likewise.
14034 * soft-fp/fmasf4.c: Likewise.
14035 * soft-fp/fmatf4.c: Likewise.
14036 * soft-fp/gedf2.c: Likewise.
14037 * soft-fp/gesf2.c: Likewise.
14038 * soft-fp/getf2.c: Likewise.
14039 * soft-fp/ledf2.c: Likewise.
14040 * soft-fp/lesf2.c: Likewise.
14041 * soft-fp/letf2.c: Likewise.
14042 * soft-fp/muldf3.c: Likewise.
14043 * soft-fp/mulsf3.c: Likewise.
14044 * soft-fp/multf3.c: Likewise.
14045 * soft-fp/negdf2.c: Likewise.
14046 * soft-fp/negsf2.c: Likewise.
14047 * soft-fp/negtf2.c: Likewise.
14048 * soft-fp/op-1.h: Likewise.
14049 * soft-fp/op-2.h: Likewise.
14050 * soft-fp/op-4.h: Likewise.
14051 * soft-fp/op-8.h: Likewise.
14052 * soft-fp/op-common.h: Likewise.
14053 * soft-fp/quad.h: Likewise.
14054 * soft-fp/single.h: Likewise.
14055 * soft-fp/soft-fp.h: Likewise.
14056 * soft-fp/sqrtdf2.c: Likewise.
14057 * soft-fp/sqrtsf2.c: Likewise.
14058 * soft-fp/sqrttf2.c: Likewise.
14059 * soft-fp/subdf3.c: Likewise.
14060 * soft-fp/subsf3.c: Likewise.
14061 * soft-fp/subtf3.c: Likewise.
14062 * soft-fp/truncdfsf2.c: Likewise.
14063 * soft-fp/trunctfdf2.c: Likewise.
14064 * soft-fp/trunctfsf2.c: Likewise.
14065 * soft-fp/trunctfxf2.c: Likewise.
14066 * soft-fp/unorddf2.c: Likewise.
14067 * soft-fp/unordsf2.c: Likewise.
14068 * soft-fp/unordtf2.c: Likewise.
14070 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14072 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14073 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14075 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14077 * elf/dl-libc.c: Clear initfini list after freeing.
14079 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14081 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14082 * soft-fp/addsf3.c: Likewise.
14083 * soft-fp/addtf3.c: Likewise.
14084 * soft-fp/divdf3.c: Likewise.
14085 * soft-fp/divsf3.c: Likewise.
14086 * soft-fp/divtf3.c: Likewise.
14087 * soft-fp/double.h: Likewise.
14088 * soft-fp/eqdf2.c: Likewise.
14089 * soft-fp/eqsf2.c: Likewise.
14090 * soft-fp/eqtf2.c: Likewise.
14091 * soft-fp/extenddftf2.c: Likewise.
14092 * soft-fp/extended.h: Likewise.
14093 * soft-fp/extendsfdf2.c: Likewise.
14094 * soft-fp/extendsftf2.c: Likewise.
14095 * soft-fp/extendxftf2.c: Likewise.
14096 * soft-fp/fixdfdi.c: Likewise.
14097 * soft-fp/fixdfsi.c: Likewise.
14098 * soft-fp/fixdfti.c: Likewise.
14099 * soft-fp/fixsfdi.c: Likewise.
14100 * soft-fp/fixsfsi.c: Likewise.
14101 * soft-fp/fixsfti.c: Likewise.
14102 * soft-fp/fixtfdi.c: Likewise.
14103 * soft-fp/fixtfsi.c: Likewise.
14104 * soft-fp/fixtfti.c: Likewise.
14105 * soft-fp/fixunsdfdi.c: Likewise.
14106 * soft-fp/fixunsdfsi.c: Likewise.
14107 * soft-fp/fixunsdfti.c: Likewise.
14108 * soft-fp/fixunssfdi.c: Likewise.
14109 * soft-fp/fixunssfsi.c: Likewise.
14110 * soft-fp/fixunssfti.c: Likewise.
14111 * soft-fp/fixunstfdi.c: Likewise.
14112 * soft-fp/fixunstfsi.c: Likewise.
14113 * soft-fp/fixunstfti.c: Likewise.
14114 * soft-fp/floatdidf.c: Likewise.
14115 * soft-fp/floatdisf.c: Likewise.
14116 * soft-fp/floatditf.c: Likewise.
14117 * soft-fp/floatsidf.c: Likewise.
14118 * soft-fp/floatsisf.c: Likewise.
14119 * soft-fp/floatsitf.c: Likewise.
14120 * soft-fp/floattidf.c: Likewise.
14121 * soft-fp/floattisf.c: Likewise.
14122 * soft-fp/floattitf.c: Likewise.
14123 * soft-fp/floatundidf.c: Likewise.
14124 * soft-fp/floatundisf.c: Likewise.
14125 * soft-fp/floatunsidf.c: Likewise.
14126 * soft-fp/floatunsisf.c: Likewise.
14127 * soft-fp/floatuntidf.c: Likewise.
14128 * soft-fp/floatuntisf.c: Likewise.
14129 * soft-fp/floatuntitf.c: Likewise.
14130 * soft-fp/fmadf4.c: Likewise.
14131 * soft-fp/fmasf4.c: Likewise.
14132 * soft-fp/fmatf4.c: Likewise.
14133 * soft-fp/gedf2.c: Likewise.
14134 * soft-fp/gesf2.c: Likewise.
14135 * soft-fp/getf2.c: Likewise.
14136 * soft-fp/ledf2.c: Likewise.
14137 * soft-fp/lesf2.c: Likewise.
14138 * soft-fp/letf2.c: Likewise.
14139 * soft-fp/muldf3.c: Likewise.
14140 * soft-fp/mulsf3.c: Likewise.
14141 * soft-fp/multf3.c: Likewise.
14142 * soft-fp/negdf2.c: Likewise.
14143 * soft-fp/negsf2.c: Likewise.
14144 * soft-fp/negtf2.c: Likewise.
14145 * soft-fp/op-1.h: Likewise.
14146 * soft-fp/op-2.h: Likewise.
14147 * soft-fp/op-4.h: Likewise.
14148 * soft-fp/op-8.h: Likewise.
14149 * soft-fp/op-common.h: Likewise.
14150 * soft-fp/quad.h: Likewise.
14151 * soft-fp/single.h: Likewise.
14152 * soft-fp/soft-fp.h: Likewise.
14153 * soft-fp/sqrtdf2.c: Likewise.
14154 * soft-fp/sqrtsf2.c: Likewise.
14155 * soft-fp/sqrttf2.c: Likewise.
14156 * soft-fp/subdf3.c: Likewise.
14157 * soft-fp/subsf3.c: Likewise.
14158 * soft-fp/subtf3.c: Likewise.
14159 * soft-fp/truncdfsf2.c: Likewise.
14160 * soft-fp/trunctfdf2.c: Likewise.
14161 * soft-fp/trunctfsf2.c: Likewise.
14162 * soft-fp/trunctfxf2.c: Likewise.
14163 * soft-fp/unorddf2.c: Likewise.
14164 * soft-fp/unordsf2.c: Likewise.
14165 * soft-fp/unordtf2.c: Likewise.
14167 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14170 * misc/error.c (error_tail): Fix possible buffer overflow.
14172 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14175 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14178 2013-10-14 P. J. McDermott <pj@pehjota.net>
14181 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14182 testing pipefail option.
14184 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14186 * soft-fp/double.h: Indent preprocessor directives inside #if.
14187 * soft-fp/extended.h: Likewise.
14188 * soft-fp/op-2.h: Likewise.
14189 * soft-fp/op-4.h: Likewise.
14190 * soft-fp/op-common.h: Likewise.
14191 * soft-fp/quad.h: Likewise.
14192 * soft-fp/single.h: Likewise.
14193 * soft-fp/soft-fp.h: Likewise.
14195 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14197 * iconv/iconv_prog.c: Fix typos.
14198 * stdio-common/psiginfo-data.h: Likewise.
14200 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14203 * locale/setlocale.c: Fix typo.
14205 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14208 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14209 signaling NaN arguments.
14210 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14211 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14214 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14215 unordered operands.
14216 * soft-fp/gesf2.c (__gesf2): Likewise.
14217 * soft-fp/getf2.c (__getf2): Likewise.
14218 * soft-fp/ledf2.c (__ledf2): Likewise.
14219 * soft-fp/lesf2.c (__lesf2): Likewise.
14220 * soft-fp/letf2.c (__letf2): Likewise.
14222 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14223 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14224 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14225 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14226 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14227 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14228 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14229 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14230 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14231 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14232 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14233 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14234 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14235 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14236 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14237 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14238 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14239 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14240 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14241 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14242 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14243 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14244 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14245 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14246 * soft-fp/floattidf.c (__floattidf): Likewise.
14247 * soft-fp/floattisf.c (__floattisf): Likewise.
14248 * soft-fp/floattitf.c (__floattitf): Likewise.
14249 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14250 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14251 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14252 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14253 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14254 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14255 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14256 * soft-fp/gesf2.c (__gesf2): Likewise.
14257 * soft-fp/getf2.c (__getf2): Likewise.
14258 * soft-fp/ledf2.c (__ledf2): Likewise.
14259 * soft-fp/lesf2.c (__lesf2): Likewise.
14260 * soft-fp/letf2.c (__letf2): Likewise.
14262 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14263 Undefine and redefine.
14264 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14265 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14266 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14267 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14268 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14269 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14270 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14271 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14272 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14273 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14274 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14275 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14276 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14277 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14278 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14281 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14282 without decrementing exponent if mantissa >= that for the
14283 denominator, not >.
14284 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14285 denominator, not >. Decrement exponent in < case instead of
14286 incrementing in >= case.
14287 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14288 without decrementing exponent if mantissa >= that for the
14289 denominator, not >.
14291 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14292 computing saturated result for unsigned overflow.
14294 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14295 Jeff Law <law@redhat.com>
14297 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14298 (atan2Mp): Add systemtap probe marker.
14299 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14300 (__ieee754_log): Add systemtap probe marker.
14301 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14302 (atanMp): Add systemtap probe marker.
14303 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14304 (tanMp): Add systemtap probe marker.
14305 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14306 (__slowexp): Add systemtap probe marker.
14307 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14308 (__slowpow): Add systemtap probe marker.
14309 * manual/probes.texi: Document probes.
14311 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14314 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14316 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14318 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14319 written to buffer but not flushed.
14320 * libio/iofwrite_u.c: Likewise.
14321 * libio/iopadn.c: Return bytes returned even if EOF was
14323 * libio/iowpadn.c: Likewise.
14324 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14325 if _IO_padn does not write the whole buffer.
14326 [!COMPILE_WPRINTF] (PAD): Likewise.
14328 2013-10-10 David S. Miller <davem@davemloft.net>
14330 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14333 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14335 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14336 instead of FSF address.
14337 * soft-fp/fixdfti.c: Likewise.
14338 * soft-fp/fixsfti.c: Likewise.
14339 * soft-fp/fixtfti.c: Likewise.
14340 * soft-fp/fixunsdfti.c: Likewise.
14341 * soft-fp/fixunssfti.c: Likewise.
14342 * soft-fp/fixunstfti.c: Likewise.
14343 * soft-fp/floattidf.c: Likewise.
14344 * soft-fp/floattisf.c: Likewise.
14345 * soft-fp/floattitf.c: Likewise.
14346 * soft-fp/floatuntidf.c: Likewise.
14347 * soft-fp/floatuntisf.c: Likewise.
14348 * soft-fp/floatuntitf.c: Likewise.
14349 * soft-fp/trunctfxf2.c: Likewise.
14351 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14352 * soft-fp/fixdfti.c: Likewise.
14353 * soft-fp/fixsfti.c: Likewise.
14354 * soft-fp/fixtfti.c: Likewise.
14355 * soft-fp/fixunsdfti.c: Likewise.
14356 * soft-fp/fixunssfti.c: Likewise.
14357 * soft-fp/fixunstfti.c: Likewise.
14358 * soft-fp/floattidf.c: Likewise.
14359 * soft-fp/floattisf.c: Likewise.
14360 * soft-fp/floattitf.c: Likewise.
14361 * soft-fp/floatuntidf.c: Likewise.
14362 * soft-fp/floatuntisf.c: Likewise.
14363 * soft-fp/floatuntitf.c: Likewise.
14364 * soft-fp/trunctfxf2.c: Likewise.
14366 2013-10-10 David S. Miller <davem@davemloft.net>
14368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14370 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14372 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14373 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14374 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14375 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14376 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14377 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14378 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14381 for NaNs before doing comparisons on argument.
14382 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14385 2013-10-10 Will Newton <will.newton@linaro.org>
14387 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14388 passed to _int_memalign does not overflow.
14390 2013-10-10 Torvald Riegel <triegel@redhat.com>
14392 * scripts/bench.pl: Add include-sources directive.
14393 * benchtests/README: Update documentation.
14395 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14397 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14398 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14399 instead of FP_INIT_ROUNDMODE.
14400 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14401 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14404 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14405 copy class of input value.
14406 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14407 not handle exceptions.
14408 * soft-fp/negsf2.c (__negsf2): Likewise.
14409 * soft-fp/negtf2.c (__negtf2): Likewise.
14410 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14412 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14414 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14415 semicolon. From Linux kernel.
14417 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14419 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14421 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14424 * manual/socket.texi: Added statement about buffer
14425 for gethostbyname2_r.
14427 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14429 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14430 Use .p2align directive instead, throughout.
14431 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14432 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14433 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14434 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14435 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14436 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14437 * sysdeps/x86_64/strchr.S: Likewise.
14438 * sysdeps/x86_64/strrchr.S: Likewise.
14440 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14442 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14444 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14446 * sysdeps/generic/math_private.h (__mpsin1): Remove
14448 (__mpcos1): Likewise.
14449 (__mpsin): New argument __range_reduce.
14450 (__mpcos): Likewise.
14451 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14452 (slow): Use __mpsin and __mpcos.
14456 (sloww1): Likewise.
14457 (sloww2): Likewise.
14458 (bsloww): Likewise.
14459 (bsloww1): Likewise.
14460 (bsloww2): Likewise.
14461 (cslow2): Likewise.
14462 (csloww): Likewise.
14463 (csloww1): Likewise.
14464 (csloww2): Likewise.
14465 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14466 range_reduce. Merge in __mpsin1.
14467 (__mpcos): Likewise.
14468 (__mpsin1): Remove.
14469 (__mpcos1): Likewise.
14471 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14473 * locale/loadlocale.c (_nl_intern_locale_data): Use
14475 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14476 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14477 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14478 obstack data is appropriately aligned.
14479 (obstack_int32_grow_fast): Likewise.
14480 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14481 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14482 (add_locale_uint32_array): Likewise.
14484 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14486 * benchtests/Makefile: Remove ARGLIST and RET variables.
14487 ($(objpfx)bench-%.c): Pass only function name to the script.
14488 * benchtests/README: Update documentation.
14489 * benchtests/acos-inputs: Add new directives.
14490 * benchtests/acosh-inputs: Likewise.
14491 * benchtests/asin-inputs: Likewise.
14492 * benchtests/asinh-inputs: Likewise.
14493 * benchtests/atan-inputs: Likewise.
14494 * benchtests/atanh-inputs: Likewise.
14495 * benchtests/cos-inputs: Likewise.
14496 * benchtests/cosh-inputs: Likewise.
14497 * benchtests/exp-inputs: Likewise.
14498 * benchtests/log-inputs: Likewise.
14499 * benchtests/pow-inputs: Likewise.
14500 * benchtests/rint-inputs: Likewise.
14501 * benchtests/sin-inputs: Likewise.
14502 * benchtests/sinh-inputs: Likewise.
14503 * benchtests/tan-inputs: Likewise.
14504 * benchtests/tanh-inputs: Likewise.
14505 * scripts/bench.pl: Add support for new directives.
14507 2013-10-07 Alan Modra <amodra@gmail.com>
14509 * README: Fix careless merge.
14511 2013-10-05 Alan Modra <amodra@gmail.com>
14513 * NEWS: Mention powerpc64le support and bugs fixed.
14514 * README: Both big-endian and little-endian powerpc64 supported.
14516 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14518 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14519 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14520 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14521 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14523 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14525 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14528 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14530 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14531 Move -mhard-float appending from
14532 ports/sysdeps/powerpc/powerpc32/Makefile.
14533 [$(with-fp) = yes] (ASFLAGS): Likewise.
14534 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14535 * sysdeps/powerpc/nofpu: Move directory from
14536 ports/sysdeps/powerpc/nofpu.
14537 * sysdeps/powerpc/soft-fp: Move directory from
14538 ports/sysdeps/powerpc/soft-fp.
14539 * sysdeps/powerpc/powerpc32/405: Move directory from
14540 ports/sysdeps/powerpc/powerpc32/405.
14541 * sysdeps/powerpc/powerpc32/440: Move directory from
14542 ports/sysdeps/powerpc/powerpc32/440.
14543 * sysdeps/powerpc/powerpc32/464: Move directory from
14544 ports/sysdeps/powerpc/powerpc32/464.
14545 * sysdeps/powerpc/powerpc32/476: Move directory from
14546 ports/sysdeps/powerpc/powerpc32/476.
14547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14548 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14550 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14552 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14554 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14556 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14557 * README: Update for powerpc-*-linux-gnu software floating point
14560 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14561 case to powerpc/powerpc32*.
14562 * sysdeps/unix/sysv/linux/configure: Regenerated.
14564 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14565 (_FPU_MASK_OM): Define as 0x04.
14566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14574 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14577 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14580 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14581 and setcontext_e500.
14583 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14585 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14587 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14589 * manual/threads.texi (Default Thread Attributes): Fix typo.
14591 2013-10-04 Will Newton <will.newton@linaro.org>
14593 * malloc/Makefile: Add tst-memalign.
14594 * malloc/tst-memalign.c: New file.
14596 * malloc/tst-posix_memalign.c: Add comments.
14597 (do_test): Add comments and call free on all potentially
14598 allocated pointers. Add space after cast.
14600 * malloc/tst-pvalloc.c: Add comments.
14601 (do_test): Add comments and call free on all potentially
14602 allocated pointers. Remove duplicate check for NULL pointer.
14603 Add space after cast.
14605 * malloc/tst-valloc.c: Add comments.
14606 (do_test): Add comments and call free on all potentially
14607 allocated pointers. Remove duplicate check for NULL pointer.
14608 Add space after cast.
14610 2013-10-04 Alan Modra <amodra@gmail.com>
14612 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14613 Use stdint types in rather than __attribute__((mode())).
14614 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14616 2013-10-04 Alan Modra <amodra@gmail.com>
14618 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14619 Correct handling of unaligned relocs for little-endian.
14620 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14622 2013-10-04 Alan Modra <amodra@gmail.com>
14624 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14625 * configure: Regenerate.
14626 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14627 * shlib-versions: Likewise.
14629 2013-10-04 Alan Modra <amodra@gmail.com>
14631 * string/tester.c (test_memrchr): Increment reported test cycle.
14633 2013-10-04 Alan Modra <amodra@gmail.com>
14635 * string/test-memcpy.c (do_one_test): When reporting errors, print
14636 string address and don't overrun end of string.
14638 2013-10-04 Alan Modra <amodra@gmail.com>
14640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14641 insrdi. Make better use of reg selection to speed exit slightly.
14642 Schedule entry path a little better. Remove useless "are we done"
14643 checks on entry to main loop. Handle wrapping around zero address.
14644 Correct main loop count. Handle single left-over word from main
14645 loop inline rather than by using loop_small. Remove extra word
14646 case in loop_small caused by wrong loop count. Add little-endian
14648 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14649 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14651 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14652 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14653 support. Avoid rlwimi.
14654 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14656 2013-10-04 Alan Modra <amodra@gmail.com>
14658 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14659 insrdi. Formatting.
14660 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14661 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14662 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14663 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14664 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14665 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14667 2013-10-04 Alan Modra <amodra@gmail.com>
14669 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14670 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14671 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14672 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14673 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14674 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14675 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14676 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14678 use of regs. Use power7 mtocrf. Tidy function tails.
14680 2013-10-04 Alan Modra <amodra@gmail.com>
14682 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14683 Formatting. Consistently use rXXX register defines or rN defines.
14684 Use early exit labels that avoid restoring unused non-volatile regs.
14685 Make cr field use more consistent with rWORDn compares. Rename
14686 regs used as shift registers for unaligned loop, using rN defines
14687 for short lifetime/multiple use regs.
14688 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14689 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14690 addi 1,1,64 to pop stack frame. Simplify return value code.
14691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14693 2013-10-04 Alan Modra <amodra@gmail.com>
14695 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14696 support. Correct typos, formatting. Optimize tail. Use insrdi
14697 rather than rlwimi.
14698 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14699 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14700 little-endian support. Correct typos.
14701 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14702 rather than rlwimi.
14703 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14704 in loop and entry code to keep "and." results.
14705 (strchr): Add little-endian support. Comment. Move cntlzd
14707 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14709 2013-10-04 Alan Modra <amodra@gmail.com>
14711 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14712 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14713 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14714 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14716 2013-10-04 Alan Modra <amodra@gmail.com>
14718 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14719 (rTMP): Define as r11.
14720 (strcmp): Add little-endian support. Optimise tail.
14721 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14722 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14723 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14724 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14725 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14726 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14729 2013-10-04 Alan Modra <amodra@gmail.com>
14731 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14732 little-endian support. Remove unnecessary "are we done" tests.
14733 Handle "s" wrapping around zero and extremely large "size".
14734 Correct main loop count. Handle single left-over word from main
14735 loop inline rather than by using small_loop. Correct comments.
14736 Delete "zero" tail, use "end_max" instead.
14737 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14739 2013-10-04 Alan Modra <amodra@gmail.com>
14741 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14742 support. Don't branch over align.
14743 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14744 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14745 support. Rearrange tmp reg use to suit. Comment.
14746 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14748 2013-10-04 Alan Modra <amodra@gmail.com>
14750 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14752 2013-10-04 Alan Modra <amodra@gmail.com>
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14755 conditional form of branch and link when obtaining pc.
14756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14758 2013-10-04 Alan Modra <amodra@gmail.com>
14760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14765 2013-10-04 Alan Modra <amodra@gmail.com>
14767 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14768 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14769 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14771 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14772 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14773 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14774 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14775 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14776 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14778 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14779 Alistair Popple <alistair@ozlabs.au.ibm.com>
14780 Alan Modra <amodra@gmail.com>
14783 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14784 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14785 _dl_hwcap access for little-endian.
14786 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14787 destroy vmx regs when saving unaligned.
14788 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14789 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14790 destroy vmx regs when saving unaligned.
14792 2013-10-04 Alan Modra <amodra@gmail.com>
14794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14795 Don't use a union to pack hi/low value.
14797 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14799 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14801 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14802 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14803 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14804 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14805 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14807 2013-10-04 Alan Modra <amodra@gmail.com>
14809 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14810 constants to usual value for .cst8 section, and remove redundant
14812 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14813 constant for 0x1p52. Load little-endian words of double from
14814 correct stack offsets.
14816 2013-10-04 Alan Modra <amodra@gmail.com>
14818 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14819 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14820 words of double from correct stack offsets.
14821 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14822 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14823 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14824 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14825 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14826 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14827 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14828 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14829 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14831 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14833 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14834 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14835 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14836 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14837 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14839 2013-10-04 Alan Modra <amodra@gmail.com>
14841 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14842 64-bit int/double union.
14843 (_FPU_SETCW): Likewise.
14844 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14845 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14847 2013-10-04 Alan Modra <amodra@gmail.com>
14849 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14850 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14852 2013-10-04 Alan Modra <amodra@gmail.com>
14854 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14855 use vector int constants.
14856 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14858 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14860 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14861 array with long long.
14862 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14863 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14864 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14865 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14866 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14867 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14868 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14869 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14870 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14871 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14872 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14873 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14874 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14876 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14878 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14879 (__signbit): Likewise. Correct for little-endian.
14880 (__signbitl): Call __signbit.
14881 (lrint): Correct for little-endian.
14882 (lrintf): Call lrint.
14884 2013-10-04 Alan Modra <amodra@gmail.com>
14886 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14887 union 32-bit int array member with 64-bit int array.
14888 (t515, tm256): Double rather than long double.
14889 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14891 2013-10-04 Alan Modra <amodra@gmail.com>
14893 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14895 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14897 version of math_ldbl.h.
14899 2013-10-04 Alan Modra <amodra@gmail.com>
14901 [BZ #15734], [BZ #15735]
14902 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14903 all uses of ieee875 long double macros and unions. Simplify test
14904 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14905 ldbl_extract_mantissa value for ix,iy exponents. Properly
14906 normalize after ldbl_extract_mantissa, and don't add hidden bit
14907 already handled. Don't treat low word of ieee854 mantissa like
14908 low word of IBM long double and mask off bit when testing for
14910 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14911 all uses of ieee875 long double macros and unions. Simplify tests
14912 for 0.0L and inf. Correct double adjustment of k. Delete dead code
14913 adjusting ha,hb. Simplify code setting kld. Delete two600 and
14914 two1022, instead use their values. Recognise that tests for large
14915 "a" and small "b" are mutually exclusive. Rename vars. Comment.
14916 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14917 Rewrite all uses of ieee875 long double macros and unions. Simplify
14918 test for 0.0L and nan. Correct negation.
14919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14920 ieee875 long double macros and unions. Correct output for large
14921 magnitude x. Correct absolute value calculation.
14922 (__erfcl): Likewise.
14923 * math/libm-test.inc: Add tests for errors discovered in IBM long
14924 double versions of fmodl, remainderl, erfl and erfcl.
14926 2013-10-04 Alan Modra <amodra@gmail.com>
14928 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14929 all uses of ieee854 long double macros and unions. Simplify tests
14930 for long doubles that are fully specified by the high double.
14931 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14933 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14934 Remove dead code too.
14935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14936 (__ieee754_ynl): Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14939 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14940 Remove dead code too.
14941 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14942 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14943 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14944 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14946 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14948 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14949 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14950 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14951 Comment on variable precision.
14952 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14953 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14955 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14956 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14959 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14961 2013-10-04 Alan Modra <amodra@gmail.com>
14963 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14964 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14965 all uses of ieee854 long double macros and unions.
14966 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14968 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14969 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14970 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14971 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14973 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14974 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14975 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14976 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14977 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14978 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14979 Simplify sign and nan test too.
14980 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14981 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14982 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14983 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14985 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14986 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14988 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14989 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14990 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14991 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14992 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14993 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14995 2013-10-04 Alan Modra <amodra@gmail.com>
14997 * stdio-common/printf_size.c (__printf_size): Don't use
14998 union ieee854_long_double in fpnum union.
14999 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15000 signbit macro to retrieve sign from long double.
15001 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15002 retrieve sign from long double.
15003 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15004 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15005 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15006 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15007 * math/test-misc.c (main): Don't use union ieee854_long_double.
15009 2013-10-04 Alan Modra <amodra@gmail.com>
15012 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15013 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15014 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15015 calculation. Remove unnecessary test for denormal exponent.
15016 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15017 Correct handling of denormals. Avoid undefined shift behaviour.
15018 Correct normalisation of low mantissa when low double is denormal.
15019 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15020 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15021 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15022 Correct normalisation of low mantissa. Test for overflow of high
15023 mantissa and normalise.
15024 (ldbl_nearbyint): Use more readable constant for two52.
15025 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15026 (__mpn_construct_long_double): Fix test for overflow of high
15027 mantissa and correct normalisation. Avoid undefined shift.
15029 2013-10-04 Alan Modra <amodra@gmail.com>
15031 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15032 (union ibm_extended_long_double): Define as an array of ieee754_double.
15033 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15034 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15035 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15043 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15045 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15047 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15048 page size instead of calling getpagesize.
15050 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15051 (LOCFILE_ALIGN_MASK): Likewise.
15052 (LOCFILE_ALIGN_UP): Likewise.
15053 (LOCFILE_ALIGNED_P): Likewise.
15054 * locale/programs/ld-collate.c (collate_output): Use the new
15055 macros instead of __alignof__ (int32_t).
15056 * locale/weight.h (findidx): Likewise.
15058 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15061 * manual/string.texi: Fix strncat and wcsncat.
15063 2013-10-03 Brooks Moses <bmoses@google.com>
15066 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15067 * Makerules: ...here, and adjust associated comments.
15069 2013-10-02 Will Newton <will.newton@linaro.org>
15071 * malloc/Makefile: Add tst-pvalloc.
15072 * malloc/tst-pvalloc.c: New file.
15074 2013-10-02 Will Newton <will.newton@linaro.org>
15076 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15077 improve test coverage.
15079 2013-10-02 Will Newton <will.newton@linaro.org>
15081 * malloc/Makefile: Add tst-posix_memalign.
15082 * malloc/tst-posix_memalign.c: New file.
15084 2013-10-01 Eric Blake <eblake@redhat.com>
15086 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15087 Use __THROWNL rather than __THROW on static functions.
15089 2013-09-30 Petr Machata <pmachata@redhat.com>
15091 * elf/elf.h (R_AARCH64_ABS16): New macro.
15092 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15093 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15094 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15095 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15096 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15097 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15098 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15099 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15100 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15101 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15102 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15103 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15104 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15105 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15106 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15107 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15108 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15109 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15110 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15111 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15112 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15113 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15114 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15115 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15116 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15117 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15118 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15119 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15120 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15121 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15122 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15123 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15124 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15125 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15126 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15127 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15128 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15129 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15130 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15131 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15132 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15133 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15134 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15135 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15136 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15137 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15138 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15139 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15140 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15141 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15142 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15143 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15144 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15145 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15146 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15147 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15148 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15149 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15150 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15151 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15152 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15153 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15154 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15155 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15156 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15157 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15158 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15159 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15160 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15161 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15162 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15163 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15164 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15165 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15166 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15167 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15168 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15169 (R_AARCH64_TLSDESC_LDR): Likewise.
15170 (R_AARCH64_TLSDESC_ADD): Likewise.
15171 (R_AARCH64_TLSDESC_CALL): Likewise.
15173 2013-09-30 Andreas Schwab <schwab@suse.de>
15176 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15177 the nss database lookup.
15178 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15179 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15181 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15183 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15185 2013-09-28 P. J. McDermott <pj@pehjota.net>
15187 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15188 ${Bash-specific parameter/pattern/string} parameter expansion.
15189 * sysdeps/unix/make-syscalls.sh: Likewise.
15191 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15193 * sysdeps/sh/stackguard-macros.h: New file.
15195 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15199 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15200 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15201 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15202 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15204 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15206 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15207 Fix thread ID register.
15209 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15211 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15212 [POSIX || UNIX98]: Require rather than permitting all symbols from
15214 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15215 element of struct sched_param.
15216 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15217 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15218 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15219 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15222 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15224 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15225 argument calculation.
15227 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15229 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15231 [POSIX] (pthread_attr_t): Do not require type.
15232 [POSIX] (pthread_cond_t): Likewise.
15233 [POSIX] (pthread_condattr_t): Likewise.
15234 [POSIX] (pthread_key_t): Likewise.
15235 [POSIX] (pthread_mutex_t): Likewise.
15236 [POSIX] (pthread_mutexattr_t): Likewise.
15237 [POSIX] (pthread_once_t): Likewise.
15238 [POSIX] (pthread_t): Likewise.
15239 [POSIX-based standards] (pthread_atfork): Expect function.
15241 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15242 Richard Sandiford <richard@codesourcery.com>
15244 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15245 (swap_endianness_p): New extern variable.
15246 (set_big_endian): New inline function.
15247 (maybe_swap_uint32): Likewise.
15248 (maybe_swap_uint32_array): Likewise.
15249 (maybe_swap_uint32_obstack): Likewise.
15250 * locale/programs/locfile.c: Include <stdbool.h>.
15251 (swap_endianness_p): New variable.
15252 (add_locale_uint32): Call maybe_swap_uint32.
15253 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15254 (write_locale_data): Call maybe_swap_uint32_array.
15255 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15257 (obstack_int32_grow_fast): Likewise.
15258 (output_weightwc): Call maybe_swap_uint32_obstack.
15259 (collate_output): Likewise.
15260 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15261 (OPT_LITTLE_ENDIAN): Likewise.
15262 (options): Add --little-endian and --big-endian options.
15263 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15264 * locale/programs/locarchive.c: Include "locfile.h".
15268 (create_archive): Use the new macros to access fields of
15269 structures directly mapped from or written to locale archives.
15270 (oldlocrecentcmp): Likewise.
15271 (enlarge_archive): Likewise.
15272 (insert_name): Likewise.
15273 (add_alias): Likewise.
15274 (add_locale): Likewise.
15275 (delete_locales_from_archive): Likewise.
15276 (show_archive_content): Likewise.
15277 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15280 2013-09-24 Roland McGrath <roland@hack.frob.com>
15282 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15283 http://www.gnu.org/doc/freemanuals.texi.
15284 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15286 2013-09-24 Will Newton <will.newton@linaro.org>
15288 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15291 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15293 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15296 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15298 * manual/threads.texi (POSIX Threads): Fix a typo.
15300 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15303 * string/tst-strcoll-overflow.c: New test case.
15304 * string/Makefile (xtests): Add tst-strcoll-overflow.
15305 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15306 cache if string sizes may cause integer overflow.
15309 * string/strcoll_l.c (coll_seq): New members rule, idx,
15310 save_idx and back_us.
15311 (get_next_seq_nocache): New function.
15312 (do_compare_nocache): New function.
15313 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15316 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15319 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15320 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15321 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15324 * elf/Makefile (tests): Add tst-ptrguard1.
15325 (tests-static): Add tst-ptrguard1-static.
15326 (tst-ptrguard1-ARGS): Define.
15327 (tst-ptrguard1-static-ARGS): Define.
15328 * elf/tst-ptrguard1.c: New file.
15329 * elf/tst-ptrguard1-static.c: New file.
15330 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15331 * sysdeps/i386/stackguard-macros.h: Likewise.
15332 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15333 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15334 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15335 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15336 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15337 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15339 2013-09-23 Hector Marco <hecmargi@upv.es>
15340 Ismael Ripoll <iripoll@disca.upv.es>
15341 Carlos O'Donell <carlos@redhat.com>
15344 * sysdeps/generic/stackguard-macros.h: Define
15345 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15346 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15347 Define __pointer_chk_guard_local.
15348 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15349 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15351 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15354 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15356 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15358 * include/string.h (__ffs): Declare as hidden.
15359 * string/ffs.c (__ffs): Define as hidden.
15360 * sysdeps/i386/ffs.c (__ffs): Likewise.
15361 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15362 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15363 * sysdeps/s390/ffs.c (__ffs): Likewise.
15364 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15366 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15368 * NEWS: Mention malloc probes.
15370 * malloc/arena.c (new_heap): New memory_heap_new probe.
15371 (grow_heap): New memory_heap_more probe.
15372 (shrink_heap): New memory_heap_less probe.
15373 (heap_trim): New memory_heap_free probe.
15374 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15375 (systrim): New memory_sbrk_less probe.
15376 * manual/probes.texi: Document them.
15378 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15379 * manual/probes.texi: Document it.
15381 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15382 (__libc_realloc): Add memory_realloc_retry probe.
15383 (__libc_memalign): Add memory_memalign_retry probe.
15384 (__libc_valloc): Add memory_valloc_retry probe.
15385 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15386 (__libc_calloc): Add memory_calloc_retry probe.
15387 * manual/probes.texi: Document them.
15389 * malloc/arena.c (get_free_list): Add probe
15390 memory_arena_reuse_free_list.
15391 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15392 and memory_arena_reuse.
15393 (arena_get2) [!PER_THREAD]: Likewise.
15394 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15395 memory_arena_reuse_realloc.
15396 * manual/probes.texi: Document them.
15398 * malloc/malloc.c (__libc_free): Add
15399 memory_mallopt_free_dyn_thresholds probe.
15400 (__libc_mallopt): Add multiple memory_mallopt probes.
15401 * manual/probes.texi: Document them.
15403 * malloc/malloc.c: Include stap-probe.h.
15404 (__libc_mallopt): Add memory_mallopt probe.
15405 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15406 * manual/probes.texi: New.
15407 * manual/Makefile (chapters): Add probes.
15408 * manual/threads.texi: Set next node.
15410 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15412 [BZ #15963, #13985]
15413 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15414 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15415 Add `Chinese' to `nan' entry name.
15417 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15419 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15420 (POLYNOMIAL): Likewise.
15421 (TAYLOR_SINCOS): Likewise.
15422 (TAYLOR_SLOW): Likewise.
15423 (__sin): Use TAYLOR_SINCOS.
15425 (slow): Use TAYLOR_SLOW.
15427 (bsloww): Likewise.
15428 (csloww): Likewise.
15430 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15432 * stdlib/strtod_l.c: Fix buffer overrun.
15434 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15436 * benchtests/Makefile (bench): Add sincos.
15437 * benchtests/bench-sincos.c: New file.
15439 * math/libm-test.inc (cos_test_data): New test inputs.
15440 (sin_test_data): Likewise.
15442 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15448 (sloww1): Likewise.
15449 (sloww2): Likewise.
15450 (bsloww1): Likewise.
15451 (bsloww2): Likewise.
15452 (cslow2): Likewise.
15453 (csloww1): Likewise.
15454 (csloww2): Likewise.
15456 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15465 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15467 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15468 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15469 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15470 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15471 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15472 * elf/cache.c (print_entry): Handle the new cache flags.
15474 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15475 Aldy Hernandez <aldyh@redhat.com>
15477 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15478 Change condition to [_SOFT_FLOAT].
15479 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15482 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15484 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15486 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15487 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15491 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15494 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15497 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15499 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15500 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15501 (__longjmp): Use LOAD_GP to load saved GPRs.
15502 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15503 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15504 (__sigsetjmp): Use SAVE_GP to save GPRs.
15506 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15507 Do not append -msoft-float.
15508 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15510 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15512 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15514 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15517 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15518 (_FPU_GETCW): Use initial "__" on variable and field names but not
15519 on macro parameter name.
15520 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15521 parentheses around reference to macro parameter.
15523 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15525 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15527 (ctype_startup): Use uint32_t in cast and sizeof for
15530 2013-09-11 Jia Liu <proljc@gmail.com>
15532 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15534 [__FreeBSD__]: Likewise.
15536 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15539 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15540 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15541 (strchr): Remove __strchr_sse42 ifunc selection.
15542 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15543 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15545 2013-09-11 Will Newton <will.newton@linaro.org>
15547 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15548 parameter to RES. Remove hardcoded 1000 value.
15549 * benchtests/bench-skeleton.c (main): Pass RES parameter
15550 to TIMING_INIT and multiply result by 1000.
15552 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15556 2013-09-11 Andreas Schwab <schwab@suse.de>
15558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15560 (O_TMPFILE) [__USE_GNU]: Define.
15561 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15564 2013-09-11 Will Newton <will.newton@linaro.org>
15567 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15570 2013-09-11 Will Newton <will.newton@linaro.org>
15573 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15576 2013-09-11 Will Newton <will.newton@linaro.org>
15579 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15582 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15584 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15585 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15586 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15587 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15588 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15590 2013-09-10 Allan McRae <allan@archlinux.org>
15593 * manual/arith.texi (Parsing of Floats): Clarify
15597 * manual/install.texi (Running make install): Mention
15599 * INSTALL: Regenerated.
15601 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15603 * csu/init-first.c (_init): Remove the !SHARED condition around
15604 FPU control word initialization.
15605 * elf/dl-support.c (_dl_fpu_control): New variable.
15606 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15607 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15608 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15609 * math/test-fpucw-static.c: New file.
15610 * math/test-fpucw-ieee.c: New file.
15611 * math/test-fpucw-ieee-static.c: New file.
15612 * math/Makefile (tests): Add `test-fpucw-ieee' and
15614 (tests-static): New variable.
15615 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15617 [($(build-shared),yes)]
15618 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15620 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15623 2013-09-09 Allan McRae <allan@archlinux.org>
15626 * manual/string.texi (Collation Functions): Fix typo in
15628 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15631 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15634 * libio/memstream.c (open_memstream): Fix memory leak.
15635 * libio/wmemstream.c (open_wmemstream): Likewise.
15638 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15640 2013-09-09 Will Newton <will.newton@linaro.org>
15642 * malloc/Makefile: Add tst-realloc to tests.
15643 * malloc/tst-realloc.c: New file.
15645 2013-09-09 Allan McRae <allan@archlinux.org>
15648 * COPYING: Update from GNU website to fix FSF address.
15649 * COPYING.LIB: Likewise.
15651 2013-09-06 David S. Miller <davem@davemloft.net>
15653 * po/zh_TW.po: Update Chinese (traditional) translation from
15654 translation project.
15656 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15657 Joseph Myers <joseph@codesourcery.com>
15659 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15661 (obstack_chunk_alloc): New macro.
15662 (obstack_chunk_free): Likewise.
15663 (record_offset): New function.
15664 (init_locale_data): Likewise.
15665 (align_locale_data): Likewise.
15666 (add_locale_empty): Likewise.
15667 (add_locale_raw_data): Likewise.
15668 (add_locale_raw_obstack): Likewise.
15669 (add_locale_string): Likewise.
15670 (add_locale_wstring): Likewise.
15671 (add_locale_uint32): Likewise.
15672 (add_locale_uint32_array): Likewise.
15673 (add_locale_char): Likewise.
15674 (start_locale_structure): Likewise.
15675 (end_locale_structure): Likewise.
15676 (start_locale_prelude): Likewise.
15677 (end_locale_prelude): Likewise.
15678 (write_locale_data): Take locale_file structure rather than an
15680 * locale/programs/locfile.h: Include "obstack.h".
15681 (struct locale_file): Change to store locale file contents instead
15683 (init_locale_data): New prototype.
15684 (align_locale_data): Likewise.
15685 (add_locale_empty): Likewise.
15686 (add_locale_raw_data): Likewise.
15687 (add_locale_raw_obstack): Likewise.
15688 (add_locale_string): Likewise.
15689 (add_locale_wstring): Likewise.
15690 (add_locale_uint32): Likewise.
15691 (add_locale_uint32_array): Likewise.
15692 (add_locale_char): Likewise.
15693 (start_locale_structure): Likewise.
15694 (end_locale_structure): Likewise.
15695 (start_locale_prelude): Likewise.
15696 (end_locale_prelude): Likewise.
15697 (write_locale_data): Update prototype.
15698 * locale/programs/3level.h (struct TABLE): Remove result field.
15699 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15700 Use new locale_file interface.
15701 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15702 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15703 * locale/programs/ld-address.c (address_output): Use new
15704 locale_file interface.
15705 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15707 (collate_finish): Don't call collseq_table_finalize.
15708 (collate_output): Use new locale_file interface.
15709 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15711 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15712 (TABLE): Move defines earlier in file.
15713 (ELEMENT): Likewise.
15714 (DEFAULT): Likewise.
15715 (wctrans_table_add): Move macro and inline function earlier in
15717 (struct wctype_table): Move type earlier in file.
15718 (add_locale_wctype_table): New static prototype.
15719 (struct locale_ctype_t): Use logical types instead of struct iovec
15720 pointers for members.
15721 (ctype_output): Use new locale_file interface.
15722 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15723 new locale_file interface.
15724 (allocate_arrays): Update for use of new locale_file interface.
15725 * locale/programs/ld-identification.c (identification_output): Use
15726 new locale_file interface.
15727 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15728 * locale/programs/ld-messages.c (messages_output): Likewise.
15729 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15730 * locale/programs/ld-name.c (name_output): Likewise.
15731 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15732 * locale/programs/ld-paper.c (paper_output): Likewise.
15733 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15734 * locale/programs/ld-time.c (time_output): Likewise.
15736 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15738 * benchtests/Makefile: Add memrchr benchmark.
15739 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15740 benchmark as memrchr.
15741 * benchtests/bench-memrchr-ifunc.c: New file.
15742 * benchtests/bench-memrchr.c: New file.
15744 2013-09-06 Will Newton <will.newton@linaro.org>
15746 * benchtests/Makefile (string-bench): Add memcpy.
15748 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15749 Cong Wang <amwang@redhat.com>
15752 * sysdeps/unix/sysv/linux/bits/in.h
15753 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15754 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15755 before __USE_KERNEL_IPV6_DEFS uses.
15756 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15758 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15759 sockaddr_in6, or ipv6_mreq.
15761 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15763 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15764 memory access for final bytes in some large inputs.
15765 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15767 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15769 * string/test-memrchr.c: New file.
15770 * string/test-memrchr-ifunc.c: New file.
15771 * string/Makefile: Add new memrchr testcase.
15773 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15775 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15776 fanotify_init returns EPERM.
15778 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15780 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15782 (top level): Treat second token from macro or constant entries for
15783 allowed headers as allowed.
15784 * include/complex.h: Condition internal declarations on
15786 * include/fenv.h: Condition include of <stdbool.h> and internal
15787 declarations on [!_ISOMAC].
15789 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15792 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15794 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15796 * configure.in (--enable-versioning): Remove configure option.
15797 (libc_cv_asm_symver_directive): Remove configure test.
15798 (libc_cv_ld_version_script_option): Likewise.
15799 (VERSIONING): Remove variable and AC_SUBST.
15800 (DO_VERSIONING): Remove AC_DEFINE.
15801 * configure: Regenerated.
15802 * config.h.in (DO_VERSIONING): Remove macro.
15803 * Makerules [$(versioning) = yes]: Change conditionals to
15804 [$(build-shared) = yes].
15805 * config.make.in (versioning): Remove variable.
15806 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15807 [$(build-shared) = yes].
15808 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15809 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15810 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15811 [$(build-shared) = yes].
15812 * extra-lib.mk [$(versioning) = yes]: Likewise.
15813 * hurd/Makefile [$(versioning) = yes]: Likewise.
15814 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15816 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15818 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15819 [SHARED && !NO_HIDDEN].
15820 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15822 [SHARED && DO_VERSIONING]: Likewise..
15823 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15824 [$(build-shared) = yes].
15825 * manual/install.texi (--disable-versioning): Remove
15827 * INSTALL: Regenerated.
15828 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15830 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15831 [$(build-shared) = yes].
15832 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15833 * sysdeps/i386/i686/multiarch/strstr-c.c
15834 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15835 [SHARED && !NO_HIDDEN].
15836 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15837 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15838 * sysdeps/powerpc/powerpc32/dl-machine.c
15839 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15840 * sysdeps/powerpc/powerpc32/sysdep.h
15841 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15842 to [SHARED && PIC && !NO_HIDDEN].
15843 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15844 conditional to [SHARED].
15846 2013-09-04 Will Newton <will.newton@linaro.org>
15848 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15849 * benchtests/bench-string.h: Include bench-timing.h instead
15850 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15851 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15852 call to HP_TIMING_DIFF_INIT.
15853 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15854 instead of hp-timing.h macros.
15855 * benchtests/bench-memchr.c: Likewise.
15856 * benchtests/bench-memcmp.c: Likewise.
15857 * benchtests/bench-memcpy.c: Likewise.
15858 * benchtests/bench-memmem.c: Likewise.
15859 * benchtests/bench-memmove.c: Likewise.
15860 * benchtests/bench-memset.c: Likewise.
15861 * benchtests/bench-rawmemchr.c: Likewise.
15862 * benchtests/bench-strcasecmp.c: Likewise.
15863 * benchtests/bench-strcasestr.c: Likewise.
15864 * benchtests/bench-strcat.c: Likewise.
15865 * benchtests/bench-strchr.c: Likewise.
15866 * benchtests/bench-strcmp.c: Likewise.
15867 * benchtests/bench-strcpy.c: Likewise.
15868 * benchtests/bench-strcpy_chk.c: Likewise.
15869 * benchtests/bench-strlen.c: Likewise.
15870 * benchtests/bench-strncasecmp.c: Likewise.
15871 * benchtests/bench-strncat.c: Likewise.
15872 * benchtests/bench-strncmp.c: Likewise.
15873 * benchtests/bench-strncpy.c: Likewise.
15874 * benchtests/bench-strnlen.c: Likewise.
15875 * benchtests/bench-strpbrk.c: Likewise.
15876 * benchtests/bench-strrchr.c: Likewise.
15877 * benchtests/bench-strspn.c: Likewise.
15878 * benchtests/bench-strstr.c: Likewise.
15880 2013-09-04 Will Newton <will.newton@linaro.org>
15882 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15884 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15887 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15888 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15889 * math/libm-test.inc (lgamma_test_data): Add more tests.
15890 * sysdeps/i386/fpu/libm-test-ulps: Update.
15891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15893 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15895 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15896 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15899 Add strcmp-sse2-unaligned
15900 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15902 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15904 * Versions.def (libc): Add GLIBC_2.19.
15906 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15908 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15909 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15911 2013-09-02 Joseph Myers <joseph@codesourcery.com>
15914 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15915 intermediate calculations in recurrence.
15916 (__ieee754_ynf): Likewise.
15917 * math/libm-test.inc (jn_test_data): Do not allow spurious
15918 underflow exception. Add more tests.
15919 (yn_test_data): Add more tests.
15920 * sysdeps/i386/fpu/libm-test-ulps: Update.
15921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15923 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
15925 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15927 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15929 * csu/init-first.c: Fix then/than typos.
15930 * locale/programs/ld-collate.c: Likewise.
15931 * locale/programs/linereader.h: Likewise.
15932 * manual/charset.texi: Likewise.
15933 * manual/filesys.texi: Likewise.
15934 * manual/stdio.texi: Likewise.
15935 * manual/string.texi: Likewise.
15936 * stdlib/fmtmsg.c: Likewise.
15937 * sysdeps/i386/stpncpy.S: Likewise.
15938 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15939 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15941 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15943 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15945 * elf/dl-open.c: Fix typos.
15946 * iconvdata/gbbig5.c: Likewise.
15947 * iconvdata/iso-2022-jp.c: Likewise.
15948 * iconv/gconv_int.h: Likewise.
15949 * iconv/loop.c: Likewise.
15950 * nis/rpcsvc/nis.h: Likewise.
15951 * resolv/ns_name.c: Likewise.
15952 * stdio-common/vfscanf.c: Likewise.
15953 * streams/stropts.h: Likewise.
15954 * sunrpc/rpc_thread.c: Likewise.
15955 * sysdeps/i386/strpbrk.S: Likewise.
15956 * sysdeps/ieee754/k_standard.c: Likewise.
15957 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15959 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15960 * sysdeps/mach/hurd/profil.c: Likewise.
15961 * sysdeps/s390/dl-procinfo.h: Likewise.
15962 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15963 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15964 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15965 * sysdeps/x86_64/dl-trampoline.S: Likewise.
15966 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15968 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
15970 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15971 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15973 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
15975 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15976 aix specific files.
15977 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15978 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15979 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15980 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15981 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15982 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15983 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15984 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15986 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15987 Roland McGrath <roland@hack.frob.com>
15989 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15990 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15992 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15994 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15995 __executable_start symbol instead of _start.
15997 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
15999 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16000 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16002 * sysdeps/gnu/ldsodefs.h: ... this new file.
16004 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16005 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16006 instead of ELFOSABI_LINUX.
16008 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16009 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16010 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16011 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16013 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16014 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16015 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16017 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16018 (ibm_extended_long_double): Add ieee_nan member.
16019 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16020 (do_test): New function.
16022 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16024 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16025 functions, renamed from truncdfsf_test, trunctfsf_test,
16027 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16029 (do_test): Run all these.
16031 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16033 * argp/argp-help.c: Fix typos.
16034 * argp/argp-parse.c: Likewise.
16035 * debug/backtracesyms.c: Likewise.
16036 * elf/elf.h: Likewise.
16037 * malloc/malloc.c: Likewise.
16038 * nis/nis_print.c: Likewise.
16039 * resolv/res_comp.c: Likewise.
16040 * stdlib/stdlib.h: Likewise.
16041 * sunrpc/clnt_tcp.c: Likewise.
16042 * sunrpc/clnt_udp.c: Likewise.
16043 * sunrpc/clnt_unix.c: Likewise.
16044 * sysdeps/unix/bsd/ptsname.c: Likewise.
16045 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16046 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16053 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16055 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16057 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16060 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16063 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16064 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16065 ($(objpfx)bug-dl-leaf): New rule.
16066 ($(objpfx)bug-dl-leaf.so): Likewise.
16067 ($(objpfx)bug-dl-leaf.out): Likewise.
16068 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16069 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16070 * dlfcn/bug-dl-leaf.c: New test.
16071 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16072 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16073 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16074 (dlclose): Likewise.
16075 (dlmopen): Likewise.
16077 2013-08-27 Roland McGrath <roland@hack.frob.com>
16079 * include/netdb.h [!_ISOMAC]:
16080 Don't include <tls.h>.
16081 (h_errno, __libc_h_errno): Move declaration and macros out of
16084 * include/resolv.h [_RESOLV_H_]:
16085 Don't include <tls.h>.
16086 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16087 * resolv/res_libc.c: Don't include <tls.h>.
16088 (_res): Use __attribute__ ((nocommon)) in place of
16089 __attribute__ ((section (".bss"))).
16091 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16092 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16094 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16096 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16097 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16099 * resolv/res_mkquery.c: Include <sys/time.h>.
16101 * inet/ifreq.c: Moved to ...
16102 * sysdeps/unix/ifreq.c: ... here.
16103 * inet/ifreq.c: New file, true stub version.
16105 * socket/sa_len.c: New file.
16106 * socket/Makefile (aux): Add it.
16107 * sysdeps/unix/sysv/linux/Makefile
16108 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16109 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16110 and #include <socket/sa_len.c>.
16111 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16112 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16114 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16115 * bits/socket.h: ... here.
16117 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16118 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16119 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16121 2013-08-27 Andreas Schwab <schwab@suse.de>
16124 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16125 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16126 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16127 * string/test-strcasecmp.c (test_main): Run tests in several
16129 * string/test-strncasecmp.c (test_main): Likewise.
16131 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16132 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16133 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16134 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16135 (__strncasecmp_ssse3) [PIC]: Likewise.
16137 2013-08-26 Roland McGrath <roland@hack.frob.com>
16139 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16141 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16142 instead of explicitly declaring xdecrypt.
16143 * nis/nss_nis/nis-publickey.c: Likewise.
16145 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16148 * nscd/aicache.c: Include res_hconf.h.
16149 (addhstaiX): Initialize res_hconf.
16151 2013-08-26 Andreas Schwab <schwab@suse.de>
16153 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16154 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16156 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16158 * nscd/aicache.c (addhstaiX): Fix indentation.
16160 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16162 * configure.ac: Quote $build_pt_chown test.
16163 * configure: Regenerated.
16165 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16168 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16169 * math/s_cexpf.c (__cexpf): Likewise.
16170 * math/s_cexpl.c (__cexpl): Likewise.
16171 * math/libm-test.inc (cexp_test_data): Correct expected return
16172 value for NaN + i0. Add another test.
16174 2013-08-22 David S. Miller <davem@davemloft.net>
16176 * po/ca.po: Update Catalan translation from translation project.
16177 * po/uk.po: Add Ukrainian translations from translation project.
16179 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16182 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16183 is infinite, not alongside NaN test.
16184 * math/s_fdimf.c (__fdimf): Likewise.
16185 * math/s_fdiml.c (__fdiml): Likewise.
16186 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16187 errno is unchanged.
16189 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16191 * argp/argp-help.c: Fix typos.
16192 * crypt/speeds.c: Likewise.
16193 * csu/check_fds.c: Likewise.
16194 * elf/dl-load.c: Likewise.
16195 * elf/dl-open.c: Likewise.
16196 * elf/reldep3.c: Likewise.
16197 * elf/reldep.c: Likewise.
16198 * elf/sprof.c: Likewise.
16199 * iconv/iconv_charmap.c: Likewise.
16200 * iconv/skeleton.c: Likewise.
16201 * iconv/strtab.c: Likewise.
16202 * io/lockf64.c: Likewise.
16203 * libio/libioP.h: Likewise.
16204 * resolv/gai_notify.c: Likewise.
16205 * resolv/ns_name.c: Likewise.
16206 * resolv/ns_samedomain.c: Likewise.
16207 * resolv/res_send.c: Likewise.
16208 * stdlib/random.c: Likewise.
16209 * sunrpc/rpc/xdr.h: Likewise.
16210 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16212 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16213 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16216 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16217 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16218 * sysdeps/mach/hurd/check_fds.c: Likewise.
16219 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16220 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16221 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16222 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16223 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16224 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16225 * sysdeps/pthread/aio_notify.c: Likewise.
16226 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16227 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16228 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16229 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16230 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16232 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16234 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16235 version if bit_Slow_SSE4_2 is set.
16236 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16237 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16239 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16242 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16243 trampoline stack frame information.
16244 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16245 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16246 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16247 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16248 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16249 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16250 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16251 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16253 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16254 interrupting a syscall and set with option SA_SIGINFO.
16256 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16259 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16260 argument is infinite.
16261 * math/s_cprojf.c (__cprojf): Likewise.
16262 * math/s_cprojl.c (__cprojl): Likewise.
16263 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16264 * math/libm-test.inc (cproj_test_data): Add more tests.
16266 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16268 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16269 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16270 size. Use __ffs to determine corresponding shift.
16272 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16273 Roland McGrath <roland@hack.frob.com>
16275 * Makefile (INSTALL): Remove trailing blank lines from output of
16278 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16280 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16281 Align 32 bit compat elf_greg to 8 bytes.
16283 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16285 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16287 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16289 * string/strcoll_l.c (coll_seq): New structure.
16290 (get_next_seq_cached): New function.
16291 (get_next_seq): New function.
16292 (do_compare): New function.
16293 (STRCOLL): Use GNU style definition. Simplify implementation
16294 by using get_next_seq, get_next_seq_cached and do_compare.
16296 2013-08-16 Florian Weimer <fweimer@redhat.com>
16300 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16302 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16304 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16305 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16306 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16308 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16309 GETDENTS_64BIT_ALIGNED.
16310 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16311 * manual/filesys.texi (Reading/Closing Directory): Document
16312 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16314 * manual/conf.texi (Limits for Files): Add portability note to
16315 NAME_MAX, PATH_MAX.
16316 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16318 2013-08-13 Andreas Schwab <schwab@suse.de>
16321 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16323 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16324 LDBL_MAX_EXP >= 16384]: Add tests for it.
16326 2013-08-12 David S. Miller <davem@davemloft.net>
16328 * version.h (RELEASE): Set to "development".
16329 (VERSION): Set to "2.18.90".
16330 * NEWS: Add 2.19 section.
16332 2013-08-03 David S. Miller <davem@davemloft.net>
16334 * po/ko.po: Update Korean translation from translation project.
16336 2013-08-01 David S. Miller <davem@davemloft.net>
16338 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16339 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16342 2013-07-30 David S. Miller <davem@davemloft.net>
16344 * po/fr.po: Update French translation from translation project.
16346 2013-07-28 David S. Miller <davem@davemloft.net>
16348 * po/cs.po: Update Czech translation from translation project.
16350 * po/sv.po: Update Swedish translation from translation project.
16352 2013-07-27 David S. Miller <davem@davemloft.net>
16354 * po/eo.po: Update Esperanto translation from translation project.
16356 * po/vi.po: Update Vietnamese translation from translation project.
16358 * po/de.po: Update German translation from translation project.
16360 2013-07-26 David S. Miller <davem@davemloft.net>
16362 * po/bg.po: Update Bulgarian translation from translation project.
16364 * po/nl.po: Update Dutch translation from translation project.
16365 * po/pl.po: Update Polish translation from translation project.
16366 * po/ru.po: Update Russian translation from translation project.
16368 2013-07-24 David S. Miller <davem@davemloft.net>
16370 * po/libc.pot: Update.
16372 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16374 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16375 variable page size.
16376 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16377 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16378 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16380 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16382 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16384 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16385 Andreas Schwab <schwab@suse.de>
16386 Roland McGrath <roland@hack.frob.com>
16387 Joseph Myers <joseph@codesourcery.com>
16388 Carlos O'Donell <carlos@redhat.com>
16391 * config.h.in: Define HAVE_PT_CHOWN.
16392 * config.make.in (build-pt-chown): New variable.
16393 * configure.in (--enable-pt_chown): New configure option.
16394 * configure: Regenerate.
16395 * login/Makefile: Include Makeconfig. Build pt_chown only if
16396 build-pt-chown is enabled.
16397 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16398 pt_chown to fix pty ownership.
16399 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16401 * manual/install.texi (Configuring and compiling): Mention
16402 --enable-pt_chown. Add @findex for grantpt.
16403 * INSTALL: Regenerate.
16405 2013-07-20 David S. Miller <davem@davemloft.net>
16407 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16408 difference between 32-bit and 64-bit.
16410 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16413 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16414 Avoid system header dependency with -ffreestanding.
16415 ($(objpfx)bits/syscall%d): Likewise.
16417 2013-07-13 David S. Miller <davem@davemloft.net>
16419 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16420 underflows from atanl/atan2l due to bug 15319.
16421 (casinh_test_data): Likewise.
16423 2013-07-07 David S. Miller <davem@davemloft.net>
16425 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16427 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16429 * sysdeps/i386/fpu/libm-test-ulps: Update.
16430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16432 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16434 * configure.in (--enable-lock-elision): Fix message text.
16435 * INSTALL: Regenerate.
16436 * configure: Regenerate.
16438 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16442 2013-07-03 Andreas Jaeger <aj@suse.de>
16444 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16446 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16447 (ptrace_peeksiginfo_args): Add.
16448 (__ptrace_peeksiginfo_flags): Add.
16449 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16451 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16453 2013-07-03 Allan McRae <allan@archlinux.org>
16455 * sysdeps/i386/fpu/libm-test-ulps: Update.
16457 2013-07-02 David S. Miller <davem@davemloft.net>
16459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16461 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16463 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16465 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16467 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16470 2013-07-02 Andi Kleen <ak@linux.intel.com>
16472 * config.h.in (ENABLE_LOCK_ELISION): Add.
16473 * configure.in (--enable-lock-elision): Add option.
16474 * manual/install.texi: Document --enable lock elision.
16475 * configure: Regenerate
16476 * INSTALL: Regenerate.
16478 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16480 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16481 SSE4.2 strcasecmp for libc.a.
16482 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16484 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16487 * soft-fp/op-common.h (_FP_FMA): New macro.
16488 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16489 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16490 (_FP_MUL_MEAT_1_imm): ... here.
16491 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16492 (_FP_MUL_MEAT_1_wide): ... here.
16493 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16494 (_FP_MUL_MEAT_1_hard): ... here.
16495 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16496 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16497 (_FP_MUL_MEAT_2_wide): ... here.
16498 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16499 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16500 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16501 (_FP_MUL_MEAT_2_gmp): ... here.
16502 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16503 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16504 (_FP_MUL_MEAT_4_wide): ... here.
16505 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16506 (_FP_MUL_MEAT_4_gmp): ... here.
16507 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16508 (_FP_WFRACBITS_DW_S): Likewise.
16509 (_FP_WFRACXBITS_DW_S): Likewise.
16510 (_FP_HIGHBIT_DW_S): Likewise.
16511 (FP_FMA_S): Likewise.
16512 (_FP_FRAC_HIGH_DW_S): Likewise.
16513 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16514 (_FP_WFRACBITS_DW_D): Likewise.
16515 (_FP_WFRACXBITS_DW_D): Likewise.
16516 (_FP_HIGHBIT_DW_D): Likewise.
16517 (FP_FMA_D): Likewise.
16518 (_FP_FRAC_HIGH_DW_D): Likewise.
16519 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16520 (_FP_WFRACBITS_DW_E): Likewise.
16521 (_FP_WFRACXBITS_DW_E): Likewise.
16522 (_FP_HIGHBIT_DW_E): Likewise.
16523 (FP_FMA_E): Likewise.
16524 (_FP_FRAC_HIGH_DW_E): Likewise.
16525 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16526 (_FP_WFRACBITS_DW_Q): Likewise.
16527 (_FP_WFRACXBITS_DW_Q): Likewise.
16528 (_FP_HIGHBIT_DW_Q): Likewise.
16529 (FP_FMA_Q): Likewise.
16530 (_FP_FRAC_HIGH_DW_Q): Likewise.
16531 * soft-fp/fmasf4.c: New file.
16532 * soft-fp/fmadf4.c: Likewise.
16533 * soft-fp/fmatf4.c: Likewise.
16535 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16538 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16540 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16542 (index_Slow_SSE4_2): Likewise.
16543 (index_Prefer_PMINUB_for_stringop): Likewise.
16544 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16545 bit_Slow_SSE4_2 is set.
16546 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16547 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16549 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16551 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16552 rtld_global._dl_hwcap2.
16553 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16555 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16556 POWER8 feature descriptions defined in _dl_hwcap2.
16557 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16558 string handling for POWER8 feature bits.
16559 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16560 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16561 _dl_powerpc_cap_flags.
16562 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16563 * sysdeps/powerpc/rtld-global-offsets.sym
16564 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16565 _dl_hwcap2 in the rtld_global_ro structure.
16567 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16569 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16570 hardware capabilities in support of AT_HWCAP2.
16571 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16572 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16574 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16575 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16576 explicitly the unknown a_type display mechanism is used.
16577 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16578 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16580 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16581 to macro prototype for AT_HWCAP2 support.
16582 * sysdeps/i386/dl-procinfo.h: Likewise.
16583 * sysdeps/s390/dl-procinfo.h: Likewise.
16584 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16585 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16586 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16587 return -1 for unknown a_type display fallback.
16588 * sysdeps/sparc/dl-procinfo.h: Likewise.
16589 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16592 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16594 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16595 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16597 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16600 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16601 mprotect making __stack_prot writable.
16603 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16604 Joseph Myers <joseph@codesourcery.com>
16606 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16607 as being properly aligned.
16609 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16611 * dlfcn/modstatic5.c: New file.
16612 * dlfcn/tststatic5.c: New file.
16613 * dlfcn/Makefile (tests): Add tststatic5.
16614 (tests-static): Likewise.
16615 (modules-names): Add modstatic5.
16616 (tststatic5-ENV): New variable.
16617 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16620 * elf/dl-support.c (_dl_main_map): New variable.
16621 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16622 (_dl_nns, _dl_load_adds): Set to 1.
16623 (_dl_initial_searchlist): Refer to _dl_main_map.
16624 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16625 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16626 call to _dl_get_origin.
16627 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16629 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16630 * dlfcn/modstatic3.c: New file.
16631 * dlfcn/tststatic3.c: New file.
16632 * dlfcn/tststatic4.c: New file.
16633 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16634 (tests-static): Likewise.
16635 (modules-names): Add modstatic3.
16636 (tststatic3-ENV, tststatic4-ENV): New variables.
16637 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16638 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16640 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16642 * configure.in (CC): Require GCC version 4.4 or later.
16643 * configure: Regenerated.
16644 * manual/install.texi (Tools for Compilation): Update GCC version
16646 * INSTALL: Regenerated.
16648 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16651 * string/test-memcmp.c (check2): New.
16652 (main): Call check2.
16654 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16656 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16659 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16661 (dl_open_worker) [!SHARED]: ... here.
16663 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16665 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16667 2013-06-25 Richard Henderson <rth@redhat.com>
16669 * locale/programs/locarchive.c: Include <libc-internal.h>
16671 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16673 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16674 trailing whitespace removed.
16676 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16679 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16680 * locale/programs/locarchive.c: Include libc-mmap.h.
16681 (prepare_address_space): Take two new outputs (the mmap base and len).
16682 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16684 (create_archive): Declare new mmap base and len values for
16685 prepare_address_space, and store the result in ah.
16686 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16687 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16688 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16689 Declare new mmap base and len values for
16690 prepare_address_space, and store the result in new_ah.
16691 (open_archive): Declare new mmap base and len values for
16692 prepare_address_space, and store the result in ah.
16693 (close_archive): If ah->mmap_base is not NULL, use that and
16694 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16695 * sysdeps/generic/libc-mmap.h: New file.
16697 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16699 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16700 (ALIGN_UP): Likewise.
16701 (PTR_ALIGN_DOWN): Likewise.
16702 (PTR_ALIGN_UP): Likewise.
16704 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16706 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16707 entry mapped to PPC_PLATFORM_POWER8.
16708 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16710 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16711 (_dl_string_platform): Add case for exporting platform position for
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16714 search path to sysdeps/powerpc/powerpc32/power8 directory.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16716 search path to sysdeps/powerpc/powerpc64/power8 directory.
16717 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16718 power7 directories.
16719 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16720 power7 directories.
16722 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16724 * INSTALL: Regenerate.
16726 * nscd/connections.c (nscd_init): Fix comment.
16728 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16730 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16733 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16734 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16736 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16738 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16740 (DL_DST_REQ_STATIC): Remove macro.
16742 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16745 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16746 with a shift of 0 bits.
16748 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16750 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16753 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16756 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16758 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16760 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16761 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16762 accepts -fno-tree-loop-distribute-patterns.
16763 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16764 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16766 * string/memset.c (memset): Likewise.
16767 * string/test-memmove.c (simple_memmove): Disable loop transformation
16769 * string/test-memset.c (simple_memset): Likewise.
16770 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16771 * benchtests/bench-memset.c (simple_memset): Likewise.
16772 * configure: Regenerated.
16774 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16776 * math/test-misc.c (main): Ignore fesetround failure when failures
16777 of subsequent rounding tests would be ignored.
16780 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16781 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16782 * math/fegetenv.c (__fegetenv): Return 0.
16783 * math/fegetexcept.c (fegetexcept): Return 0.
16784 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16786 * math/feholdexcpt.c (feholdexcept): Return 0.
16787 * math/fesetenv.c (__fesetenv): Return 0.
16788 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16789 argument FE_TONEAREST.
16790 * math/feupdateenv.c (__feupdateenv): Return 0.
16791 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16793 2013-06-18 Roland McGrath <roland@hack.frob.com>
16795 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16796 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16797 ($(objpfx)rtld-%.os rules): Use them.
16799 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16801 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16804 2013-06-17 Roland McGrath <roland@hack.frob.com>
16806 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16807 length of target pattern, then descending length of dependency pattern.
16808 * configure.in (AWK): Require gawk 3.1.2 or newer.
16809 * manual/install.texi (Tools for Compilation): Say that we do.
16810 * configure: Regenerated.
16812 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16813 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16814 * scripts/sysd-rules.awk: ... this new script.
16815 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16816 than a glob-style pattern.
16818 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16820 * math/test-misc.c (main): Do not treat incorrectly rounded
16821 conversions as failure unless ROUNDING_TESTS passes.
16823 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16826 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16827 restore exception state around main square root computation, then
16828 check for inexactness explicitly.
16830 * math/libm-test.inc (fma_test_data): Add another test.
16832 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16834 * manual/threads.texi (Non-POSIX Extensions): New document
16835 node. Document pthread_getattr_default_np and
16836 pthread_setattr_default_np.
16838 * Versions.def (libpthread): Add GLIBC_2.18.
16839 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16848 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16854 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16859 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16861 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16862 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16864 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16865 H.J. Lu <hjl.tools@gmail.com>
16868 * sysdeps/x86_64/rtld-memset.c: Remove file.
16869 * sysdeps/x86_64/rtld-memset.S: New file.
16871 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16873 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16874 (test_in_one_mode): Take arguments for whether the rounding mode
16875 is supported for each floating-point type.
16876 (do_test): Pass new arguments to test_in_one_mode using
16879 2013-06-13 Roland McGrath <roland@hack.frob.com>
16881 * posix/tst-waitid.c (do_test): Distinguish different instances of
16882 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16883 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16884 before entering the kernel for waitpid.
16886 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16888 * NEWS: Fix note on clock function precision. Text by Roland
16891 2013-06-13 Roland McGrath <roland@hack.frob.com>
16893 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16894 it into place only when and if the sanity check passes.
16896 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16898 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16899 output for whether conversion result is exact. Take argument
16900 indicating whether type is IBM long double.
16901 (round_for_all): Change need_exact field to ibm_ld.
16902 * stdlib/tst-strtod-round.c (struct exactness): New type.
16903 (struct test): Change bool ld_ok field to struct exactness exact.
16904 (TEST): Update all definitions for change to field.
16905 (tests): Regenerate array contents.
16906 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16907 field value. Check for IBM long double here.
16908 (do_test): Update calls to test_in_one_mode.
16910 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16913 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16914 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16916 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16919 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16920 generated by the compiler on loop optimizations.
16921 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16922 general definitions.
16924 2013-06-12 Joseph Myers <joseph@codesourcery.com>
16926 * math/bug-nextafter.c: Include <math-tests.h>.
16927 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16929 * math/bug-nexttoward.c: Include <math-tests.h>.
16930 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16932 * math/test-misc.c: Include <math-tests.h>.
16933 (main): Only test for exceptions if EXCEPTION_TESTS is true for
16936 2013-06-12 Andreas Jaeger <aj@suse.de>
16938 * po/ia.po: Update Interlingua translation from translation
16941 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16943 * include/fenv.h: Include stdbool.h.
16944 (struct rm_ctx): New structure.
16945 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16947 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16948 (SET_RESTORE_ROUNDF): Likewise.
16949 (SET_RESTORE_ROUNDL): Likewise.
16950 (SET_RESTORE_ROUND_NOEX): Likewise.
16951 (SET_RESTORE_ROUND_NOEXF): Likewise.
16952 (SET_RESTORE_ROUND_NOEXL): Likewise.
16953 (SET_RESTORE_ROUND_53BIT): Likewise.
16954 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16955 (libc_feresetround_noexf_ctx): Likewise.
16956 (libc_feresetround_noexl_ctx): Likewise.
16957 (libc_feholdsetround_53bit_ctx): Likewise.
16958 (libc_feresetround_53bit_ctx): Likewise.
16959 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16960 (libc_feholdexcept_setround_sse_ctx): New function.
16961 (libc_fesetenv_sse_ctx): Likewise.
16962 (libc_feupdateenv_sse_ctx): Likewise.
16963 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16964 (libc_feholdexcept_setround_387_ctx): Likewise.
16965 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16966 (libc_feholdsetround_387_prec_ctx): Likewise.
16967 (libc_feholdsetround_387_ctx): Likewise.
16968 (libc_feholdsetround_387_53bit_ctx): Likewise.
16969 (libc_feholdsetround_sse_ctx): Likewise.
16970 (libc_feresetround_sse_ctx): Likewise.
16971 (libc_feresetround_387_ctx): Likewise.
16972 (libc_feupdateenv_387_ctx): Likewise.
16973 (libc_feholdexcept_setroundf_ctx): Define macro.
16974 (libc_fesetenvf_ctx): Likewise.
16975 (libc_feupdateenvf_ctx): Likewise.
16976 (libc_feholdsetroundf_ctx): Likewise.
16977 (libc_feresetroundf_ctx): Likewise.
16978 (libc_feholdexcept_setround_ctx): Likewise.
16979 (libc_fesetenv_ctx): Likewise.
16980 (libc_feupdateenv_ctx): Likewise.
16981 (libc_feholdsetround_ctx): Likewise.
16982 (libc_feresetround_ctx): Likewise.
16983 (libc_feholdexcept_setroundl_ctx): Likewise.
16984 (libc_feupdateenvl_ctx): Likewise.
16985 (libc_feholdsetroundl_ctx): Likewise.
16986 (libc_feresetroundl_ctx): Likewise.
16987 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16988 (libc_feresetround_53bit_ctx): Likewise.
16990 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16992 * locale/iso-639.def: Convert to UTF-8.
16994 2013-06-11 Joseph Myers <joseph@codesourcery.com>
16996 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16997 (EXCEPTION_TESTS_double): Likewise.
16998 (EXCEPTION_TESTS_long_double): Likewise.
16999 (EXCEPTION_TESTS): Likewise.
17000 * math/libm-test.inc (test_exceptions): Only test exceptions if
17001 EXCEPTION_TESTS (FLOAT).
17003 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17005 * benchtests/Makefile (string-bench): Add strcpy_chk and
17007 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17008 * benchtests/bench-stpcpy_chk.c: New file.
17009 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17010 * benchtests/bench-strcpy_chk.c: New file.
17011 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17013 (do_test): Likewise.
17015 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17017 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17018 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17019 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17020 with tabs where appropriate.
17021 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17023 [PPC_PLATFORM_PPC440]: Likewise.
17024 [PPC_PLATFORM_PPC464]: Likewise.
17025 [PPC_PLATFORM_PPC476]: Likewise.
17026 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17027 ppc464, and ppc476 platform strings merging from ports/
17030 2013-06-11 Andreas Schwab <schwab@suse.de>
17033 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17034 (from_ucs4_idx): Regenerate.
17035 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17036 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17037 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17038 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17039 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17040 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17041 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17042 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17043 from FROM_LOOP and TO_LOOP specific macros.
17044 (BODY): Handle combining characters.
17045 * iconvdata/BIG5HKSCS.irreversible: Update.
17046 * iconvdata/BIG5HKSCS.precomposed: New file.
17047 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17049 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17051 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17053 * include/sys/time.h: Fix indentation and add copyright header.
17055 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17056 (do_test): Likewise.
17057 * string/test-memchr.c (do_one_test): Likewise.
17058 (do_test): Likewise.
17059 * string/test-memcmp.c (do_one_test): Likewise.
17060 (do_test): Likewise.
17061 * string/test-memcpy.c (do_one_test): Likewise.
17062 (do_test): Likewise.
17063 * string/test-memmem.c (do_one_test): Likewise.
17064 (do_test): Likewise.
17065 (do_random_tests): Likewise.
17066 * string/test-memmove.c (do_one_test): Likewise.
17067 (do_test): Likewise.
17068 * string/test-memset.c (do_one_test): Likewise.
17069 (do_test): Likewise.
17070 * string/test-rawmemchr.c (do_one_test): Likewise.
17071 (do_test): Likewise.
17072 * string/test-strcasecmp.c (do_one_test): Likewise.
17073 (do_test): Likewise.
17074 * string/test-strcasestr.c (do_one_test): Likewise.
17075 (do_test): Likewise.
17076 * string/test-strcat.c (do_one_test): Likewise.
17077 (do_test): Likewise.
17078 * string/test-strchr.c (do_one_test): Likewise.
17079 (do_test): Likewise.
17080 * string/test-strcmp.c (do_one_test): Likewise.
17081 (do_test): Likewise.
17082 * string/test-strcpy.c (do_one_test): Likewise.
17083 (do_test): Likewise.
17084 * string/test-string.h: Likewise.
17085 (test_init): Likewise.
17086 * string/test-strlen.c (do_one_test): Likewise.
17087 (do_test): Likewise.
17088 * string/test-strncasecmp.c (do_one_test): Likewise.
17089 (do_test): Likewise.
17090 * string/test-strncat.c (do_one_test): Likewise.
17091 (do_test): Likewise.
17092 * string/test-strncmp.c (do_one_test): Likewise.
17093 (do_test_limit): Likewise.
17094 (do_test): Likewise.
17095 * string/test-strncpy.c (do_one_test): Likewise.
17096 (do_test): Likewise.
17097 * string/test-strnlen.c (do_one_test): Likewise.
17098 (do_test): Likewise.
17099 * string/test-strpbrk.c (do_one_test): Likewise.
17100 (do_test): Likewise.
17101 * string/test-strrchr.c (do_one_test): Likewise.
17102 (do_test): Likewise.
17103 * string/test-strspn.c (do_one_test): Likewise.
17104 (do_test): Likewise.
17105 * string/test-strstr.c (do_one_test): Likewise.
17106 (do_test): Likewise.
17108 * benchtests/Makefile (string-bench): Add string benchmarks.
17109 * benchtests/bench-bcopy-ifunc.c: New file.
17110 * benchtests/bench-bcopy.c: New file.
17111 * benchtests/bench-bzero-ifunc.c: New file.
17112 * benchtests/bench-bzero.c: New file.
17113 * benchtests/bench-memccpy-ifunc.c: New file.
17114 * benchtests/bench-memccpy.c: New file.
17115 * benchtests/bench-memchr-ifunc.c: New file.
17116 * benchtests/bench-memchr.c: New file.
17117 * benchtests/bench-memcmp-ifunc.c: New file.
17118 * benchtests/bench-memcmp.c: New file.
17119 * benchtests/bench-memmem-ifunc.c: New file.
17120 * benchtests/bench-memmem.c: New file.
17121 * benchtests/bench-memmove-ifunc.c: New file.
17122 * benchtests/bench-memmove.c: New file.
17123 * benchtests/bench-mempcpy-ifunc.c: New file.
17124 * benchtests/bench-mempcpy.c: New file.
17125 * benchtests/bench-memset-ifunc.c: New file.
17126 * benchtests/bench-memset.c: New file.
17127 * benchtests/bench-rawmemchr-ifunc.c: New file.
17128 * benchtests/bench-rawmemchr.c: New file.
17129 * benchtests/bench-stpcpy-ifunc.c: New file.
17130 * benchtests/bench-stpcpy.c: New file.
17131 * benchtests/bench-stpncpy-ifunc.c: New file.
17132 * benchtests/bench-stpncpy.c: New file.
17133 * benchtests/bench-strcasecmp-ifunc.c: New file.
17134 * benchtests/bench-strcasecmp.c: New file.
17135 * benchtests/bench-strcasestr-ifunc.c: New file.
17136 * benchtests/bench-strcasestr.c: New file.
17137 * benchtests/bench-strcat-ifunc.c: New file.
17138 * benchtests/bench-strcat.c: New file.
17139 * benchtests/bench-strchr-ifunc.c: New file.
17140 * benchtests/bench-strchr.c: New file.
17141 * benchtests/bench-strchrnul-ifunc.c: New file.
17142 * benchtests/bench-strchrnul.c: New file.
17143 * benchtests/bench-strcmp-ifunc.c: New file.
17144 * benchtests/bench-strcmp.c: New file.
17145 * benchtests/bench-strcpy-ifunc.c: New file.
17146 * benchtests/bench-strcpy.c: New file.
17147 * benchtests/bench-strcspn-ifunc.c: New file.
17148 * benchtests/bench-strcspn.c: New file.
17149 * benchtests/bench-strlen-ifunc.c: New file.
17150 * benchtests/bench-strlen.c: New file.
17151 * benchtests/bench-strncasecmp-ifunc.c: New file.
17152 * benchtests/bench-strncasecmp.c: New file.
17153 * benchtests/bench-strncat-ifunc.c: New file.
17154 * benchtests/bench-strncat.c: New file.
17155 * benchtests/bench-strncmp-ifunc.c: New file.
17156 * benchtests/bench-strncmp.c: New file.
17157 * benchtests/bench-strncpy-ifunc.c: New file.
17158 * benchtests/bench-strncpy.c: New file.
17159 * benchtests/bench-strnlen-ifunc.c: New file.
17160 * benchtests/bench-strnlen.c: New file.
17161 * benchtests/bench-strpbrk-ifunc.c: New file.
17162 * benchtests/bench-strpbrk.c: New file.
17163 * benchtests/bench-strrchr-ifunc.c: New file.
17164 * benchtests/bench-strrchr.c: New file.
17165 * benchtests/bench-strspn-ifunc.c: New file.
17166 * benchtests/bench-strspn.c: New file.
17167 * benchtests/bench-strstr-ifunc.c: New file.
17168 * benchtests/bench-strstr.c: New file.
17170 * benchtests/Makefile: Disable parallel execution of targets.
17171 (string-bench): Add memcpy.
17172 (benchset): New variable to store a list of benchmark sets.
17173 (bench-func): Renamed from bench.
17174 (bench-set): New target.
17175 (bench): Depend on bench-func and bench-set.
17176 * benchtests/README: Add section on benchmark sets.
17177 * benchtests/bench-memcpy-ifunc.c: New file.
17178 * benchtests/bench-memcpy.c: New file.
17179 * benchtests/bench-string.h: New file.
17181 2013-06-11 Andreas Schwab <schwab@suse.de>
17184 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17185 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17186 values in the triple.
17187 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17188 terminator in the group key.
17190 2013-06-11 Andreas Jaeger <aj@suse.de>
17192 * po/zh_TW.po: Update Chinese (traditional) translation from
17193 translation project.
17195 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17197 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17198 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17199 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17201 (clock_getcpuclockid): Likewise.
17202 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17203 Add weak_alias and libc_hidden_def.
17204 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17205 * rt/clock_gettime.c (clock_gettime): Rename to
17206 __clock_gettime. Add weak_alias and libc_hidden_def.
17207 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17208 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17209 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17210 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17211 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17213 * rt/clock_settime.c (clock_settime): Rename to
17214 __clock_settime. Add weak_alias and libc_hidden_def.
17215 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17217 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17219 * mach/err_boot.sub: Remove trailing whitespace.
17220 * mach/err_ipc.sub: Likewise.
17221 * mach/err_mach.sub: Likewise.
17223 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17224 (ROUNDING_TESTS_double): Likewise.
17225 (ROUNDING_TESTS_long_double): Likewise.
17226 (ROUNDING_TESTS): Likewise.
17227 * math/libm-test.inc: Include <math-tests.h>.
17228 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17229 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17230 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17231 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17233 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17235 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17238 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17240 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17241 otherwise empty TRANS lines.
17242 * sysdeps/gnu/errlist.c: Regenerated.
17244 * catgets/gencat.c (error_print): Use (void) in function
17246 * crypt/crypt_util.c (__init_des): Likewise.
17247 * crypt/speeds.c (Stop): Likewise.
17249 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17250 * inet/ruserpass.c (token): Likewise.
17251 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17252 * intl/localealias.c (extend_alias_table): Likewise.
17253 * intl/plural-exp.c (init_germanic_plural): Likewise.
17254 * libio/fcloseall.c (__fcloseall): Likewise.
17255 * libio/genops.c (_IO_flush_all): Likewise.
17256 (_IO_flush_all_linebuffered): Likewise.
17257 (_IO_cleanup): Likewise.
17258 (_IO_iter_begin): Likewise.
17259 (_IO_iter_end): Likewise.
17260 (_IO_list_lock): Likewise.
17261 (_IO_list_unlock): Likewise.
17262 (_IO_list_resetlock): Likewise.
17263 * libio/getchar.c (getchar): Likewise.
17264 * libio/getchar_u.c (getchar_unlocked): Likewise.
17265 * libio/getwchar.c (getwchar): Likewise.
17266 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17267 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17268 * login/getpt.c (__getpt): Likewise.
17269 * login/tst-utmp.c (main): Likewise.
17270 * malloc/hooks.c (__malloc_check_init): Likewise.
17271 * malloc/malloc.c (__malloc_stats): Likewise.
17272 * malloc/mtrace.c (tr_break): Likewise.
17273 (mtrace): Likewise.
17274 (muntrace): Likewise.
17275 * misc/fstab.c (endfsent): Likewise.
17276 * misc/getclktck.c (__getclktck): Likewise.
17277 * misc/getdtsz.c (__getdtablesize): Likewise.
17278 * misc/gethostid.c (gethostid): Likewise.
17279 * misc/getpagesize.c (__getpagesize): Likewise.
17280 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17281 (__get_nprocs): Likewise.
17282 (__get_phys_pages): Likewise.
17283 (__get_avphys_pages): Likewise.
17284 * misc/getttyent.c (getttyent): Likewise.
17285 (setttyent): Likewise.
17286 (endttyent): Likewise.
17287 * misc/getusershell.c (getusershell): Likewise.
17288 (endusershell): Likewise.
17289 (setusershell): Likewise.
17290 (initshells): Likewise.
17291 * misc/hsearch.c (__hdestroy): Likewise.
17292 * misc/sync.c (sync): Likewise.
17293 * misc/syslog.c (closelog_internal): Likewise.
17294 (closelog): Likewise.
17295 * misc/ttyslot.c (ttyslot): Likewise.
17296 * misc/vhangup.c (vhangup): Likewise.
17297 * posix/fork.c (__fork): Likewise.
17298 * posix/getegid.c (__getegid): Likewise.
17299 * posix/geteuid.c (__geteuid): Likewise.
17300 * posix/getgid.c (__getgid): Likewise.
17301 * posix/getpid.c (__getpid): Likewise.
17302 * posix/getppid.c (__getppid): Likewise.
17303 * posix/getuid.c (__getuid): Likewise.
17304 * posix/pause.c (pause): Likewise.
17305 * posix/setpgrp.c (setpgrp): Likewise.
17306 * posix/setsid.c (__setsid): Likewise.
17307 * posix/test-vfork.c (noop): Likewise.
17308 * resolv/gethnamaddr.c (_endhtent): Likewise.
17309 (_gethtent): Likewise.
17310 (ht_endhostent): Likewise.
17311 (gethostent): Likewise.
17312 (dns_service): Likewise.
17313 * stdlib/drand48.c (drand48): Likewise.
17314 * stdlib/lrand48.c (lrand48): Likewise.
17315 * stdlib/mrand48.c (mrand48): Likewise.
17316 * stdlib/rand.c (rand): Likewise.
17317 * stdlib/random.c (__random): Likewise.
17318 * stdlib/setenv.c (clearenv): Likewise.
17319 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17320 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17321 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17322 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17323 (__get_nprocs): Likewise.
17324 (__get_phys_pages): Likewise.
17325 (__get_avphys_pages): Likewise.
17326 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17327 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17328 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17329 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17330 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17331 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17332 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17333 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17334 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17335 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17336 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17337 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17338 * sysdeps/posix/clock.c (clock): Likewise.
17339 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17340 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17341 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17342 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17343 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17345 (__get_nprocs_conf): Likewise.
17346 (__get_phys_pages): Likewise.
17347 (__get_avphys_pages): Likewise.
17348 * time/clock.c (clock): Likewise.
17349 * time/tzset.c (__tzname_max): Likewise.
17351 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17353 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17354 (__bswap_32): Do not use "register".
17355 * crypt/crypt.c (_ufc_doit_r): Likewise.
17356 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17357 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17358 * gmon/gmon.c (__monstartup): Likewise.
17359 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17360 * hurd/hurdmalloc.c (more_memory): Likewise.
17361 (malloc): Likewise.
17363 (realloc): Likewise.
17364 (malloc_fork_prepare): Likewise.
17365 (malloc_fork_parent): Likewise.
17366 (malloc_fork_child): Likewise.
17367 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17368 (_svcauth_des): Likewise.
17369 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17370 * inet/inet_net.c (inet_network): Likewise.
17371 * inet/inet_netof.c (inet_netof): Likewise.
17372 * inet/rcmd.c (__validuser2_sa): Likewise.
17373 * io/fts.c (fts_open): Likewise.
17374 (fts_load): Likewise.
17375 (fts_close): Likewise.
17376 (fts_read): Likewise.
17377 (fts_children): Likewise.
17378 (fts_build): Likewise.
17379 (fts_stat): Likewise.
17380 (fts_sort): Likewise.
17381 (fts_alloc): Likewise.
17382 (fts_lfree): Likewise.
17383 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17384 (_IO_file_xsgetn): Likewise.
17385 (_IO_file_xsgetn_mmap): Likewise.
17386 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17387 (_IO_cookie_write): Likewise.
17388 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17389 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17390 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17391 * malloc/obstack.c (_obstack_begin): Likewise.
17392 (_obstack_begin_1): Likewise.
17393 (_obstack_newchunk): Likewise.
17394 (_obstack_allocated_p): Likewise.
17395 (obstack_free): Likewise.
17396 (_obstack_memory_used): Likewise.
17397 * misc/getttyent.c (getttynam): Likewise.
17398 (getttyent): Likewise.
17401 * misc/getusershell.c (initshells): Likewise.
17402 * misc/syslog.c (__vsyslog_chk): Likewise.
17403 * misc/ttyslot.c (ttyslot): Likewise.
17404 * nis/nis_hash.c (__nis_hash): Likewise.
17405 * posix/fnmatch_loop.c (FCT): Likewise.
17406 * posix/getconf.c (print_all): Likewise.
17408 * posix/getopt.c (exchange): Likewise.
17409 * posix/glob.c (globfree): Likewise.
17410 (prefix_array): Likewise.
17411 (__glob_pattern_type): Likewise.
17412 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17413 (NS_GET32): Likewise.
17414 (NS_PUT16): Likewise.
17415 (NS_PUT32): Likewise.
17416 * resolv/gethnamaddr.c (getanswer): Likewise.
17417 (gethostbyname2): Likewise.
17418 (gethostbyaddr): Likewise.
17419 (_gethtent): Likewise.
17420 (_gethtbyname2): Likewise.
17421 (_gethtbyaddr): Likewise.
17422 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17423 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17424 * resolv/res_init.c (__res_vinit): Likewise.
17425 (net_mask): Likewise.
17426 * resolv/res_mkquery.c (outchar): Likewise.
17428 * stdio-common/printf_fp.c (outchar): Likewise.
17430 * stdio-common/printf_fphex.c (outchar): Likewise.
17432 * stdio-common/printf_size.c (outchar): Likewise.
17434 * stdio-common/test_rdwr.c (main): Likewise.
17435 * stdio-common/tfformat.c (matches): Likewise.
17436 * stdio-common/vfprintf.c (outchar): Likewise.
17437 (printf_unknown): Likewise.
17438 (buffered_vfprintf): Likewise.
17439 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17440 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17441 (ReadFile): Likewise.
17442 * stdlib/qsort.c (SWAP): Likewise.
17443 (_quicksort): Likewise.
17444 * stdlib/setenv.c (__add_to_environ): Likewise.
17445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17446 * stdlib/strtol_l.c (__strtol_l): Likewise.
17447 * stdlib/tst-strtod.c (main): Likewise.
17448 * stdlib/tst-strtol.c (main): Likewise.
17449 * stdlib/tst-strtoll.c (main): Likewise.
17450 * string/bits/string2.h (__strcmp_cc): Likewise.
17451 (__strcmp_cg): Likewise.
17452 (__strcspn_c1): Likewise.
17453 (__strcspn_c2): Likewise.
17454 (__strcspn_c3): Likewise.
17455 (__strspn_c1): Likewise.
17456 (__strspn_c2): Likewise.
17457 (__strspn_c3): Likewise.
17458 (__strsep_1c): Likewise.
17459 (__strsep_2c): Likewise.
17460 (__strsep_3c): Likewise.
17461 * string/memccpy.c (__memccpy): Likewise.
17462 * string/stpcpy.c (__stpcpy): Likewise.
17463 * string/strcmp.c (strcmp): Likewise.
17464 * string/strrchr.c (strrchr): Likewise.
17465 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17467 * sysdeps/mach/hurd/getcwd.c
17468 (_hurd_canonicalize_directory_name_internal): Likewise.
17469 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17470 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17471 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17472 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17473 Likewise, in both definitions.
17474 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17476 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17477 64] (__bswap_64): Likewise.
17478 * time/test_time.c (main): Likewise.
17479 * time/tzfile.c (__tzfile_read): Likewise.
17480 (__tzfile_compute): Likewise.
17481 * time/tzset.c (__tzset_parse_tz): Likewise.
17482 (tzset_internal): Likewise.
17483 (compute_change): Likewise.
17484 * wcsmbs/wcscat.c (__wcscat): Likewise.
17485 * wcsmbs/wcschr.c (wcschr): Likewise.
17486 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17487 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17488 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17489 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17490 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17491 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17492 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17493 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17494 * wcsmbs/wmemset.c (wmemset): Likewise.
17496 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17498 * scripts/config.guess: Update to version 2013-05-16.
17499 * scripts/config.sub: Update to version 2013-04-24.
17500 * scripts/install-sh: Update to version 2011-11-20.07.
17501 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17502 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17504 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17506 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17507 * elf/sln.c: Likewise.
17508 * hurd/hurd/ioctl.h: Likewise.
17509 * hurd/hurdmalloc.c: Likewise.
17510 * hurd/xattr.c: Likewise.
17511 * include/shlib-compat.h: Likewise.
17512 * inet/ruserpass.c: Likewise.
17513 * libio/iofgets_u.c: Likewise.
17514 * libio/iofgetws_u.c: Likewise.
17515 * locale/programs/ld-identification.c: Likewise.
17516 * locale/programs/ld-time.c: Likewise.
17517 * mach/msg-destroy.c: Likewise.
17518 * nss/nss_files/files-netgrp.c: Likewise.
17519 * resolv/res_data.c: Likewise.
17520 * soft-fp/op-1.h: Likewise.
17521 * soft-fp/op-2.h: Likewise.
17522 * soft-fp/op-4.h: Likewise.
17523 * soft-fp/op-common.h: Likewise.
17524 * stdio-common/printf_fphex.c: Likewise.
17525 * stdlib/strtod_l.c: Likewise.
17526 * sunrpc/rpc/clnt.h: Likewise.
17527 * sysdeps/generic/framestate.c: Likewise.
17528 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17529 * sysdeps/i386/bsd-setjmp.S: Likewise.
17530 * sysdeps/i386/__longjmp.S: Likewise.
17531 * sysdeps/i386/setjmp.S: Likewise.
17532 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17533 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17534 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17535 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17536 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17537 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17538 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17539 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17540 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17541 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17542 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17543 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17544 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17545 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17546 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17548 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17550 * sysdeps/ieee754/support.c: Likewise.
17551 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17552 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17553 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17554 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17555 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17556 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17557 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17558 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17559 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17560 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17561 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17562 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17563 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17564 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17565 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17566 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17567 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17570 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17572 * posix/transbug.c: Remove executable mode.
17574 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17576 * crypt/speeds.c: Remove trailing whitespace.
17577 * dlfcn/default.c: Likewise.
17578 * elf/ifuncdep2.c: Likewise.
17579 * elf/ifuncmain1.c: Likewise.
17580 * elf/ifuncmain1vis.c: Likewise.
17581 * elf/testobj.h: Likewise.
17582 * elf/tst-stackguard1.c: Likewise.
17583 * gmon/sys/gmon.h: Likewise.
17584 * hurd/hurdmsg.c: Likewise.
17585 * hurd/new-fd.c: Likewise.
17586 * hurd/ports-get.c: Likewise.
17587 * iconvdata/ibm1008_420.c: Likewise.
17588 * inet/tst-getni1.c: Likewise.
17589 * inet/tst-getni2.c: Likewise.
17590 * libio/ioungetc.c: Likewise.
17591 * libio/wfiledoalloc.c: Likewise.
17592 * manual/libm-err-tab.pl: Likewise.
17593 * math/w_dremf.c: Likewise.
17594 * misc/ftruncate.c: Likewise.
17595 * posix/bug-glob2.c: Likewise.
17596 * posix/tst-pcre.c: Likewise.
17597 * posix/wait4.c: Likewise.
17598 * resolv/README: Likewise.
17599 * resolv/res_debug.h: Likewise.
17600 * resolv/tst-inet_ntop.c: Likewise.
17601 * setjmp/bug269-setjmp.c: Likewise.
17602 * soft-fp/extended.h: Likewise.
17603 * soft-fp/op-1.h: Likewise.
17604 * soft-fp/op-2.h: Likewise.
17605 * soft-fp/op-4.h: Likewise.
17606 * soft-fp/op-8.h: Likewise.
17607 * soft-fp/testit.c: Likewise.
17608 * stdio-common/bug16.c: Likewise.
17609 * stdlib/random.c: Likewise.
17610 * sunrpc/rpcsvc/rquota.x: Likewise.
17611 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17616 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17618 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17619 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17620 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17621 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17623 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17627 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17628 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17629 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17630 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17631 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17638 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17639 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17640 * sysdeps/ieee754/s_lib_version.c: Likewise.
17641 * sysdeps/mach/hurd/check_fds.c: Likewise.
17642 * sysdeps/mach/hurd/getsockname.c: Likewise.
17643 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17644 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17645 * sysdeps/powerpc/bits/link.h: Likewise.
17646 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17647 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17648 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17649 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17650 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17651 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17652 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17653 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17654 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17655 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17656 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17657 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17658 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17659 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17660 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17661 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17664 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17665 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17666 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17667 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17668 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17669 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17670 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17671 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17672 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17673 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17674 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17675 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17676 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17677 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17679 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17680 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17681 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17682 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17683 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17684 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17685 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17686 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17687 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17688 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17689 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17690 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17691 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17692 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17693 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17694 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17695 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17697 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17698 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17699 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17700 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17701 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17702 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17703 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17704 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17705 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17706 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17707 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17708 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17709 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17710 * sysdeps/powerpc/sysdep.h: Likewise.
17711 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17712 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17713 * sysdeps/sh/dl-trampoline.S: Likewise.
17714 * sysdeps/sh/memset.S: Likewise.
17715 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17716 * sysdeps/sh/strlen.S: Likewise.
17717 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17718 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17719 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17720 * sysdeps/sparc/sparc32/rem.S: Likewise.
17721 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17722 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17723 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17724 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17725 * sysdeps/sparc/sparc32/urem.S: Likewise.
17726 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17727 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17728 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17729 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17730 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17731 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17732 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17733 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17734 * sysdeps/unix/bsd/times.c: Likewise.
17735 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17736 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17740 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17741 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17742 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17744 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17745 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17746 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17747 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17748 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17749 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17750 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17751 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17752 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17753 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17754 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17755 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17756 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17757 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17758 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17759 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17760 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17761 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17763 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17764 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17765 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17766 * sysdeps/x86_64/strcspn.S: Likewise.
17768 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17770 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17771 generated file. Regenerate properly from gen-translit.pl.
17772 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17773 locale/C-translit.h.
17775 2013-06-05 Andreas Schwab <schwab@suse.de>
17778 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17779 week as 6 instead of -1.
17780 * time/tst-strptime.c (day_tests): Add test case.
17782 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17784 * sysdeps/generic/math_private.h
17785 (libc_feholdexcept_setround_53bit): Replace with
17786 libc_feholdsetround_53bit.
17787 (libc_feupdateenv_53bit): Replace with
17788 libc_feresetround_53bit.
17789 (SET_RESTORE_ROUND_53BIT): Adjust.
17791 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17793 * string/test-strchrnul.c: Add copyright header.
17795 * posix/tst-getaddrinfo4.c: Increase test timeout.
17797 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17800 * math/libm-test.inc (MAX_EXP): Remove
17802 (ulp): Use MIN_EXP - MANT_DIG.
17803 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17805 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17807 * po/be.po: Revert last change.
17808 * po/zh_CN.po: Likewise.
17809 * po/header.pot: Likewise.
17811 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17813 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17814 link-libc-deps to empty as target-specific variable.
17815 * Makerules (link-libc-args): New variable.
17816 (libc-for-link): Likewise.
17817 (link-libc-deps): Likewise.
17818 (lib%.so): Depend on $(link-libc-deps). Link with
17820 (build-module): Link with $(link-libc-args).
17821 (build-module-asneeded): Likewise.
17822 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17824 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17825 target-specific variable.
17826 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17827 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17828 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17830 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17832 ($(objpfx)libpcprofile.so): Likewise.
17833 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17835 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17836 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17837 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17839 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17840 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17841 * login/Makefile ($(objpfx)libutil.so): Likewise.
17842 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17843 * math/Makefile ($(objpfx)libm.so): Likewise.
17844 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17845 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17846 variable instead of depending directly on libc.
17847 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17848 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17850 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17852 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17853 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17854 ($(objpfx)libanl.so): Likewise.
17855 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17857 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17859 * sysdeps/i386/fpu/Makefile: Remove file.
17860 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17861 ($(objpfx)libm.so): Remove dependency on ld.so.
17863 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17866 * nis/yp_xdr.c (XDRMAXNAME): Define.
17867 (XDRMAXRECORD): Define.
17868 (xdr_domainname): Use XDRMAXNAME.
17869 (xdr_mapname): Likewise.
17870 (xdr_peername): Likewise.
17871 (xdr_keydat): Use XDRMAXRECORD.
17872 (xdr_valdat): Likewise.
17874 2013-05-30 Jeff Law <law@redhat.com>
17877 * manual/errno.texi (ESTALE): Update to account for more than
17878 just NFS file systems.
17879 * sysdeps/gnu/errlist.c: Regenerated.
17881 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17884 * elf/Makefile (tests): Add tst-null-argv.
17885 (modules-names): Add tst-null-argv-lib.
17886 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17887 (tst-null-argv-ENV): Set environment for tst-null-argv.
17888 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17889 (RTLD_PROGNAME): New macro.
17890 * elf/tst-null-argv.c: New test case.
17891 * elf/tst-null-argv-lib.c: Library for test case.
17892 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17893 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17894 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17895 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17896 * elf/dl-init.c (call_init): Likewise.
17897 (_dl_init): Likewise.
17898 * elf/dl-load.c (print_search_path): Likewise.
17899 (_dl_map_object): Likewise.
17900 * elf/dl-lookup.c (do_lookup_x): Likewise.
17901 (add_dependency): Likewise.
17902 (_dl_lookup_symbol_x): Likewise.
17903 (_dl_debug_bindings): Likewise.
17904 * elf/dl-open.c (_dl_show_scope): Likewise.
17905 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17906 * elf/dl-version.c (match_symbol): Likewise.
17907 (_dl_check_map_versions): Likewise.
17908 * elf/rtld.c (dl_main): Likewise.
17909 (print_unresolved): Use RTLD_PROGNAME.
17910 (print_missing_version): Likewise.
17911 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17912 (elf_machine_rela): Likewise.
17913 * sysdeps/powerpc/powerpc32/dl-machine.c
17914 (__process_machine_rela): Likewise.
17915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17919 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17921 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17928 2013-05-28 Carlos O'Donell <carlos@redhat.com>
17930 * po/be.po: Add descriptive title.
17931 * po/zh_CN.po: Likewise.
17932 * po/header.pot: Likewise.
17934 2013-05-28 Mike Frysinger <vapier@gentoo.org>
17936 * locale/programs/locarchive.c (create_archive): Inlucde fname in
17938 (enlarge_archive): Likewise.
17940 2013-05-28 Ben North <ben@redfrontdoor.org>
17942 * manual/arith.texi (frexp): It is the magnitude of the return
17943 value which lies in [0.5, 1), not the return value itself.
17945 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17949 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
17951 * stdio-common/bug26.c (main): Correct fscanf template.
17953 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17954 declare _dl_skip_args.
17956 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17959 * manual/platform.texi: Add missing @end deftypefun.
17961 2013-05-24 Joseph Myers <joseph@codesourcery.com>
17964 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17965 bit of mantissa of 2^16382.
17966 * math/libm-test.inc (hypot_test_data): Add more tests.
17968 * math/libm-test.inc: Add drem and pow10 to list of tested
17970 (pow10_test): New function.
17971 (drem_test): Likewise.
17972 (drem_test_tonearest): Likewise.
17973 (drem_test_towardzero): Likewise.
17974 (drem_test_downward): Likewise.
17975 (drem_test_upward): Likewise.
17976 (main): Call the new functions.
17978 * math/libm-test.inc (finite_test_data): Remove.
17979 (finite_test): Run tests from isfinite_test_data.
17980 (gamma_test_data): Remove.
17981 (gamma_test): Run tests from lgamma_test_data.
17982 * sysdeps/i386/fpu/libm-test-ulps: Update.
17983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17985 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17987 * manual/platform.texi: Add PowerPC PPR function set documentation.
17988 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17991 2013-05-24 Carlos O'Donell <carlos@redhat.com>
17993 * math/libm-test.inc (MAX_EXP): Define.
17995 (ulp): New function.
17996 (check_float_internal): Use ULPDIFF.
17997 (cpow_test): Disable failing test.
17998 (check_ulp): Test ulp() implemetnation.
17999 (main): Call check_ulp before starting tests.
18001 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18003 * math/gen-libm-test.pl (generate_testfile): Do not handle
18004 START_DATA and END_DATA.
18005 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18007 (acos_tonearest_test_data): Likewise.
18008 (acos_towardzero_test_data): Likewise.
18009 (acos_downward_test_data): Likewise.
18010 (acos_upward_test_data): Likewise.
18011 (acosh_test_data): Likewise.
18012 (asin_test_data): Likewise.
18013 (asin_tonearest_test_data): Likewise.
18014 (asin_towardzero_test_data): Likewise.
18015 (asin_downward_test_data): Likewise.
18016 (asin_upward_test_data): Likewise.
18017 (asinh_test_data): Likewise.
18018 (atan_test_data): Likewise.
18019 (atanh_test_data): Likewise.
18020 (atan2_test_data): Likewise.
18021 (cabs_test_data): Likewise.
18022 (cacos_test_data): Likewise.
18023 (cacosh_test_data): Likewise.
18024 (carg_test_data): Likewise.
18025 (casin_test_data): Likewise.
18026 (casinh_test_data): Likewise.
18027 (catan_test_data): Likewise.
18028 (catanh_test_data): Likewise.
18029 (cbrt_test_data): Likewise.
18030 (ccos_test_data): Likewise.
18031 (ccosh_test_data): Likewise.
18032 (ceil_test_data): Likewise.
18033 (cexp_test_data): Likewise.
18034 (cimag_test_data): Likewise.
18035 (clog_test_data): Likewise.
18036 (clog10_test_data): Likewise.
18037 (conj_test_data): Likewise.
18038 (copysign_test_data): Likewise.
18039 (cos_test_data): Likewise.
18040 (cos_tonearest_test_data): Likewise.
18041 (cos_towardzero_test_data): Likewise.
18042 (cos_downward_test_data): Likewise.
18043 (cos_upward_test_data): Likewise.
18044 (cosh_test_data): Likewise.
18045 (cosh_tonearest_test_data): Likewise.
18046 (cosh_towardzero_test_data): Likewise.
18047 (cosh_downward_test_data): Likewise.
18048 (cosh_upward_test_data): Likewise.
18049 (cpow_test_data): Likewise.
18050 (cproj_test_data): Likewise.
18051 (creal_test_data): Likewise.
18052 (csin_test_data): Likewise.
18053 (csinh_test_data): Likewise.
18054 (csqrt_test_data): Likewise.
18055 (ctan_test_data): Likewise.
18056 (ctan_tonearest_test_data): Likewise.
18057 (ctan_towardzero_test_data): Likewise.
18058 (ctan_downward_test_data): Likewise.
18059 (ctan_upward_test_data): Likewise.
18060 (ctanh_test_data): Likewise.
18061 (ctanh_tonearest_test_data): Likewise.
18062 (ctanh_towardzero_test_data): Likewise.
18063 (ctanh_downward_test_data): Likewise.
18064 (ctanh_upward_test_data): Likewise.
18065 (erf_test_data): Likewise.
18066 (erfc_test_data): Likewise.
18067 (exp_test_data): Likewise.
18068 (exp_tonearest_test_data): Likewise.
18069 (exp_towardzero_test_data): Likewise.
18070 (exp_downward_test_data): Likewise.
18071 (exp_upward_test_data): Likewise.
18072 (exp10_test_data): Likewise.
18073 (exp2_test_data): Likewise.
18074 (expm1_test_data): Likewise.
18075 (fabs_test_data): Likewise.
18076 (fdim_test_data): Likewise.
18077 (finite_test_data): Likewise.
18078 (floor_test_data): Likewise.
18079 (fma_test_data): Likewise.
18080 (fma_towardzero_test_data): Likewise.
18081 (fma_downward_test_data): Likewise.
18082 (fma_upward_test_data): Likewise.
18083 (fmax_test_data): Likewise.
18084 (fmin_test_data): Likewise.
18085 (fmod_test_data): Likewise.
18086 (fpclassify_test_data): Likewise.
18087 (frexp_test_data): Likewise.
18088 (gamma_test_data): Likewise.
18089 (hypot_test_data): Likewise.
18090 (ilogb_test_data): Likewise.
18091 (isfinite_test_data): Likewise.
18092 (isgreater_test_data): Likewise.
18093 (isgreaterequal_test_data): Likewise.
18094 (isinf_test_data): Likewise.
18095 (isless_test_data): Likewise.
18096 (islessequal_test_data): Likewise.
18097 (islessgreater_test_data): Likewise.
18098 (isnan_test_data): Likewise.
18099 (isnormal_test_data): Likewise.
18100 (issignaling_test_data): Likewise.
18101 (isunordered_test_data): Likewise.
18102 (j0_test_data): Likewise.
18103 (j1_test_data): Likewise.
18104 (jn_test_data): Likewise.
18105 (ldexp_test_data): Likewise.
18106 (lgamma_test_data): Likewise.
18107 (lrint_test_data): Likewise.
18108 (lrint_tonearest_test_data): Likewise.
18109 (lrint_towardzero_test_data): Likewise.
18110 (lrint_downward_test_data): Likewise.
18111 (lrint_upward_test_data): Likewise.
18112 (llrint_test_data): Likewise.
18113 (llrint_tonearest_test_data): Likewise.
18114 (llrint_towardzero_test_data): Likewise.
18115 (llrint_downward_test_data): Likewise.
18116 (llrint_upward_test_data): Likewise.
18117 (log_test_data): Likewise.
18118 (log10_test_data): Likewise.
18119 (log1p_test_data): Likewise.
18120 (log2_test_data): Likewise.
18121 (logb_test_data): Likewise.
18122 (logb_downward_test_data): Likewise.
18123 (lround_test_data): Likewise.
18124 (llround_test_data): Likewise.
18125 (modf_test_data): Likewise.
18126 (nearbyint_test_data): Likewise.
18127 (nextafter_test_data): Likewise.
18128 (nexttoward_test_data): Likewise.
18129 (pow_test_data): Likewise.
18130 (pow_tonearest_test_data): Likewise.
18131 (pow_towardzero_test_data): Likewise.
18132 (pow_downward_test_data): Likewise.
18133 (pow_upward_test_data): Likewise.
18134 (remainder_test_data): Likewise.
18135 (remainder_tonearest_test_data): Likewise.
18136 (remainder_towardzero_test_data): Likewise.
18137 (remainder_downward_test_data): Likewise.
18138 (remainder_upward_test_data): Likewise.
18139 (remquo_test_data): Likewise.
18140 (rint_test_data): Likewise.
18141 (rint_tonearest_test_data): Likewise.
18142 (rint_towardzero_test_data): Likewise.
18143 (rint_downward_test_data): Likewise.
18144 (rint_upward_test_data): Likewise.
18145 (round_test_data): Likewise.
18146 (scalb_test_data): Likewise.
18147 (scalbn_test_data): Likewise.
18148 (scalbln_test_data): Likewise.
18149 (signbit_test_data): Likewise.
18150 (sin_test_data): Likewise.
18151 (sin_tonearest_test_data): Likewise.
18152 (sin_towardzero_test_data): Likewise.
18153 (sin_downward_test_data): Likewise.
18154 (sin_upward_test_data): Likewise.
18155 (sincos_test_data): Likewise.
18156 (sinh_test_data): Likewise.
18157 (sinh_tonearest_test_data): Likewise.
18158 (sinh_towardzero_test_data): Likewise.
18159 (sinh_downward_test_data): Likewise.
18160 (sinh_upward_test_data): Likewise.
18161 (sqrt_test_data): Likewise.
18162 (tan_test_data): Likewise.
18163 (tan_tonearest_test_data): Likewise.
18164 (tan_towardzero_test_data): Likewise.
18165 (tan_downward_test_data): Likewise.
18166 (tan_upward_test_data): Likewise.
18167 (tanh_test_data): Likewise.
18168 (tgamma_test_data): Likewise.
18169 (trunc_test_data): Likewise.
18170 (y0_test_data): Likewise.
18171 (y1_test_data): Likewise.
18172 (yn_test_data): Likewise.
18173 (significand_test_data): Likewise.
18175 * math/gen-libm-test.pl (@functions): Remove variable.
18176 (generate_testfile): Don't handle START and END lines.
18177 * math/libm-test.inc (START): New macro.
18179 (END_COMPLEX): Likewise.
18180 (acos_test): Use END macro without arguments.
18181 (acos_test_tonearest): Likewise.
18182 (acos_test_towardzero): Likewise.
18183 (acos_test_downward): Likewise.
18184 (acos_test_upward): Likewise.
18185 (acosh_test): Likewise.
18186 (asin_test): Likewise.
18187 (asin_test_tonearest): Likewise.
18188 (asin_test_towardzero): Likewise.
18189 (asin_test_downward): Likewise.
18190 (asin_test_upward): Likewise.
18191 (asinh_test): Likewise.
18192 (atan_test): Likewise.
18193 (atanh_test): Likewise.
18194 (atan2_test): Likewise.
18195 (cabs_test): Likewise.
18196 (cacos_test): Use END_COMPLEX macro without arguments.
18197 (cacosh_test): Likewise.
18198 (carg_test): Use END macro without arguments.
18199 (casin_test): Use END_COMPLEX macro without arguments.
18200 (casinh_test): Likewise.
18201 (catan_test): Likewise.
18202 (catanh_test): Likewise.
18203 (cbrt_test): Use END macro without arguments.
18204 (ccos_test): Use END_COMPLEX macro without arguments.
18205 (ccosh_test): Likewise.
18206 (ceil_test): Use END macro without arguments.
18207 (cexp_test): Use END_COMPLEX macro without arguments.
18208 (cimag_test): Use END macro without arguments.
18209 (clog_test): Use END_COMPLEX macro without arguments.
18210 (clog10_test): Likewise.
18211 (conj_test): Likewise.
18212 (copysign_test): Use END macro without arguments.
18213 (cos_test): Likewise.
18214 (cos_test_tonearest): Likewise.
18215 (cos_test_towardzero): Likewise.
18216 (cos_test_downward): Likewise.
18217 (cos_test_upward): Likewise.
18218 (cosh_test): Likewise.
18219 (cosh_test_tonearest): Likewise.
18220 (cosh_test_towardzero): Likewise.
18221 (cosh_test_downward): Likewise.
18222 (cosh_test_upward): Likewise.
18223 (cpow_test): Use END_COMPLEX macro without arguments.
18224 (cproj_test): Likewise.
18225 (creal_test): Use END macro without arguments.
18226 (csin_test): Use END_COMPLEX macro without arguments.
18227 (csinh_test): Likewise.
18228 (csqrt_test): Likewise.
18229 (ctan_test): Likewise.
18230 (ctan_test_tonearest): Likewise.
18231 (ctan_test_towardzero): Likewise.
18232 (ctan_test_downward): Likewise.
18233 (ctan_test_upward): Likewise.
18234 (ctanh_test): Likewise.
18235 (ctanh_test_tonearest): Likewise.
18236 (ctanh_test_towardzero): Likewise.
18237 (ctanh_test_downward): Likewise.
18238 (ctanh_test_upward): Likewise.
18239 (erf_test): Use END macro without arguments.
18240 (erfc_test): Likewise.
18241 (exp_test): Likewise.
18242 (exp_test_tonearest): Likewise.
18243 (exp_test_towardzero): Likewise.
18244 (exp_test_downward): Likewise.
18245 (exp_test_upward): Likewise.
18246 (exp10_test): Likewise.
18247 (exp2_test): Likewise.
18248 (expm1_test): Likewise.
18249 (fabs_test): Likewise.
18250 (fdim_test): Likewise.
18251 (finite_test): Likewise.
18252 (floor_test): Likewise.
18253 (fma_test): Likewise.
18254 (fma_test_towardzero): Likewise.
18255 (fma_test_downward): Likewise.
18256 (fma_test_upward): Likewise.
18257 (fmax_test): Likewise.
18258 (fmin_test): Likewise.
18259 (fmod_test): Likewise.
18260 (fpclassify_test): Likewise.
18261 (frexp_test): Likewise.
18262 (gamma_test): Likewise.
18263 (hypot_test): Likewise.
18264 (ilogb_test): Likewise.
18265 (isfinite_test): Likewise.
18266 (isgreater_test): Likewise.
18267 (isgreaterequal_test): Likewise.
18268 (isinf_test): Likewise.
18269 (isless_test): Likewise.
18270 (islessequal_test): Likewise.
18271 (islessgreater_test): Likewise.
18272 (isnan_test): Likewise.
18273 (isnormal_test): Likewise.
18274 (issignaling_test): Likewise.
18275 (isunordered_test): Likewise.
18276 (j0_test): Likewise.
18277 (j1_test): Likewise.
18278 (jn_test): Likewise.
18279 (ldexp_test): Likewise.
18280 (lgamma_test): Likewise.
18281 (lrint_test): Likewise.
18282 (lrint_test_tonearest): Likewise.
18283 (lrint_test_towardzero): Likewise.
18284 (lrint_test_downward): Likewise.
18285 (lrint_test_upward): Likewise.
18286 (llrint_test): Likewise.
18287 (llrint_test_tonearest): Likewise.
18288 (llrint_test_towardzero): Likewise.
18289 (llrint_test_downward): Likewise.
18290 (llrint_test_upward): Likewise.
18291 (log_test): Likewise.
18292 (log10_test): Likewise.
18293 (log1p_test): Likewise.
18294 (log2_test): Likewise.
18295 (logb_test): Likewise.
18296 (logb_test_downward): Likewise.
18297 (lround_test): Likewise.
18298 (llround_test): Likewise.
18299 (modf_test): Likewise.
18300 (nearbyint_test): Likewise.
18301 (nextafter_test): Likewise.
18302 (nexttoward_test): Likewise.
18303 (pow_test): Likewise.
18304 (pow_test_tonearest): Likewise.
18305 (pow_test_towardzero): Likewise.
18306 (pow_test_downward): Likewise.
18307 (pow_test_upward): Likewise.
18308 (remainder_test): Likewise.
18309 (remainder_test_tonearest): Likewise.
18310 (remainder_test_towardzero): Likewise.
18311 (remainder_test_downward): Likewise.
18312 (remainder_test_upward): Likewise.
18313 (remquo_test): Likewise.
18314 (rint_test): Likewise.
18315 (rint_test_tonearest): Likewise.
18316 (rint_test_towardzero): Likewise.
18317 (rint_test_downward): Likewise.
18318 (rint_test_upward): Likewise.
18319 (round_test): Likewise.
18320 (scalb_test): Likewise.
18321 (scalbn_test): Likewise.
18322 (scalbln_test): Likewise.
18323 (signbit_test): Likewise.
18324 (sin_test): Likewise.
18325 (sin_test_tonearest): Likewise.
18326 (sin_test_towardzero): Likewise.
18327 (sin_test_downward): Likewise.
18328 (sin_test_upward): Likewise.
18329 (sincos_test): Likewise.
18330 (sinh_test): Likewise.
18331 (sinh_test_tonearest): Likewise.
18332 (sinh_test_towardzero): Likewise.
18333 (sinh_test_downward): Likewise.
18334 (sinh_test_upward): Likewise.
18335 (sqrt_test): Likewise.
18336 (tan_test): Likewise.
18337 (tan_test_tonearest): Likewise.
18338 (tan_test_towardzero): Likewise.
18339 (tan_test_downward): Likewise.
18340 (tan_test_upward): Likewise.
18341 (tanh_test): Likewise.
18342 (tgamma_test): Likewise.
18343 (trunc_test): Likewise.
18344 (y0_test): Likewise.
18345 (y1_test): Likewise.
18346 (yn_test): Likewise.
18347 (significand_test): Likewise.
18349 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18352 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18354 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18357 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18358 __ppc_mdoio and __ppc_mdoom.
18359 * manual/platform.texi: Document new functions __ppc_yield,
18360 __ppc_mdoio and __ppc_mdoom.
18362 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18364 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18365 (main): Mention "tls" pseudo-hwcap is legacy.
18366 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18368 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18370 * math/gen-libm-test.pl (parse_args): Output only string of
18371 arguments as text for test name, not full call or descriptions of
18372 tests for extra outputs.
18373 (generate_testfile): Do not pass function name to parse_args.
18374 Generate this_func variable from START.
18375 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18377 (struct test_ff_f_data): Likewise.
18378 (test_ff_f_data_nexttoward): Likewise.
18379 (struct test_fi_f_data): Likewise.
18380 (struct test_fl_f_data): Likewise.
18381 (struct test_if_f_data): Likewise.
18382 (struct test_fff_f_data): Likewise.
18383 (struct test_c_f_data): Likewise.
18384 (struct test_f_f1_data): Likewise. Remove field extra_name.
18385 (struct test_fF_f1_data): Likewise.
18386 (struct test_ffI_f1_data): Likewise.
18387 (struct test_c_c_data): Rename test_name field to arg_str.
18388 (struct test_cc_c_data): Likewise.
18389 (struct test_f_i_data): Likewise.
18390 (struct test_ff_i_data): Likewise.
18391 (struct test_f_l_data): Likewise.
18392 (struct test_f_L_data): Likewise.
18393 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18395 (COMMON_TEST_SETUP): New macro.
18396 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18397 (COMMON_TEST_CLEANUP): Likewise.
18398 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18399 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18401 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18402 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18404 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18405 (RUN_TEST_fff_f): Take argument string. Call new setup and
18407 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18408 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18410 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18411 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18413 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18414 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18416 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18417 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18419 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18420 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18422 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18423 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18425 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18426 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18428 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18429 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18431 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18432 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18434 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18435 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18437 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18438 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18440 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18441 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18443 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18444 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18446 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18447 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18449 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18450 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18452 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18454 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18456 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18457 to _sifields.sigfault.
18458 (si_addr_lsb): Define new macro.
18459 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18460 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18461 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18463 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18466 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18468 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18470 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18471 loading the domain.
18473 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18475 * math/gen-libm-test.pl (parse_args): Do not include expected
18476 result in test name.
18477 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18478 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18479 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18480 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18484 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18486 * benchtests/Makefile: Sort function entries.
18488 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18489 tanh, asinh, acosh, atanh.
18490 * benchtests/acos-inputs: New file.
18491 * benchtests/acosh-inputs: New file.
18492 * benchtests/asin-inputs: New file.
18493 * benchtests/asinh-inputs: New file.
18494 * benchtests/atanh-inputs: New file.
18495 * benchtests/cosh-inputs: New file.
18496 * benchtests/log-inputs: New file.
18497 * benchtests/sinh-inputs: New file.
18498 * benchtests/tanh-inputs: New file.
18500 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18503 * posix/tst-getaddrinfo4.c: New test.
18504 * posix/Makefile (tests): Add it.
18506 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18509 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18510 when no services were used.
18511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18512 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18514 2013-05-21 Andreas Schwab <schwab@suse.de>
18517 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18518 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18520 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18521 redundant variable declarations and reallocation of buffer when
18522 parsing as IPv6 address. Always set NSS status when called from
18523 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18524 buffer too small. Correct computation of needed size.
18525 * nss/Makefile (tests): Add test-digits-dots.
18526 * nss/test-digits-dots.c: New test.
18528 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18530 * benchtests/Makefile: Remove instructions for adding
18532 * benchtests/README: New file to explain how to execute and
18533 enhance the benchmark tests.
18535 2013-05-21 Andreas Schwab <schwab@suse.de>
18538 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18539 * setjmp/tst-sigsetjmp.c: New test.
18541 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18543 * sysdeps/x86_64/memset.S (memset): New implementation.
18544 (__bzero): Likewise.
18545 (__memset_tail): New function.
18547 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18549 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18550 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18551 __memcpy_sse2_unaligned ifunc selection.
18552 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18553 Add memcpy-sse2-unaligned.S.
18554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18555 Add: __memcpy_sse2_unaligned.
18557 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18560 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18561 math_force_eval before restoring floating-point envrionment.
18562 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18563 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18565 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18567 (__nearbyintl): Use math_force_eval before restoring
18568 floating-point environment.
18569 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18571 * math/gen-libm-test.pl (special_functions): Remove.
18572 (parse_args): Don't handle TEST_extra. Handle functions with no
18574 * math/libm-test.inc (struct test_sincos_data): Replace with
18575 struct test_fFF_11_data.
18576 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18577 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18578 (sincos_test_data): Change element type to struct
18579 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18580 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18581 RUN_TEST_LOOP_sincos.
18582 * math/README.libm-test: Don't mention special handling of
18583 individual functions.
18584 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18586 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18587 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18588 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18591 * math/gen-libm-test.pl (get_variable): Remove function.
18592 (parse_args): Don't show pointer parameters to call in test
18593 names. Use "extra output N" in test names for extra outputs
18594 rather than naming variables.
18596 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18599 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18600 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18601 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18603 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18605 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18608 * math/gen-libm-test.pl (@tests): Remove variable.
18609 ($count): Likewise.
18610 (new_test): Remove function.
18611 (show_exceptions): New function.
18612 (special_functions): Use show_exceptions instead of new_test.
18613 (parse_args): Likewise.
18614 (generate_testfile): Pass only function name in generated call to
18615 print_max_error or print_complex_max_error.
18616 (get_ulps): Do not handle complex tests specially.
18617 (output_test): Rename to ...
18618 (get_all_ulps_for_test): ... this. Return a string rather than
18619 printing to a file. Require ulps to be present.
18620 (output_ulps): Generate arrays rather than #defines.
18621 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18622 (struct ulp_data): New type.
18623 (BUILD_COMPLEX_ULP): Remove macro.
18624 (compare_ulp_data): New function.
18625 (find_ulps): Likewise.
18626 (find_test_ulps): Likewise.
18627 (find_function_ulps): Likewise.
18628 (find_complex_function_ulps): Likewise.
18629 (print_max_error): Determine allowed ulps using
18630 find_function_ulps.
18631 (print_complex_max_error): Determine allowed ulps using
18632 find_complex_function_ulps.
18633 (check_float_internal): Determine max ulps using find_test_ulps.
18634 (check_float): Do not take max_ulp parameter. Update call to
18635 check_float_internal.
18636 (check_complex): Likewise.
18637 (check_int): Do not take max_ulp parameter.
18638 (check_long): Likewise.
18639 (check_bool): Likewise.
18640 (check_longlong): Likewise.
18641 (struct test_f_f_data): Remove max_ulp field.
18642 (struct test_ff_f_data): Likewise.
18643 (struct test_ff_f_data_nexttoward): Likewise.
18644 (struct test_fi_f_data): Likewise.
18645 (struct test_fl_f_data): Likewise.
18646 (struct test_if_f_data): Likewise.
18647 (struct test_fff_f_data): Likewise.
18648 (struct test_c_f_data): Likewise.
18649 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18650 (struct test_fF_f1_data): Likewise.
18651 (struct test_ffI_f1_data): Likewise.
18652 (struct test_c_c_data): Remove max_ulp field.
18653 (struct test_cc_c_data): Likewise.
18654 (struct test_f_i_data): Likewise.
18655 (struct test_ff_i_data): Likewise.
18656 (struct test_f_l_data): Likewise.
18657 (struct test_f_L_data): Likewise.
18658 (struct test_sincos_data): Likewise.
18659 (RUN_TEST_f_f): Do not handle ulps.
18660 (RUN_TEST_LOOP_f_f): Likewise.
18661 (RUN_TEST_2_f): Likewise.
18662 (RUN_TEST_LOOP_2_f): Likewise.
18663 (RUN_TEST_fff_f): Likewise.
18664 (RUN_TEST_LOOP_fff_f): Likewise.
18665 (RUN_TEST_c_f): Likewise.
18666 (RUN_TEST_LOOP_c_f): Likewise.
18667 (RUN_TEST_f_f1): Likewise.
18668 (RUN_TEST_LOOP_f_f1): Likewise.
18669 (RUN_TEST_fF_f1): Likewise.
18670 (RUN_TEST_LOOP_fF_f1): Likewise.
18671 (RUN_TEST_fI_f1): Likewise.
18672 (RUN_TEST_LOOP_fI_f1): Likewise.
18673 (RUN_TEST_ffI_f1): Likewise.
18674 (RUN_TEST_LOOP_ffI_f1): Likewise.
18675 (RUN_TEST_c_c): Likewise.
18676 (RUN_TEST_LOOP_c_c): Likewise.
18677 (RUN_TEST_cc_c): Likewise.
18678 (RUN_TEST_LOOP_cc_c): Likewise.
18679 (RUN_TEST_f_i): Likewise.
18680 (RUN_TEST_LOOP_f_i): Likewise.
18681 (RUN_TEST_f_i_tg): Likewise.
18682 (RUN_TEST_LOOP_f_i_tg): Likewise.
18683 (RUN_TEST_ff_i_tg): Likewise.
18684 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18685 (RUN_TEST_f_b): Likewise.
18686 (RUN_TEST_LOOP_f_b): Likewise.
18687 (RUN_TEST_f_b_tg): Likewise.
18688 (RUN_TEST_LOOP_f_b_tg): Likewise.
18689 (RUN_TEST_f_l): Likewise.
18690 (RUN_TEST_LOOP_f_l): Likewise.
18691 (RUN_TEST_f_L): Likewise.
18692 (RUN_TEST_LOOP_f_L): Likewise.
18693 (RUN_TEST_sincos): Likewise.
18694 (RUN_TEST_LOOP_sincos): Likewise.
18696 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18700 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18701 main case of finite arguments, set rounding mode to FE_TONEAREST
18702 and discard exceptions.
18703 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18705 (remainder_tonearest_test_data): New variable.
18706 (remainder_test_tonearest): New function.
18707 (remainder_towardzero_test_data): New variable.
18708 (remainder_test_towardzero): New function.
18709 (remainder_downward_test_data): New variable.
18710 (remainder_test_downward): New function.
18711 (remainder_upward_test_data): New variable.
18712 (remainder_test_upward): New function.
18713 (main): Call the new test functions.
18715 * math/libm-test.inc (struct test_f_f1_data): Remove field
18717 (struct test_fF_f1_data): Likewise.
18718 (struct test_ffI_f1_data): Likewise.
18719 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18720 based on value of EXTRA_EXPECTED.
18721 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18722 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18723 EXTRA_VAR based on value of EXTRA_EXPECTED.
18724 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18725 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18726 EXTRA_VAR based on value of EXTRA_EXPECTED.
18727 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18728 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18729 EXTRA_VAR based on value of EXTRA_EXPECTED.
18730 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18731 * math/gen-libm-test.pl (parse_args): Don't output initializers
18732 for extra output values.
18734 * math/libm-test.inc (check_int): Expect result to be exactly
18735 equal to expected value and do not handle ulps.
18736 (check_long): Likewise.
18737 (check_longlong): Likewise.
18739 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18741 (cimag_test_data): Likewise.
18742 (conj_test_data): Likewise.
18743 (copysign_test_data): Likewise.
18744 (cproj_test_data): Likewise.
18745 (creal_test_data): Likewise.
18746 (fabs_test_data): Likewise.
18747 (fdim_test_data): Likewise.
18748 (finite_test_data): Likewise.
18749 (floor_test_data): Likewise.
18750 (fmax_test_data): Likewise.
18751 (fmin_test_data): Likewise.
18752 (fmod_test_data): Likewise.
18753 (fpclassify_test_data): Likewise.
18754 (frexp_test_data): Likewise.
18755 (ilogb_test_data): Likewise.
18756 (isfinite_test_data): Likewise.
18757 (isgreater_test_data): Likewise.
18758 (isgreaterequal_test_data): Likewise.
18759 (isinf_test_data): Likewise.
18760 (isless_test_data): Likewise.
18761 (islessequal_test_data): Likewise.
18762 (islessgreater_test_data): Likewise.
18763 (isnan_test_data): Likewise.
18764 (isnormal_test_data): Likewise.
18765 (issignaling_test_data): Likewise.
18766 (isunordered_test_data): Likewise.
18767 (ldexp_test_data): Likewise.
18768 (lrint_test_data): Likewise.
18769 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18770 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18771 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18772 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18773 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18774 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18776 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18777 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18778 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18779 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18781 (lrint_downward_test_data): Test for "inexact" exceptions.
18782 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18783 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18784 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18786 (lrint_upward_test_data): Test for "inexact" exceptions.
18787 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18789 (llrint_test_data): Test for "inexact" exceptions.
18790 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18791 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18792 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18793 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18794 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18795 (llrint_downward_test_data): Test for "inexact" exceptions.
18796 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18797 (llrint_upward_test_data): Test for "inexact" exceptions.
18798 (logb_test_data): Likewise.
18799 (logb_downward_test_data): Likewise.
18800 (nextafter_test_data): Likewise.
18801 (nexttoward_test_data): Likewise.
18802 (remainder_test_data): Likewise.
18803 (remquo_test_data): Likewise.
18804 (scalbn_test_data): Likewise.
18805 (scalbln_test_data): Likewise.
18806 (signbit_test_data): Likewise.
18807 (sqrt_test_data): Likewise.
18808 (significand_test_data): Likewise.
18810 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18813 * benchtests/bench-modf.c (struct args): Mark arg0 as
18815 * scripts/bench.pl: Mark members of struct args as volatile.
18817 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18820 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18821 negative infinity on POWER6 or lower.
18822 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18824 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18827 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18828 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18829 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18830 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18831 (_FP_SETQNAN): New macro.
18832 (_FP_SETQNAN_SEMIRAW): Likewise.
18833 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18834 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18835 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18836 (FP_EXTEND): Use _FP_FRAC_SNANP.
18837 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18838 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18845 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18847 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18848 with DIVIDE_BY_ZERO_EXCEPTION.
18849 (gamma_test_data): Likewise.
18850 (lgamma_test_data): Likewise.
18851 (log_test_data): Likewise.
18852 (log10_test_data): Likewise.
18853 (log2_test_data): Likewise.
18854 (tgamma_test_data): Likewise.
18856 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18857 (acos_test_tonearest): Likewise.
18858 (acos_test_towardzero): Likewise.
18859 (acos_test_downward): Likewise.
18860 (acos_test_upward): Likewise.
18861 (acosh_test): Likewise.
18862 (asin_test): Likewise.
18863 (asin_test_tonearest): Likewise.
18864 (asin_test_towardzero): Likewise.
18865 (asin_test_downward): Likewise.
18866 (asin_test_upward): Likewise.
18867 (asinh_test): Likewise.
18868 (atan_test): Likewise.
18869 (atanh_test): Likewise.
18870 (atan2_test): Likewise.
18871 (cabs_test): Likewise.
18872 (cacos_test): Likewise.
18873 (cacosh_test): Likewise.
18874 (casin_test): Likewise.
18875 (casinh_test): Likewise.
18876 (catan_test): Likewise.
18877 (catanh_test): Likewise.
18878 (cbrt_test): Likewise.
18879 (ccos_test): Likewise.
18880 (ccosh_test): Likewise.
18881 (cexp_test): Likewise.
18882 (clog_test): Likewise.
18883 (clog10_test): Likewise.
18884 (cos_test): Likewise.
18885 (cos_test_tonearest): Likewise.
18886 (cos_test_towardzero): Likewise.
18887 (cos_test_downward): Likewise.
18888 (cos_test_upward): Likewise.
18889 (cosh_test): Likewise.
18890 (cosh_test_tonearest): Likewise.
18891 (cosh_test_towardzero): Likewise.
18892 (cosh_test_downward): Likewise.
18893 (cosh_test_upward): Likewise.
18894 (cpow_test): Likewise.
18895 (csin_test): Likewise.
18896 (csinh_test): Likewise.
18897 (csqrt_test): Likewise.
18898 (ctan_test): Likewise.
18899 (ctan_test_tonearest): Likewise.
18900 (ctan_test_towardzero): Likewise.
18901 (ctan_test_downward): Likewise.
18902 (ctan_test_upward): Likewise.
18903 (ctanh_test): Likewise.
18904 (ctanh_test_tonearest): Likewise.
18905 (ctanh_test_towardzero): Likewise.
18906 (ctanh_test_downward): Likewise.
18907 (ctanh_test_upward): Likewise.
18908 (erf_test): Likewise.
18909 (erfc_test): Likewise.
18910 (exp_test): Likewise.
18911 (exp_test_tonearest): Likewise.
18912 (exp_test_towardzero): Likewise.
18913 (exp_test_downward): Likewise.
18914 (exp_test_upward): Likewise.
18915 (exp10_test): Likewise.
18916 (exp2_test): Likewise.
18917 (expm1_test): Likewise.
18918 (fmod_test): Likewise.
18919 (gamma_test): Likewise.
18920 (hypot_test): Likewise.
18921 (j0_test): Likewise.
18922 (j1_test): Likewise.
18923 (jn_test): Likewise.
18924 (lgamma_test): Likewise.
18925 (log_test): Likewise.
18926 (log10_test): Likewise.
18927 (log1p_test): Likewise.
18928 (log2_test): Likewise.
18929 (logb_test_downward): Likewise.
18930 (pow_test): Likewise.
18931 (pow_test_tonearest): Likewise.
18932 (pow_test_towardzero): Likewise.
18933 (pow_test_downward): Likewise.
18934 (pow_test_upward): Likewise.
18935 (remainder_test): Likewise.
18936 (remquo_test): Likewise.
18937 (sin_test): Likewise.
18938 (sin_test_tonearest): Likewise.
18939 (sin_test_towardzero): Likewise.
18940 (sin_test_downward): Likewise.
18941 (sin_test_upward): Likewise.
18942 (sincos_test): Likewise.
18943 (sinh_test): Likewise.
18944 (sinh_test_tonearest): Likewise.
18945 (sinh_test_towardzero): Likewise.
18946 (sinh_test_downward): Likewise.
18947 (sinh_test_upward): Likewise.
18948 (sqrt_test): Likewise.
18949 (tan_test): Likewise.
18950 (tan_test_tonearest): Likewise.
18951 (tan_test_towardzero): Likewise.
18952 (tan_test_downward): Likewise.
18953 (tan_test_upward): Likewise.
18954 (tanh_test): Likewise.
18955 (tgamma_test): Likewise.
18956 (y0_test): Likewise.
18957 (y1_test): Likewise.
18958 (yn_test): Likewise.
18960 * math/gen-libm-test.pl (adjust_arg): Remove function.
18961 (special_function): Remove argument $in_func. Only handle
18962 generating output for tables of tests, not inside functions.
18963 (parse_args): Likewise.
18964 (generate_testfile): Remove variable $in_func. Update call to
18966 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18967 (MINUS_ZERO_INIT): Rename macro to minus_zero.
18968 (PLUS_INFTY_INIT): Rename macro to plus_infty.
18969 (MINUS_INFTY_INIT): Rename macro to minus_infty.
18970 (QNAN_VALUE_INIT): Rename macro to qnan_value.
18971 (MAX_VALUE_INIT): Rename macro to max_value.
18972 (MIN_VALUE_INIT): Rename macro to min_value.
18973 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18974 (plus_zero): Remove variable.
18975 (minus_zero): Likewise.
18976 (plus_infty): Likewise.
18977 (minus_infty): Likewise.
18978 (qnan_value): Likewise.
18979 (max_value): Likewise.
18980 (min_value): Likewise.
18981 (min_subnorm_value): Likewise.
18983 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18985 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18986 uint64_t or uint32_t usage.
18987 * crypt/sha256-block.c: Likewise.
18988 * crypt/sha256-crypt.c: Likewise.
18989 * crypt/sha256.c: Likewise.
18990 * crypt/sha512-block.c: Likewise.
18991 * crypt/sha512-crypt.c: Likewise.
18992 * crypt/sha512.c: Likewise.
18993 * debug/backtrace-tst.c: Likewise.
18994 * debug/pcprofiledump.c: Likewise.
18995 * elf/cache.c: Likewise.
18996 * elf/dl-cache.c: Likewise.
18997 * elf/dl-misc.c: Likewise.
18998 * elf/dl-profile.c: Likewise.
18999 * elf/dl-support.c: Likewise.
19000 * elf/ldconfig.c: Likewise.
19001 * elf/sprof.c: Likewise.
19002 * iconv/dummy-repertoire.c: Likewise.
19003 * iconv/iconv_charmap.c: Likewise.
19004 * iconv/skeleton.c: Likewise.
19005 * iconvdata/8bit-generic.c: Likewise.
19006 * iconvdata/cp737.h: Likewise.
19007 * iconvdata/cp775.h: Likewise.
19008 * iconvdata/ibm1008.h: Likewise.
19009 * iconvdata/ibm1025.h: Likewise.
19010 * iconvdata/ibm1046.h: Likewise.
19011 * iconvdata/ibm1097.h: Likewise.
19012 * iconvdata/ibm1112.h: Likewise.
19013 * iconvdata/ibm1122.h: Likewise.
19014 * iconvdata/ibm1123.h: Likewise.
19015 * iconvdata/ibm1124.h: Likewise.
19016 * iconvdata/ibm1129.h: Likewise.
19017 * iconvdata/ibm1130.h: Likewise.
19018 * iconvdata/ibm1132.h: Likewise.
19019 * iconvdata/ibm1133.h: Likewise.
19020 * iconvdata/ibm1137.h: Likewise.
19021 * iconvdata/ibm1140.h: Likewise.
19022 * iconvdata/ibm1141.h: Likewise.
19023 * iconvdata/ibm1142.h: Likewise.
19024 * iconvdata/ibm1143.h: Likewise.
19025 * iconvdata/ibm1144.h: Likewise.
19026 * iconvdata/ibm1145.h: Likewise.
19027 * iconvdata/ibm1146.h: Likewise.
19028 * iconvdata/ibm1147.h: Likewise.
19029 * iconvdata/ibm1148.h: Likewise.
19030 * iconvdata/ibm1149.h: Likewise.
19031 * iconvdata/ibm1153.h: Likewise.
19032 * iconvdata/ibm1154.h: Likewise.
19033 * iconvdata/ibm1155.h: Likewise.
19034 * iconvdata/ibm1156.h: Likewise.
19035 * iconvdata/ibm1157.h: Likewise.
19036 * iconvdata/ibm1158.h: Likewise.
19037 * iconvdata/ibm1160.h: Likewise.
19038 * iconvdata/ibm1161.h: Likewise.
19039 * iconvdata/ibm1162.h: Likewise.
19040 * iconvdata/ibm1163.h: Likewise.
19041 * iconvdata/ibm1164.h: Likewise.
19042 * iconvdata/ibm1166.h: Likewise.
19043 * iconvdata/ibm1167.h: Likewise.
19044 * iconvdata/ibm12712.h: Likewise.
19045 * iconvdata/ibm1390.h: Likewise.
19046 * iconvdata/ibm1399.h: Likewise.
19047 * iconvdata/ibm16804.h: Likewise.
19048 * iconvdata/ibm4517.h: Likewise.
19049 * iconvdata/ibm4899.h: Likewise.
19050 * iconvdata/ibm4909.h: Likewise.
19051 * iconvdata/ibm4971.h: Likewise.
19052 * iconvdata/ibm5347.h: Likewise.
19053 * iconvdata/ibm803.h: Likewise.
19054 * iconvdata/ibm856.h: Likewise.
19055 * iconvdata/ibm901.h: Likewise.
19056 * iconvdata/ibm902.h: Likewise.
19057 * iconvdata/ibm9030.h: Likewise.
19058 * iconvdata/ibm9066.h: Likewise.
19059 * iconvdata/ibm921.h: Likewise.
19060 * iconvdata/ibm922.h: Likewise.
19061 * iconvdata/ibm9448.h: Likewise.
19062 * iconvdata/isiri-3342.h: Likewise.
19063 * iconvdata/jis0201.h: Likewise.
19064 * include/link.h: Likewise.
19065 * include/netdb.h: Likewise.
19066 * inet/check_native.c: Likewise.
19067 * inet/check_pf.c: Likewise.
19068 * inet/getipv4sourcefilter.c: Likewise.
19069 * inet/getnameinfo.c: Likewise.
19070 * inet/getsourcefilter.c: Likewise.
19071 * inet/htonl.c: Likewise.
19072 * inet/setipv4sourcefilter.c: Likewise.
19073 * inet/setsourcefilter.c: Likewise.
19074 * inet/test-inet6_opt.c: Likewise.
19075 * inet/tst-network.c: Likewise.
19076 * locale/C-collate.c: Likewise.
19077 * locale/C-ctype.c: Likewise.
19078 * locale/C-time.c: Likewise.
19079 * locale/C-translit.h: Likewise.
19080 * locale/loadarchive.c: Likewise.
19081 * locale/programs/3level.h: Likewise.
19082 * locale/programs/charmap.c: Likewise.
19083 * locale/programs/charmap.h: Likewise.
19084 * locale/programs/ld-address.c: Likewise.
19085 * locale/programs/ld-collate.c: Likewise.
19086 * locale/programs/ld-ctype.c: Likewise.
19087 * locale/programs/ld-identification.c: Likewise.
19088 * locale/programs/ld-measurement.c: Likewise.
19089 * locale/programs/ld-messages.c: Likewise.
19090 * locale/programs/ld-monetary.c: Likewise.
19091 * locale/programs/ld-name.c: Likewise.
19092 * locale/programs/ld-numeric.c: Likewise.
19093 * locale/programs/ld-paper.c: Likewise.
19094 * locale/programs/ld-telephone.c: Likewise.
19095 * locale/programs/ld-time.c: Likewise.
19096 * locale/programs/linereader.c: Likewise.
19097 * locale/programs/locale.c: Likewise.
19098 * locale/programs/locarchive.c: Likewise.
19099 * locale/programs/locfile.h: Likewise.
19100 * locale/programs/repertoire.c: Likewise.
19101 * locale/programs/simple-hash.c: Likewise.
19102 * locale/programs/simple-hash.h: Likewise.
19103 * malloc/memusage.c: Likewise.
19104 * malloc/memusagestat.c: Likewise.
19105 * nis/nis_defaults.c: Likewise.
19106 * nis/nis_hash.c: Likewise.
19107 * nis/nis_print.c: Likewise.
19108 * nis/nis_xdr.c: Likewise.
19109 * nscd/connections.c: Likewise.
19110 * nscd/hstcache.c: Likewise.
19111 * nscd/nscd_gethst_r.c: Likewise.
19112 * nscd/nscd_getserv_r.c: Likewise.
19113 * nscd/nscd_helper.c: Likewise.
19114 * nscd/servicescache.c: Likewise.
19115 * nss/makedb.c: Likewise.
19116 * nss/nss_db/db-XXX.c: Likewise.
19117 * nss/nss_db/db-initgroups.c: Likewise.
19118 * nss/nss_db/db-netgrp.c: Likewise.
19119 * nss/nss_files/files-network.c: Likewise.
19120 * nss/nss_files/files-parse.c: Likewise.
19121 * posix/bug-regex5.c: Likewise.
19122 * posix/fnmatch_loop.c: Likewise.
19123 * posix/regcomp.c: Likewise.
19124 * posix/regexec.c: Likewise.
19125 * posix/tst-rfc3484-2.c: Likewise.
19126 * posix/tst-rfc3484-3.c: Likewise.
19127 * posix/tst-rfc3484.c: Likewise.
19128 * resolv/nss_dns/dns-canon.c: Likewise.
19129 * resolv/nss_dns/dns-network.c: Likewise.
19130 * resolv/res_init.c: Likewise.
19131 * resolv/res_mkquery.c: Likewise.
19132 * resolv/tst-aton.c: Likewise.
19133 * stdlib/cxa_atexit.c: Likewise.
19134 * stdlib/cxa_finalize.c: Likewise.
19135 * stdlib/gen-fpioconst.c: Likewise.
19136 * stdlib/strtol_l.c: Likewise.
19137 * string/tst-endian.c: Likewise.
19138 * sunrpc/auth_des.c: Likewise.
19139 * sunrpc/clnt_udp.c: Likewise.
19140 * sunrpc/rtime.c: Likewise.
19141 * sunrpc/svcauth_des.c: Likewise.
19142 * sunrpc/xdr.c: Likewise.
19143 * sunrpc/xdr_intXX_t.c: Likewise.
19144 * sunrpc/xdr_rec.c: Likewise.
19145 * sysdeps/generic/ldconfig.h: Likewise.
19146 * sysdeps/generic/ldsodefs.h: Likewise.
19147 * sysdeps/generic/memusage.h: Likewise.
19148 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19149 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19150 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19151 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19152 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19153 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19154 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19155 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19156 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19158 * sysdeps/posix/getaddrinfo.c: Likewise.
19159 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19160 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19161 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19162 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19163 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19164 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19165 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19166 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19167 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19168 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19169 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19170 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19171 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19172 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19174 * sysdeps/x86_64/dl-tls.h: Likewise.
19175 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19176 * time/alt_digit.c: Likewise.
19177 * time/era.c: Likewise.
19178 * wcsmbs/tst-c16c32-1.c: Likewise.
19180 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19182 * math/libm-test.inc (struct test_sincos_data): New type.
19183 (RUN_TEST_LOOP_sincos): New macro.
19184 (sincos_test_data): New variable.
19185 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19187 2013-05-16 Richard Henderson <rth@redhat.com>
19189 * math/atest-exp2.c (LIMB64): New macro.
19190 (CONSTSZ): New macro.
19191 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19193 (print_mpn_fp): ... to function scope.
19194 (read_mpn_hex): Remove.
19195 (get_log2): Remove.
19196 (exp2_mpn): Use mp_log2.
19197 (main): Use mp_exp1.
19199 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19201 * math/libm-test.inc: Remove comment about not testing "inexact"
19203 (INEXACT_EXCEPTION): New macro.
19204 (NO_INEXACT_EXCEPTION): Likewise.
19205 (INVALID_EXCEPTION_OK): Update value.
19206 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19207 (OVERFLOW_EXCEPTION_OK): Likewise.
19208 (UNDERFLOW_EXCEPTION_OK): Likewise.
19209 (IGNORE_ZERO_INF_SIGN): Likewise.
19210 (ERRNO_UNCHANGED): Likewise.
19211 (ERRNO_EDOM): Likewise.
19212 (ERRNO_ERANGE): Likewise.
19213 (test_exceptions): Handle testing "inexact" exceptions.
19214 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19215 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19216 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19217 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19219 (rint_towardzero_test_data): Likewise.
19220 (rint_downward_test_data): Likewise.
19221 (rint_upward_test_data): Likewise.
19223 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19224 with OVERFLOW_EXCEPTION.
19225 (exp10_test_data): Likewise.
19226 (exp2_test_data): Likewise.
19227 (expm1_test_data): Likewise.
19228 (lgamma_test_data): Likewise.
19229 (pow_test_data): Likewise.
19230 (tgamma_test_data): Likewise.
19231 (yn_test_data): Remove duplicate test of overflow.
19233 * math/libm-test.inc (struct test_cc_c_data): New type.
19234 (RUN_TEST_LOOP_cc_c): New macro.
19235 (cpow_test_data): New variable.
19236 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19238 * math/libm-test.inc (struct test_f_L_data): New type.
19239 (RUN_TEST_LOOP_f_L): New macro.
19240 (llrint_test_data): New variable.
19241 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19242 (llrint_tonearest_test_data): New variable.
19243 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19244 (llrint_towardzero_test_data): New variable.
19245 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19246 (llrint_downward_test_data): New variable.
19247 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19248 (llrint_upward_test_data): New variable.
19249 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19250 (llround_test_data): New variable.
19251 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19253 2013-05-13 Peter Collingbourne <pcc@google.com>
19255 * math/atest-exp2.c (get_log2): Remove const attribute.
19257 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19259 * math/libm-test.inc (struct test_f_l_data): New type.
19260 (RUN_TEST_LOOP_f_l): New macro.
19261 (lrint_test_data): New variable.
19262 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19263 (lrint_tonearest_test_data): New variable.
19264 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19265 (lrint_towardzero_test_data): New variable.
19266 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19267 (lrint_downward_test_data): New variable.
19268 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19269 (lrint_upward_test_data): New variable.
19270 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19271 (lround_test_data): New variable.
19272 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19274 2013-05-15 Peter Collingbourne <pcc@google.com>
19276 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19277 (EXTRACT_WORDS64) Use where appropriate.
19278 (INSERT_WORDS64) Likewise.
19280 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19281 constraints with x constraints.
19282 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19284 * malloc/obstack.c (_obstack_compat): Add initializer.
19286 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19289 si_trapno and add si_addr_lsb to _sifields.sigfault.
19290 (si_trapno): Remove macro.
19291 (si_addr_lsb): Define new macro.
19292 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19294 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19296 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19297 instead of TEST_f_l.
19298 (llrint_test_tonearest): Likewise.
19299 (llrint_test_towardzero): Likewise.
19300 (llrint_test_downward): Likewise.
19301 (llrint_test_upward): Likewise.
19302 (llround_test): Likewise.
19304 * math/libm-test.inc (struct test_f_i_data): Add comment.
19305 (RUN_TEST_LOOP_f_b): New macro.
19306 (RUN_TEST_LOOP_f_b_tg): Likewise.
19307 (finite_test_data): New variable.
19308 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19309 (isfinite_test_data): New variable.
19310 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19311 (isinf_test_data): New variable.
19312 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19313 (isnan_test_data): New variable.
19314 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19315 (isnormal_test_data): New variable.
19316 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19317 (issignaling_test_data): New variable.
19318 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19319 (signbit_test_data): New variable.
19320 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19322 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19323 with INVALID_EXCEPTION.
19324 (acosh_test_data): Likewise.
19325 (asin_test_data): Likewise.
19326 (atanh_test_data): Likewise.
19327 (fmod_test_data): Likewise.
19328 (log_test_data): Likewise.
19329 (log10_test_data): Likewise.
19330 (log2_test_data): Likewise.
19331 (pow_test_data): Likewise.
19332 (sqrt_test_data): Likewise.
19333 (y0_test_data): Likewise.
19334 (y1_test_data): Likewise.
19335 (yn_test_data): Likewise.
19337 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19340 * math/libm-test.inc (struct test_ff_i_data): New type.
19341 (RUN_TEST_LOOP_ff_i_tg): New macro.
19342 (isgreater_test_data): New variable.
19343 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19344 (isgreaterequal_test_data): New variable.
19345 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19346 (isless_test_data): New variable.
19347 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19348 (islessequal_test_data): New variable.
19349 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19350 (islessgreater_test_data): New variable.
19351 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19352 (isunordered_test_data): New variable.
19353 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19355 2013-05-14 David S. Miller <davem@davemloft.net>
19357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19359 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19361 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19363 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19365 (struct test_f_i_data): Change type of max_ulp to int.
19367 * math/libm-test.inc (test_ffI_f1_data): New type.
19368 (RUN_TEST_LOOP_ffI_f1): New macro.
19369 (remquo_test_data): New variable.
19370 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19372 * setjmp/tst-setjmp-fp.c: New file.
19373 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19374 (link-libm): New variable.
19375 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19377 * math/libm-test.inc (struct test_f_i_data): New type.
19378 (RUN_TEST_LOOP_f_i): New macro.
19379 (RUN_TEST_LOOP_f_i_tg): Likewise.
19380 (fpclassify_test_data): New variable.
19381 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19382 (ilogb_test_data): New variable.
19383 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19385 * math/libm-test.inc (scalbln_test): Correct function name in END
19388 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19389 (RUN_TEST_LOOP_fI_f1): New macro.
19390 (frexp_test_data): New variable.
19391 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19393 * math/libm-test.inc (struct test_fF_f1_data): New type.
19394 (RUN_TEST_LOOP_fF_f1): New macro.
19395 (modf_test_data): New variable.
19396 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19398 * math/libm-test.inc (struct test_f_f1_data): New type.
19399 (RUN_TEST_LOOP_f_f1): New macro.
19400 (gamma_test_data): New variable.
19401 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19402 (lgamma_test_data): New variable.
19403 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19405 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19407 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19408 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19409 (main): Comment "tls" pseudo-hwcap.
19411 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19413 * math/libm-test.inc (struct test_fl_f_data): New type.
19414 (RUN_TEST_LOOP_fl_f): New variable.
19415 (scalbln_test_data): New variable.
19416 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19418 * math/libm-test.inc (struct test_fi_f_data): New type.
19419 (RUN_TEST_LOOP_fi_f): New macro.
19420 (ldexp_test_data): New variable.
19421 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19422 (scalbn_test_data): New variable.
19423 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19425 * math/libm-test.inc (struct test_c_f_data): New type.
19426 (RUN_TEST_LOOP_c_f): New macro.
19427 (cabs_test_data): New variable.
19428 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19429 (carg_test_data): New variable.
19430 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19431 (cimag_test_data): New variable.
19432 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19433 (creal_test_data): New variable.
19434 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19436 * math/libm-test.inc (struct test_if_f_data): New type.
19437 (RUN_TEST_LOOP_if_f): New macro.
19438 (jn_test_data): New variable.
19439 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19440 (yn_test_data): New variable.
19441 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19443 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19445 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19447 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19448 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19450 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19452 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19453 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19454 (bench-deps): Add bench-timing.h.
19455 * benchtests-bench-skeleton.c: Include bench-timing.h.
19456 (main): Use TIMING_* macros instead of clock_gettime.
19457 * benchtests/bench-timing.h: New file.
19460 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19461 Renamed from _LIB_VERSION.
19462 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19464 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19466 * math/libm-test.inc (struct test_fff_f_data): New type.
19467 (RUN_TEST_LOOP_fff_f): New macro.
19468 (fma_test_data): New variable.
19469 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19470 (fma_towardzero_test_data): New variable.
19471 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19472 (fma_downward_test_data): New variable.
19473 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19474 (fma_upward_test_data): New variable.
19475 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19477 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19478 (struct test_c_c_data): New type.
19479 (RUN_TEST_LOOP_c_c): New macro.
19480 (cacos_test_data): New variable.
19481 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19482 (cacosh_test_data): New variable.
19483 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19484 (casin_test_data): New variable.
19485 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19486 (casinh_test_data): New variable.
19487 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19488 (catan_test_data): New variable.
19489 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19490 (catanh_test_data): New variable.
19491 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19492 (ccos_test_data): New variable.
19493 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19494 (ccosh_test_data): New variable.
19495 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19496 (cexp_test_data): New variable.
19497 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19498 (clog_test_data): New variable.
19499 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19500 (clog10_test_data): New variable.
19501 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19502 (conj_test_data): New variable.
19503 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19504 (cproj_test_data): New variable.
19505 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19506 (csin_test_data): New variable.
19507 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19508 (csinh_test_data): New variable.
19509 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19510 (csqrt_test_data): New variable.
19511 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19512 (ctan_test_data): New variable.
19513 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19514 (ctan_tonearest_test_data): New variable.
19515 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19516 (ctan_towardzero_test_data): New variable.
19517 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19518 (ctan_downward_test_data): New variable.
19519 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19520 (ctan_upward_test_data): New variable.
19521 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19522 (ctanh_test_data): New variable.
19523 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19524 (ctanh_tonearest_test_data): New variable.
19525 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19526 (ctanh_towardzero_test_data): New variable.
19527 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19528 (ctanh_downward_test_data): New variable.
19529 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19530 (ctanh_upward_test_data): New variable.
19531 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19532 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19535 * math/libm-test.inc (struct test_ff_f_data): New type.
19536 (struct test_ff_f_data_nexttoward): Likewise.
19537 (RUN_TEST_LOOP_2_f): New macro.
19538 (RUN_TEST_LOOP_ff_f): Likewise.
19539 (atan2_test_data): New variable.
19540 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19541 (copysign_test_data): New variable.
19542 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19543 (fdim_test_data): New variable.
19544 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19545 (fmax_test_data): New variable.
19546 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19547 (fmin_test_data): New variable.
19548 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19549 (fmod_test_data): New variable.
19550 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19551 (hypot_test_data): New variable.
19552 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19553 (nextafter_test_data): New variable.
19554 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19555 (nexttoward_test_data): New variable.
19556 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19557 (pow_test_data): New variable.
19558 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19559 (pow_tonearest_test_data): New variable.
19560 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19561 (pow_towardzero_test_data): New variable.
19562 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19563 (pow_downward_test_data): New variable.
19564 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19565 (pow_upward_test_data): New variable.
19566 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19567 (remainder_test_data): New variable.
19568 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19569 (scalb_test_data): New variable.
19570 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19571 * sysdeps/i386/fpu/libm-test-ulps: Update.
19573 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19575 * math/libm-test.inc (fma_test): Use max_value instead of local
19577 (nextafter_test): Likewise.
19579 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19580 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19581 (acos_downward_test_data): New variable.
19582 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19583 (acos_upward_test_data): New variable.
19584 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19585 (acosh_test_data): New variable.
19586 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19587 (asin_test_data): New variable.
19588 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19589 (asin_tonearest_test_data): New variable.
19590 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19591 (asin_towardzero_test_data): New variable.
19592 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19593 (asin_downward_test_data): New variable.
19594 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19595 (asin_upward_test_data): New variable.
19596 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19597 (asinh_test_data): New variable.
19598 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19599 (atan_test_data): New variable.
19600 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19601 (atanh_test_data): New variable.
19602 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19603 (cbrt_test_data): New variable.
19604 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19605 (ceil_test_data): New variable.
19606 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19607 (cos_test_data): New variable.
19608 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19609 (cos_tonearest_test_data): New variable.
19610 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19611 (cos_towardzero_test_data): New variable.
19612 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19613 (cos_downward_test_data): New variable.
19614 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19615 (cos_upward_test_data): New variable.
19616 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19617 (cosh_test_data): New variable.
19618 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19619 (cosh_tonearest_test_data): New variable.
19620 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19621 (cosh_towardzero_test_data): New variable.
19622 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19623 (cosh_downward_test_data): New variable.
19624 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19625 (cosh_upward_test_data): New variable.
19626 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19627 (erf_test_data): New variable.
19628 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19629 (erfc_test_data): New variable.
19630 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19631 (exp_test_data): New variable.
19632 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19633 (exp_tonearest_test_data): New variable.
19634 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19635 (exp_towardzero_test_data): New variable.
19636 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19637 (exp_downward_test_data): New variable.
19638 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19639 (exp_upward_test_data): New variable.
19640 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19641 (exp10_test_data): New variable.
19642 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19643 (exp2_test_data): New variable.
19644 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19645 (expm1_test_data): New variable.
19646 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19647 (fabs_test_data): New variable.
19648 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19649 (floor_test_data): New variable.
19650 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19651 (j0_test_data): New variable.
19652 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19653 (j1_test_data): New variable.
19654 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19655 (log_test_data): New variable.
19656 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19657 (log10_test_data): New variable.
19658 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19659 (log1p_test_data): New variable.
19660 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19661 (log2_test_data): New variable.
19662 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19663 (logb_test_data): New variable.
19664 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19665 (logb_downward_test_data): New variable.
19666 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19667 (nearbyint_test_data): New variable.
19668 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19669 (rint_test_data): New variable.
19670 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19671 (rint_tonearest_test_data): New variable.
19672 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19673 (rint_towardzero_test_data): New variable.
19674 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19675 (rint_downward_test_data): New variable.
19676 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19677 (rint_upward_test_data): New variable.
19678 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19679 (round_test_data): New variable.
19680 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19681 (sin_test_data): New variable.
19682 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19683 (sin_tonearest_test_data): New variable.
19684 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19685 (sin_towardzero_test_data): New variable.
19686 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19687 (sin_downward_test_data): New variable.
19688 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19689 (sin_upward_test_data): New variable.
19690 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19691 (sinh_test_data): New variable.
19692 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19693 (sinh_tonearest_test_data): New variable.
19694 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19695 (sinh_towardzero_test_data): New variable.
19696 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19697 (sinh_downward_test_data): New variable.
19698 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19699 (sinh_upward_test_data): New variable.
19700 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19701 (sqrt_test_data): New variable.
19702 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19703 (tan_test_data): New variable.
19704 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19705 (tan_tonearest_test_data): New variable.
19706 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19707 (tan_towardzero_test_data): New variable.
19708 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19709 (tan_downward_test_data): New variable.
19710 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19711 (tan_upward_test_data): New variable.
19712 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19713 (tanh_test_data): New variable.
19714 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19715 (tgamma_test_data): New variable.
19716 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19717 (trunc_test_data): New variable.
19718 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19719 (y0_test_data): New variable.
19720 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19721 (y1_test_data): New variable.
19722 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19723 (significand_test_data): New variable.
19724 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19726 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19729 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19731 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19733 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19735 2013-05-10 Andreas Jaeger <aj@suse.de>
19738 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19739 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19741 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19743 * math/gen-libm-test.pl (adjust_arg): New function.
19744 (special_functions): Handle generating output in both functions
19746 (parse_args): Likewise.
19747 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19748 $in_func argument to parse_args.
19749 * math/libm-test.inc (struct test_f_f_data): New type.
19750 (IF_ROUND_INIT_): New macro.
19751 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19752 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19753 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19754 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19755 (ROUND_RESTORE_): Likewise.
19756 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19757 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19758 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19759 (ROUND_RESTORE_FE_UPWARD): Likewise.
19760 (RUN_TEST_LOOP_f_f): New macro.
19761 (acos_test_data): New variable.
19762 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19763 (acos_tonearest_test_data): New variable.
19764 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19766 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19768 * benchtests/bench-skeleton.c (startup): Fix coding style.
19770 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19773 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19774 negative infinity argument.
19775 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19776 negative infinity argument.
19777 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19778 negative infinity argument.
19779 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19782 2013-05-10 Florian Weimer <fweimer@redhat.com>
19784 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19785 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19786 * iconv/iconv_prog.c (main): Likewise.
19787 * locale/programs/charmap-dir.c (charmap_readdir)
19788 (fopen_uncompressed): Likewise.
19789 * locale/programs/locfile.c (siblings_uncached)
19790 (write_locale_data): Use lstat64 instead of lstat.
19791 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19794 2013-05-10 Andreas Jaeger <aj@suse.de>
19797 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19799 Include <locale.h>.
19801 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19803 * elf/dl-close.c (_dl_close_worker): Add comments.
19805 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19810 (__ieee754_rem_pio2l): Update comments.
19813 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19815 (__ieee754_rem_pio2l): Update comments.
19817 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19818 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19820 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19823 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19824 (M_PI_34_LOG10El): Likewise.
19825 (M_PI2_LOG10El): Likewise.
19826 (M_PI4_LOG10El): Likewise.
19827 (M_PI_LOG10El): Likewise.
19829 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19833 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19835 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19836 (MINUS_ZERO_INIT): Likewise.
19837 (PLUS_INFTY_INIT): Likewise.
19838 (MINUS_INFTY_INIT): Likewise.
19839 (QNAN_VALUE_INIT): Likewise.
19840 (MAX_VALUE_INIT): Likewise.
19841 (MIN_VALUE_INIT): Likewise.
19842 (MIN_SUBNORM_VALUE_INIT): Likewise.
19843 (plus_zero): Initialize with PLUS_ZERO_INIT.
19844 (minus_zero): Initialize with MINUS_ZERO_INIT.
19845 (plus_infty): Initialize with PLUS_INFTY_INIT.
19846 (minus_infty): Initialize with MINUS_INFTY_INIT.
19847 (qnan_value): Initialize with QNAN_VALUE_INIT.
19848 (max_value): Initialize with MAX_VALUE_INIT.
19849 (min_value): Initialize with MIN_VALUE_INIT.
19850 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19852 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19853 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19854 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19855 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19857 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19858 (RUN_TEST_2_f): Likewise.
19859 (RUN_TEST_ff_f): Likewise.
19860 (RUN_TEST_fi_f): Likewise.
19861 (RUN_TEST_fl_f): Likewise.
19862 (RUN_TEST_fff_f): Likewise.
19863 (RUN_TEST_c_f): Likewise.
19864 (RUN_TEST_f_f1): Likewise.
19865 (RUN_TEST_fF_f1): Likewise.
19866 (RUN_TEST_fI_f1): Likewise.
19867 (RUN_TEST_ffI_f1): Likewise.
19868 (RUN_TEST_c_c): Likewise.
19869 (RUN_TEST_cc_c): Likewise.
19870 (RUN_TEST_f_i): Likewise.
19871 (RUN_TEST_f_i_tg): Likewise.
19872 (RUN_TEST_ff_i_tg): Likewise.
19873 (RUN_TEST_f_b): Likewise.
19874 (RUN_TEST_f_b_tg): Likewise.
19875 (RUN_TEST_f_l): Likewise.
19876 (RUN_TEST_f_L): Likewise.
19877 (RUN_TEST_sincos): Likewise.
19878 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19879 whether to show exceptions. Do not include ");\n" in return
19881 (special_functions): Output call to RUN_TEST_sincos instead of
19882 check_float calls. Update calls to new_test.
19883 (parse_args): Output call to single RUN_TEST_* macro instead of
19884 check_* calls and other assignments. Update calls to new_test.
19890 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19891 input to result for tgamma overflow.
19892 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19893 (gamma_coeff): New variable.
19894 (NCOEFF): New macro.
19895 (gamma_positive): New function.
19896 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19897 underflow here. Use gamma_positive instead of exp (lgamma) for
19899 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19900 (gamma_coeff): New variable.
19901 (NCOEFF): New macro.
19902 (gammaf_positive): New function.
19903 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19904 underflow here. Use gamma_positive instead of exp (lgamma) for
19906 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19907 (gamma_coeff): New variable.
19908 (NCOEFF): New macro.
19909 (gammal_positive): New function.
19910 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19911 underflow here. Use gamma_positive instead of exp (lgamma) for
19913 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19914 (gamma_coeff): New variable.
19915 (NCOEFF): New macro.
19916 (gammal_positive): New function.
19917 (__ieee754_gammal_r): Handle positive infinity, overflow and
19918 underflow here. Handle NaN the same as positive infinity. Remove
19919 check x < 0xffffffff for negative integers. Use gamma_positive
19920 instead of exp (lgamma) for other arguments.
19921 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19922 (gamma_coeff): New variable.
19923 (NCOEFF): New macro.
19924 (gammal_positive): New function.
19925 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19926 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19927 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19928 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19929 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19930 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19931 * sysdeps/generic/math_private.h (__gamma_productf): New
19933 (__gamma_product): Likewise.
19934 (__gamma_productl): Likewise.
19935 * math/Makefile (libm-calls): Add gamma_product.
19936 * math/libm-test.inc (tgamma_test): Add more tests.
19937 * sysdeps/i386/fpu/libm-test-ulps: Update.
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19940 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
19942 * benchtests/bench-skeleton.c (main): Preheat CPU.
19944 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
19946 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19948 2013-05-07 Roland McGrath <roland@hack.frob.com>
19950 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19951 and _dl_skip_args_internal.
19953 2013-05-07 Carlos O'Donell <carlos@redhat.com>
19955 * manual/message.texi (Message Translation): Talk about users.
19956 Message to key mapping impacts design.
19958 2013-05-06 Roland McGrath <roland@hack.frob.com>
19960 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19962 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19964 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19965 * sysdeps/wordsize-64/glob64.c: ... here.
19967 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19968 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19971 * debug/getlogin_r_chk.c: Moved to ...
19972 * login/getlogin_r_chk.c: ... here.
19973 * debug/Makefile (routines): Move getlogin_r_chk to ...
19974 * login/Makefile (routines): ... here.
19975 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19976 * login/Versions (libc: GLIBC_2.4): ... here.
19978 * io/poll.c (__poll): Renamed from poll.
19979 Add libc_hidden_def.
19980 (poll): Define as weak alias.
19982 * debug/ptsname_r_chk.c: Moved to ...
19983 * login/ptsname_r_chk.c: ... here.
19984 * debug/Makefile (routines): Move ptsname_r_chk to ...
19985 * login/Makefile (routines): ... here.
19986 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19987 * login/Versions (libc: GLIBC_2.4): ... here.
19989 * posix/getlogin.c: Moved to ...
19990 * login/getlogin.c: ... here.
19991 * posix/getlogin_r.c: Moved to ...
19992 * login/getlogin_r.c: ... here.
19993 * posix/getlogin_r.c: Moved to ...
19994 * login/getlogin_r.c: ... here.
19995 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19996 * login/Makefile (routines): ... here.
19997 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19998 * login/Versions (libc: GLIBC_2.0): ... here.
20000 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20001 (setrlimit): Define as weak alias.
20003 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20004 Call __ names for open, ftruncate, and close.
20005 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20006 (truncate): Define as weak alias.
20008 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20010 * math/gen-libm-test.pl (parse_args): Initialize x before each
20011 test of frexp, modf and remquo.
20013 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20014 test signgam value.
20016 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20020 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20022 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20024 2013-05-06 Roland McGrath <roland@hack.frob.com>
20026 * elf/dl-writev.h: New file.
20027 * elf/dl-misc.c: Include it.
20028 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20029 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20031 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20033 * math/libm-test.inc (noXFails): Remove variable.
20034 (noXPasses): Likewise.
20035 (BUILD_COMPLEX_INT): Remove macro.
20036 (print_screen): Remove xfail argument.
20037 (print_screen_max_error): Likewise.
20038 (update_stats): Likewise.
20039 (print_max_error): Likewise. Update calls to other affected
20041 (print_complex_max_error): Likewise.
20042 (test_single_exception): Update calls to print_screen.
20043 (test_single_errno): Likewise.
20044 (check_float_internal): Remove xfail argument. Update calls to
20045 other affected functions.
20046 (check_float): Likewise.
20047 (check_complex): Likewise.
20048 (check_int): Likewise.
20049 (check_long): Likewise.
20050 (check_bool): Likewise.
20051 (check_longlong): Likewise.
20052 (main): Don't print noXFails and noXPasses.
20053 * math/gen-libm-test.pl (top level): Don't mention expected
20054 failure handling in comment.
20055 (new_test): Don't handle expected failures.
20056 (parse_args): Don't mention expected failure handling in comment.
20057 (generate_testfile): Don't handle expected failures.
20058 (parse_ulps): Likewise.
20059 (print_ulps_file): Likewise.
20060 (get_failure): Remove function.
20061 (output_test): Don't handle expected failures.
20062 * make/README.libm-test: Don't mention expected failure handling.
20064 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20065 (minus_zero): Likewise.
20066 (plus_infty): Likewise.
20067 (minus_infty): Likewise.
20068 (qnan_value): Likewise.
20069 (max_value): Likewise.
20070 (min_value): Likewise.
20071 (min_subnorm_value): Likewise.
20072 (initialize): Do not initialize those variables dynamically.
20074 2013-05-03 Roland McGrath <roland@hack.frob.com>
20076 * io/open.c (__open_2): Moved to ...
20077 * io/open_2.c: ... this new file.
20078 * io/open64.c (__open64_2): Moved to ...
20079 * io/open64_2.c: ... this new file.
20080 * io/openat.c (__openat_2): Moved to ...
20081 * io/openat_2.c: ... this new file.
20082 * io/openat64.c (__openat64_2): Moved to ...
20083 * io/openat64_2.c: ... this new file.
20084 * io/Makefile (routines): Add them.
20085 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20086 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20087 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20088 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20089 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20090 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20091 (__openat64): Add hidden_ver.
20092 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20093 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20095 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20096 Separately conditionalize setting of GLRO(dl_sysinfo) so
20097 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20098 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20100 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20102 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20103 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20105 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20106 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20107 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20108 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20109 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20111 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20113 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20114 test signgam value.
20116 * math/libm-test.inc (hypot_test): Do not use
20117 IGNORE_ZERO_INF_SIGN.
20119 2013-05-03 Andreas Jaeger <aj@suse.de>
20121 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20123 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20124 (PF_MAX): Adjust for VSOCK change.
20126 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20130 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20133 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20134 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20135 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20137 2013-05-02 David S. Miller <davem@davemloft.net>
20139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20141 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20143 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20145 2013-05-01 Roland McGrath <roland@hack.frob.com>
20147 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20149 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20152 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20153 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20154 Use __attribute__ ((__gnu_inline__)).
20155 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20156 Don't use __attribute__ ((__gnu_inline__)).
20158 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20161 * math/s_catan.c (__catan): Handle small real or imaginary part of
20162 input specially to avoid spurious underflow.
20163 * math/s_catanf.c (__catanf): Likewise.
20164 * math/s_catanh.c (__catanh): Likewise.
20165 * math/s_catanhf.c (__catanhf): Likewise.
20166 * math/s_catanhl.c (__catanhl): Likewise.
20167 * math/s_catanl.c (__catanl): Likewise.
20168 * math/libm-test.inc (catan_test): Add more tests.
20169 (catanh_test): Likewise.
20170 * sysdeps/i386/fpu/libm-test-ulps: Update.
20171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20173 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20177 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20180 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20181 accurately for denominator in atan2.
20182 * math/s_catanf.c (__catanf): Likewise.
20183 * math/s_catanh.c (__catanh): Likewise.
20184 * math/s_catanhf.c (__catanhf): Likewise.
20185 * math/s_catanhl.c (__catanhl): Likewise.
20186 * math/s_catanl.c (__catanl): Likewise.
20187 * math/libm-test.inc (catan_test): Add more tests.
20188 (catanh_test): Likewise.
20189 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20192 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20194 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20196 * benchtests/Makefile (bench): Remove slow benchmarks.
20197 * benchtests/atan-inputs: Add slow benchmark inputs.
20198 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20199 (BENCH_FUNC): Accept variant offset.
20201 * benchtests/bench-skeleton.c (main): Run benchmark for each
20203 * benchtests/cos-inputs: Add slow benchmark inputs.
20204 * benchtests/exp-inputs: Likewise.
20205 * benchtests/pow-inputs: Likewise.
20206 * benchtests/sin-inputs: Likewise.
20207 * benchtests/slowatan-inputs: Remove.
20208 * benchtests/slowatan.c: Remove.
20209 * benchtests/slowcos-inputs: Remove.
20210 * benchtests/slowcos.c: Remove.
20211 * benchtests/slowexp-inputs: Remove.
20212 * benchtests/slowexp.c: Remove.
20213 * benchtests/slowpow-inputs: Remove.
20214 * benchtests/slowpow.c: Remove.
20215 * benchtests/slowsin-inputs: Remove.
20216 * benchtests/slowsin.c: Remove.
20217 * benchtests/slowtan-inputs: Remove.
20218 * benchtests/slowtan.c: Remove.
20219 * benchtests/tan-inputs: Add slow benchmark inputs.
20220 * scripts/bench.pl: Parse comments and directives.
20222 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20224 ($(objpfx)bench-%.c): Remove *-ITER.
20225 * benchtests/bench-modf.c: Remove definition of ITER.
20226 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20227 (main): Loop for DURATION seconds instead of fixed number of
20229 * scripts/bench.pl: Don't expect iterations in parameters.
20231 2013-04-29 Roland McGrath <roland@hack.frob.com>
20233 * io/fchdir.c (__fchdir): Renamed from fchdir.
20234 (fchdir): Define as weak alias.
20236 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20238 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20239 (ERRNO_EDOM): Likewise.
20240 (ERRNO_ERANGE): Likewise.
20241 (noErrnoTests): New variable.
20242 (init_max_error): Set errno to 0.
20243 (test_single_errno): New function.
20244 (test_errno): Likewise.
20245 (check_float_internal): Call test_errno. Set errno to 0.
20246 (check_complex): Refer to errno tests in comment.
20247 (check_int): Call test_errno. Set errno to 0.
20248 (check_long): Likewise.
20249 (check_bool): Likewise.
20250 (check_longlong): Likewise.
20251 (cos_test): Use ERRNO_* flags for errno tests instead of
20253 (expm1_test): Likewise.
20254 (fmod_test): Likewise.
20255 (ilogb_test): Likewise.
20256 (lgamma_test): Likewise.
20257 (pow_test): Likewise.
20258 (remainder_test): Likewise.
20259 (sin_test): Likewise.
20260 (tan_test): Likewise.
20261 (yn_test): Likewise.
20262 (initialize): Set errno to 0.
20263 (main): Print number of errno tests.
20264 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20266 2013-04-29 Andreas Jaeger <aj@suse.de>
20269 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20273 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20274 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20278 * stdlib/random.c (__initstate): Return NULL if
20282 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20283 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20286 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20290 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20292 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20293 of individual tests.
20294 (casin_test): Likewise.
20295 (casinh_test): Likewise.
20297 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20300 * math/s_catan.c (__catan): Handle arguments with large real or
20301 imaginary part separately without squaring.
20302 * math/s_catanf.c (__catanf): Likewise.
20303 * math/s_catanh.c (__catanh): Likewise.
20304 * math/s_catanhf.c (__catanhf): Likewise.
20305 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20307 (__catanhl): Handle arguments with large real or imaginary part
20308 separately without squaring.
20309 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20311 (__catanl): Handle arguments with large real or imaginary part
20312 separately without squaring.
20313 * math/libm-test.inc (catan_test): Add more tests.
20314 (catanh_test): Likewise.
20315 * sysdeps/i386/fpu/libm-test-ulps: Update.
20316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20318 2013-04-27 Andreas Jaeger <aj@suse.de>
20321 * stdlib/stdlib.h: Update guards for qecvt.
20322 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20325 2013-04-27 Allan McRae <allan@archlinux.org>
20327 * sysdeps/i386/fpu/libm-test-ulps: Update.
20329 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20332 * math/s_catan.c: Include <float.h>.
20333 (__catan): Ensure underflow exception occurs for underflowed
20335 * math/s_catanf.c: Include <float.h>.
20336 (__catanf): Ensure underflow exception occurs for underflowed
20338 * math/s_catanh.c: Include <float.h>.
20339 (__catanh): Ensure underflow exception occurs for underflowed
20341 * math/s_catanhf.c: Include <float.h>.
20342 (__catanhf): Ensure underflow exception occurs for underflowed
20344 * math/s_catanhl.c: Include <float.h>.
20345 (__catanhl): Ensure underflow exception occurs for underflowed
20347 * math/s_catanl.c: Include <float.h>.
20348 (__catanl): Ensure underflow exception occurs for underflowed
20350 * math/libm-test.inc (catan_test): Add more tests.
20351 (catanh_test): Likewise.
20354 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20355 underflowed result.
20356 * math/s_ccoshf.c (__ccoshf): Likewise.
20357 * math/s_ccoshl.c (__ccoshl): Likewise.
20358 * math/s_csin.c (__csin): Likewise.
20359 * math/s_csinf.c (__csinf): Likewise.
20360 * math/s_csinh.c (__csinh): Likewise.
20361 * math/s_csinhf.c (__csinhf): Likewise.
20362 * math/s_csinhl.c (__csinhl): Likewise.
20363 * math/s_csinl.c (__csinl): Likewise.
20364 * math/libm-test.inc (ccos_test): Add more tests.
20365 (ccosh_test): Likewise.
20366 (csin_test): Likewise.
20367 (csinh_test): Likewise.
20369 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20371 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20372 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20373 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20374 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20375 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20376 powerpc/power5+/fpu folders.
20377 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20380 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20384 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20386 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20387 additions to variable.
20388 [$(config-machine) = x86_64] (modules-names): Likewise.
20389 ($(objpfx)tst-audit3): Remove dependency.
20390 ($(objpfx)tst-audit3.out): Likewise.
20391 ($(objpfx)tst-audit4): Likewise.
20392 ($(objpfx)tst-audit4.out): Likewise.
20393 ($(objpfx)tst-audit5): Likewise.
20394 ($(objpfx)tst-audit5.out): Likewise.
20395 ($(objpfx)tst-audit6): Likewise.
20396 ($(objpfx)tst-audit6.out): Likewise.
20397 ($(objpfx)tst-audit7): Likewise.
20398 ($(objpfx)tst-audit7.out): Likewise.
20399 (tst-audit3-ENV): Remove variable.
20400 (tst-audit4-ENV): Likewise.
20401 (tst-audit5-ENV): Likewise.
20402 (tst-audit6-ENV): Likewise.
20403 (tst-audit7-ENV): Likewise.
20404 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20405 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20406 addition to variable.
20407 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20408 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20409 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20410 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20411 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20412 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20413 tst-audit3, tst-audit4 and tst-audit5.
20414 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20415 tst-audit6 and tst-audit7.
20416 [$(subdir) = elf] (modules-names): Add audit modules for those
20418 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20419 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20420 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20421 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20422 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20423 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20424 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20425 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20426 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20427 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20428 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20429 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20430 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20431 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20432 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20433 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20435 [$(subdir) = elf && $(config-cflags-avx) = yes]
20436 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20437 [$(subdir) = elf && $(config-cflags-avx) = yes]
20438 (CFLAGS-tst-auditmod4a.c): Likewise.
20439 [$(subdir) = elf && $(config-cflags-avx) = yes]
20440 (CFLAGS-tst-auditmod4b.c): Likewise.
20441 [$(subdir) = elf && $(config-cflags-avx) = yes]
20442 (CFLAGS-tst-auditmod6b.c): Likewise.
20443 [$(subdir) = elf && $(config-cflags-avx) = yes]
20444 (CFLAGS-tst-auditmod6c.c): Likewise.
20445 [$(subdir) = elf && $(config-cflags-avx) = yes]
20446 (CFLAGS-tst-auditmod7b.c): Likewise.
20447 * elf/tst-audit3.c: Move to ...
20448 * sysdeps/x86_64/tst-audit3.c: ... here.
20449 * elf/tst-audit4.c: Move to ...
20450 * sysdeps/x86_64/tst-audit4.c: ... here.
20451 * elf/tst-audit5.c: Move to ...
20452 * sysdeps/x86_64/tst-audit5.c: ... here.
20453 * elf/tst-audit6.c: Move to ...
20454 * sysdeps/x86_64/tst-audit6.c: ... here.
20455 * elf/tst-audit7.c: Move to ...
20456 * sysdeps/x86_64/tst-audit7.c: ... here.
20457 * elf/tst-auditmod3a.c: Move to ...
20458 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20459 * elf/tst-auditmod3b.c: Move to ...
20460 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20461 * elf/tst-auditmod4a.c: Move to ...
20462 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20463 * elf/tst-auditmod4b.c: Move to ...
20464 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20465 * elf/tst-auditmod5a.c: Move to ...
20466 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20467 * elf/tst-auditmod5b.c: Move to ...
20468 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20469 * elf/tst-auditmod6a.c: Move to ...
20470 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20471 * elf/tst-auditmod6b.c: Move to ...
20472 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20473 * elf/tst-auditmod6c.c: Move to ...
20474 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20475 * elf/tst-auditmod7a.c: Move to ...
20476 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20477 * elf/tst-auditmod7b.c: Move to ...
20478 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20480 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20483 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20484 define unconditionally.
20485 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20486 define unconditionally.
20487 (INT8_C, INT16_C, etc.): Likewise.
20489 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20491 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20492 __ehdr_start with hidden visibility.
20494 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20496 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20498 * math/libm-test.inc (cos_test): Use accurate hex constants.
20499 (sincost_test): Likewise.
20501 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20503 * math/libm-test.inc (catan_test): Add more tests.
20504 (catanh_test): Likewise.
20506 * math/s_catanf.c (__catanf): Use suffixed floating-point
20508 * math/s_catanhf.c (__catanhf): Likewise.
20509 * math/s_catanhl.c (__catanhl): Likewise.
20510 * math/s_catanl.c (__catanl): Likewise.
20513 * math/s_catan.c (__catan): Calculate imaginary part of result
20514 with log1p not log unless computing log of number close to 0.
20515 * math/s_catanf.c (__catanf): Likewise.
20516 * math/s_catanl.c (__catanl): Likewise.
20517 * math/s_catanh.c (__catanh): Calculate real part of result with
20518 log1p not log unless computing log of number close to 0.
20519 * math/s_catanhf.c (__catanhf): Likewise.
20520 * math/s_catanhl.c (__catanhl): Likewise.
20521 * math/libm-test.inc (catan_test): Add more tests.
20522 (catanh_test): Likewise.
20523 * sysdeps/i386/fpu/libm-test-ulps: Update.
20524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20526 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20528 * benchtests/Makefile: Mention files in which fast and slow
20529 paths of math functions are implemented.
20531 2013-04-23 Roland McGrath <roland@hack.frob.com>
20533 * sysdeps/posix/timespec_get.c: New file.
20535 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20537 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20539 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20541 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20542 powerpc/power5/fpu folders.
20543 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20544 * benchtests/Makefile: Add modf testcase.
20545 * benchtests/bench-modf.c: New file: Benchmark test for mo
20547 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20550 * time/Makefile (tests): Add tst-strptime-whitespace.
20551 * time/strptime_l.c (get_number): Use ISSPACE.
20552 (__strptime_internal): Likewise.
20553 * time/tst-strptime-whitespace.c: New test case.
20555 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20557 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20559 (_nss_files_init): Set it here.
20561 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20563 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20564 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20567 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20569 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20571 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20573 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20576 2013-04-21 David S. Miller <davem@davemloft.net>
20578 * po/ru.po: Update Russion translation from translation project.
20580 2013-04-17 Adam Conrad <adconrad@0c3.net>
20582 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20585 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20587 * configure.in: Remove i386 configure warning. Remove i386 case.
20588 * configure: Regenerate.
20589 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20590 Add example to error message.
20591 * sysdeps/i386/configure: Regenerate.
20593 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20595 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20597 * benchtests/cos-inputs: New file.
20598 * benchtests/slowcos-inputs: New file.
20599 * benchtests/slowcos.c: New file.
20600 * benchtests/slowtan-inputs: New file.
20601 * benchtests/slowtan.c: New file.
20602 * benchtests/tan-inputs: New file.
20604 2013-04-16 Roland McGrath <roland@hack.frob.com>
20606 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20609 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20611 * benchtests/Makefile: Include cppflags-iterator.mk to add
20612 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20614 * Makefile.in (bench-clean): New target.
20615 * benchtests/Makefile (bench-clean): Likewise.
20617 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20619 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20621 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20623 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20625 2013-04-15 Andreas Schwab <schwab@suse.de>
20627 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20628 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20629 * nscd/pwdcache.c (cache_addpw): Likewise.
20630 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20633 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 * benchtests/Makefile (bench): Write all output to
20636 bench-out.tmp together.
20638 2013-04-15 Andreas Schwab <schwab@suse.de>
20640 * nscd/nscd.c (main): Don't fork again after closing files.
20642 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20644 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20646 * benchtests/Rules (bench-deps): Collect dependencies into a
20647 single variable. Add Makefile to dependencies.
20648 ($(objpfx)bench-%.c): Depend on bench-deps.
20650 2013-04-12 Roland McGrath <roland@hack.frob.com>
20651 Xavier Roche <roche+kml2@exalead.com>
20654 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20655 just that it's a file descriptor.
20656 * manual/llio.texi (Synchronizing AIO Operations): Update description
20657 for EBADF error from aio_fsync.
20659 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20661 * Rules (bench): Move target definition...
20662 * benchtests/Makefile: ... here.
20664 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20666 * math/libm-test.inc (cos_test): Fix PI/2 test.
20667 (sincos_test): Likewise.
20668 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20669 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20671 2013-04-11 Andreas Schwab <schwab@suse.de>
20674 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20675 accept exponent character only when digits were seen.
20676 * stdio-common/Makefile (tests): Add bug26.
20677 * stdio-common/bug26.c: New file.
20680 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20683 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20685 * Makeconfig (rtld-prefix): Define built linker prefix.
20686 * Rules (run-bench): Use it.
20687 * math/Makefile (run-regen-ulps): Likewise.
20689 * Rules (bench): Remove eval.
20691 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20692 Roland McGrath <roland@hack.frob.com>
20693 Ondrej Bilka <neleai@seznam.cz>
20696 * time/getdate.c: Include ctype.h and alloca.h.
20697 (__getdate_r): Trim leading and trailing spaces of input.
20698 * time/tst-getdate.c (tests): Add tests with leading and
20701 2013-04-08 Roland McGrath <roland@hack.frob.com>
20704 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20705 when computing value.
20707 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20709 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20710 Use testrun.sh to run libm tests.
20713 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20715 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20718 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20720 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20722 * Makefile.in (regen-ulps): New target.
20723 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20724 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20725 [ifneq (no,$(PERL)] (regen-ulps): New target.
20726 [ifeq (no,$(PERL)] (regen-ulps): New target.
20727 * math/libm-test.inc (ulps_file_name): Define.
20728 (output_dir): New variable.
20729 (options): Add "output-dir" option.
20730 (parse_opt): Handle 'o' case.
20731 (main): If output_dir is non-NULL use it as a prefix
20733 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20735 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20737 [BZ #10060, #10062]
20738 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20739 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20740 fail configure if __sync_val_compare_and_swap is not inlined.
20741 * sysdeps/i386/configure: Regenerate.
20742 * configure.in: Build for i686 when configured for i386.
20743 * configure: Regenerate.
20744 * README: Remove i386 reference.
20746 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20748 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20751 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20753 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20754 (lmsnanval): New variables.
20755 (F): Add conversion tests.
20756 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20757 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20759 * stdio-common/tstdiomisc.c (F): Properly collect individual
20762 [BZ #14686, #15336]
20763 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20764 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20765 Instead, use input NaN values or generate a qNaN by arithmetic
20766 operation. Also fix bugs to comply with the standard.
20767 * math/libm-test.inc (remainder_test): Add more tests.
20769 [BZ #15335, #15342]
20770 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20772 input NaN values or generate a qNaN by arithmetic operation.
20774 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20777 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20780 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20783 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20784 underflowed result.
20785 * math/s_cexpf.c (__cexpf): Likewise.
20786 * math/s_cexpl.c (__cexpl): Likewise.
20787 * math/libm-test.inc (cexp_test): Add more tests.
20789 2013-04-03 Andreas Schwab <schwab@suse.de>
20792 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20793 order arrays from heap if bigger than alloca cutoff.
20795 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20797 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20798 (SNAN_TESTS_double): Refer to GCC PR56831.
20799 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20802 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20804 * Rules (bench): Move bench.out after the run is complete.
20806 * Rules (bench): Echo currently running benchmark.
20808 * benchtests/Makefile (bench): Add atan and slowatan.
20809 * benchtests/atan-inputs: New file.
20810 * benchtests/slowatan-inputs: New file.
20811 * benchtests/slowatan.c: New file.
20813 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20814 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20818 * sysdeps/unix/sysv/linux/kernel-features.h
20819 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20820 __ASSUME_XFS_RESTRICTED_CHOWN.
20821 * sysdeps/unix/sysv/linux/pathconf.c
20822 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20823 Save and restore errno.
20825 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20828 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20829 arguments using __kernel_casinh.
20830 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20831 arguments using __kernel_casinhf.
20832 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20833 arguments using __kernel_casinhl.
20834 * math/libm-test.inc (cacosh_test): Add more tests.
20835 * sysdeps/i386/fpu/libm-test-ulps: Update.
20836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20838 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20840 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20841 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20843 * bench/Makefile (bench): Add sin and slowsin.
20844 * benchtests/sin-inputs: New file.
20845 * benchtests/slowsin-inputs: New file.
20846 * benchtests/slowsin.c: New file.
20848 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20849 (bench): Add slowexp and slowpow.
20850 (exp-ITER): Increase iterations.
20851 (pow-ITER): Likewise.
20852 * benchtests/exp-inputs: Change input.
20853 * benchtests/pow-inputs: Likewise.
20854 * benchtests/slowexp-inputs: New file.
20855 * benchtests/slowexp.c: New file.
20856 * benchtests/slowpow-inputs: New file.
20857 * benchtests/slowpow.c: New file.
20859 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20861 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20863 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20864 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20866 * benchtests/Makefile: Add rint benchtest.
20867 * benchtests/rint-inputs: Input for rint benchtest.
20869 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20871 * Versions.def (libm): Add GLIBC_2.18.
20872 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20873 hidden libm prototypes.
20874 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20875 * math/Makefile (libm-calls): Add s_issignaling.
20876 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20877 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20878 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20880 * math/math.h [__USE_GNU] (issignaling): New macro.
20881 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20882 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20884 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20885 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20886 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20887 * manual/arith.texi (issignaling): New section.
20888 * manual/libm-err-tab.pl (@all_functions): Update comment.
20889 * math/gen-libm-test.pl (parse_args): Apply special handling for
20891 * math/libm-test.inc (print_float, issignaling_test): New
20893 (check_float_internal): Add issignaling checks.
20894 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20895 default definition.
20896 * sysdeps/powerpc/math-tests.h: New file.
20897 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20899 * math/test-snan.c (TEST_FUNC): Likewise.
20901 2013-03-30 David S. Miller <davem@davemloft.net>
20903 * po/de.po: Update from translation team.
20905 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20908 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20909 imaginary part less than 1.0 and real part less than 0.5
20911 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20912 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20913 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20914 (cacos_test): Add more tests.
20915 (casin_test): Likewise.
20916 (casinh_test): Likewise.
20917 * sysdeps/i386/fpu/libm-test-ulps: Update.
20918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20920 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20922 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20923 ONE with its value.
20925 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20926 (__pow_mp): Replace ONE and MONE with their values.
20927 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20928 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20930 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20931 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20932 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20934 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20936 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20937 (__pow_mp): Replace ZERO and MZERO with their values.
20938 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20939 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20942 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20943 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20946 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20948 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20950 2013-03-28 Roland McGrath <roland@hack.frob.com>
20952 * include/stdlib.h [!SHARED] (__call_tls_dtors):
20953 Declare with __attribute__ ((weak)).
20954 * stdlib/exit.c (__libc_atexit) [!SHARED]:
20955 Call __call_tls_dtors only if it's not NULL.
20957 2013-03-28 Roland McGrath <roland@hack.frob.com>
20959 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20960 didn't do it already, then set _dl_phdr and _dl_phnum based on the
20961 magic __ehdr_start linker symbol if it's defined.
20962 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20963 them up here if it was already done.
20965 * elf/dl-support.c (_dl_phdr): Make pointer to const.
20966 (_dl_aux_init): Use const in cast when setting it.
20967 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20968 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20969 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20971 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20973 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20974 * csu/libc-tls.c: Nor here.
20975 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20977 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20978 (__libc_message): Never call vsyslog.
20980 2013-03-28 Alan Modra <amodra@gmail.com>
20982 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20984 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20987 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20994 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20997 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20998 Don't add gid passed as argument.
21000 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21002 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21005 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21006 imaginary part between 1.0 and 1.5 and real part less than 0.5
21008 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21009 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21010 * math/libm-test.inc (cacos_test): Add more tests.
21011 (casin_test): Likewise.
21012 (casinh_test): Likewise.
21013 * sysdeps/i386/fpu/libm-test-ulps: Update.
21014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21016 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21018 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21021 (denorm): Likewise.
21022 (__dbl_mp): Likewise.
21023 (add_magnitudes): Likewise.
21024 (sub_magnitudes): Likewise.
21032 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21034 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21035 (__dubcos): Likewise.
21036 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21037 (__ieee754_acos): Likewise.
21038 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21039 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21040 (__exp1): Likewise.
21041 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21044 (my_log2): Likewise.
21045 (checkint): Likewise.
21046 * sysdeps/ieee754/dbl-64/e_remainder.c
21047 (__ieee754_remainder): Likewise.
21048 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21050 (bsloww): Likewise.
21051 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21053 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21054 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21055 MANTISSA_STORE_T to store computations on mantissa. Use
21056 macros for rounding and division.
21057 (denorm): Likewise.
21058 (__dbl_mp): Likewise.
21059 (add_magnitudes): Likewise.
21060 (sub_magnitudes): Likewise.
21063 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21064 powers of two in terms of TWOPOW macro.
21065 (mp_no): Make type of mantissa as MANTISSA_T.
21066 [!RADIXI]: Define RADIXI.
21067 [!TWO52]: Define TWO52.
21068 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21070 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21072 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21073 llroundl symbol when building for PPC32.
21075 2013-03-24 Mark H Weaver <mhw@netris.org>
21077 * manual/arith.texi (Normalization Functions): Fix prototypes for
21078 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21080 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21083 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21084 high value to check if expl overflow.
21085 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21086 to check for underflow and overflow.
21087 * math/libm-test.inc: Add exp test.
21089 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21092 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21095 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21097 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21100 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21102 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21103 wrap blocks consisting of several statements.
21105 * sysdeps/generic/math-tests.h: New file.
21106 * sysdeps/i386/fpu/math-tests.h: Likewise.
21107 * math/test-snan.c: Include it.
21108 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21110 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21114 (__ieee754_j0l): Do not improve calculations using cos of twice
21115 input for inputs above LDBL_MAX / 2.0L.
21116 (__ieee754_y0l): Likewise.
21117 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21118 (__ieee754_j1l): Do not improve calculations using cos of twice
21119 input for inputs above LDBL_MAX / 2.0L.
21120 (__ieee754_y1l): Likewise.
21121 * math/libm-test.inc (j0_test): Add another test.
21122 (j1_test): Likewise.
21123 (y0_test): Likewise.
21124 (y1_test): Likewise.
21125 * sysdeps/i386/fpu/libm-test-ulps: Update.
21127 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21129 * Rules ($(objpfx)bench-%.c): Include code from a C source
21132 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21135 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21136 imaginary part 1.0 and real part less than 0.5 specially.
21137 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21138 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21139 * math/libm-test.inc (cacos_test): Add more tests.
21140 (casin_test): Likewise.
21141 (casinh_test): Likewise.
21142 * sysdeps/i386/fpu/libm-test-ulps: Update.
21143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21145 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21147 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21148 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21150 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21152 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21153 * config.make.in (config-cflags-sse4): Remove variable.
21154 (config-cflags-avx): Likewise.
21155 (config-cflags-sse2avx): Likewise.
21156 (config-cflags-novzeroupper): Likewise.
21157 (config-asflags-i686): Likewise.
21158 (have-mfma4): Likewise.
21159 (have-as-vis3): Likewise.
21161 * configure.in (MIG): Do not AC_SUBST.
21162 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21163 (libc_cv_cc_sse4): Do not AC_SUBST.
21164 (libc_cv_cc_avx): Likewise.
21165 (libc_cv_cc_sse2avx): Likewise.
21166 (libc_cv_cc_novzeroupper): Likewise.
21167 (libc_cv_cc_fma4): Likewise.
21168 (libc_cv_as_i686): Likewise.
21169 (libc_cv_sparc_as_vis3): Likewise.
21170 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21172 (config-asflags-i686): Likewise.
21173 (config-cflags-avx): Likewise.
21174 (config-cflags-sse2avx): Likewise.
21175 (have-mfma4): Likewise.
21176 (config-cflags-novzeroupper): Likewise.
21177 * sysdeps/mach/configure.in (MIG): Likewise.
21178 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21179 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21181 (config-cflags-avx): Likewise.
21182 (config-cflags-sse2avx): Likewise.
21183 (have-mfma4): Likewise.
21184 (config-cflags-novzeroupper): Likewise.
21185 * configure: Regenerated.
21186 * sysdeps/i386/configure: Likewise.
21187 * sysdeps/mach/configure: Likewise.
21188 * sysdeps/sparc/configure: Likewise.
21189 * sysdeps/x86_64/configure: Likewise.
21191 2013-03-20 Roland McGrath <roland@hack.frob.com>
21194 * locale/programs/localedef.c (options): Put N_ translation marker
21195 on argument names, not just descriptions.
21197 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21199 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21201 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21204 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21206 2013-03-19 Roland McGrath <roland@hack.frob.com>
21208 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21209 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21210 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21211 [!BEFORE_ABORT] (before_abort): New function.
21212 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21213 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21214 (writev_for_fatal): New function.
21215 (WRITEV_FOR_FATAL): New macro; call that.
21216 (backtrace_and_maps): New function.
21217 (BEFORE_ABORT): New macro; call that.
21218 (struct str_list): Type removed.
21219 (__libc_message, __libc_fatal): Functions removed.
21220 Include <sysdeps/posix/libc_fatal.c> instead.
21222 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21224 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21226 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21229 2013-03-19 Andreas Schwab <schwab@suse.de>
21231 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21232 * sysdeps/gnu/configure: Regenerate.
21234 * configure.in: Substitute libc_cv_rtlddir.
21235 * configure: Regenerate.
21236 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21237 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21238 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21239 * elf/Makefile (install-others, CFLAGS-interp.c)
21240 (ldso_install, common-ldd-rewrite): Likewise.
21241 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21242 $(inst_slibdir)/$(rtld-installed-name).
21243 * scripts/rellns-sh: Add -p option.
21244 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21247 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21249 * manual/nptl.texi: Renamed to ...
21250 * manual/threads.texi: ... this.
21251 * manual/Makefile (chapters): Update.
21253 2013-03-18 Roland McGrath <roland@hack.frob.com>
21256 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21257 on argument names, not just descriptions.
21258 * malloc/memusagestat.c (options): Likewise.
21259 * nss/getent.c (options): Likewise.
21261 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21264 * iconv/iconv_prog.c (options): Put N_ translation marker
21265 on argument names, not just descriptions.
21266 * iconv/iconvconfig.c (options): Likewise.
21268 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21270 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21271 implementation which is faster on all x86_64 architectures.
21272 Tested on AMD, Intel Nehalem, SNB, IVB.
21273 * sysdeps/x86_64/strnlen.S: Likewise.
21275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21276 Remove all multiarch strlen and strnlen versions.
21277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21278 Remove strlen and strnlen related parts.
21280 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21281 Inline strlen part.
21282 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21284 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21285 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21286 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21287 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21288 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21289 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21291 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21293 * manual/memory.texi (Malloc Tunable Parameters):
21294 Sort parameters alphabetically. Add comments for missing entries.
21296 2013-03-17 David S. Miller <davem@davemloft.net>
21298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21300 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21303 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21304 for arguments at most half maximum finite value.
21305 * math/libm-test.inc (j0_test): Add more tests.
21306 (j1_test): Likewise.
21307 (y0_test): Likewise.
21308 (y1_test): Likewise.
21309 * sysdeps/i386/fpu/libm-test-ulps: Update.
21310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21313 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21314 1 / x and functions P and Q for arguments above 0x1p256L.
21315 (__ieee754_y0l): Likewise.
21316 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21317 (__ieee754_y1l): Likewise.
21318 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21319 (j1_test): Likewise.
21320 (y0_test): Likewise.
21321 (y1_test): Likewise.
21323 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21325 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21328 2013-03-15 Roland McGrath <roland@hack.frob.com>
21330 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21331 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21332 zero since it's initialized to EXEC_PAGESIZE.
21334 * sysdeps/unix/sysv/linux/ldsodefs.h
21335 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21336 * sysdeps/generic/ldsodefs.h: ... here.
21338 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21340 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21342 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21344 * math/test-snan.c: Renamed from
21345 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21346 * math/Makefile (tests): Add test-snan.
21347 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21350 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21351 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21353 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21354 __builtin_nan family of functions.
21355 * math/libm-test.inc (initialize): Initialize qnan_value with
21356 __builtin_nan family of functions.
21357 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21359 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21361 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21362 storage class. Initialize qNaN_var and sNaN_var with
21363 __builtin_nan and __builtin_nans families of functions,
21366 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21367 (sqrt_test): Remove duplicate test with qNaN input.
21368 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21369 (round_test, signbit_test, significand_test): Note missing +/-Inf
21370 as well as qNaN tests.
21372 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21373 qNaN_var. Fix a few strings, too.
21374 * math/libm-test.inc (nan_value): Rename to qnan_value.
21375 * math/gen-libm-test.pl (%beautify): Adjust to that.
21376 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21377 * math/test-misc.c (main): Likewise.
21378 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21379 to __qnan_bytes, and __qnan_union, respectively.
21380 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21382 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21383 and lqnanval, respectively.
21384 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21385 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21386 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21387 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21389 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21390 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21393 * math/test-misc.c (main): Fix copy'n'pastos.
21394 * misc/tst-efgcvt.c (special): Likewise.
21396 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21397 Remove declarations.
21399 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21401 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21402 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21403 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21404 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21406 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21408 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21409 macro to return vdso values correctly in IFUNC implementations.
21410 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21411 Optimization by using IFUNC.
21413 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21414 Richard Henderson <rth@redhat.com>
21415 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21417 * Makefile.in (bench): New target.
21418 * NEWS: Mention the benchmark framework.
21419 * Rules (bench): Likewise.
21420 (binaries-bench): Generate binaries for functions to
21422 * benchtests/Makefile: New makefile for benchmark tests.
21423 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21425 * benchtests/exp-inputs: New input file for EXP function.
21426 * benchtests/pow-inputs: New input file for POW function.
21427 * scripts/bench.pl: New script to generate source files for
21428 benchmark programs.
21430 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21432 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21434 computations on mantissa. Use macros for rounding and
21436 (denorm): Likewise.
21437 (__dbl_mp): Likewise.
21438 (add_magnitudes): Likewise.
21439 (sub_magnitudes): Likewise.
21442 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21443 powers of two in terms of TWOPOW macro.
21444 (mp_no): Make type of mantissa as MANTISSA_T.
21445 [!RADIXI]: Define RADIXI.
21446 [!TWO52]: Define TWO52.
21447 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21449 * manual/nptl.texi (cindex): Modify threads to pthreads.
21451 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21453 * sysdeps/x86_64/preconfigure: Regenerated.
21455 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21458 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21460 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21461 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21463 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21464 * math/libm-test.inc (j0_test): Do not allow one spurious
21465 underflow exception.
21466 (y1_test): Likewise.
21468 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21470 * manual/Makefile (chapters): Add nptl.
21471 * manual/debug.texi (Debugging Support): Add link to Threads
21473 * manual/nptl.texi: New file.
21475 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21477 2013-03-14 Petr Baudis <pasky@ucw.cz>
21479 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21480 for non-NULL pointer before the memory validity test. Pointed
21481 out by Holger Brunck <holger.brunck@keymile.com>.
21483 2013-03-13 Andreas Schwab <schwab@suse.de>
21485 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21488 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21490 * timezone/zic.c: Update from tzcode 2013b.
21492 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21494 * manual/install.texi (Configuring and compiling):
21495 Mention i686 and i586.
21496 * INSTALL: Regenerate.
21498 2013-03-12 Roland McGrath <roland@hack.frob.com>
21500 * sysdeps/init_array/elf-init.c: New file.
21502 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21503 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21505 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21506 __gmon_start__ as global, but as static with a .preinit_array pointer.
21507 * sysdeps/init_array/gmon-start.c: New file. Use that.
21508 * sysdeps/init_array/crti.S: New file, empty except for comments.
21509 * sysdeps/init_array/crtn.S: Likewise.
21511 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21513 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21516 Remove Prefer_SSE_for_memop.
21517 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21518 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21519 HAS_PREFER_SSE_FOR_MEMOP.
21520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21523 Remove bzero, memset ifunc support.
21524 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21525 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21526 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21527 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21529 2013-03-11 Andreas Schwab <schwab@suse.de>
21532 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21535 (GLIBC_2.16): Remove pthread_atfork.
21537 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21539 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21540 (ptestcases.h): Likewise.
21542 2013-03-08 Roland McGrath <roland@hack.frob.com>
21544 * Makeconfig ($(common-objpfx)config.status): Depend on
21545 sysdeps/*/preconfigure{,.in} too.
21547 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21549 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21550 (__free_hook): Use void * instead of __malloc_ptr_t.
21551 (__malloc_hook): Likewise.
21552 (__realloc_hook): Likewise.
21553 (__memalign_hook): Likewise.
21554 (__after_morecore_hook): Likewise.
21555 * malloc/arena.c (save_malloc_hook): Likewise.
21556 (save_free_hook): Likewise.
21557 * malloc/hooks.c (malloc_hook_ini): Likewise.
21558 (realloc_hook_ini): Likewise.
21559 (memalign_hook_ini): Likewise.
21560 * malloc/malloc.c (malloc_hook_ini): Likewise.
21561 (realloc_hook_ini): Likewise.
21562 (memalign_hook_ini): Likewise.
21563 (__free_hook): Likewise.
21564 (__malloc_hook): Likewise.
21565 (__realloc_hook): Likewise.
21566 (__memalign_hook): Likewise.
21567 (__libc_malloc): Likewise.
21568 (__libc_free): Likewise.
21569 (__libc_realloc): Likewise.
21570 (__libc_memalign): Likewise.
21571 (__libc_valloc): Likewise.
21572 (__libc_pvalloc): Likewise.
21573 (__libc_calloc): Likewise.
21574 (__posix_memalign): Likewise.
21575 * malloc/morecore.c (__sbrk): Likewise.
21576 (__default_morecore): Likewise.
21578 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21580 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21581 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21582 __malloc_ptrdiff_t.
21584 * malloc/malloc.h (__malloc_size_t): Remove macro.
21585 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21587 (old_memalign_hook): Likewise.
21588 (old_realloc_hook): Likewise.
21589 (struct hdr): Likewise.
21591 (mallochook): Likewise.
21592 (memalignhook): Likewise.
21593 (reallochook): Likewise.
21594 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21595 (tr_old_realloc_hook): Likewise.
21596 (tr_old_memalign_hook): Likewise.
21597 (tr_mallochook): Likewise.
21598 (tr_reallochook): Likewise.
21599 (tr_memalignhook): Likewise.
21601 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21603 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21604 default_ldbl_pack and using as default implementation.
21605 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21607 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21608 redundant definition.
21609 (ldbl_insert_mantissa): Likewise.
21610 (ldbl_canonicalize): Likewise.
21611 (ldbl_nearbyint): Likewise.
21612 (ldbl_pack): Rename to ldbl_pack_ppc.
21613 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21614 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21615 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21617 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21619 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21620 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21621 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21622 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21624 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21625 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21626 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21628 2013-03-07 Andreas Jaeger <aj@suse.de>
21630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21633 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21635 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21636 Include mpa.h and declare __MPEXP.
21637 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21638 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21639 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21640 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21641 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21642 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21643 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21645 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21646 (__slowpow): Use long double EXPL and LOGL functions to
21648 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21649 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21650 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21651 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21652 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21655 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21656 intermediate variable to calculate exponent.
21658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21662 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21663 [!NO__SQR]: Define __sqr.
21664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21665 and NO__SQR. Remove all code except __mul and __sqr. Include
21666 sysdeps/ieee754/dbl-64/mpa.c.
21667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21670 * posix/Makefile (tests): Add tst-pathconf.
21671 * posix/tst-pathconf.c: New test case.
21672 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21674 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21676 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21678 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21680 2013-03-06 Andreas Jaeger <aj@suse.de>
21682 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21683 definition via __MAP_ANONYMOUS.
21685 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21686 it's not part of Linux headers.
21688 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21689 (MAP_HUGE_MASK): Define.
21691 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21693 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21694 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21696 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21697 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21699 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21700 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21704 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21705 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21706 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21707 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21708 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21709 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21714 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21715 Handle f2fs and efivarfs.
21717 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21720 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21721 (EFIVARFS_MAGIC): Add.
21722 (F2FS_LINK_MAX): Add.
21724 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21726 * stdio-common/vfprintf.c: Replace __builtin_expect with
21729 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21732 * sysdeps/generic/bp-sym.h: Remove file.
21733 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21735 <bp-sym.h> and <bp-asm.h>.
21736 (__longjmp): Don't use BP_SYM.
21737 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21739 (memcpy): Don't use BP_SYM.
21740 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21741 <bp-sym.h> and <bp-asm.h>.
21742 (memcpy): Don't use BP_SYM.
21743 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21745 (memcpy): Don't use BP_SYM.
21746 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21748 (memset): Don't use BP_SYM.
21749 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21750 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21751 (__bzero): Don't use BP_SYM.
21752 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21753 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21754 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21755 <bp-sym.h> and <bp-asm.h>.
21756 (memcmp): Don't use BP_SYM. Remove comment about bounded
21758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21759 <bp-sym.h> and <bp-asm.h>.
21760 (memcpy): Don't use BP_SYM.
21761 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21762 <bp-sym.h> and <bp-asm.h>.
21763 (memset): Don't use BP_SYM.
21764 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21765 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21766 (__bzero): Don't use BP_SYM.
21767 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21768 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21769 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21770 <bp-sym.h> and <bp-asm.h>.
21771 (strncmp): Don't use BP_SYM. Remove comment about bounded
21773 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21774 <bp-sym.h> and <bp-asm.h>.
21775 (memcpy): Don't use BP_SYM.
21776 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21777 <bp-sym.h> and <bp-asm.h>.
21778 (memset): Don't use BP_SYM.
21779 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21780 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21781 (__bzero): Don't use BP_SYM.
21782 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21783 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21784 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21785 <bp-sym.h> and <bp-asm.h>.
21786 (__memchr): Don't use BP_SYM.
21787 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21788 <bp-sym.h> and <bp-asm.h>.
21789 (memcmp): Don't use BP_SYM. Remove comment about bounded
21791 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21792 <bp-sym.h> and <bp-asm.h>.
21793 (memcpy): Don't use BP_SYM.
21794 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21795 <bp-sym.h> and <bp-asm.h>.
21796 (__mempcpy): Don't use BP_SYM.
21797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21798 <bp-sym.h> and <bp-asm.h>.
21799 (__memrchr): Don't use BP_SYM.
21800 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21801 <bp-sym.h> and <bp-asm.h>.
21802 (memset): Don't use BP_SYM.
21803 (__bzero): Likewise.
21804 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21805 <bp-sym.h> and <bp-asm.h>.
21806 (__rawmemchr): Don't use BP_SYM.
21807 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21808 <bp-sym.h> and <bp-asm.h>.
21809 (__STRCMP): Don't use BP_SYM.
21810 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21811 <bp-sym.h> and <bp-asm.h>.
21812 (strchr): Don't use BP_SYM.
21813 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21814 <bp-sym.h> and <bp-asm.h>.
21815 (__strchrnul): Don't use BP_SYM.
21816 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21817 <bp-sym.h> and <bp-asm.h>.
21818 (strlen): Don't use BP_SYM.
21819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21820 <bp-sym.h> and <bp-asm.h>.
21821 (strncmp): Don't use BP_SYM. Remove comment about bounded
21823 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21824 <bp-sym.h> and <bp-asm.h>.
21825 (__strnlen): Don't use BP_SYM.
21826 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21827 <bp-sym.h> and <bp-asm.h>.
21828 (__GI__setjmp): Don't use BP_SYM.
21829 (_setjmp): Likewise.
21830 (__sigsetjmp): Likewise.
21831 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21832 (L(start_addresses)): Don't use BP_SYM.
21833 (_start): Likewise.
21834 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21836 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21837 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21838 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21839 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21840 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21842 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21843 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21844 about bounded pointers.
21845 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21846 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21847 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21849 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21850 about bounded pointers. Remove GKM FIXME comments.
21851 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21852 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21854 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21855 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21856 Remove GKM FIXME comments.
21857 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21858 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21859 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21861 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21862 about bounded pointers. Remove GKM FIXME comment.
21863 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21865 (strncmp): Don't use BP_SYM. Remove comment about bounded
21867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21868 <bp-sym.h> and <bp-asm.h>.
21869 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21871 <bp-sym.h> and <bp-asm.h>.
21872 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21875 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21877 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21880 2013-03-05 David S. Miller <davem@davemloft.net>
21882 * po/es.po: Update from translation team.
21884 2013-03-05 Andreas Jaeger <aj@suse.de>
21886 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21887 <bits/mman-linux.h>.
21888 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21890 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21891 <bits/mman-linux.h> to end of file.
21892 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21894 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21895 <bits/mman-linux.h> to end of file.
21896 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21898 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21899 <bits/mman-linux.h> to end of file.
21901 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21902 (MCL_CURRENT, MCL_FUTURE): Define here.
21904 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21909 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21911 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21913 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21914 fourth parameter needed for rt_sigprocmask syscall.
21915 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21916 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21918 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21919 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21920 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21922 2013-03-04 Joseph Myers <joseph@codesourcery.com>
21925 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21926 comment about bounded pointers.
21927 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21928 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21930 2013-03-04 Andreas Jaeger <aj@suse.de>
21932 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21933 common definitions.
21935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21936 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21937 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21938 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21940 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21942 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21945 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21946 __ieee754_sqrl instead of __sqrl.
21948 2013-03-01 Joseph Myers <joseph@codesourcery.com>
21950 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21951 * sysdeps/powerpc/fpu_control.h: ... here.
21952 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21953 * sysdeps/powerpc/bits/fenvinline.h: ... here.
21954 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21955 * sysdeps/powerpc/bits/mathinline.h: ... here.
21957 2013-03-01 Roland McGrath <roland@hack.frob.com>
21959 * elf/dl-hwcaps.c (_dl_important_hwcaps):
21960 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21961 to just [NEED_DL_SYSINFO_DSO].
21962 * elf/dl-support.c: Likewise.
21963 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21964 * elf/rtld.c (dl_main): Likewise.
21965 * elf/setup-vdso.h (setup_vdso): Likewise.
21966 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21967 * sysdeps/unix/sysv/linux/dl-sysdep.c
21968 (_dl_discover_osversion): Likewise.
21970 2013-03-01 Carlos O'Donell <carlos@redhat.com>
21972 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21973 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21975 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
21977 * NEWS: Mention libm performance improvements and non-x86 PI
21980 * csu/libc-start.c (__pthread_initialize_minimal): Change
21981 function arguments.
21982 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21984 2013-02-28 Joseph Myers <joseph@codesourcery.com>
21987 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21988 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21989 <bp-sym.h> and <bp-asm.h>.
21990 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21991 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21993 (memcpy): Don't use BP_SYM.
21994 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21996 (__mpn_add_n): Don't use BP_SYM.
21997 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21998 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22000 (__mpn_addmul_1): Don't use BP_SYM.
22001 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22002 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22004 (_setjmp): Don't use BP_SYM.
22005 (__novmx_setjmp): Likewise.
22006 (__GI__setjmp): Likewise.
22007 (__vmx_setjmp): Likewise.
22008 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22010 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22011 (__bzero): Don't use BP_SYM.
22012 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22013 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22014 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22015 <bp-sym.h> and <bp-asm.h>.
22016 (memcpy): Don't use BP_SYM.
22017 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22018 <bp-sym.h> and <bp-asm.h>.
22019 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22020 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22021 <bp-sym.h> and <bp-asm.h>.
22022 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22023 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22025 (__mpn_lshift): Don't use BP_SYM.
22026 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22027 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22029 (memset): Don't use BP_SYM.
22030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22032 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22034 (__mpn_mul_1): Don't use BP_SYM.
22035 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22036 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22037 <bp-sym.h> and <bp-asm.h>.
22038 (memcmp): Don't use BP_SYM.
22039 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22040 <bp-sym.h> and <bp-asm.h>.
22041 (memcpy): Don't use BP_SYM.
22042 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22043 <bp-sym.h> and <bp-asm.h>.
22044 (memset): Don't use BP_SYM.
22045 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22046 <bp-sym.h> and <bp-asm.h>.
22047 (strncmp): Don't use BP_SYM.
22048 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22049 <bp-sym.h> and <bp-asm.h>.
22050 (memcpy): Don't use BP_SYM.
22051 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22052 <bp-sym.h> and <bp-asm.h>.
22053 (memset): Don't use BP_SYM.
22054 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22055 <bp-sym.h> and <bp-asm.h>.
22056 (__memchr): Don't use BP_SYM.
22057 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22058 <bp-sym.h> and <bp-asm.h>.
22059 (memcmp): Don't use BP_SYM.
22060 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22061 <bp-sym.h> and <bp-asm.h>.
22062 (memcpy): Don't use BP_SYM.
22063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22064 <bp-sym.h> and <bp-asm.h>.
22065 (__mempcpy): Don't use BP_SYM.
22066 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22067 <bp-sym.h> and <bp-asm.h>.
22068 (__memrchr): Don't use BP_SYM.
22069 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22070 <bp-sym.h> and <bp-asm.h>.
22071 (memset): Don't use BP_SYM.
22072 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22073 <bp-sym.h> and <bp-asm.h>.
22074 (__rawmemchr): Don't use BP_SYM.
22075 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22076 <bp-sym.h> and <bp-asm.h>.
22077 (__STRCMP): Don't use BP_SYM.
22078 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22079 <bp-sym.h> and <bp-asm.h>.
22080 (strchr): Don't use BP_SYM.
22081 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22082 <bp-sym.h> and <bp-asm.h>.
22083 (__strchrnul): Don't use BP_SYM.
22084 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22085 <bp-sym.h> and <bp-asm.h>.
22086 (strlen): Don't use BP_SYM.
22087 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22088 <bp-sym.h> and <bp-asm.h>.
22089 (strncmp): Don't use BP_SYM.
22090 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22091 <bp-sym.h> and <bp-asm.h>.
22092 (__strnlen): Don't use BP_SYM.
22093 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22095 (__mpn_rshift): Don't use BP_SYM.
22096 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22097 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22098 <bp-sym.h> and <bp-asm.h>.
22099 (__sigsetjmp): Don't use BP_SYM.
22100 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22101 (L(start_addresses)): Don't use BP_SYM.
22102 (_start): Likewise.
22103 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22105 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22106 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22107 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22108 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22110 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22111 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22112 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22113 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22115 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22117 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22118 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22120 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22122 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22123 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22124 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22126 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22128 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22130 (strncmp): Don't use BP_SYM,
22131 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22133 (__mpn_sub_n): Don't use BP_SYM.
22134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22135 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22137 (__mpn_submul_1): Don't use BP_SYM.
22138 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22140 <bp-sym.h> and <bp-asm.h>.
22141 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22143 <bp-sym.h> and <bp-asm.h>.
22144 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22147 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22150 Use ZK to minimize writes to Z.
22151 (sub_magnitudes): Simplify code a bit.
22152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22153 Use ZK to minimize writes to Z.
22154 (sub_magnitudes): Simplify code a bit.
22156 2013-02-27 Roland McGrath <roland@hack.frob.com>
22158 * csu/gmon-start.c: Add special exception to license text.
22160 2013-02-27 Richard Henderson <rth@redhat.com>
22162 * scripts/config.guess: Update from config.git.
22163 * scripts/config.sub: Likewise.
22165 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22167 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22169 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22171 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22173 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22175 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22177 2013-02-26 Roland McGrath <roland@hack.frob.com>
22179 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22180 [$(build-shared = yes].
22182 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22184 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22185 (__mul): Reduce iterations for calculating mantissa.
22187 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22189 (__mpranred): Likewise.
22192 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22193 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22195 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22197 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22198 Define __attribute__.
22200 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22202 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22204 * posix/regex_internal.h (__attribute): Remove.
22205 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22206 (re_string_context_at): Likewise.
22207 (bitset_not): Use __attribute__ and mark function as possibly
22209 (bitset_merge): Likewise.
22210 (bitset_mask): Likewise.
22211 (re_string_char_size_at): Likewise.
22212 (re_string_wchar_at): Likewise.
22213 (re_string_elem_size_at): Likewise.
22215 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22217 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22221 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22225 (denorm): Likewise.
22226 (__dbl_mp): Likewise.
22227 (add_magnitudes): Likewise.
22228 (sub_magnitudes): Likewise.
22232 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22235 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22238 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22242 up changes with default code.
22243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22246 2013-02-24 Allan McRae <allan@archlinux.org>
22248 * manual/socket.texi (The Internet Namespace): Order menu items
22249 to match that in the file.
22251 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22252 node listing of the info page menu.
22254 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22257 * sysdeps/i386/bp-asm.h: Remove file.
22258 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22259 (PARMS): Do not use macros from bp-asm.h.
22263 (__mpn_add_n): Do not use BP_SYM
22264 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22266 (PARMS): Do not use macros from bp-asm.h.
22269 (__mpn_addmul_1): Do not use BP_SYM
22270 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22272 (PARMS): Do not use macros from bp-asm.h.
22273 (SIGMSK): Likewise.
22274 (_setjmp): Likewise. Do not use BP_SYM.
22275 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22277 (PARMS): Do not use macros from bp-asm.h.
22278 (SIGMSK): Likewise.
22279 (setjmp): Likewise. Do not use BP_SYM.
22280 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22282 (PARMS): Do not use macros from bp-asm.h.
22283 (__frexp): Do not use BP_SYM.
22285 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22287 (PARMS): Do not use macros from bp-asm.h.
22288 (__frexpf): Do not use BP_SYM.
22289 (frexpf): Likewise.
22290 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22292 (PARMS): Do not use macros from bp-asm.h.
22293 (__frexpl): Do not use BP_SYM.
22294 (frexpl): Likewise.
22295 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22297 (PARMS): Do not use macros from bp-asm.h.
22298 (__remquo): Do not use BP_SYM.
22299 (remquo): Likewise.
22300 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22302 (PARMS): Do not use macros from bp-asm.h.
22303 (__remquof): Do not use BP_SYM.
22304 (remquof): Likewise.
22305 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22307 (PARMS): Do not use macros from bp-asm.h.
22308 (__remquol): Do not use BP_SYM.
22309 (remquol): Likewise.
22310 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22312 (PARMS): Do not use macros from bp-asm.h.
22315 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22316 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22318 (PARMS): Do not use macros from bp-asm.h.
22319 (strlen): Do not use BP_SYM.
22320 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22322 (PARMS): Do not use macros from bp-asm.h.
22326 (__mpn_add_n): Do not use BP_SYM.
22327 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22329 (PARMS): Do not use macros from bp-asm.h.
22332 (__mpn_addmul_1): Do not use BP_SYM.
22333 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22336 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22338 (PARMS): Do not use macros from bp-asm.h.
22341 (__mpn_lshift): Do not use BP_SYM.
22342 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22344 (PARMS): Do not use macros from bp-asm.h.
22348 (memcpy): Likewise. Do not use BP_SYM.
22349 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22350 libc_hidden_def and weak_alias.
22351 (mempcpy): Do not use BP_SYM in weak_alias.
22352 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22354 (PARMS): Do not use macros from bp-asm.h.
22357 [!BZERO_P] (CHR): Likewise.
22358 (memset): Likewise. Do not use BP_SYM.
22359 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22361 (PARMS): Do not use macros from bp-asm.h.
22364 (__mpn_mul_1): Do not use BP_SYM.
22365 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22367 (PARMS): Do not use macros from bp-asm.h.
22370 (__mpn_rshift): Do not use BP_SYM.
22371 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22373 (PARMS): Do not use macros from bp-asm.h.
22376 (strchr): Likewise. Do not use BP_SYM.
22377 (index): Do not use BP_SYM in weak_alias.
22378 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22380 (PARMS): Do not use macros from bp-asm.h.
22383 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22384 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22386 (PARMS): Do not use macros from bp-asm.h.
22387 (strlen): Do not use BP_SYM.
22388 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22390 (PARMS): Do not use macros from bp-asm.h.
22394 (__mpn_sub_n): Do not use BP_SYM.
22395 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22397 (PARMS): Do not use macros from bp-asm.h.
22400 (__mpn_submul_1): Do not use BP_SYM.
22401 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22403 (PARMS): Do not use macros from bp-asm.h.
22407 (__mpn_add_n): Do not use BP_SYM.
22408 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22411 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22413 (PARMS): Do not use macros from bp-asm.h.
22416 (memcmp): Do not use BP_SYM.
22417 (bcmp): Do not use BP_SYM in weak_alias.
22418 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22420 (PARMS): Do not use macros from bp-asm.h.
22424 (memcpy): Likewise. Do not use BP_SYM.
22425 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22427 (PARMS): Do not use macros from bp-asm.h.
22431 (memmove): Likewise. Do not use BP_SYM.
22432 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22434 (PARMS): Do not use macros from bp-asm.h.
22438 (__mempcpy): Likewise. Do not use BP_SYM.
22439 (mempcpy): Do not use BP_SYM in weak_alias.
22440 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22442 (PARMS): Do not use macros from bp-asm.h.
22445 [!BZERO_P] (CHR): Likewise.
22446 (memset): Likewise. Do not use BP_SYM.
22447 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22449 (PARMS): Do not use macros from bp-asm.h.
22451 (strcmp): Do not use BP_SYM.
22452 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22454 (PARMS): Do not use macros from bp-asm.h.
22457 [USE_AS_STRTOK_R] (SAVE): Likewise.
22458 (FUNCTION): Likewise. Do not use BP_SYM.
22459 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22461 (strtok_r): Likewise.
22462 (__GI___strtok_r): Likewise.
22463 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22464 (PARMS): Do not use macros from bp-asm.h.
22467 (__mpn_lshift): Do not use BP_SYM.
22468 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22469 (PARMS): Do not use macros from bp-asm.h.
22472 (__memchr): Do not use BP_SYM.
22473 (memchr): Do not use BP_SYM in weak_alias.
22474 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22475 (PARMS): Do not use macros from bp-asm.h.
22478 (memcmp): Do not use BP_SYM.
22479 (bcmp): Do not use BP_SYM in weak_alias.
22480 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22481 (PARMS): Do not use macros from bp-asm.h.
22484 (__mpn_mul_1): Do not use BP_SYM.
22485 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22487 (PARMS): Do not use macros from bp-asm.h.
22490 (__rawmemchr): Do not use BP_SYM.
22491 (rawmemchr): Do not use BP_SYM in weak_alias.
22492 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22493 (PARMS): Do not use macros from bp-asm.h.
22496 (__mpn_rshift): Do not use BP_SYM.
22497 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22498 (PARMS): Do not use macros from bp-asm.h.
22499 (SIGMSK): Likewise.
22500 (__sigsetjmp): Likewise. Do not use BP_SYM.
22501 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22502 (_start): Do not use BP_SYM.
22503 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22504 (PARMS): Do not use macros from bp-asm.h.
22507 (__stpcpy): Likewise. Do not use BP_SYM.
22508 (stpcpy): Do not use BP_SYM in weak_alias.
22509 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22511 (PARMS): Do not use macros from bp-asm.h.
22515 (__stpncpy): Likewise. Do not use BP_SYM.
22516 (stpncpy): Do not use BP_SYM in weak_alias.
22517 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22518 (PARMS): Do not use macros from bp-asm.h.
22521 (strchr): Likewise. Do not use BP_SYM.
22522 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22524 (PARMS): Do not use macros from bp-asm.h.
22527 (__strchrnul): Likewise. Do not use BP_SYM.
22528 (strchrnul): Do not use BP_SYM in weak_alias.
22529 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22531 (PARMS): Do not use macros from bp-asm.h.
22533 (strcspn): Do not use BP_SYM.
22534 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22536 (PARMS): Do not use macros from bp-asm.h.
22539 (strpbrk): Likewise. Do not use BP_SYM.
22540 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22542 (PARMS): Do not use macros from bp-asm.h.
22545 (strrchr): Likewise. Do not use BP_SYM.
22546 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22547 (PARMS): Do not use macros from bp-asm.h.
22549 (strspn): Do not use BP_SYM.
22550 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22551 (PARMS): Do not use macros from bp-asm.h.
22555 (FUNCTION): Likewise. Do not use BP_SYM.
22556 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22558 (strtok_r): Likewise.
22559 (__GI___strtok_r): Likewise.
22560 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22561 (PARMS): Do not use macros from bp-asm.h.
22565 (__mpn_sub_n): Do not use BP_SYM.
22566 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22568 (PARMS): Do not use macros from bp-asm.h.
22571 (__mpn_submul_1): Do not use BP_SYM.
22572 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22574 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22576 (PARMS): Do not use macros from bp-asm.h.
22581 (__clone): Do not use BP_SYM.
22582 (clone): Do not use BP_SYM in weak_alias.
22583 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22585 (PARMS): Do not use macros from bp-asm.h.
22587 (__mmap64): Do not use BP_SYM.
22588 (mmap64): Do not use BP_SYM in weak_alias.
22589 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22590 <bp-sym.h> and <bp-asm.h>.
22591 (PARMS): Do not use macros from bp-asm.h.
22592 (__posix_fadvise64_l64): Do not use BP_SYM.
22593 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22594 (PARMS): Do not use macros from bp-asm.h.
22596 (semtimedop): Do not use BP_SYM.
22597 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22600 2013-02-21 Allan McRae <allan@archlinux.org>
22602 * manual/message.texi (Charset conversion in gettext):
22603 Move @end statement to beginning of line.
22605 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22607 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22609 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22612 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22613 (denorm): Likewise.
22614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22617 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22619 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22620 tail-call to the resolved function if pltexit isn't needed.
22622 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22625 or Y being zero as being unlikely.
22626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22629 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22631 * manual/nss.texi (System Databases and Name Service Switch):
22632 Remove frobnicate @pxref.
22634 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22636 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22637 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22639 2013-02-20 Petr Machata <pmachata@redhat.com>
22641 * elf/elf.h (R_ARM_TARGET1): New macro.
22642 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22643 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22644 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22645 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22646 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22647 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22648 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22649 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22650 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22651 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22652 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22653 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22654 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22655 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22656 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22657 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22658 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22659 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22660 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22661 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22662 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22663 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22664 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22665 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22666 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22667 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22668 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22669 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22670 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22671 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22672 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22673 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22674 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22675 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22676 (R_ARM_THM_GOT_BREL12): Likewise.
22677 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22678 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22679 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22680 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22681 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22682 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22683 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22684 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22685 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22687 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22689 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22690 __attribute_used__ to __attribute__ ((unused)).
22692 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22694 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22697 comment formatting.
22698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22700 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22703 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22705 (ENTER): Remove both macro definitions.
22707 (CHECK_BOUNDS_LOW): Likewise.
22708 (CHECK_BOUNDS_HIGH): Likewise.
22709 (CHECK_BOUNDS_BOTH): Likewise.
22710 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22711 (RETURN_BOUNDED_POINTER): Likewise.
22712 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22713 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22714 (POP_ERRNO_LOCATION_RETURN): Likewise.
22715 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22716 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22717 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22719 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22720 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22721 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22722 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22723 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22724 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22725 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22726 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22727 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22728 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22729 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22730 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22731 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22732 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22734 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22735 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22737 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22738 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22739 * sysdeps/i386/i586/memset.S (memset): Likewise.
22740 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22741 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22742 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22744 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22745 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22746 Change uses of L(2) to L(out).
22747 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22748 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22749 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22750 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22751 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22753 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22754 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22756 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22757 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22758 (RETURN): Do not use macro LEAVE.
22759 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22760 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22761 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22762 * sysdeps/i386/i686/memset.S (memset): Likewise.
22763 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22764 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22765 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22766 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22768 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22769 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22770 L(1_2) and L(1_3) into L(1).
22771 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22772 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22773 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22774 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22775 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22776 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22777 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22778 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22779 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22781 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22782 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22783 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22784 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22785 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22786 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22787 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22788 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22789 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22790 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22791 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22792 * sysdeps/i386/strspn.S (strspn): Likewise.
22793 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22795 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22796 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22797 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22798 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22799 L(1_3) into L(1_1).
22800 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22801 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22802 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22804 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22806 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22808 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22811 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22813 * math/atest-exp.c (exp_mpn): Remove ROUND.
22814 * math/atest-exp2.c (exp_mpn): Likewise.
22815 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22817 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22818 * stdlib/tst-tls-atexit-lib.c: Likewise.
22819 * stdlib/tst-tls-atexit.c: Likewise.
22821 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22823 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22824 and __attribute_alloc_size__.
22826 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22828 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22829 __attribute_alloc_size__.
22830 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22831 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22833 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22835 * include/programs/xmalloc.h: New file.
22836 * catgets/gencat.c: Include it.
22837 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22838 * elf/pldd.c: Likewise.
22839 * iconv/iconv_charmap.c: Likewise.
22840 * iconv/iconvconfig.c: Likewise.
22841 * iconv/strtab.c: Likewise.
22842 * locale/programs/locale.c: Likewise.
22843 * locale/programs/localedef.h: Likewise.
22844 * locale/programs/simple-hash.c: Likewise.
22845 * nscd/nscd.h: Likewise.
22846 * nss/makedb.c: Likewise.
22847 * sysdeps/generic/ldconfig.h: Likewise.
22849 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22851 * Versions.def: Add GLIBC_2.18.
22852 * include/link.h (struct link_map): New member l_tls_dtor_count.
22853 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22854 (__call_tls_dtors): Likewise.
22855 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22856 __cxa_thread_atexit_impl.
22857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22865 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22866 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22873 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22874 (tests): Add test case tst-tls-atexit.
22875 (modules-names): Add shared library for tst-tls-atexit.
22876 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22877 (GLIBC_PRIVATE): Add __call_tls_dtors.
22878 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22880 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22881 * stdlib/tst-tls-atexit.c: New test case.
22882 * stdlib/tst-tls-atexit-lib.c: New test case.
22884 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22886 * elf/Versions (ld): Add _dl_find_dso_for_object.
22887 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22888 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22889 (dl_open_worker): Use _dl_find_dso_for_object.
22890 * elf/dl-sym.c (do_sym): Likewise.
22891 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22893 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22895 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22896 Syntactic changes only.
22897 (_dl_runtime_profile): Do a tail-call to the resolved function.
22899 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22902 * sysdeps/x86_64/bp-asm.h: Remove file.
22903 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22904 <bp-sym.h> and <bp-asm.h>.
22905 (__clone): Do not use BP_SYM.
22906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22907 <bp-sym.h> and <bp-asm.h>.
22908 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22909 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22911 (_setjmp): Do not use BP_SYM.
22912 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22914 (setjmp): Do not use BP_SYM.
22915 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22917 (mempcpy): Do not use BP_SYM in weak_alias.
22918 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22920 (strchr): Do not use BP_SYM.
22921 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22923 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22924 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22925 (_start): Do not use BP_SYM.
22926 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22928 (strcat): Do not use BP_SYM.
22929 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22931 (STRCMP): Do not use BP_SYM.
22932 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22934 (STRCPY): Do not use BP_SYM.
22935 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22937 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22939 (FUNCTION): Do not use BP_SYM.
22940 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22942 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22944 2013-02-17 Andreas Jaeger <aj@suse.de>
22946 * time/Versions: Sort entries.
22947 * string/Versions: Likewise.
22948 * resolv/Versions: Likewise.
22949 * posix/Versions: Likewise.
22950 * iconv/Versions: Likewise.
22951 * elf/Versions: Likewise.
22952 * wcsmbs/Versions: Likewise.
22954 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22956 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22957 loop termination condition.
22959 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22960 variable to calculate EZ.
22963 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22964 the lower precision input.
22966 2013-02-15 Joseph Myers <joseph@codesourcery.com>
22969 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22970 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22971 (run-via-rtld-prefix): Do not handle %-bp tests.
22972 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22973 (all-object-suffixes): Remove .ob.
22974 (bppfx): Remove variable.
22975 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22976 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22977 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22978 [$(build-bounded) = yes] (libtype.ob): Likewise.
22979 * Makerules (elide-routines.ob): Remove variable.
22980 (do-tests-clean): Do not handle *-bp.out.
22981 (common-mostlyclean): Do not handle *-bp and *-bp.out.
22982 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22983 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22984 (tests): Do not include $(tests-bp.out).
22985 (xtests): Do not include $(xtests-bp.out).
22986 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22987 [$(build-bounded) = yes] ($(addprefix
22988 $(objpfx),$(binaries-bounded))): Remove rule.
22989 ($(objpfx)%-bp.out): Remove rule.
22990 * config.make.in (build-bounded): Remove variable.
22991 * crypt/Makefile [$(build-bounded) = yes]
22992 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22993 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22994 append to variable.
22995 [$(build-bounded) = yes] (install-lib): Likewise.
22996 [$(build-bounded) = yes] (generated): Likewise.
22997 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22999 * intl/Makefile [$(build-bounded) = yes]
23000 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23001 * math/Makefile [$(build-bounded) = yes]
23002 ($(tests:%=$(objpfx)%-bp): Likewise.
23003 * misc/Makefile [$(build-bounded) = yes]
23004 ($(objpfx)tst-tsearch-bp): Likewise.
23005 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23006 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23008 * string/Makefile (o-objects.ob): Remove variable.
23009 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23010 (CFLAGS-.ob): Remove variable.
23011 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23012 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23013 both definitions of variable.
23014 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23015 (ASFLAGS-.ob): Remove variable.
23017 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23020 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23021 Remove __BOUNDED_POINTERS__ from condition.
23022 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23023 * string/bits/string2.h [!__NO_STRING_INLINES &&
23024 !__BOUNDED_POINTERS__]: Likewise.
23025 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23027 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23028 Remove conditional code.
23029 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23030 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23031 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23035 * csu/libc-start.c: Do not include <bp-sym.h>.
23036 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23037 * elf/dl-open.c: Do not include <bp-sym.h>.
23038 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23039 * math/fegetenv.c: Do not include <bp-sym.h>.
23040 (fegetenv): Do not use BP_SYM in versioned symbols.
23041 * nptl/sysdeps/pthread/bits/libc-lockP.h
23042 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23044 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23045 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23046 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23047 (__pthread_mutex_destroy): Likewise.
23048 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23049 (__pthread_mutex_lock): Likewise.
23050 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23051 (__pthread_mutex_trylock): Likewise.
23052 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23053 (__pthread_mutex_unlock): Likewise.
23054 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23055 (__pthread_mutexattr_init): Likewise.
23056 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23057 (__pthread_mutexattr_destroy): Likewise.
23058 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23059 (__pthread_mutexattr_settype): Likewise.
23060 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23061 (__pthread_rwlock_init): Likewise.
23062 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23063 (__pthread_rwlock_destroy): Likewise.
23064 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23065 (__pthread_rwlock_rdlock): Likewise.
23066 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23067 (__pthread_rwlock_tryrdlock): Likewise.
23068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23069 (__pthread_rwlock_wrlock): Likewise.
23070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23071 (__pthread_rwlock_trywrlock): Likewise.
23072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23073 (__pthread_rwlock_unlock): Likewise.
23074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23075 (__pthread_key_create): Likewise.
23076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23077 (__pthread_setspecific): Likewise.
23078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23079 (__pthread_getspecific): Likewise.
23080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23083 (_pthread_cleanup_push_defer): Likewise.
23084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23085 (_pthread_cleanup_pop_restore): Likewise.
23086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23087 (pthread_setcancelstate): Likewise.
23088 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23090 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23091 (memchr): Do not use BP_SYM in weak_alias.
23092 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23093 (fegetenv): Do not use BP_SYM in versioned symbols.
23094 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23095 (fesetenv): Do not use BP_SYM in versioned symbols.
23096 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23097 (feupdateenv): Do not use BP_SYM in versioned symbols.
23098 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23099 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23100 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23101 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23102 (open64): Do not use BP_SYM in weak_alias.
23103 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23104 (fegetenv): Do not use BP_SYM in versioned symbols.
23105 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23106 (fesetenv): Do not use BP_SYM in versioned symbols.
23107 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23108 (feupdateenv): Do not use BP_SYM in versioned symbols.
23109 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23110 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23111 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23112 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23113 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23114 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23115 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23117 (__libc_start_main): Do not use BP_SYM.
23119 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23122 redundant return line.
23124 (denorm): Likewise.
23125 (dbl_mp): Likewise.
23126 (sub_magnitudes): Likewise.
23132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23134 (denorm): Likewise.
23135 (dbl_mp): Likewise.
23136 (sub_magnitudes): Likewise.
23143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23146 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23149 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23150 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23152 of __mul for squares.
23153 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23157 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23160 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23163 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23165 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23166 prototype or function definition. Rename ubp_* variables and
23167 parameters. Remove argv definitions conditional on
23168 [__BOUNDED_POINTERS__].
23169 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23170 * elf/dl-runtime.c (_dl_fixup): Likewise.
23171 * include/set-hooks.h (RUN_HOOK): Likewise.
23172 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23174 * string/strcpy.c (strcpy): Do not use __unbounded.
23175 * sysdeps/generic/frame.h (struct layout): Likewise.
23176 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23177 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23178 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23179 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23180 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23181 (__backtrace): Likewise.
23182 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23184 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23185 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23186 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23188 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23189 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23190 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23191 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23192 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23193 Do not use __unbounded.
23194 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23195 Rename __unboundedrlimits parameter to rlimits in prototype.
23196 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23197 Do not use __unbounded.
23198 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23199 not use __ptrvalue.
23200 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23201 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23202 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23203 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23204 __ptrvalue or __unbounded.
23205 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23206 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23208 (__new_msgctl): Do not use __ptrvalue.
23209 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23211 (__libc_msgrcv): Do not use __ptrvalue.
23212 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23213 startup_info): Do not use __unbounded.
23214 (__libc_start_main): Likewise. Rename ubp_* variables and
23215 parameters. Remove argv definitions conditional on
23216 [__BOUNDED_POINTERS__].
23217 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23219 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23221 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23223 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23225 (__new_shmctl): Do not use __ptrvalue.
23226 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23227 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23229 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23230 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23231 (__libc_sigaction): Likewise.
23232 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23233 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23235 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23237 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23239 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23241 * string/mempcpy.c: Implement by calling memcpy.
23243 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23250 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23251 values in the mantissa.
23253 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23254 minimize writes to Z.
23255 (sub_magnitudes): Simplify code a bit.
23257 2013-02-12 Roland McGrath <roland@hack.frob.com>
23259 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23260 from the message. The linker prefixes all warnings with that already.
23262 2013-02-12 Andreas Schwab <schwab@suse.de>
23265 * posix/regexec.c (extend_buffers): Add parameter min_len.
23266 (check_matching): Pass minimum needed length.
23267 (clean_state_log_if_needed): Likewise.
23268 (get_subexp): Likewise.
23269 * posix/Makefile (tests): Add bug-regex34.
23270 (bug-regex34-ENV): Define.
23271 * posix/bug-regex34.c: New file.
23274 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23275 elements compare against the byte sequence of it, not its name.
23276 * posix/Makefile (tests): Add bug-regex35.
23277 (bug-regex35-ENV): Define.
23278 * posix/bug-regex35.c: New file.
23280 2013-02-11 Tom de Vries <tom@codesourcery.com>
23282 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23284 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23285 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23286 (CHECK_EOL): Add undef.
23288 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23290 * bits/stdlib-bsearch.h: New file.
23291 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23292 * stdlib/stdlib.h: Likewise.
23294 2013-02-11 Roland McGrath <roland@hack.frob.com>
23296 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23297 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23299 * manual/search.texi (Array Search Function): Add missing const in
23301 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23302 declaration to use rlim_t.
23303 (Basic Scheduling Functions): Remove erroneous const from
23304 sched_getparam prototype. Remove erroneous * from
23305 sched_get_priority_max and sched_get_priority_min prototypes.
23306 (Resource Usage): Fix summary @comment on vtimes to refer to
23307 sys/vtimes.h rather than vtimes.h.
23308 Add missing *s in vtimes prototype.
23309 (Limits on Resources): Fix ulimit prototype to return long int.
23310 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23311 prototypes to use long int rather than double.
23312 (BSD Random): Fix initstate and setstate to use char *, not void *.
23313 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23314 prototype to make second argument 'struct aiocb64 *const[]'.
23315 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23316 (Status of AIO Operations): Remove erroneous const in aio_return and
23317 aio_return64 prototypes.
23318 (Synchronizing I/O): Fix sync prototype to return void.
23319 * manual/startup.texi (Suboptions): Remove an erroneous const in
23320 getsubopt prototype.
23321 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23322 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23323 use size_t rather than int.
23324 (Scanning All Users): Likewise for getpwent_r.
23325 (Setting Groups): Add missing const to setgroups prototype.
23326 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23327 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23328 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23329 'const void *' rather than 'const char *'.
23330 (Host Address Functions): Likewise for inet_ntop.
23331 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23332 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23333 ssize_t for return value.
23334 (Sending Data): Likewise for send, sendto, sendmsg.
23335 (Socket Option Functions): Add a missing const in setsockopt prototype.
23336 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23337 use wchar_t for the argument.
23338 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23339 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23341 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23342 double/float/long double for second argument.
23343 Fix return types of significand, significandf, significandl.
23344 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23345 argument in fchmod prototype.
23346 (File Owner): Use uid_t and gid_t in fchown prototype.
23347 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23348 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23349 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23350 use 'const struct dirent **' as argument types to CMP function pointer
23352 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23353 (File Times): Fix summary magic @comment for struct utimbuf and utime
23354 to refer to utime.h, not time.h.
23355 * manual/string.texi (Argz Functions): Add missing const in
23356 argz_extract and argz_next prototypes.
23357 (Finding Tokens in a String): Likewise for basename.
23358 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23359 (Copying and Concatenation): Fix typo in wmemmove prototype.
23360 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23361 (Signal Stack): Remove erroneous const in sigstack prototype.
23362 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23364 (Simple Calendar Time): Likewise for stime.
23365 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23367 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23368 say sys/sysctl.h instead.
23369 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23370 and vsyslog prototypes.
23372 2013-02-11 Tom de Vries <tom@codesourcery.com>
23374 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23377 2013-02-11 Roland McGrath <roland@hack.frob.com>
23379 * misc/sys/mman.h: Fix typo in mremap comment.
23381 2013-02-08 Roland McGrath <roland@hack.frob.com>
23383 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23384 the '\0' terminator.
23386 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23389 * debug/segfault.c: Don't include <bp-checks.h>.
23390 * sysdeps/generic/bp-checks.h: Remove file.
23391 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23392 (__GETDENTS): Don't use CHECK_N.
23393 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23394 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23395 (__getgroups): Don't use CHECK_N.
23396 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23397 (setgroups): Don't use CHECK_N.
23398 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23399 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23400 (__libc_msgrcv): Don't use CHECK_N.
23401 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23402 (__libc_msgsnd): Don't use CHECK_N.
23403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23405 (__libc_pread): Don't use CHECK_N.
23406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23407 include <bp-checks.h>.
23408 (__libc_pread64): Don't use CHECK_N.
23409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23410 include <bp-checks.h>.
23411 (__libc_pwrite): Don't use CHECK_N.
23412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23413 include <bp-checks.h>.
23414 (__libc_pwrite64): Don't use CHECK_N.
23415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23417 (__libc_pread): Don't use CHECK_N.
23418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23419 include <bp-checks.h>.
23420 (__libc_pread64): Don't use CHECK_N.
23421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23422 include <bp-checks.h>.
23423 (__libc_pwrite): Don't use CHECK_N.
23424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23425 include <bp-checks.h>.
23426 (__libc_pwrite64): Don't use CHECK_N.
23427 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23428 (do_pread): Don't use CHECK_N.
23429 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23430 (do_pread64): Don't use CHECK_N.
23431 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23432 (do_pwrite): Don't use CHECK_N.
23433 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23434 (do_pwrite64): Don't use CHECK_N.
23435 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23436 (__libc_readv): Don't use CHECK_N.
23437 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23438 (semop): Don't use CHECK_N.
23439 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23441 (semtimedop): Don't use CHECK_N.
23442 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23443 (__libc_pread): Don't use CHECK_N.
23444 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23446 (__libc_pread64): Don't use CHECK_N.
23447 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23449 (__libc_pwrite): Don't use CHECK_N.
23450 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23452 (__libc_pwrite64): Don't use CHECK_N.
23453 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23455 (__libc_msgrcv): Don't use CHECK_N.
23456 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23457 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23458 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23459 (__libc_writev): Don't use CHECK_N.
23461 2013-02-08 Roland McGrath <roland@hack.frob.com>
23463 * string/strcpy.c: Removed unused variable.
23465 * Makeconfig (+sysdep-includes): Define with := rather than =.
23466 Use an existing include/ subdir of each sysdeps dir before it.
23468 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23470 * nscd/connection.c (register_traced_file): Comment function.
23471 [HAVE_INOTIFY] (union __inev): Define.
23472 [HAVE_INOTIFY] (inotify_check_files): New function.
23473 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23474 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23476 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23478 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23480 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23481 loaded if not already and that a failure is permanent.
23483 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23486 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23487 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23489 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23492 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23493 (CHECK_1_NULL_OK): Likewise.
23494 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23495 (__fxstat): Do not use CHECK_1.
23496 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23498 (___fxstat64): Do not use CHECK_1.
23499 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23501 (__fxstatat): Do not use CHECK_1.
23502 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23504 (__fxstatat64): Do not use CHECK_1.
23505 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23507 (__fxstat): Do not use CHECK_1.
23508 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23510 (__fxstatat): Do not use CHECK_1.
23511 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23513 (__getresgid): Do not use CHECK_1.
23514 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23516 (__getresuid): Do not use CHECK_1.
23517 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23519 (__lxstat): Do not use CHECK_1.
23520 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23522 (__old_msgctl): Do not use CHECK_1.
23523 (__new_msgctl): Likewise.
23524 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23526 (__new_setrlimit): Do not use CHECK_1.
23527 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23529 (__old_shmctl): Do not use CHECK_1.
23530 (__new_shmctl): Likewise.
23531 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23533 (__xstat): Do not use CHECK_1.
23534 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23535 (__lxstat): Do not use CHECK_1.
23536 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23538 (___lxstat64): Do not use CHECK_1.
23539 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23540 (__old_msgctl): Do not use CHECK_1.
23541 (__new_msgctl): Likewise.
23542 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23544 (__gettimeofday): Do not use CHECK_1.
23545 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23546 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23547 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23549 (__gettimeofday): Do not use CHECK_1.
23550 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23551 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23552 (__new_shmctl): Do not use CHECK_1.
23553 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23555 (do_sigtimedwait): Do not use CHECK_1.
23556 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23558 (do_sigwaitinfo): Do not use CHECK_1.
23559 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23561 (msgctl): Do not use CHECK_1.
23562 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23564 (shmctl): Do not use CHECK_1.
23565 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23566 (ustat): Do not use CHECK_1.
23567 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23569 (__fxstat): Do not use CHECK_1.
23570 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23572 (__fxstatat): Do not use CHECK_1.
23573 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23575 (__lxstat): Do not use CHECK_1.
23576 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23578 (__xstat): Do not use CHECK_1.
23579 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23580 (__xstat): Do not use CHECK_1.
23581 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23582 (___xstat64): Do not use CHECK_1.
23585 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23587 (CHECK_BOUNDS_HIGH): Likewise.
23588 * string/strcpy.c: Do not include <bp-checks.h>.
23589 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23591 2013-02-07 Roland McGrath <roland@hack.frob.com>
23593 * nscd/nscd-client.h (__nscd_drop_map_ref):
23594 Add __attribute__ ((unused)).
23595 * nis/nss-nisplus.h (niserr2nss): Likewise.
23597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23598 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23600 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23601 Remove inline keyword.
23602 * include/rounding-mode.h (round_away): Likewise.
23603 * libio/wfileops.c (adjust_wide_data): Likewise.
23604 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23605 (__m128i_strloadu_tolower): Likewise.
23606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23607 (__m128i_strloadu_tolower): Likewise.
23608 * time/mktime.c (ydhms_diff): Likewise.
23609 * locale/elem-hash.h (elem_hash): Likewise.
23610 * locale/setlocale.c (setdata): Likewise.
23611 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23612 (re_string_wchar_at): Likewise.
23613 (bitset_not, bitset_merge, bitset_mask): Likewise.
23614 [!(__GNUC__ > 3)] (inline): Remove macro.
23615 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23616 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23617 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23618 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23619 * string/memcmp.c (memcmp_bytes): Likewise.
23620 * locale/programs/locarchive.c (compute_hashval): Likewise.
23621 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23622 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23623 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23624 * nss/getent.c (print_rpc, print_protocols): Likewise.
23625 (print_passwd, print_group, print_aliases): Likewise.
23626 * nis/nss-nisplus.h (niserr2nss): Likewise.
23627 * nscd/connections.c (restart_p): Likewise.
23628 Change return type to bool.
23630 2013-02-05 Roland McGrath <roland@hack.frob.com>
23632 * Makeconfig (all-Depend-files): Add existing
23633 $(sorted-subdirs:=/Depend) files.
23634 (all-subdirs): Remove nss.
23635 * sysdeps/unix/inet/Subdirs: Add it here instead.
23636 * hesiod/Depend: New file.
23638 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23639 instead of calling alloca.
23641 * io/lseek.c (__lseek): Rename to __libc_lseek.
23642 Define __lseek as an alias.
23644 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23646 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23648 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23649 else clause and remove check for non-standard endianness.
23651 2013-02-04 David S. Miller <davem@davemloft.net>
23653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23655 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23658 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23659 (__ubp_memchr): Remove prototype.
23660 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23661 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23662 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23663 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23664 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23666 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23667 (__ubp_memchr): Likewise.
23668 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23669 (__ubp_memchr): Likewise.
23670 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23671 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23672 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23673 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23675 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23676 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23677 (__getcwd): Do not use CHECK_STRING.
23678 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23680 (__real_chown): Do not use CHECK_STRING.
23681 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23683 (fchownat): Do not use CHECK_STRING.
23684 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23686 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23688 (__lchown): Do not use CHECK_STRING.
23689 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23690 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23691 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23692 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23694 include <bp-checks.h>.
23695 (truncate64): Do not use CHECK_STRING.
23696 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23698 (__real_chown): Do not use CHECK_STRING.
23699 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23701 (__lchown): Do not use CHECK_STRING.
23702 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23704 (__chown): Do not use CHECK_STRING.
23705 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23707 (truncate64): Do not use CHECK_STRING.
23708 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23710 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23711 (__xmknod): Do not use CHECK_STRING.
23712 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23714 (__xmknodat): Do not use CHECK_STRING.
23715 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23716 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23718 2013-02-04 Andreas Schwab <schwab@suse.de>
23721 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23722 * include/netdb.h: Likewise for h_errno.
23723 * elf/tst-stackguard1.c: Include <tls.h>.
23725 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23727 * elf/link.h (struct link_map): Extend the l_addr comment.
23728 * include/link.h (struct link_map): Likewise.
23730 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23733 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23734 (BOUNDED_1): Remove macro.
23735 * debug/backtrace.c: Don't include <bp-checks.h>.
23736 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23737 (__backtrace): Likewise.
23738 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23740 (__backtrace): Don't use BOUNDED_1.
23741 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23743 (__backtrace): Don't use BOUNDED_1.
23744 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23745 (__backtrace): Don't use BOUNDED_1.
23746 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23747 (shmat): Don't use BOUNDED_N.
23749 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23752 * sysdeps/generic/bp-start.h: Remove file.
23753 * csu/libc-start.c: Don't include <bp-start.h>.
23754 (LIBC_START_MAIN): Set up __environ directly instead of using
23755 INIT_ARGV_and_ENVIRON.
23756 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23760 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23762 (CHECK_FCNTL): Likewise.
23763 (CHECK_N_PAGES): Likewise.
23766 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23768 (CHECK_SIGSET_NULL_OK): Likewise.
23769 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23771 (sigpending): Don't use CHECK_SIGSET.
23772 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23774 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23775 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23777 (do_sigsuspend): Don't use CHECK_SIGSET.
23778 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23780 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23781 (do_sigwait): Don't use CHECK_SIGSET.
23782 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23784 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23785 include <bp-checks.h>.
23786 (sigpending): Don't use CHECK_SIGSET.
23787 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23788 include <bp-checks.h>.
23789 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23790 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23792 (sigpending): Don't use CHECK_SIGSET.
23793 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23795 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23798 * sysdeps/generic/bp-semctl.h: Remove file.
23799 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23800 <bp-checks.h> and <bp-semctl.h>.
23801 (__old_semctl): Don't use CHECK_SEMCTL.
23802 (__new_semctl): Likewise.
23803 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23805 (__old_semctl): Don't use CHECK_SEMCTL.
23806 (__new_semctl): Likewise.
23807 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23808 <bp-checks.h> and <bp-semctl.h>.
23809 (__old_semctl): Don't use CHECK_SEMCTL.
23810 (__new_semctl): Likewise.
23811 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23812 <bp-checks.h> and <bp-semctl.h>.
23813 (semctl): Don't use CHECK_SEMCTL.
23816 * Makerules (elide-bp-thunks): Remove variable.
23817 (elide-routines.oS): Don't use $(elide-bp-thunks).
23818 (elide-routines.os): Likewise.
23819 (elide-routines.o): Likewise.
23820 (elide-routines.op): Likewise.
23821 (elide-routines.og): Likewise.
23822 (objects): Don't use $(bp-thunks).
23823 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23825 (common-generated): Do not add s-proto-bp.d.
23826 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23829 Do not generate makefile rules for bounded-pointer thunks.
23830 * sysdeps/generic/bp-thunks.h: Remove file.
23831 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23832 * sysdeps/unix/s-proto-bp.S: Likewise.
23835 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23836 parts of result separately when argument is not close to line from
23837 -i to i and one part of argument is small.
23838 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23839 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23840 * math/libm-test.inc (cacos_test): Add more tests.
23841 (casin_test): Likewise.
23842 (casinh_test): Likewise.
23843 * sysdeps/i386/fpu/libm-test-ulps: Update.
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23846 2013-01-31 David S. Miller <davem@davemloft.net>
23848 * po/de.po: Update from translation team.
23850 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23852 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23854 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23856 * configure.in (_AC_PROG_CC_C89): New definition.
23857 * configure: Regenerate.
23859 * configure.in (AC_PROG_CPP): New definition.
23860 * configure: Regenerate.
23862 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23864 * debug/tst-backtrace.h: New file.
23865 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23866 (ret): Remove variable.
23868 (FAIL): Remove macro.
23869 (NO_INLINE): Likewise.
23870 (fn1): Use match function instead of strstr.
23871 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23872 (ret): Remove variable.
23874 (FAIL): Remove macro.
23875 (NO_INLINE): Likewise.
23876 (fn): Use match function instead of strstr.
23877 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23878 (ret): Remove variable.
23880 (FAIL): Remove macro.
23881 (NO_INLINE): Likewise.
23882 (handle_signal): Use match function instead of strstr.
23883 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23884 (ret): Remove variable.
23886 (FAIL): Remove macro.
23887 (NO_INLINE): Likewise.
23888 (handle_signal): Use match function instead of strstr.
23890 2013-01-23 Roland McGrath <roland@hack.frob.com>
23892 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23894 2013-01-23 David S. Miller <davem@davemloft.net>
23896 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23897 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23898 argument of CAS if possible.
23899 * sysdeps/sparc/sparc64/bits/atomic.h
23900 (__arch_compare_and_exchange_val_32_acq): Likewise.
23901 (__arch_compare_and_exchange_val_64_acq): Likewise.
23903 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23905 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23906 * sysdeps/posix/ulimit.c: ... this.
23907 Include <limits.h>.
23908 * sysdeps/unix/bsd/ulimit.c: Remove file.
23910 2013-01-23 Adam Conrad <adconrad@0c3.net>
23912 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23913 (LDFLAGS-tst-array5): Likewise.
23915 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23918 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23919 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23920 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23921 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23923 2013-01-21 David S. Miller <davem@davemloft.net>
23925 * sysdeps/sparc/backtrace.c: New file.
23926 * sysdeps/sparc/sparc32/backtrace.h: New file.
23927 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23928 * sysdeps/sparc/sparc64/backtrace.h: New file.
23929 * sysdeps/sparc/sparc64/backtrace.c: Delete.
23930 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23933 2013-01-21 Andreas Schwab <schwab@suse.de>
23936 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23939 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
23941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23945 2013-01-18 Joseph Myers <joseph@codesourcery.com>
23946 Mark Mitchell <mark@codesourcery.com>
23947 Tom de Vries <tom@codesourcery.com>
23948 Paul Pluzhnikov <ppluzhnikov@google.com>
23950 * debug/tst-backtrace2.c: New file.
23951 * debug/tst-backtrace3.c: Likewise.
23952 * debug/tst-backtrace4.c: Likewise.
23953 * debug/tst-backtrace5.c: Likewise.
23954 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23955 (CFLAGS-tst-backtrace3.c): Likewise.
23956 (CFLAGS-tst-backtrace4.c): Likewise.
23957 (CFLAGS-tst-backtrace5.c): Likewise.
23958 (LDFLAGS-tst-backtrace2): Likewise.
23959 (LDFLAGS-tst-backtrace3): Likewise.
23960 (LDFLAGS-tst-backtrace4): Likewise.
23961 (LDFLAGS-tst-backtrace5): Likewise.
23962 (tests): Add new tests tst-backtrace2, tst-backtrace3,
23963 tst-backtrace4 and tst-backtrace5.
23965 2013-01-18 Anton Blanchard <anton@samba.org>
23966 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23968 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23969 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23970 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23971 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23973 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23974 "+r" and remove output regs list as redundant. Add explicit inline
23975 asm to specify register of return val to work around compiler codegen
23976 bug. Remove (int) cast on return value. Add return type parameter to
23977 use in macro so that this macro does not truncate return value for
23979 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23980 pass to INTERNAL_VSYSCALL_NCS.
23981 (INLINE_VSYSCALL): Add 'long int' as return type to
23982 INTERNAL_VSYSCALL_NCS macro invocation.
23983 (INTERNAL_VSYSCALL): Add 'long int' as return type to
23984 INTERNAL_VSYSCALL_NCS macro invocation.
23985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23987 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23990 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23991 Fix application of SIMD FP exception mask.
23993 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23994 mp_no from a power of two.
23995 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23996 __mpexp_twomm1. Use __pow_mp.
23998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24001 2013-01-17 David S. Miller <davem@davemloft.net>
24003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24005 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24008 * include/complex.h: Condition contents on [!_COMPLEX_H].
24009 (__kernel_casinhf): New prototype.
24010 (__kernel_casinh): Likewise.
24011 (__kernel_casinhl): Likewise.
24012 * math/Makefile (libm_calls): Add k_casinh.
24013 * math/k_casinh.c: New file.
24014 * math/k_casinhf.c: Likewise.
24015 * math/k_casinhl.c: Likewise.
24016 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24017 finite nonzero arguments.
24018 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24019 finite nonzero arguments.
24020 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24021 finite nonzero arguments.
24022 * math/s_casinh.c: Do not include <float.h>.
24023 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24024 * math/s_casinhf.c: Do not include <float.h>.
24025 (__casinhf): Move code for finite nonzero arguments to
24027 * math/s_casinhl.c: Do not include <float.h>.
24028 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24030 (__casinhl): Move code for finite nonzero arguments to
24032 * math/libm-test.inc (cacos_test): Add more tests.
24033 * sysdeps/i386/fpu/libm-test-ulps: Update.
24034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24036 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24038 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24039 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24040 [!HAVE_MREMAP]: Remove [defined linux] case.
24041 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24043 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24045 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24047 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24049 * elf/elf.h (R_386_SIZE32): New relocation.
24050 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24052 (elf_machine_rela): Likewise.
24053 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24054 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24056 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24058 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24059 (FP_FAST_FMA): Do not define.
24060 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24061 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24062 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24063 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24064 !_SOFT_FLOAT]: Likewise.
24065 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24066 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24068 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24069 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24070 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24071 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24072 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24073 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24076 2013-01-16 Andreas Schwab <schwab@suse.de>
24079 * include/stdlib.h (__mktemp): Add declaration.
24080 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24081 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24083 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24085 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24087 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24088 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24089 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24091 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24092 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24094 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24096 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24097 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24100 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24101 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24103 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24105 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24107 2013-01-15 David S. Miller <davem@davemloft.net>
24109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24110 trunc{,f} to libm-sysdep_routes.
24111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24121 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24122 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24123 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24124 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24125 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24126 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24129 nearbyint{,f} to libm-sysdep_routes.
24130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24141 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24143 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24144 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24146 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24147 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24148 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24150 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24151 libc_feholdexcept and libc_fesetenv.
24153 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24155 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24157 2013-01-14 David S. Miller <davem@davemloft.net>
24159 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24160 (SPARC_ASM_VIS2_IFUNC): Likewise.
24161 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24163 use of 'siam' instruction.
24164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24172 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24173 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24185 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24197 routines to libm-sysdep_routines.
24198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24201 fdim/fdimf to libm-sysdep_routines.
24202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24210 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24211 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24212 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24213 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24215 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24217 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24218 to optimize copies.
24220 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24222 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24225 local variable MPTWO.
24226 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24229 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24231 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24234 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24236 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24238 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24240 * manual/pattern.texi (glob_t): Document gl_flags.
24241 (glob64_t): Likewise.
24243 2013-01-11 David S. Miller <davem@davemloft.net>
24245 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24246 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24247 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24248 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24249 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24250 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24251 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24252 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24253 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24254 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24255 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24256 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24257 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24260 sparc V9 rather than using V8 code.
24261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24266 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24269 2013-01-11 Roland McGrath <roland@hack.frob.com>
24271 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24272 not in the main loop.
24273 * configure: Regenerated.
24275 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24277 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24278 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24280 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24281 [!__GLIBC_HAVE_LONG_LONG] case.
24282 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24283 condition to just #else.
24284 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24285 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24286 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24287 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24289 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24290 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24291 #elif condition to just #else.
24292 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24293 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24294 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24295 #elif condition to just #else.
24297 2013-01-11 Steve Ellcey <sellcey@mips.com>
24299 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24300 (EF_MIPS_ARCH_64): Fix value.
24301 (EF_MIPS_ARCH_32R2): New.
24302 (EF_MIPS_ARCH_64R2): New.
24304 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24306 * Makeconfig (+link-pie-before-libc): New.
24307 (+link-pie-after-libc): Likewise.
24308 (+link-pie-tests): Likewise.
24309 (+link-pie): Rewritten.
24310 (link-before-libc): Remove $(config-LDFLAGS).
24311 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24312 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24313 (config-LDFLAGS): Renamed to ...
24314 (rtld-LDFLAGS): This.
24315 (rtld-tests-LDFLAGS): New macro.
24316 (link-libc-rpath-link): Likewise.
24317 (link-libc-tests-rpath-link): Likewise.
24318 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24319 (link-libc): Prepand $(link-libc-rpath-link).
24320 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24321 (test-program-prefix): New macro.
24322 (test-via-rtld-prefix): Likewise.
24323 (test-program-cmd): Likewise.
24324 (host-test-program-cmd): Likewise.
24325 * Makefile ($(common-objpfx)testrun.sh): Replace
24326 $(run-program-prefix) with $(test-program-prefix).
24327 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24329 ($(common-objpfx)shlib.lds): Likewise.
24330 (build-module-helper): Likewise.
24331 ($(common-objpfx)format.lds): Likewise.
24332 * Rules (binaries-pie-tests): New.
24333 (binaries-pie-notests): Likewise.
24334 (binaries-pie): Rewritten.
24335 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24336 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24337 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24338 (make-test-out): Replace $(host-built-program-cmd) with
24339 $(host-test-program-cmd).
24340 * config.make.in (build-hardcoded-path-in-tests): New variable.
24341 * configure.in (--enable-hardcoded-path-in-tests): New configure
24343 (hardcoded_path_in_tests): New AC_SUBST.
24344 * configure: Regenerated.
24345 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24346 $(built-program-cmd) with $(test-program-cmd).
24347 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24348 (test_program_cmd): This.
24349 * elf/Makefile ($(objpfx)order.out): Run test with
24350 $(test-program-prefix).
24351 ($(objpfx)order2.out): Likewise.
24352 ($(objpfx)tst-initorder.out): Likewise.
24353 ($(objpfx)tst-initorder2.out): Likewise.
24354 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24355 $(test-program-cmd).
24356 ($(objpfx)tst-array1-static.out): Likewise.
24357 ($(objpfx)tst-array2.out): Likewise.
24358 ($(objpfx)tst-array3.out): Likewise.
24359 ($(objpfx)tst-array4.out): Likewise.
24360 ($(objpfx)tst-array5.out): Likewise.
24361 ($(objpfx)tst-array5-static.out): Likewise.
24362 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24363 $(test-program-cmd).
24364 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24365 $(run-program-prefix) with $(test-program-prefix).
24366 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24367 (test_program_prefix): This.
24368 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24369 $(run-program-prefix) with $(test-program-prefix).
24370 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24371 (test_program_prefix): This.
24372 * iconvdata/tst-tables.sh: Likewise.
24373 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24374 $(run-program-prefix) with $(test-program-prefix).
24375 ($(objpfx)tst-translit.out): Likewise.
24376 ($(objpfx)tst-gettext2.out): Likewise.
24377 ($(objpfx)tst-gettext4.out): Likewise.
24378 ($(objpfx)tst-gettext6.out): Likewise.
24379 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24380 (test_program_prefix): This.
24381 * intl/tst-gettext2.sh: Likewise.
24382 * intl/tst-gettext4.sh Likewise.
24383 * intl/tst-gettext6.sh: Likewise.
24384 * intl/tst-translit.sh: Likewise.
24385 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24386 with $(test-program-cmd).
24387 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24388 $(run-program-prefix) with $(test-program-prefix).
24389 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24390 (test_program_prefix): This.
24391 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24392 $(run-program-prefix) with $(test-program-prefix).
24393 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24394 (test_program_prefix): This.
24395 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24396 * posix/Makefile ($(objpfx)globtest.out): Replace
24397 $(run-via-rtld-prefix) and $(test-wrapper) with
24398 $(test-program-prefix) and $(test-via-rtld-prefix).
24399 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24400 $(test-program-prefix).
24401 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24402 $(host-test-program-cmd).
24403 (tst-spawn-ARGS): Likewise.
24404 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24405 $(test-program-prefix).
24406 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24407 (test_via_rtld_prefix): This.
24408 (test_wrapper): Renamed to ...
24409 (test_program_prefix): This.
24410 (run_program_prefix): Replaced by test_program_prefix.
24411 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24412 (test_program_prefix): This.
24413 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24414 with $(host-test-program-cmd).
24415 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24416 $(run-program-prefix) with $(test-program-prefix).
24417 ($(objpfx)tst-printf.out): Likewise.
24418 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24419 $(test-program-cmd).
24420 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24421 (test_program_prefix): This.
24422 * stdio-common/tst-unbputc.sh: Likewise.
24423 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24424 $(run-program-prefix) with $(test-program-prefix).
24425 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24426 (test_program_prefix): This.
24427 * string/Makefile ($(objpfx)tst-svc.out): Replace
24428 $(built-program-cmd) with $(test-program-cmd).
24430 2013-01-11 Andreas Jaeger <aj@suse.de>
24433 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24434 value. Sync with Linux 3.7.
24436 2013-01-10 David S. Miller <davem@davemloft.net>
24438 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
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 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24446 * configure: Regenerated.
24448 2013-01-10 David S. Miller <davem@davemloft.net>
24450 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24451 sparc V9 rather than using V8 code.
24452 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24453 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24455 2013-01-10 Roland McGrath <roland@hack.frob.com>
24457 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24458 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24459 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24460 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24461 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24462 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24463 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24464 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24465 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24466 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24467 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24468 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24469 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24470 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24471 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24472 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24473 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24474 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24475 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24476 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24477 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24478 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24479 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24480 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24481 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24482 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24483 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24485 2013-01-10 David S. Miller <davem@davemloft.net>
24487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24489 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24491 * posix/Makefile (tests-static): New variable.
24492 (tests): Add $(tests-static).
24493 (tst-exec-static-ARGS): New variable.
24494 (tst-spawn-static-ARGS): Likewise.
24495 * posix/tst-exec-static.c: New file.
24496 * posix/tst-spawn-static.c: Likewise.
24497 * posix/tst-exec.c: Support run directly.
24498 * posix/tst-spawn.c: Likewise.
24500 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24502 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24504 * math/bits/mathcalls.h (llrint): Likewise.
24505 (llround): Likewise.
24506 * stdlib/stdlib.h (struct drand48_data): Likewise.
24507 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24508 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24509 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24511 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24513 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24514 (elf_greg_t): Likewise.
24515 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24516 (__jmp_buf): Likewise.
24517 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24519 (llrint): Likewise, for all definitions.
24520 (llrintl): Likewise.
24522 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24523 Remove [__GNUC__] condition.
24524 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24525 condition to just [__USE_ISOC99].
24526 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24528 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24531 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24532 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24534 (_POSIX_V6_ILP32_OFF32): Likewise.
24535 (_XBS5_ILP32_OFF32): Likewise.
24536 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24537 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24539 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24541 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24544 doubles __mpexp_twomm1. Adjust usage.
24545 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24548 2013-01-10 Andreas Schwab <schwab@suse.de>
24551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24552 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24554 2013-01-09 David S. Miller <davem@davemloft.net>
24557 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24558 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24559 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24560 (TCP_FASTOPEN): Define.
24561 (tcp_repair_opt): New structure.
24562 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24564 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24565 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24566 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24567 (tcp_cookie_transactions): New structure.
24569 2013-01-09 Anton Blanchard <anton@samba.org>
24571 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24572 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24573 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24574 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24576 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24578 * include/features.h (__USE_ANSI): Remove.
24580 2013-01-09 Roland McGrath <roland@hack.frob.com>
24582 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24584 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24586 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24588 * sysdeps/s390/fpu/libm-test-ulps: Update.
24590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24592 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24596 (denorm): Likewise.
24597 (__mp_dbl): Likewise.
24598 (__dbl_mp): Likewise.
24599 (add_magnitudes): Likewise.
24600 (sub_magnitudes): Likewise.
24606 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24610 (denorm): Likewise.
24611 (__mp_dbl): Likewise.
24612 (__dbl_mp): Likewise.
24613 (add_magnitudes): Likewise.
24614 (sub_magnitudes): Likewise.
24620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24624 (denorm): Likewise.
24625 (__mp_dbl): Likewise.
24626 (__dbl_mp): Likewise.
24627 (add_magnitudes): Likewise.
24628 (sub_magnitudes): Likewise.
24635 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24637 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24638 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24639 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24640 2 && __USE_EXTERN_INLINES]: Likewise.
24642 2013-01-08 Andreas Jaeger <aj@suse.de>
24645 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24647 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24648 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24650 2013-01-07 Anton Blanchard <anton@samba.org>
24652 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24653 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24654 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24655 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24656 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24657 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24658 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24659 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24662 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24663 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24664 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24665 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24666 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24667 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24668 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24669 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24670 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24671 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24672 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24673 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24675 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24676 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24677 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24678 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24679 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24680 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24681 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24682 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24684 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24685 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24686 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24687 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24688 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24690 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24691 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24692 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24694 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24696 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24698 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24699 (__MALLOC_PMT): Likewise.
24700 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24701 [__GNUC__], only on [_LIBC].
24702 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24703 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24704 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24705 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24706 forward declaration.
24707 (realloc_hook_ini): Likewise.
24708 (memalign_hook_ini): Likewise.
24709 (__libc_memalign): Do not use __MALLOC_PMT in variable
24711 (__libc_valloc): Likewise.
24712 (__libc_pvalloc): Likewise.
24713 (__libc_calloc): Likewise.
24714 (__posix_memalign): Likewise.
24717 * math/s_casinh.c: Include <float.h>.
24718 (__casinh): Do not do computation with squaring and square root
24719 for large arguments.
24720 * math/s_casinhf.c: Include <float.h>.
24721 (__casinhf): Do not do computation with squaring and square root
24722 for large arguments.
24723 * math/s_casinhl.c: Include <float.h>.
24724 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24725 (__casinhl): Do not do computation with squaring and square root
24726 for large arguments.
24727 * math/libm-test.inc (casin_test): Add more tests.
24728 (casinh_test): Likewise.
24729 * sysdeps/i386/fpu/libm-test-ulps: Update.
24730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24732 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24734 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24735 (__x86_64_raw_data_cache_size): Likewise.
24736 (__x86_64_data_cache_size_half): Likewise.
24737 (__x86_64_raw_data_cache_size_half): Likewise.
24738 (__x86_64_shared_cache_size): Likewise.
24739 (__x86_64_raw_shared_cache_size): Likewise.
24740 (__x86_64_shared_cache_size_half): Likewise.
24741 (__x86_64_raw_shared_cache_size_half): Likewise.
24742 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24744 (__x86_data_cache_size): This.
24745 (__x86_64_raw_data_cache_size): Renamed to ...
24746 (__x86_raw_data_cache_size): This.
24747 (__x86_64_data_cache_size_half): Renamed to ...
24748 (__x86_data_cache_size_half): This.
24749 (__x86_64_raw_data_cache_size_half): Renamed to ...
24750 (__x86_raw_data_cache_size_half): This.
24751 (__x86_64_shared_cache_size): Renamed to ...
24752 (__x86_shared_cache_size): This.
24753 (__x86_64_raw_shared_cache_size): Renamed to ...
24754 (__x86_raw_shared_cache_size): This.
24755 (__x86_64_shared_cache_size_half): Renamed to ...
24756 (__x86_shared_cache_size_half): This.
24757 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24758 (__x86_raw_shared_cache_size_half): This.
24759 * sysdeps/x86_64/memcpy.S: Updated.
24760 * sysdeps/x86_64/memset.S: Likewise.
24761 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24762 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24765 2013-01-04 David S. Miller <davem@davemloft.net>
24767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24769 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24771 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24772 1 to avoid redefinition warning.
24773 (__USE_GNU): Don't define.
24774 (init_signaling_nan): Protoize.
24776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24778 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24780 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24782 (__cpymn): Likewise.
24783 (norm): Remove commented code.
24784 (denorm): Likewise.
24785 (__mp_dbl): Likewise.
24787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24788 (__cpymn): Likewise.
24789 (norm): Remove commented code.
24790 (denorm): Likewise.
24791 (__mp_dbl): Likewise.
24794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24795 mp_no value for 1.0 and 2.0.
24796 (norm): Use RADIXI instead of radixi.d.
24797 (denorm): Likewise.
24798 (__mul): Use 0.0 instead of zero.d.
24799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24800 mp_no value for 1.0 and 2.0.
24801 (norm): Use RADIXI instead of radixi.d.
24802 (denorm): Likewise.
24803 (__mul): Use 0.0 instead of zero.d.
24805 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24808 * math/s_casinh.c (__casinh): Reduce finite argument to first
24809 quadrant then set signs of results at the end.
24810 * math/s_casinhf.c (__casinhf): Likewise.
24811 * math/s_casinhl.c (__casinhl): Likewise.
24812 * math/libm-test.inc (casin_test): Add more tests.
24813 (casinh_test): Likewise.
24814 * sysdeps/i386/fpu/libm-test-ulps: Update.
24815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24817 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24819 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24821 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24823 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24825 (denorm): Likewise.
24826 (__mp_dbl): Likewise.
24829 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24830 and adjust the header comment.
24832 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24833 variable name from declaration.
24835 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24838 Initialize COMMON_CPUID_INDEX_7 element.
24839 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24840 (CPUID_RTM): Likewise.
24841 (HAS_RTM): Likewise.
24842 (COMMON_CPUID_INDEX_7): New enum.
24844 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24847 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24848 size is zero, record memory as freed.
24850 2013-01-03 Andreas Jaeger <aj@suse.de>
24852 * po/ia.po: Add new Interlingua translation.
24854 2012-01-03 Allan McRae <allan@archlinux.org>
24856 * locale/programs/localedef.c: Fix description of '--posix' flag.
24858 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24860 * NEWS: Update dates in second copyright notice.
24861 * README: Update copyright dates in example.
24862 * manual/libc.texinfo: Update copyright dates.
24863 * scripts/test-installation.pl: Update copyright date in --version
24866 * hurd/ctty-input.c: Fix copyright notice formatting.
24867 * hurd/ctty-output.c: Likewise.
24868 * hurd/dtable.c: Likewise.
24869 * hurd/hurd-raise.c: Likewise.
24870 * hurd/hurdprio.c: Likewise.
24871 * hurd/msgportdemux.c: Likewise.
24872 * misc/sys/file.h: Likewise.
24873 * misc/sys/ioctl.h: Likewise.
24874 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24875 * sysdeps/mach/hurd/chdir.c: Likewise.
24876 * sysdeps/mach/hurd/fchdir.c: Likewise.
24877 * sysdeps/mach/hurd/rename.c: Likewise.
24878 * sysdeps/mach/hurd/rmdir.c: Likewise.
24879 * sysdeps/mach/hurd/seekdir.c: Likewise.
24880 * sysdeps/mach/hurd/setsid.c: Likewise.
24881 * sysdeps/posix/wait3.c: Likewise.
24883 * All files with FSF copyright notices: Update copyright dates
24884 using scripts/update-copyrights.
24885 * intl/plural.c: Regenerated.
24886 * locale/programs/charmap-kw.h: Likewise.
24887 * locale/programs/locfile-kw.h: Likewise.
24889 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24891 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24894 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24895 calculation loop and add branch prediction.
24897 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24898 check access beyond bounds of m1np.
24900 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24902 (__inv): Remove local variable MPTWO to use the global
24904 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24908 MP3HALFS static const.
24910 2013-01-01 David S. Miller <davem@davemloft.net>
24912 * po/ca.po: Update from translation team.
24914 2013-01-01 Joseph Myers <joseph@codesourcery.com>
24916 * scripts/update-copyrights: New file.
24917 * Makeconfig: Reformat copyright notice.
24918 * ctype/ctype.h: Likewise.
24919 * debug/swprintf_chk.c: Likewise.
24920 * elf/dl-cache.c: Likewise.
24921 * elf/dl-debug.c: Likewise.
24922 * elf/dl-object.c: Likewise.
24923 * grp/initgroups.c: Likewise.
24924 * hurd/Makefile: Likewise.
24925 * hurd/hurd/signal.h: Likewise.
24926 * hurd/hurdfault.c: Likewise.
24927 * hurd/hurdioctl.c: Likewise.
24928 * hurd/hurdlookup.c: Likewise.
24929 * hurd/intr-msg.c: Likewise.
24930 * iconv/gconv_open.c: Likewise.
24931 * libio/swprintf.c: Likewise.
24932 * locale/lc-ctype.c: Likewise.
24933 * locale/nl_langinfo.c: Likewise.
24934 * mach/Machrules: Likewise.
24935 * mach/Makefile: Likewise.
24936 * malloc/obstack.h: Likewise.
24937 * manual/Makefile: Likewise.
24938 * manual/tsort.awk: Likewise.
24939 * misc/bits/stab.def: Likewise.
24940 * nis/nis_print_group_entry.c: Likewise.
24941 * nis/nis_table.c: Likewise.
24942 * nis/nss_compat/compat-pwd.c: Likewise.
24943 * nis/nss_compat/compat-spwd.c: Likewise.
24944 * po/Makefile: Likewise.
24945 * posix/fnmatch.c: Likewise.
24946 * posix/regex.h: Likewise.
24947 * resolv/Makefile: Likewise.
24948 * resolv/nss_dns/dns-network.c: Likewise.
24949 * resolv/res_hconf.c: Likewise.
24950 * scripts/gen-sorted.awk: Likewise.
24951 * soft-fp/soft-fp.h: Likewise.
24952 * stdio-common/printf.h: Likewise.
24953 * stdlib/monetary.h: Likewise.
24954 * stdlib/random.c: Likewise.
24955 * stdlib/random_r.c: Likewise.
24956 * sysdeps/generic/Makefile: Likewise.
24957 * sysdeps/gnu/Makefile: Likewise.
24958 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24960 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24962 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24963 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24964 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24966 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24967 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24968 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24969 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24970 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24971 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24972 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24973 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24974 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24975 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24977 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24978 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24979 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24980 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24981 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24982 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24984 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24985 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24986 * sysdeps/mach/hurd/errnos.awk: Likewise.
24987 * sysdeps/mach/hurd/fork.c: Likewise.
24988 * sysdeps/mach/hurd/getcwd.c: Likewise.
24989 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24990 * sysdeps/mach/hurd/mmap.c: Likewise.
24991 * sysdeps/mach/hurd/utimes.c: Likewise.
24992 * sysdeps/mach/hurd/xmknod.c: Likewise.
24993 * sysdeps/posix/profil.c: Likewise.
24994 * sysdeps/posix/readdir_r.c: Likewise.
24995 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24996 * sysdeps/powerpc/bits/setjmp.h: Likewise.
24997 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24998 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25000 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25001 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25002 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25003 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25004 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25005 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25006 * sysdeps/pthread/lio_listio.c: Likewise.
25007 * sysdeps/sparc/dl-procinfo.h: Likewise.
25008 * sysdeps/unix/i386/sysdep.S: Likewise.
25009 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25010 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25011 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25012 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25014 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25015 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25016 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25017 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25018 * sysdeps/wordsize-32/divdi3.c: Likewise.
25019 * time/sys/time.h: Likewise.
25020 * wcsmbs/Makefile: Likewise.
25022 2013-01-01 David S. Miller <davem@davemloft.net>
25024 * po/fr.po: Update from translation team.
25026 * catgets/gencat.c: Update copyright year.
25027 * csu/version.c: Likewise.
25028 * debug/catchsegv.sh: Likewise.
25029 * debug/pcprofiledump.c: Likewise.
25030 * debug/xtrace.sh: Likewise.
25031 * elf/ldconfig.c: Likewise.
25032 * elf/ldd.bash.in: Likewise.
25033 * elf/pldd.c: Likewise.
25034 * elf/sotruss.ksh: Likewise.
25035 * elf/sprof.c: Likewise.
25036 * iconv/iconv_prog.c: Likewise.
25037 * iconv/iconvconfig.c: Likewise.
25038 * locale/programs/locale.c: Likewise.
25039 * locale/programs/localedef.c: Likewise.
25040 * login/programs/pt_chown.c: Likewise.
25041 * malloc/memusage.sh: Likewise.
25042 * malloc/memusagestat.c: Likewise.
25043 * malloc/mtrace.pl: Likewise.
25044 * nscd/nscd.c: Likewise.
25045 * nss/getent.c: Likewise.
25046 * nss/makedb.c: Likewise.
25047 * posix/getconf.c: Likewise.
25049 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25051 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25054 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25056 * math/bits/mathcalls.h (modf): Use __nonnull.
25058 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25060 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25061 (split): Use macro CN instead of the bare value.
25062 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25064 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25065 instead of the bare value.
25066 (power1): Likewise.
25068 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25070 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25072 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25074 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25076 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25078 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25079 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25081 2012-12-28 Andreas Jaeger <aj@suse.de>
25083 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25084 values are from Linux 3.7.
25086 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25087 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25089 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25091 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25094 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25096 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25097 variables with preprocessor constants.
25098 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25099 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25100 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25102 2012-12-27 Bruno Haible <bruno@clisp.org>
25105 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25108 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25111 and use variable directly.
25112 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25114 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25116 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25121 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25122 include directive. Remove local variable MPONE.
25123 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25125 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25127 2012-12-25 David S. Miller <davem@davemloft.net>
25129 * version.h (RELEASE): Set to "development".
25130 (VERSION): Set to "2.17.90".
25131 * NEWS: Add 2.18 section.
25133 2012-12-21 David S. Miller <davem@davemloft.net>
25135 * po/hr.po: Update from translation team.
25137 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25139 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25141 2012-12-19 Steve Ellcey <sellcey@mips.com>
25143 * NEWS: Mention new memcpy for MIPS.
25145 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25147 * manual/contrib.texi (Contributors): Spelling correction.
25149 2012-12-15 David S. Miller <davem@davemloft.net>
25151 * po/ru.po: Update from translation team.
25153 2012-12-13 David S. Miller <davem@davemloft.net>
25155 * NEWS: Mention IFUNC testsuite enhancements.
25157 * po/pl.po: Update from translation team.
25158 * po/bg.po: Likewise.
25160 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25161 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25163 2012-12-11 David S. Miller <davem@davemloft.net>
25165 * po/sv.po: Update from translation team.
25167 * po/vi.po: Update from translation team.
25169 * po/cs.po: Update from translation team.
25171 * po/de.po: Update from translation team.
25172 * po/eo.po: Likewise.
25173 * po/nl.po: Likewise.
25175 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25178 * manual/argp.texi (Argp Helper Functions): Move node to follow
25179 Argp Parsing State.
25182 * manual/conf.texi (Limits on File System Capacity): Mention if
25183 terminating null is included in the max size.
25185 2012-12-10 Andreas Jaeger <aj@suse.de>
25187 * po/cs.po: Update from translation team.
25189 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25191 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25192 void pointer and cast to uintptr_t.
25193 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25195 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25196 * sysdeps/s390/s390-64/memset.S: Likewise.
25198 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25201 * menual/message.texi (Message Translation): Fix typos.
25202 (Helper programs for gettext): Likewise.
25204 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25207 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25210 2012-12-07 David S. Miller <davem@davemloft.net>
25212 * po/libc.pot: Update.
25214 2012-12-07 Richard Henderson <rth@redhat.com>
25217 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25218 normal/normal case to before the switch.
25219 (_FP_DIV): Likewise.
25221 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25222 Mike Frysinger <vapier@gentoo.org>
25224 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25225 check for __NR_fadvise64_64.
25227 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25229 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25230 0, not just to plain "0" as a statement.
25231 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25234 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25236 * NEWS: Use sourceware.org in Bugzilla URL.
25238 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25241 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25243 * stdio-common/tst-put-error.c (do_test): Add newline to the
25244 padded test to ensure flush.
25246 2012-12-05 Jeff Law <law@redhat.com>
25248 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25250 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25252 * README: Don't refer to ports add-on as distributed separately.
25253 Mention AArch64 in list of systems supported in the ports add-on.
25255 * LICENSES: Add more non-FSF copyright and license notices.
25257 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25260 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25262 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25263 10000 as width of padded output.
25265 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25267 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25269 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25270 variable LX with __attribute__ ((unused)).
25271 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25273 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25274 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25276 with __attribute__ ((unused)).
25278 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25280 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25282 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25284 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25285 (CFLAGS-nldbl-acos.c): New variable.
25286 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25287 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25288 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25289 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25290 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25291 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25292 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25293 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25294 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25295 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25296 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25297 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25298 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25299 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25300 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25301 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25302 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25303 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25304 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25305 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25306 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25307 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25308 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25309 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25310 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25311 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25312 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25313 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25314 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25315 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25316 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25317 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25318 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25319 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25320 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25321 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25322 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25323 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25324 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25325 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25326 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25327 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25328 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25329 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25330 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25331 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25332 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25333 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25334 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25335 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25336 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25337 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25338 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25339 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25340 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25341 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25342 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25343 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25344 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25345 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25346 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25347 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25348 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25349 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25350 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25351 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25352 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25353 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25354 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25355 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25356 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25357 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25358 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25359 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25360 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25361 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25362 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25363 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25364 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25365 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25366 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25367 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25368 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25369 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25370 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25371 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25372 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25373 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25374 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25375 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25376 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25377 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25378 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25379 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25380 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25381 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25382 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25385 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25388 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25389 whole low double instead of just low 47 bits when splitting values
25392 2012-12-03 Allan McRae <allan@archlinux.org>
25394 * manual/stdio.texi (Predefined Printf Handlers): Remove
25395 @hsep and @vsep usage.
25397 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25399 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25400 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25402 2012-12-03 Jeff Law <law@redhat.com>
25404 * time/sys/time.h (settimeofday): Do not mark TV argument
25407 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25409 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25410 when currently writing and seek to current position when not.
25411 * libio/Makefile (tests): Remove bug-fclose1.
25412 * libio/bug-fclose1.c: Delete.
25414 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25416 * manual/arith.texi (feenableexcept): Fix typo.
25417 (fedisableexcept): Likewise.
25419 2012-11-30 Roland McGrath <roland@hack.frob.com>
25421 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25422 second, differently-typed declaration, rather than a cast.
25424 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25426 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25427 * include/rpc/svc.h: ... here.
25429 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25432 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25433 depending n and resplen2 to catch cases where answer
25436 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25439 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25441 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25443 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25445 2012-11-29 Roland McGrath <roland@hack.frob.com>
25447 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25449 2012-11-28 Jeff Law <law@redhat.com>
25452 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25453 dataset_temporary. Track alloca usage into alloca_used.
25454 If dataset is large allocate and release it via malloc/free.
25456 2012-06-04 Florian Weimer <fweimer@redhat.com>
25459 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25461 2012-11-28 David S. Miller <davem@davemloft.net>
25463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25465 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25468 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25469 of pi/2 rounded to nearest to 64 bits.
25470 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25471 nearest to 64 bits.
25472 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25475 2012-11-28 Jeff Law <law@redhat.com>
25476 Martin Osvald <mosvald@redhat.com>
25479 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25480 * sunrpc/svc.c: Include time.h.
25481 (__svc_accept_failed): New function.
25482 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25483 any reason other than EINTR, call __svc_accept_failed.
25484 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25485 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25487 2012-11-28 Andreas Schwab <schwab@suse.de>
25489 * scripts/abilist.awk: Also handle indirect functions in .opd
25492 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25495 * sysdeps/x86/fpu/powl_helper.c: New file.
25496 * sysdeps/x86/fpu/Makefile: Likewise.
25497 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25499 (__ieee754_powl): Use __powl_helper for finite arguments except
25500 integer exponents below 8.
25501 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25503 (__ieee754_powl): Use __powl_helper for finite arguments except
25504 integer exponents below 8.
25505 * math/libm-test.inc (pow_test): Add more tests and enable some
25506 previously disabled tests.
25507 * sysdeps/i386/fpu/libm-test-ulps: Update.
25508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25510 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25511 Carlos O'Donell <carlos_odonell@mentor.com>
25513 * nss/makedb.c (is_prime): Assert that input is odd and greater
25514 than 4. Note that fact in a comment too.
25515 (next_prime): Add 4 to input.
25517 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25520 * libio/Makefile (tests): Add test case tst-fwrite-error.
25521 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25522 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25523 * libio/tst-fwrite-error.c: New test case.
25525 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25527 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25528 before casting to void *.
25529 * include/libc-internal.h (__pointer_type): New macro.
25530 (__integer_if_pointer_type_sub): Likewise.
25531 (__integer_if_pointer_type): Likewise.
25532 (cast_to_integer): Likewise.
25533 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25534 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25535 before casting to atomic64_t.
25536 (atomic_exchange_acq): Likewise.
25537 (__arch_exchange_and_add_body): Likewise.
25538 (__arch_add_body): Likewise.
25539 (atomic_add_negative): Likewise.
25540 (atomic_add_zero): Likewise.
25542 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25544 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25545 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25546 (add_fdes): Likewise.
25547 (linear_search_fdes): Likewise.
25548 (binary_search_unencoded_fdes): Likewise.
25550 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25552 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25554 2012-11-24 Adam Conrad <adconrad@0c3.net>
25556 * configure.in: Autodetect C++ header directories.
25557 * configure: Regenerated.
25559 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25561 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25563 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25567 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25569 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25570 LDBL_MANT_DIG == 106]: Disable some tests.
25571 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25573 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25577 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25578 input for small inputs. Return +/- pi/2 for large inputs.
25579 * math/libm-test.inc (atan_test): Add more tests.
25581 * sysdeps/generic/unwind-dw2-fde-glibc.c
25582 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25583 __attribute__ ((unused)).
25586 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25587 x * y if x and y are nonzero and z is zero.
25590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25591 nonzero exponents with absolute value below 0x1p-117 to +/-
25595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25596 up arguments below 2**-450, not just those below 2**-500.
25597 * math/libm-test.inc (hypot_test): Add another test.
25600 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25601 Return a+b for ratio over 2**120, not 2**60.
25602 * math/libm-test.inc (hypot_test): Add another test.
25604 * math/libm-test.inc (clog_test): Use
25605 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25606 (clog10_test): Likewise.
25609 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25611 2012-11-22 Andreas Schwab <schwab@suse.de>
25613 * sysdeps/i386/fpu/libm-test-ulps: Update.
25615 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25617 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25618 printf output with newline.
25620 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25623 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25624 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25625 -z nodlopen, -z initfirst and -z execstack support.
25626 * configure: Regenerated.
25628 * elf/elf.h (DF_1_NODIRECT): New macro.
25629 (DF_1_IGNMULDEF): Likewise.
25630 (DF_1_NOKSYMS): Likewise.
25631 (DF_1_NOHDR): Likewise.
25632 (DF_1_EDITED): Likewise.
25633 (DF_1_NORELOC): Likewise.
25634 (DF_1_SYMINTPOSE): Likewise.
25635 (DF_1_GLOBAUDIT): Likewise.
25636 (DF_1_SINGLETON): Likewise.
25637 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25638 DT_1_SUPPORTED_MASK bits.
25639 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25641 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25643 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25645 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25647 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25650 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25651 (sendmmsg): Move declarations...
25652 * socket/sys/socket.h: ... here.
25653 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25654 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25656 * socket/recvmmsg.c: ... this new file.
25657 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25658 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25659 definition of __sendmmsg hidden.
25660 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25661 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25662 Move ENOSYS stub into and include it from...
25663 * socket/sendmmsg.c: ... this new file.
25664 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25665 (sysdep_routines): Move recvmmsg and sendmmsg...
25666 * socket/Makefile (routines): ... here.
25667 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25668 (GLIBC_PRIVATE): Add __sendmmsg.
25669 * include/sys/socket.h (__sendmmsg): Add declarations.
25670 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25673 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25676 variable I1 with __attribute__ ((unused)).
25677 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25679 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25681 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25682 DUMMY variables with __attribute__ ((unused)).
25684 * bits/byteswap.h: Include <bits/types.h>.
25685 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25687 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25689 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25690 string_t. Do not manually set errno.
25691 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25692 length with __strnlen. Make sure to both set errno and return it on
25695 2012-11-19 David S. Miller <davem@davemloft.net>
25697 With help from Joseph Myers.
25698 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25699 very large arguments properly.
25700 * math/libm-test.inc (atan_test): New tests.
25701 (atan2_test): New tests.
25702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25705 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25708 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25711 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25712 [POSIX] (EADDRNOTAVAIL): Likewise.
25713 [POSIX] (EAFNOSUPPORT): Likewise.
25714 [POSIX] (EALREADY): Likewise.
25715 [POSIX] (ECONNABORTED): Likewise.
25716 [POSIX] (ECONNREFUSED): Likewise.
25717 [POSIX] (ECONNRESET): Likewise.
25718 [POSIX] (EDESTADDRREQ): Likewise.
25719 [POSIX] (EDQUOT): Likewise.
25720 [POSIX] (EHOSTUNREACH): Likewise.
25721 [POSIX] (EIDRM): Likewise.
25722 [POSIX] (EISCONN): Likewise.
25723 [POSIX] (ELOOP): Likewise.
25724 [POSIX] (EMULTIHOP): Likewise.
25725 [POSIX] (ENETDOWN): Likewise.
25726 [POSIX] (ENETUNREACH): Likewise.
25727 [POSIX] (ENOBUFS): Likewise.
25728 [POSIX] (ENODATA): Likewise.
25729 [POSIX] (ENOLINK): Likewise.
25730 [POSIX] (ENOMSG): Likewise.
25731 [POSIX] (ENOPROTOOPT): Likewise.
25732 [POSIX] (ENOSR): Likewise.
25733 [POSIX] (ENOSTR): Likewise.
25734 [POSIX] (ENOTCONN): Likewise.
25735 [POSIX] (ENOTSOCK): Likewise.
25736 [POSIX] (EOPNOTSUPP): Likewise.
25737 [POSIX] (EOVERFLOW): Likewise.
25738 [POSIX] (EPROTO): Likewise.
25739 [POSIX] (EPROTONOSUPPORT): Likewise.
25740 [POSIX] (EPROTOTYPE): Likewise.
25741 [POSIX] (ESTALE): Likewise.
25742 [POSIX] (ETIME): Likewise.
25743 [POSIX] (ETXTBSY): Likewise.
25744 [POSIX] (EWOULDBLOCK): Likewise.
25745 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25746 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25747 [POSIX] (SEEK_CUR): Likewise.
25748 [POSIX] (SEEK_END): Likewise.
25749 [POSIX || UNIX98] (mode_t): Do not require.
25750 [POSIX] (off_t): Likewise.
25751 [POSIX] (pid_t): Likewise.
25752 [POSIX] (sys/stat.h): Do not allow header.
25753 [POSIX] (unistd.h): Likewise.
25754 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25755 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25756 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25757 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25759 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25760 sigevent): Specify elements.
25761 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25763 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25764 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25766 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25767 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25768 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25769 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25770 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25771 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25772 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25773 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25774 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25775 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25776 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25777 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25778 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25779 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25781 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25783 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25785 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25787 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25788 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25789 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25790 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25791 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25792 Specify lower bound on value.
25793 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25794 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25795 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25796 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25797 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25798 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25799 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25800 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25802 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25804 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25805 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25806 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25807 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25808 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25809 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25810 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25811 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25812 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25813 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25814 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25815 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25816 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25817 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25818 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25819 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25821 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25823 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25824 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25825 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25826 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25827 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25828 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25830 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25831 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25832 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25833 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25834 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25835 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25836 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25838 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25839 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25840 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25841 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25842 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25843 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25844 specify as optional.
25845 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25846 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25847 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25848 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25849 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25850 [XPG3] (NL_LANGMAX): Likewise.
25851 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25852 [POSIX || XPG3] (NL_NMAX): Likewise.
25853 [POSIX || XPG3] (NL_SETMAX): Likewise.
25854 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25855 [XPG3] (NZERO): Likewise.
25856 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25857 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25858 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25859 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25860 (REG_ERANGE): Expect.
25861 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25863 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25864 Use (void) in prototype.
25865 [POSIX] (*_t): Allow.
25866 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25867 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25868 (WRDE_BADVAL): Expect.
25870 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25872 [XPG3 || XPG4] (O_RSYNC): Likewise.
25873 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25875 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25876 [XPG3 || XPG4] (sigqueue): Likewise.
25877 [XPG3 || XPG4] (sigtimedwait): Likewise.
25878 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25879 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25880 [XPG3 || XPG4] (vsnprintf): Likewise.
25881 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25883 [XPG3 || XPG4] (blksize_t): Likewise.
25884 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25886 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25887 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25888 [XPG3 || XPG4] (struct itimerspec): Likewise.
25889 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25890 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25891 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25892 [XPG3 || XPG4] (clockid_t): Likewise.
25893 [XPG3 || XPG4] (timer_t): Likewise.
25894 [XPG3 || XPG4] (clock_getres): Likewise.
25895 [XPG3 || XPG4] (clock_gettime): Likewise.
25896 [XPG3 || XPG4] (clock_settime): Likewise.
25897 [XPG3 || XPG4] (nanosleep): Likewise.
25898 [XPG3 || XPG4] (timer_create): Likewise.
25899 [XPG3 || XPG4] (timer_delete): Likewise.
25900 [XPG3 || XPG4] (timer_gettime): Likewise.
25901 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25902 [XPG3 || XPG4] (timer_settime): Likewise.
25903 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25904 [XPG3 || XPG4] (getlogin_r): Likewise.
25905 [XPG3 || XPG4] (pread): Likewise.
25906 [XPG3 || XPG4] (pthread_atfork): Likewise.
25907 [XPG3 || XPG4] (pwrite): Likewise.
25910 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25913 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25915 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25916 finalizing MALLSTREAM.
25918 * sysdeps/mach/hurd/syncfs.c: New file.
25920 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25923 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25924 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25925 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25926 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25927 (_nss_dns_gethostbyname4_r): Likewise.
25928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25929 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25931 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
25934 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25936 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
25938 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25939 * elf/cache.c (print_entry): Print ",AArch64" for
25942 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25943 * elf/cache.c (print_entry): Print ",hard-float" for
25946 2012-11-18 David S. Miller <davem@davemloft.net>
25948 With help from Joseph Myers.
25949 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25951 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25953 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25954 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25956 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25957 * math/libm-test.inc (y0_test): New tests.
25958 (y1_test): New tests.
25959 * sysdeps/i386/fpu/libm-test-ulps: Update.
25960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25963 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
25965 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25967 * configure: Regenerated.
25969 2012-11-17 David S. Miller <davem@davemloft.net>
25972 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25973 nonzero exponents with absolute value below 0x1p-128 to +/-
25976 2012-11-17 Joseph Myers <joseph@codesourcery.com>
25978 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25980 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25982 * posix/getconf-speclist.c: New file.
25983 * posix/posix-envs.def: Likewise.
25984 * posix/confstr.c (START_ENV_GROUP): New macro.
25985 (END_ENV_GROUP): Likewise.
25986 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25987 (KNOWN_PRESENT_ENV_STRING): Likewise.
25988 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25989 (UNKNOWN_ENVIRONMENT): Likewise.
25990 (confstr): Include posix-envs.def instead of handling
25991 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25992 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25993 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25994 (END_ENV_GROUP): Likewise.
25995 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25996 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25997 (UNKNOWN_ENVIRONMENT): Likewise.
25998 (__sysconf): Include posix-envs.def instead of handling associated
25999 cases directly here.
26000 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26001 preprocessing getconf-speclist.c rather than running getconf or
26002 generating empty file.
26004 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26006 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26008 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26011 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26013 2012-11-16 David S. Miller <davem@davemloft.net>
26015 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26016 smaller than LDBL_EPSILON/2.0L, just return xm1.
26018 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26020 * elf/tst-array1.c (init): Set constructor priority to 1000.
26021 (fini): Set destructor priority to 1000.
26022 * elf/tst-array2dep.c: Likewise.
26024 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26027 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26028 (_IO_new_file_xsputn): Also return EOF if none of the input
26029 data was written when overflow failed.
26030 * libio/iopadn.c (_IO_padn): Likewise.
26031 * libio/iowpadn.c (_IO_wpadn): Likewise.
26032 * stdio-common/tst-put-error.c: Add copyright notice.
26033 (do_test): Add case for printing padded string.
26034 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26035 _IO_padn returned error.
26036 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26037 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26040 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26042 * libio/libioP.h: Add comment note that the references to C++
26043 bits are now obsolete.
26045 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26047 * math/libm-test.inc (check_complex): Use asprintf.
26049 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26051 * debug/pcprofiledump.c (print_version): Update copyright year.
26052 * malloc/memusagestat.c (print_version): Likewise.
26054 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26057 * elf/Makefile (tests): Add tst-audit8.
26058 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26059 ($(objpfx)tst-audit8.out): New target.
26060 (tst-audit8-ENV): New variable.
26061 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26062 audit if l_reloc_result is NULL.
26063 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26064 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26065 * elf/tst-audit8.c: New file.
26067 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26069 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26070 * misc/Makefile (CFLAGS-select.c): Define.
26071 * posix/Makefile (CFLAGS-pause.c): Define.
26073 2012-11-13 David S. Miller <davem@davemloft.net>
26075 * crypt/Makefile: Move test targets after toplevel Rules
26076 inclusion. Grab any necessary sysdep routines when linking.
26077 * crypt/md5.c (md5_process_block): Remove define, we will always
26078 name it __md5_process_block.
26079 (md5_finish_ctx): Update md5_process_block call.
26080 (md5_stream): Likewise.
26081 (md5_process_bytes): Likewise.
26082 (md5_process_block): Rename to __md5_process_block and move to ...
26083 * crypt/md5-block.c: ... here.
26084 * crypt/sha256.c (sha256_process_block): Move to ...
26085 * crypt/sha256-block.c: ... here.
26086 * crypt/sha512.c (sha512_process_block): Move to ...
26087 * crypt/sha512-block.c: ... here.
26088 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26090 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26091 * sysdeps/sparc/sparc64/multiarch/Makefile
26092 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26094 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26095 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26097 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26098 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26099 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26100 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26101 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26102 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26103 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26104 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26105 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26107 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26108 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26110 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26112 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26114 * timezone/tzselect.ksh: Update from tzcode git revision
26115 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26116 * timezone/zdump.c: Likewise.
26117 * timezone/zic.c: Likewise.
26118 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26119 in TZVERSION setting, not $(PKGVERSION).
26120 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26121 REPORT_BUGS_TO settings.
26124 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26127 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26129 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26130 detection to immediately after _FP_ROUND().
26131 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26134 2012-11-11 David S. Miller <davem@davemloft.net>
26136 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26138 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26139 __close rather than their public counterparts.
26141 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26143 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26145 [UNIX98] (sem_timedwait): Do not expect.
26146 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26147 [XPG4 || UNIX98] (sockatmark): Do not expect.
26148 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26149 (clock_getcpuclockid): Do not expect.
26150 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26151 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26153 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26154 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26155 [UNIX98] (vwscanf): Likewise.
26156 [UNIX98] (vswscanf): Likewise.
26158 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26160 * timezone/version.h: Remove file.
26161 * timezone/README: Do not refer to version.h.
26162 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26163 $(objpfx)version.h.
26164 ($(objpfx)zdump.o): Likewise.
26165 ($(objpfx)version.h): New target.
26167 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26169 * timezone/README: Don't mention modification to tzselect.ksh.
26170 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26171 work on unmodified tzselect.ksh. Substitute version numbers in
26174 * Makefile (format-me): Remove.
26175 (INSTALL): Adjust indentation. Use commands directly instead of
26176 using $(format-me).
26178 * aclocal.m4 (ACX_PKGVERSION): New macro.
26179 (ACX_BUGURL): Likewise.
26180 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26181 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26182 (REPORT_BUGS_TO): Likewise.
26183 * configure: Regenerated.
26184 * config.h.in (PKGVERSION): New macro.
26185 (REPORT_BUGS_TO): Likewise.
26186 * config.make.in (PKGVERSION): New variable.
26187 (PKGVERSION_TEXI): Likewise.
26188 (REPORT_BUGS_TO): Likewise.
26189 (REPORT_BUGS_TEXI): Likewise.
26190 * Makefile (format-me): Use -I$(common-objpfx)manual.
26191 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26192 ($(common-objpfx)manual/%): New target.
26193 (manual/%): Remove target.
26194 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26195 (print_version): Use PKGVERSION.
26196 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26197 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26198 and REPORT_BUGS_TO.
26199 ($(objpfx)xtrace): Likewise.
26200 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26201 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26202 (print_version): Use PKGVERSION.
26203 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26204 (do_version): Use PKGVERSION.
26205 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26207 (common-ldd-rewrite): Likewise.
26208 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26209 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26210 (print_version): Use PKGVERSION.
26211 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26212 * elf/pldd.c (argp_program_bug_address): Remove variable.
26213 (more_help): New function.
26214 (argp): Use more_help.
26215 (print_version): Use PKGVERSION.
26216 * elf/sln.c (main): Use PKGVERSION.
26217 (usage): Use REPORT_BUGS_TO.
26218 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26219 (top level): Use PKGVERSION.
26220 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26221 (print_version): Use PKGVERSION.
26222 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26223 (print_version): Use PKGVERSION.
26224 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26225 (print_version): Use PKGVERSION.
26226 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26227 (print_version): Use PKGVERSION.
26228 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26229 (print_version): Use PKGVERSION.
26230 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26231 (print_version): Use PKGVERSION.
26232 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26234 ($(objpfx)memusage): Likewise.
26235 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26236 (do_version): Use PKGVERSION.
26237 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26238 (print_version): Use PKGVERSION.
26239 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26240 ($PKGVERSION): New variable.
26241 ($REPORT_BUGS_TO): Likewise.
26242 (usage): Use $REPORT_BUGS_TO.
26243 (top level): Use $PKGVERSION.
26244 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26245 ($(objpfx)pkgvers.texi): New rule.
26246 ($(objpfx)stamp-pkgvers): Likewise.
26247 * manual/install.texi: Include pkgvers.texi.
26248 (--with-pkgversion): Document new configure option.
26249 (--with-bugurl): Likewise.
26250 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26251 than necessarily for this particular distribution. Use
26252 REPORT_BUGS_TO for where to report bugs.
26253 * INSTALL: Regenerated.
26254 * manual/libc.texinfo: Include pkgvers.texi.
26255 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26256 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26257 (print_version): Use PKGVERSION.
26258 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26259 (print_version): Use PKGVERSION.
26260 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26261 (print_version): Use PKGVERSION.
26262 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26263 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26265 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26266 (print_version): Use PKGVERSION.
26267 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26268 (print_version): Use PKGVERSION.
26269 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26272 * timezone/checktab.awk: Update from tzcode 2012i.
26273 * timezone/ialloc.c: Likewise.
26274 * timezone/private.h: Likewise.
26275 * timezone/scheck.c: Likewise.
26276 * timezone/tzfile.h: Likewise.
26277 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26278 (TZVERSION): Hardcode tzcode version number.
26279 * timezone/zdump.c: Update from tzcode 2012i.
26280 * timezone/zic.c: Likewise.
26281 * timezone/version.h: New file.
26282 * timezone/README: Describe version.h. Update upstream location.
26285 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26286 (mktemp): Enable declaration.
26287 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26288 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26289 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26290 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26292 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26294 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26300 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26304 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26305 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26306 for copies of such integer values.
26307 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26308 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26310 2012-11-09 Andreas Jaeger <aj@suse.de>
26312 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26313 definitions and declarations that are provided by
26314 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26316 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26318 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26319 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26320 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26323 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26325 * elf/elf.h: Update comment before AArch64 relocations.
26327 2012-11-07 David S. Miller <davem@davemloft.net>
26329 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26330 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26331 (__start_context): Declare.
26332 (__makecontext_ret): Delete.
26333 (__makecontext): Hook up __start_context instead of
26335 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26336 (sysdep_routines): Add __start_context when in stdlib.
26338 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26340 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26341 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26342 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26344 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26345 (READELF): New variable. Use it instead of hardcoded "readelf".
26347 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26349 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26350 * sysdeps/x86/Makefile: Here.
26351 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26352 * sysdeps/x86/tst-xmmymm.sh: This.
26354 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26356 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26358 [UNIX98] (pthread_barrier_t): Do not expect.
26359 [UNIX98] (pthread_barrierattr_t): Likewise.
26360 [UNIX98] (pthread_spinlock_t): Likewise.
26361 [UNIX98] (pthread_barrier_destroy): Likewise.
26362 [UNIX98] (pthread_barrier_init): Likewise.
26363 [UNIX98] (pthread_barrier_wait): Likewise.
26364 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26365 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26366 [UNIX98] (pthread_barrierattr_init): Likewise.
26367 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26368 [UNIX98] (pthread_getcpuclockid): Likewise.
26369 [UNIX98] (pthread_mutex_timedlock): Likewise.
26370 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26371 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26372 [UNIX98] (pthread_sigmask): Likewise.
26373 [UNIX98] (pthread_spin_destroy): Likewise.
26374 [UNIX98] (pthread_spin_init): Likewise.
26375 [UNIX98] (pthread_spin_lock): Likewise.
26376 [UNIX98] (pthread_spin_trylock): Likewise.
26377 [UNIX98] (pthread_spin_unlock): Likewise.
26378 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26380 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26381 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26382 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26383 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26384 [XPG3 || XPG4] (pthread_key_t): Likewise.
26385 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26386 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26387 [XPG3 || XPG4] (pthread_once_t): Likewise.
26388 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26389 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26390 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26391 [XPG3 || XPG4] (pthread_t): Likewise.
26393 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26395 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26397 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26398 Change function return type to int.
26400 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26401 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26402 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26403 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26404 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26405 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26406 [!POSIX] (posix_madvise): Likewise.
26407 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26409 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26410 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26411 (mode_t): Likewise.
26412 (posix_mem_offset): Likewise.
26413 (posix_typed_mem_get_info): Likewise.
26414 (posix_typed_mem_open): Likewise.
26416 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26417 Change condition to [XOPEN2K8].
26419 * conform/conformtest.pl: Preprocess allow-header data with -x c
26420 instead of from stdin.
26421 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26422 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26423 [C99-based standards] (cerfc): Likewise.
26424 [C99-based standards] (cexp2): Likewise.
26425 [C99-based standards] (cexpm1): Likewise.
26426 [C99-based standards] (clog10): Likewise.
26427 [C99-based standards] (clog1p): Likewise.
26428 [C99-based standards] (clog2): Likewise.
26429 [C99-based standards] (clgamma): Likewise.
26430 [C99-based standards] (ctgamma): Likewise.
26431 [C99-based standards] (cerff): Likewise.
26432 [C99-based standards] (cerfcf): Likewise.
26433 [C99-based standards] (cexp2f): Likewise.
26434 [C99-based standards] (cexpm1f): Likewise.
26435 [C99-based standards] (clog10f): Likewise.
26436 [C99-based standards] (clog1pf): Likewise.
26437 [C99-based standards] (clog2f): Likewise.
26438 [C99-based standards] (clgammaf): Likewise.
26439 [C99-based standards] (ctgammaf): Likewise.
26440 [C99-based standards] (cerfl): Likewise.
26441 [C99-based standards] (cerfcl): Likewise.
26442 [C99-based standards] (cexp2l): Likewise.
26443 [C99-based standards] (cexpm1l): Likewise.
26444 [C99-based standards] (clog10l): Likewise.
26445 [C99-based standards] (clog1pl): Likewise.
26446 [C99-based standards] (clog2l): Likewise.
26447 [C99-based standards] (clgammal): Likewise.
26448 [C99-based standards] (ctgammal): Likewise.
26449 * conform/data/inttypes.h-data [C99-based standards]: Include
26450 stdint.h-data. Remove all expectations for stdint.h contents.
26451 [C99-based standards] (PRI*): Do not allow.
26452 [C99-based standards] (SCN*): Likewise.
26453 [C99-based standards] (*_t): Likewise.
26454 [C99-based-standards] (PRId8): Expect macro.
26455 [C99-based-standards] (PRIi8): Likewise.
26456 [C99-based-standards] (PRIo8): Likewise.
26457 [C99-based-standards] (PRIu8): Likewise.
26458 [C99-based-standards] (PRIx8): Likewise.
26459 [C99-based-standards] (PRIX8): Likewise.
26460 [C99-based-standards] (SCNd8): Likewise.
26461 [C99-based-standards] (SCNi8): Likewise.
26462 [C99-based-standards] (SCNo8): Likewise.
26463 [C99-based-standards] (SCNu8): Likewise.
26464 [C99-based-standards] (SCNx8): Likewise.
26465 [C99-based-standards] (PRIdLEAST8): Likewise.
26466 [C99-based-standards] (PRIiLEAST8): Likewise.
26467 [C99-based-standards] (PRIoLEAST8): Likewise.
26468 [C99-based-standards] (PRIuLEAST8): Likewise.
26469 [C99-based-standards] (PRIxLEAST8): Likewise.
26470 [C99-based-standards] (PRIXLEAST8): Likewise.
26471 [C99-based-standards] (SCNdLEAST8): Likewise.
26472 [C99-based-standards] (SCNiLEAST8): Likewise.
26473 [C99-based-standards] (SCNoLEAST8): Likewise.
26474 [C99-based-standards] (SCNuLEAST8): Likewise.
26475 [C99-based-standards] (SCNxLEAST8): Likewise.
26476 [C99-based-standards] (PRIdFAST8): Likewise.
26477 [C99-based-standards] (PRIiFAST8): Likewise.
26478 [C99-based-standards] (PRIoFAST8): Likewise.
26479 [C99-based-standards] (PRIuFAST8): Likewise.
26480 [C99-based-standards] (PRIxFAST8): Likewise.
26481 [C99-based-standards] (PRIXFAST8): Likewise.
26482 [C99-based-standards] (SCNdFAST8): Likewise.
26483 [C99-based-standards] (SCNiFAST8): Likewise.
26484 [C99-based-standards] (SCNoFAST8): Likewise.
26485 [C99-based-standards] (SCNuFAST8): Likewise.
26486 [C99-based-standards] (SCNxFAST8): Likewise.
26487 [C99-based-standards] (PRId16): Likewise.
26488 [C99-based-standards] (PRIi16): Likewise.
26489 [C99-based-standards] (PRIo16): Likewise.
26490 [C99-based-standards] (PRIu16): Likewise.
26491 [C99-based-standards] (PRIx16): Likewise.
26492 [C99-based-standards] (PRIX16): Likewise.
26493 [C99-based-standards] (SCNd16): Likewise.
26494 [C99-based-standards] (SCNi16): Likewise.
26495 [C99-based-standards] (SCNo16): Likewise.
26496 [C99-based-standards] (SCNu16): Likewise.
26497 [C99-based-standards] (SCNx16): Likewise.
26498 [C99-based-standards] (PRIdLEAST16): Likewise.
26499 [C99-based-standards] (PRIiLEAST16): Likewise.
26500 [C99-based-standards] (PRIoLEAST16): Likewise.
26501 [C99-based-standards] (PRIuLEAST16): Likewise.
26502 [C99-based-standards] (PRIxLEAST16): Likewise.
26503 [C99-based-standards] (PRIXLEAST16): Likewise.
26504 [C99-based-standards] (SCNdLEAST16): Likewise.
26505 [C99-based-standards] (SCNiLEAST16): Likewise.
26506 [C99-based-standards] (SCNoLEAST16): Likewise.
26507 [C99-based-standards] (SCNuLEAST16): Likewise.
26508 [C99-based-standards] (SCNxLEAST16): Likewise.
26509 [C99-based-standards] (PRIdFAST16): Likewise.
26510 [C99-based-standards] (PRIiFAST16): Likewise.
26511 [C99-based-standards] (PRIoFAST16): Likewise.
26512 [C99-based-standards] (PRIuFAST16): Likewise.
26513 [C99-based-standards] (PRIxFAST16): Likewise.
26514 [C99-based-standards] (PRIXFAST16): Likewise.
26515 [C99-based-standards] (SCNdFAST16): Likewise.
26516 [C99-based-standards] (SCNiFAST16): Likewise.
26517 [C99-based-standards] (SCNoFAST16): Likewise.
26518 [C99-based-standards] (SCNuFAST16): Likewise.
26519 [C99-based-standards] (SCNxFAST16): Likewise.
26520 [C99-based-standards] (PRId32): Likewise.
26521 [C99-based-standards] (PRIi32): Likewise.
26522 [C99-based-standards] (PRIo32): Likewise.
26523 [C99-based-standards] (PRIu32): Likewise.
26524 [C99-based-standards] (PRIx32): Likewise.
26525 [C99-based-standards] (PRIX32): Likewise.
26526 [C99-based-standards] (SCNd32): Likewise.
26527 [C99-based-standards] (SCNi32): Likewise.
26528 [C99-based-standards] (SCNo32): Likewise.
26529 [C99-based-standards] (SCNu32): Likewise.
26530 [C99-based-standards] (SCNx32): Likewise.
26531 [C99-based-standards] (PRIdLEAST32): Likewise.
26532 [C99-based-standards] (PRIiLEAST32): Likewise.
26533 [C99-based-standards] (PRIoLEAST32): Likewise.
26534 [C99-based-standards] (PRIuLEAST32): Likewise.
26535 [C99-based-standards] (PRIxLEAST32): Likewise.
26536 [C99-based-standards] (PRIXLEAST32): Likewise.
26537 [C99-based-standards] (SCNdLEAST32): Likewise.
26538 [C99-based-standards] (SCNiLEAST32): Likewise.
26539 [C99-based-standards] (SCNoLEAST32): Likewise.
26540 [C99-based-standards] (SCNuLEAST32): Likewise.
26541 [C99-based-standards] (SCNxLEAST32): Likewise.
26542 [C99-based-standards] (PRIdFAST32): Likewise.
26543 [C99-based-standards] (PRIiFAST32): Likewise.
26544 [C99-based-standards] (PRIoFAST32): Likewise.
26545 [C99-based-standards] (PRIuFAST32): Likewise.
26546 [C99-based-standards] (PRIxFAST32): Likewise.
26547 [C99-based-standards] (PRIXFAST32): Likewise.
26548 [C99-based-standards] (SCNdFAST32): Likewise.
26549 [C99-based-standards] (SCNiFAST32): Likewise.
26550 [C99-based-standards] (SCNoFAST32): Likewise.
26551 [C99-based-standards] (SCNuFAST32): Likewise.
26552 [C99-based-standards] (SCNxFAST32): Likewise.
26553 [C99-based-standards] (PRId64): Likewise.
26554 [C99-based-standards] (PRIi64): Likewise.
26555 [C99-based-standards] (PRIo64): Likewise.
26556 [C99-based-standards] (PRIu64): Likewise.
26557 [C99-based-standards] (PRIx64): Likewise.
26558 [C99-based-standards] (PRIX64): Likewise.
26559 [C99-based-standards] (SCNd64): Likewise.
26560 [C99-based-standards] (SCNi64): Likewise.
26561 [C99-based-standards] (SCNo64): Likewise.
26562 [C99-based-standards] (SCNu64): Likewise.
26563 [C99-based-standards] (SCNx64): Likewise.
26564 [C99-based-standards] (PRIdLEAST64): Likewise.
26565 [C99-based-standards] (PRIiLEAST64): Likewise.
26566 [C99-based-standards] (PRIoLEAST64): Likewise.
26567 [C99-based-standards] (PRIuLEAST64): Likewise.
26568 [C99-based-standards] (PRIxLEAST64): Likewise.
26569 [C99-based-standards] (PRIXLEAST64): Likewise.
26570 [C99-based-standards] (SCNdLEAST64): Likewise.
26571 [C99-based-standards] (SCNiLEAST64): Likewise.
26572 [C99-based-standards] (SCNoLEAST64): Likewise.
26573 [C99-based-standards] (SCNuLEAST64): Likewise.
26574 [C99-based-standards] (SCNxLEAST64): Likewise.
26575 [C99-based-standards] (PRIdFAST64): Likewise.
26576 [C99-based-standards] (PRIiFAST64): Likewise.
26577 [C99-based-standards] (PRIoFAST64): Likewise.
26578 [C99-based-standards] (PRIuFAST64): Likewise.
26579 [C99-based-standards] (PRIxFAST64): Likewise.
26580 [C99-based-standards] (PRIXFAST64): Likewise.
26581 [C99-based-standards] (SCNdFAST64): Likewise.
26582 [C99-based-standards] (SCNiFAST64): Likewise.
26583 [C99-based-standards] (SCNoFAST64): Likewise.
26584 [C99-based-standards] (SCNuFAST64): Likewise.
26585 [C99-based-standards] (SCNxFAST64): Likewise.
26586 [C99-based-standards] (PRIdMAX): Likewise.
26587 [C99-based-standards] (PRIiMAX): Likewise.
26588 [C99-based-standards] (PRIoMAX): Likewise.
26589 [C99-based-standards] (PRIuMAX): Likewise.
26590 [C99-based-standards] (PRIxMAX): Likewise.
26591 [C99-based-standards] (PRIXMAX): Likewise.
26592 [C99-based-standards] (SCNdMAX): Likewise.
26593 [C99-based-standards] (SCNiMAX): Likewise.
26594 [C99-based-standards] (SCNoMAX): Likewise.
26595 [C99-based-standards] (SCNuMAX): Likewise.
26596 [C99-based-standards] (SCNxMAX): Likewise.
26597 [C99-based-standards] (PRIdPTR): Likewise.
26598 [C99-based-standards] (PRIiPTR): Likewise.
26599 [C99-based-standards] (PRIoPTR): Likewise.
26600 [C99-based-standards] (PRIuPTR): Likewise.
26601 [C99-based-standards] (PRIxPTR): Likewise.
26602 [C99-based-standards] (PRIXPTR): Likewise.
26603 [C99-based-standards] (SCNdPTR): Likewise.
26604 [C99-based-standards] (SCNiPTR): Likewise.
26605 [C99-based-standards] (SCNoPTR): Likewise.
26606 [C99-based-standards] (SCNuPTR): Likewise.
26607 [C99-based-standards] (SCNxPTR): Likewise.
26608 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26610 * conform/data/stdint.h-data: Update comments to clarify
26612 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26614 [C99-based standards] (INT8_MAX): Likewise.
26615 [C99-based standards] (INT16_MIN): Likewise.
26616 [C99-based standards] (INT16_MAX): Likewise.
26617 [C99-based standards] (INT32_MIN): Likewise.
26618 [C99-based standards] (INT32_MAX): Likewise.
26619 [C99-based standards] (INT64_MIN): Likewise.
26620 [C99-based standards] (INT64_MAX): Likewise.
26621 [C99-based standards] (UINT8_MAX): Likewise.
26622 [C99-based standards] (UINT16_MAX): Likewise.
26623 [C99-based standards] (UINT32_MAX): Likewise.
26624 [C99-based standards] (UINT64_MAX): Likewise.
26625 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26626 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26627 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26628 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26629 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26630 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26631 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26632 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26633 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26634 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26635 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26636 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26637 [C99-based standards] (INT_FAST8_MIN): Likewise.
26638 [C99-based standards] (INT_FAST8_MAX): Likewise.
26639 [C99-based standards] (INT_FAST16_MIN): Likewise.
26640 [C99-based standards] (INT_FAST16_MAX): Likewise.
26641 [C99-based standards] (INT_FAST32_MIN): Likewise.
26642 [C99-based standards] (INT_FAST32_MAX): Likewise.
26643 [C99-based standards] (INT_FAST64_MIN): Likewise.
26644 [C99-based standards] (INT_FAST64_MAX): Likewise.
26645 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26646 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26647 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26648 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26649 [C99-based standards] (INTPTR_MIN): Likewise.
26650 [C99-based standards] (INTPTR_MAX): Likewise.
26651 [C99-based standards] (UINTPTR_MAX): Likewise.
26652 [C99-based standards] (INTMAX_MIN): Likewise.
26653 [C99-based standards] (INTMAX_MAX): Likewise.
26654 [C99-based standards] (UINTMAX_MAX): Likewise.
26655 [C99-based standards] (PTRDIFF_MIN): Likewise.
26656 [C99-based standards] (PTRDIFF_MAX): Likewise.
26657 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26658 [C99-based standards] (SIZE_MAX): Likewise.
26659 [C99-based standards] (WCHAR_MAX): Likewise.
26660 [C99-based standards] (WINT_MAX): Likewise.
26661 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26662 constraint on value.
26663 [C99-based standards] (WCHAR_MIN): Likewise.
26664 [C99-based standards] (WINT_MIN): Likewise.
26665 [C99-based standards] (*_t): Allow.
26666 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26667 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26668 Include math.h-data and complex.h-data. Remove all expectations
26669 of math.h and complex.h contents.
26670 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26672 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26673 (struct tm): Expect tag.
26674 [C99-based-standards] (wcstof): Expect function.
26675 [C99-based-standards] (wcstold): Likewise.
26676 [C99-based-standards] (wcstoll): Likewise.
26677 [C99-based-standards] (wcstoull): Likewise.
26678 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26679 macro-int-constant. Specify type.
26680 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26681 constraint on value.
26682 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26684 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26686 [ISO C standards]: Do not allow headers.
26687 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26688 wcs[abcdefghijklmnopqrstuvwxyz]*.
26689 [ISO C standards] (*_t): Do not allow.
26690 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26692 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26693 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26695 [ISO C standards]: Do not allow headers.
26696 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26697 is[abcdefghijklmnopqrstuvwxyz]*.
26698 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26699 to[abcdefghijklmnopqrstuvwxyz]*.
26700 [ISO C standards] (*_t): Do not allow.
26701 * conform/data/stdalign.h-data: New file.
26702 * conform/data/stdbool.h-data: Likewise.
26703 * conform/data/stdnoreturn.h-data: Likewise.
26705 2012-11-07 Roland McGrath <roland@hack.frob.com>
26708 * manual/filesys.texi (Directory Entries): Typo fix.
26709 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26711 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26713 * elf/elf.h (EM_AARCH64): New macro.
26714 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26715 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26716 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26717 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26718 (R_AARCH64_TLSDESC): Likewise.
26719 (NT_ARM_TLS): Likewise.
26720 (NT_ARM_HW_BREAK): Likewise.
26721 (NT_ARM_HW_WATCH): Likewise.
26723 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26726 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26727 (__ieee754_powl): Saturate nonzero exponents with absolute value
26728 below 0x1p-79 to +/- 0x1p-79.
26729 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26730 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26731 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26732 nonzero exponents with absolute value below 0x1p-32 to +/-
26734 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26735 (__ieee754_powl): Saturate nonzero exponents with absolute value
26736 below 0x1p-79 to +/- 0x1p-79.
26737 * math/libm-test.inc (pow_test): Add more tests.
26739 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26741 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26742 _dl_s390_cap_flags with kernel. Increase string length.
26743 (_dl_s390_platforms): Add z196 and zEC12.
26745 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26747 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26748 Change XOPEN21K to XOPEN2K.
26750 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26752 * string/memmove.c: Use memcpy when possible.
26754 2012-11-06 Andreas Jaeger <aj@suse.de>
26756 * po/eo.po: Update from translation team.
26758 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26762 exponent and small x and y exponents, scale x or y up. Increase
26763 by 2 the exponent used in scaling up.
26764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26766 * math/libm-test.inc (fma_test): Add more tests.
26767 (fma_test_towardzero): Likewise.
26768 (fma_test_downward): Likewise.
26769 (fma_test_upward): Likewise.
26771 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26774 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26778 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26779 namespace for names of struct fields.
26780 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26782 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26783 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26785 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26788 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26790 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26792 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26796 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26799 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26803 definitely overflow as x * y not x * y + z.
26804 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26805 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26806 * math/libm-test.inc (fma_test): Add more tests.
26807 (fma_test_towardzero): Likewise.
26808 (fma_test_downward): Likewise.
26809 (fma_test_upward): Likewise.
26811 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26815 * include/stub-tag.h: Remove file.
26816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26818 * manual/maint.texi (Porting): Don't reference it.
26819 * Makerules ($(objpfx)stubs): Likewise.
26820 * dirent/closedir.c: Don't include <stub-tag.h>.
26821 * dirent/dirfd.c: Likewise.
26822 * dirent/fdopendir.c: Likewise.
26823 * dirent/getdents.c: Likewise.
26824 * dirent/getdents64.c: Likewise.
26825 * dirent/opendir.c: Likewise.
26826 * dirent/readdir.c: Likewise.
26827 * dirent/readdir64.c: Likewise.
26828 * dirent/readdir64_r.c: Likewise.
26829 * dirent/readdir_r.c: Likewise.
26830 * dirent/rewinddir.c: Likewise.
26831 * dirent/seekdir.c: Likewise.
26832 * dirent/telldir.c: Likewise.
26833 * gmon/profil.c: Likewise.
26834 * grp/setgroups.c: Likewise.
26835 * inet/if_index.c: Likewise.
26836 * io/access.c: Likewise.
26837 * io/chdir.c: Likewise.
26838 * io/chmod.c: Likewise.
26839 * io/chown.c: Likewise.
26840 * io/close.c: Likewise.
26841 * io/dup.c: Likewise.
26842 * io/dup2.c: Likewise.
26843 * io/dup3.c: Likewise.
26844 * io/euidaccess.c: Likewise.
26845 * io/faccessat.c: Likewise.
26846 * io/fchdir.c: Likewise.
26847 * io/fchmod.c: Likewise.
26848 * io/fchmodat.c: Likewise.
26849 * io/fchown.c: Likewise.
26850 * io/fchownat.c: Likewise.
26851 * io/fcntl.c: Likewise.
26852 * io/flock.c: Likewise.
26853 * io/fstatfs.c: Likewise.
26854 * io/fstatfs64.c: Likewise.
26855 * io/fstatvfs.c: Likewise.
26856 * io/fstatvfs64.c: Likewise.
26857 * io/futimens.c: Likewise.
26858 * io/fxstat.c: Likewise.
26859 * io/fxstat64.c: Likewise.
26860 * io/fxstatat.c: Likewise.
26861 * io/fxstatat64.c: Likewise.
26862 * io/getcwd.c: Likewise.
26863 * io/isatty.c: Likewise.
26864 * io/lchmod.c: Likewise.
26865 * io/lchown.c: Likewise.
26866 * io/link.c: Likewise.
26867 * io/linkat.c: Likewise.
26868 * io/lseek.c: Likewise.
26869 * io/lseek64.c: Likewise.
26870 * io/lxstat64.c: Likewise.
26871 * io/mkdir.c: Likewise.
26872 * io/mkdirat.c: Likewise.
26873 * io/mkfifo.c: Likewise.
26874 * io/mkfifoat.c: Likewise.
26875 * io/open.c: Likewise.
26876 * io/open64.c: Likewise.
26877 * io/openat.c: Likewise.
26878 * io/openat64.c: Likewise.
26879 * io/pipe.c: Likewise.
26880 * io/pipe2.c: Likewise.
26881 * io/poll.c: Likewise.
26882 * io/posix_fadvise.c: Likewise.
26883 * io/posix_fadvise64.c: Likewise.
26884 * io/posix_fallocate.c: Likewise.
26885 * io/posix_fallocate64.c: Likewise.
26886 * io/read.c: Likewise.
26887 * io/readlink.c: Likewise.
26888 * io/readlinkat.c: Likewise.
26889 * io/rmdir.c: Likewise.
26890 * io/sendfile.c: Likewise.
26891 * io/sendfile64.c: Likewise.
26892 * io/statfs.c: Likewise.
26893 * io/statfs64.c: Likewise.
26894 * io/statvfs.c: Likewise.
26895 * io/statvfs64.c: Likewise.
26896 * io/symlink.c: Likewise.
26897 * io/symlinkat.c: Likewise.
26898 * io/ttyname.c: Likewise.
26899 * io/ttyname_r.c: Likewise.
26900 * io/umask.c: Likewise.
26901 * io/unlink.c: Likewise.
26902 * io/unlinkat.c: Likewise.
26903 * io/utime.c: Likewise.
26904 * io/utimensat.c: Likewise.
26905 * io/write.c: Likewise.
26906 * io/xmknod.c: Likewise.
26907 * io/xmknodat.c: Likewise.
26908 * io/xstat.c: Likewise.
26909 * io/xstat64.c: Likewise.
26910 * login/getpt.c: Likewise.
26911 * login/grantpt.c: Likewise.
26912 * login/unlockpt.c: Likewise.
26913 * math/e_acoshl.c: Likewise.
26914 * math/e_acosl.c: Likewise.
26915 * math/e_asinl.c: Likewise.
26916 * math/e_atan2l.c: Likewise.
26917 * math/e_atanhl.c: Likewise.
26918 * math/e_coshl.c: Likewise.
26919 * math/e_expl.c: Likewise.
26920 * math/e_fmodl.c: Likewise.
26921 * math/e_gammal_r.c: Likewise.
26922 * math/e_hypotl.c: Likewise.
26923 * math/e_j0l.c: Likewise.
26924 * math/e_j1l.c: Likewise.
26925 * math/e_jnl.c: Likewise.
26926 * math/e_lgammal_r.c: Likewise.
26927 * math/e_log10l.c: Likewise.
26928 * math/e_log2l.c: Likewise.
26929 * math/e_logl.c: Likewise.
26930 * math/e_powl.c: Likewise.
26931 * math/e_rem_pio2l.c: Likewise.
26932 * math/e_sinhl.c: Likewise.
26933 * math/e_sqrtl.c: Likewise.
26934 * math/fclrexcpt.c: Likewise.
26935 * math/fedisblxcpt.c: Likewise.
26936 * math/feenablxcpt.c: Likewise.
26937 * math/fegetenv.c: Likewise.
26938 * math/fegetexcept.c: Likewise.
26939 * math/fegetround.c: Likewise.
26940 * math/feholdexcpt.c: Likewise.
26941 * math/fesetenv.c: Likewise.
26942 * math/fesetround.c: Likewise.
26943 * math/feupdateenv.c: Likewise.
26944 * math/fgetexcptflg.c: Likewise.
26945 * math/fraiseexcpt.c: Likewise.
26946 * math/fsetexcptflg.c: Likewise.
26947 * math/ftestexcept.c: Likewise.
26948 * math/k_cosl.c: Likewise.
26949 * math/k_rem_pio2l.c: Likewise.
26950 * math/k_sinl.c: Likewise.
26951 * math/k_tanl.c: Likewise.
26952 * math/s_asinhl.c: Likewise.
26953 * math/s_atanl.c: Likewise.
26954 * math/s_cbrtl.c: Likewise.
26955 * math/s_erfl.c: Likewise.
26956 * math/s_expm1l.c: Likewise.
26957 * math/s_log1pl.c: Likewise.
26958 * math/s_tanhl.c: Likewise.
26959 * misc/acct.c: Likewise.
26960 * misc/brk.c: Likewise.
26961 * misc/chflags.c: Likewise.
26962 * misc/chroot.c: Likewise.
26963 * misc/fchflags.c: Likewise.
26964 * misc/fgetxattr.c: Likewise.
26965 * misc/flistxattr.c: Likewise.
26966 * misc/fremovexattr.c: Likewise.
26967 * misc/fsetxattr.c: Likewise.
26968 * misc/fsync.c: Likewise.
26969 * misc/ftruncate.c: Likewise.
26970 * misc/futimes.c: Likewise.
26971 * misc/futimesat.c: Likewise.
26972 * misc/getdomain.c: Likewise.
26973 * misc/getdtsz.c: Likewise.
26974 * misc/gethostid.c: Likewise.
26975 * misc/gethostname.c: Likewise.
26976 * misc/getloadavg.c: Likewise.
26977 * misc/getpagesize.c: Likewise.
26978 * misc/getsysstats.c: Likewise.
26979 * misc/getxattr.c: Likewise.
26980 * misc/gtty.c: Likewise.
26981 * misc/ioctl.c: Likewise.
26982 * misc/lgetxattr.c: Likewise.
26983 * misc/listxattr.c: Likewise.
26984 * misc/llistxattr.c: Likewise.
26985 * misc/lremovexattr.c: Likewise.
26986 * misc/lsetxattr.c: Likewise.
26987 * misc/lutimes.c: Likewise.
26988 * misc/madvise.c: Likewise.
26989 * misc/mincore.c: Likewise.
26990 * misc/mlock.c: Likewise.
26991 * misc/mlockall.c: Likewise.
26992 * misc/mmap.c: Likewise.
26993 * misc/mprotect.c: Likewise.
26994 * misc/msync.c: Likewise.
26995 * misc/munlock.c: Likewise.
26996 * misc/munlockall.c: Likewise.
26997 * misc/munmap.c: Likewise.
26998 * misc/preadv.c: Likewise.
26999 * misc/preadv64.c: Likewise.
27000 * misc/ptrace.c: Likewise.
27001 * misc/pwritev.c: Likewise.
27002 * misc/pwritev64.c: Likewise.
27003 * misc/readv.c: Likewise.
27004 * misc/reboot.c: Likewise.
27005 * misc/remap_file_pages.c: Likewise.
27006 * misc/removexattr.c: Likewise.
27007 * misc/revoke.c: Likewise.
27008 * misc/select.c: Likewise.
27009 * misc/setdomain.c: Likewise.
27010 * misc/setegid.c: Likewise.
27011 * misc/seteuid.c: Likewise.
27012 * misc/sethostid.c: Likewise.
27013 * misc/sethostname.c: Likewise.
27014 * misc/setregid.c: Likewise.
27015 * misc/setreuid.c: Likewise.
27016 * misc/setxattr.c: Likewise.
27017 * misc/sstk.c: Likewise.
27018 * misc/stty.c: Likewise.
27019 * misc/swapoff.c: Likewise.
27020 * misc/swapon.c: Likewise.
27021 * misc/sync.c: Likewise.
27022 * misc/syncfs.c: Likewise.
27023 * misc/syscall.c: Likewise.
27024 * misc/truncate.c: Likewise.
27025 * misc/ualarm.c: Likewise.
27026 * misc/usleep.c: Likewise.
27027 * misc/ustat.c: Likewise.
27028 * misc/utimes.c: Likewise.
27029 * misc/vhangup.c: Likewise.
27030 * misc/writev.c: Likewise.
27031 * posix/_exit.c: Likewise.
27032 * posix/alarm.c: Likewise.
27033 * posix/execve.c: Likewise.
27034 * posix/fexecve.c: Likewise.
27035 * posix/fork.c: Likewise.
27036 * posix/fpathconf.c: Likewise.
27037 * posix/getaddrinfo.c: Likewise.
27038 * posix/getegid.c: Likewise.
27039 * posix/geteuid.c: Likewise.
27040 * posix/getgid.c: Likewise.
27041 * posix/getgroups.c: Likewise.
27042 * posix/getlogin.c: Likewise.
27043 * posix/getlogin_r.c: Likewise.
27044 * posix/getpgid.c: Likewise.
27045 * posix/getpid.c: Likewise.
27046 * posix/getppid.c: Likewise.
27047 * posix/getresgid.c: Likewise.
27048 * posix/getresuid.c: Likewise.
27049 * posix/getsid.c: Likewise.
27050 * posix/getuid.c: Likewise.
27051 * posix/glob64.c: Likewise.
27052 * posix/nanosleep.c: Likewise.
27053 * posix/pathconf.c: Likewise.
27054 * posix/pause.c: Likewise.
27055 * posix/posix_madvise.c: Likewise.
27056 * posix/pread.c: Likewise.
27057 * posix/pread64.c: Likewise.
27058 * posix/pwrite.c: Likewise.
27059 * posix/pwrite64.c: Likewise.
27060 * posix/sched_getaffinity.c: Likewise.
27061 * posix/sched_getp.c: Likewise.
27062 * posix/sched_gets.c: Likewise.
27063 * posix/sched_primax.c: Likewise.
27064 * posix/sched_primin.c: Likewise.
27065 * posix/sched_rr_gi.c: Likewise.
27066 * posix/sched_setaffinity.c: Likewise.
27067 * posix/sched_setp.c: Likewise.
27068 * posix/sched_sets.c: Likewise.
27069 * posix/sched_yield.c: Likewise.
27070 * posix/setgid.c: Likewise.
27071 * posix/setlogin.c: Likewise.
27072 * posix/setpgid.c: Likewise.
27073 * posix/setresgid.c: Likewise.
27074 * posix/setresuid.c: Likewise.
27075 * posix/setsid.c: Likewise.
27076 * posix/setuid.c: Likewise.
27077 * posix/sleep.c: Likewise.
27078 * posix/spawni.c: Likewise.
27079 * posix/sysconf.c: Likewise.
27080 * posix/times.c: Likewise.
27081 * posix/wait.c: Likewise.
27082 * posix/wait3.c: Likewise.
27083 * posix/wait4.c: Likewise.
27084 * posix/waitpid.c: Likewise.
27085 * resolv/gai_sigqueue.c: Likewise.
27086 * resource/getpriority.c: Likewise.
27087 * resource/getrlimit.c: Likewise.
27088 * resource/getrusage.c: Likewise.
27089 * resource/nice.c: Likewise.
27090 * resource/setpriority.c: Likewise.
27091 * resource/setrlimit.c: Likewise.
27092 * resource/ulimit.c: Likewise.
27093 * rt/aio_cancel.c: Likewise.
27094 * rt/aio_fsync.c: Likewise.
27095 * rt/aio_read.c: Likewise.
27096 * rt/aio_sigqueue.c: Likewise.
27097 * rt/aio_suspend.c: Likewise.
27098 * rt/aio_write.c: Likewise.
27099 * rt/clock_getres.c: Likewise.
27100 * rt/clock_gettime.c: Likewise.
27101 * rt/clock_nanosleep.c: Likewise.
27102 * rt/clock_settime.c: Likewise.
27103 * rt/lio_listio.c: Likewise.
27104 * rt/mq_close.c: Likewise.
27105 * rt/mq_getattr.c: Likewise.
27106 * rt/mq_notify.c: Likewise.
27107 * rt/mq_open.c: Likewise.
27108 * rt/mq_receive.c: Likewise.
27109 * rt/mq_send.c: Likewise.
27110 * rt/mq_setattr.c: Likewise.
27111 * rt/mq_timedreceive.c: Likewise.
27112 * rt/mq_timedsend.c: Likewise.
27113 * rt/mq_unlink.c: Likewise.
27114 * rt/shm_open.c: Likewise.
27115 * rt/shm_unlink.c: Likewise.
27116 * rt/timer_create.c: Likewise.
27117 * rt/timer_delete.c: Likewise.
27118 * rt/timer_getoverr.c: Likewise.
27119 * rt/timer_gettime.c: Likewise.
27120 * rt/timer_settime.c: Likewise.
27121 * setjmp/__longjmp.c: Likewise.
27122 * setjmp/setjmp.c: Likewise.
27123 * signal/kill.c: Likewise.
27124 * signal/killpg.c: Likewise.
27125 * signal/raise.c: Likewise.
27126 * signal/sigaction.c: Likewise.
27127 * signal/sigaltstack.c: Likewise.
27128 * signal/sigblock.c: Likewise.
27129 * signal/sigignore.c: Likewise.
27130 * signal/sigintr.c: Likewise.
27131 * signal/signal.c: Likewise.
27132 * signal/sigpause.c: Likewise.
27133 * signal/sigpending.c: Likewise.
27134 * signal/sigqueue.c: Likewise.
27135 * signal/sigreturn.c: Likewise.
27136 * signal/sigset.c: Likewise.
27137 * signal/sigsetmask.c: Likewise.
27138 * signal/sigstack.c: Likewise.
27139 * signal/sigsuspend.c: Likewise.
27140 * signal/sigtimedwait.c: Likewise.
27141 * signal/sigvec.c: Likewise.
27142 * signal/sigwait.c: Likewise.
27143 * signal/sigwaitinfo.c: Likewise.
27144 * signal/sysv_signal.c: Likewise.
27145 * socket/accept.c: Likewise.
27146 * socket/accept4.c: Likewise.
27147 * socket/bind.c: Likewise.
27148 * socket/connect.c: Likewise.
27149 * socket/getpeername.c: Likewise.
27150 * socket/getsockname.c: Likewise.
27151 * socket/getsockopt.c: Likewise.
27152 * socket/isfdtype.c: Likewise.
27153 * socket/listen.c: Likewise.
27154 * socket/recv.c: Likewise.
27155 * socket/recvfrom.c: Likewise.
27156 * socket/recvmsg.c: Likewise.
27157 * socket/send.c: Likewise.
27158 * socket/sendmsg.c: Likewise.
27159 * socket/sendto.c: Likewise.
27160 * socket/setsockopt.c: Likewise.
27161 * socket/shutdown.c: Likewise.
27162 * socket/sockatmark.c: Likewise.
27163 * socket/socket.c: Likewise.
27164 * socket/socketpair.c: Likewise.
27165 * stdio-common/ctermid.c: Likewise.
27166 * stdio-common/cuserid.c: Likewise.
27167 * stdio-common/remove.c: Likewise.
27168 * stdio-common/rename.c: Likewise.
27169 * stdio-common/renameat.c: Likewise.
27170 * stdio-common/tempname.c: Likewise.
27171 * stdlib/getcontext.c: Likewise.
27172 * stdlib/makecontext.c: Likewise.
27173 * stdlib/setcontext.c: Likewise.
27174 * stdlib/swapcontext.c: Likewise.
27175 * stdlib/system.c: Likewise.
27176 * streams/fattach.c: Likewise.
27177 * streams/fdetach.c: Likewise.
27178 * streams/getmsg.c: Likewise.
27179 * streams/getpmsg.c: Likewise.
27180 * streams/putmsg.c: Likewise.
27181 * streams/putpmsg.c: Likewise.
27182 * sysdeps/unix/bsd/getpt.c: Likewise.
27183 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27184 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27185 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27188 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27190 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27191 * sysvipc/msgctl.c: Likewise.
27192 * sysvipc/msgget.c: Likewise.
27193 * sysvipc/msgrcv.c: Likewise.
27194 * sysvipc/msgsnd.c: Likewise.
27195 * sysvipc/semctl.c: Likewise.
27196 * sysvipc/semget.c: Likewise.
27197 * sysvipc/semop.c: Likewise.
27198 * sysvipc/semtimedop.c: Likewise.
27199 * sysvipc/shmat.c: Likewise.
27200 * sysvipc/shmctl.c: Likewise.
27201 * sysvipc/shmdt.c: Likewise.
27202 * sysvipc/shmget.c: Likewise.
27203 * termios/tcdrain.c: Likewise.
27204 * termios/tcflow.c: Likewise.
27205 * termios/tcflush.c: Likewise.
27206 * termios/tcgetattr.c: Likewise.
27207 * termios/tcgetpgrp.c: Likewise.
27208 * termios/tcsendbrk.c: Likewise.
27209 * termios/tcsetattr.c: Likewise.
27210 * termios/tcsetpgrp.c: Likewise.
27211 * time/adjtime.c: Likewise.
27212 * time/clock.c: Likewise.
27213 * time/getitimer.c: Likewise.
27214 * time/gettimeofday.c: Likewise.
27215 * time/setitimer.c: Likewise.
27216 * time/settimeofday.c: Likewise.
27217 * time/stime.c: Likewise.
27218 * time/time.c: Likewise.
27220 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27222 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27225 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27227 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27229 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27232 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27233 FE_TONEAREST before applying Dekker multiplication and Knuth
27234 addition. Clear inexact exceptions and check for exact zero
27235 results afterwards.
27236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27237 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27238 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27239 * math/libm-test.inc (fma_test): Add more tests.
27240 (fma_test_towardzero): Likewise.
27241 (fma_test_downward): Likewise.
27242 (fma_test_upward): Likewise.
27243 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27245 (libc_fesetround): New macro.
27246 (libc_fesetroundf): Likewise.
27247 (libc_fesetroundl): Likewise.
27248 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27250 (libc_fesetround_387): Likewise.
27251 (libc_fesetroundf): New macro.
27252 (libc_fesetround): Likewise.
27253 (libc_fesetroundl): Likewise.
27254 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27256 (libc_fesetroundf): New macro.
27257 (libc_fesetround): Likewise.
27258 (libc_fesetroundl): Likewise.
27259 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27260 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27261 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27263 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27264 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27266 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27267 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27269 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27273 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27274 integer constant usable in #if and use that to give value to enum
27276 (FE_DIVBYZERO): Likewise.
27277 (FE_UNDERFLOW): Likewise.
27278 (FE_OVERFLOW): Likewise.
27279 (FE_INVALID): Likewise.
27280 (FE_INVALID_SNAN): Likewise.
27281 (FE_INVALID_ISI): Likewise.
27282 (FE_INVALID_IDI): Likewise.
27283 (FE_INVALID_ZDZ): Likewise.
27284 (FE_INVALID_IMZ): Likewise.
27285 (FE_INVALID_COMPARE): Likewise.
27286 (FE_INVALID_SOFTWARE): Likewise.
27287 (FE_INVALID_SQRT): Likewise.
27288 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27289 (FE_TONEAREST): Likewise.
27290 (FE_TOWARDZERO): Likewise.
27291 (FE_UPWARD): Likewise.
27292 (FE_DOWNWARD): Likewise.
27293 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27294 (FE_DIVBYZERO): Likewise.
27295 (FE_OVERFLOW): Likewise.
27296 (FE_UNDERFLOW): Likewise.
27297 (FE_INEXACT): Likewise.
27298 (FE_TONEAREST): Likewise.
27299 (FE_DOWNWARD): Likewise.
27300 (FE_UPWARD): Likewise.
27301 (FE_TOWARDZERO): Likewise.
27302 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27303 (FE_UNDERFLOW): Likewise.
27304 (FE_OVERFLOW): Likewise.
27305 (FE_DIVBYZERO): Likewise.
27306 (FE_INVALID): Likewise.
27307 (FE_TONEAREST): Likewise.
27308 (FE_TOWARDZERO): Likewise.
27309 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27310 (FE_OVERFLOW): Likewise.
27311 (FE_UNDERFLOW): Likewise.
27312 (FE_DIVBYZERO): Likewise.
27313 (FE_INEXACT): Likewise.
27314 (FE_TONEAREST): Likewise.
27315 (FE_TOWARDZERO): Likewise.
27316 (FE_UPWARD): Likewise.
27317 (FE_DOWNWARD): Likewise.
27318 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27319 (FE_DIVBYZERO): Likewise.
27320 (FE_OVERFLOW): Likewise.
27321 (FE_UNDERFLOW): Likewise.
27322 (FE_INEXACT): Likewise.
27323 (FE_TONEAREST): Likewise.
27324 (FE_DOWNWARD): Likewise.
27325 (FE_UPWARD): Likewise.
27326 (FE_TOWARDZERO): Likewise.
27328 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27330 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27332 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27334 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27335 commands. Quote $PWD.
27336 (blacklist_exports): Don't use remove_newlines. Replace "declare
27338 (remove_newlines): Remove.
27340 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27342 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27343 * stdlib/stdlib.h (atof): Moved to ...
27344 * include/bits/stdlib-float.h: Here. New file.
27345 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27346 * stdlib/bits/stdlib-float.h: New file.
27347 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27349 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27352 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27354 * conform/conformtest.pl (@headers): Add fenv.h.
27355 * conform/data/fenv.h-data: New file.
27356 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27357 include of <math/fenv.h>.
27359 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27360 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27361 && !UNIX98]. Enables tests for XOPEN2K8.
27362 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27363 POSIX2008]: Likewise.
27365 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27366 (struct rusage): Do not expect type or its members.
27369 * math/math.h (FP_NAN): Define macro to integer constant usable in
27370 #if and use that to give value to enum constant.
27371 (FP_INFINITE): Likewise.
27372 (FP_ZERO): Likewise.
27373 (FP_SUBNORMAL): Likewise.
27374 (FP_NORMAL): Likewise.
27376 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27378 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27379 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27382 2012-11-02 Roland McGrath <roland@hack.frob.com>
27384 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27385 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27386 autoconf-time if not.
27387 * configure.in: Remove AC_PREREQ.
27389 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27391 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27392 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27393 of the internal implementation.
27395 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27397 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27398 except include of <misc/sys/syslog.h>.
27400 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27403 function returns with a NULL context exit with zero.
27405 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27407 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27409 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27411 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27412 (run_program_cmd): This.
27413 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27414 (tst_langinfo): New variable. Use it.
27416 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27418 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27419 floating point opcodes.
27421 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27423 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27426 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27428 * sysdeps/mach/hurd/powerpc: Remove directory.
27429 * sysdeps/mach/powerpc: Likewise.
27431 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27433 * scripts/check-local-headers.sh: Ignore c++ headers.
27435 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27437 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27438 __libc_cleanup_region_start argument.
27440 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27445 x * y using scaling, not as x * y + z.
27446 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27447 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27448 * math/libm-test.inc (fma_test): Add more tests.
27449 (fma_test_towardzero): Likewise.
27450 (fma_test_downward): Likewise.
27451 (fma_test_upward): Likewise.
27453 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27455 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27457 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27459 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27462 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27464 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27466 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27473 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27476 Fix the order of the list for glibc 2.17.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27480 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27484 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27487 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27488 for low part of x being zero before using __atanl (y).
27489 * math/libm-test.inc (atan2_test): Add another test.
27491 * manual/install.texi (Configuring and compiling): Document
27492 general use of test-wrapper and test-wrapper-env.
27493 * INSTALL: Regenerated.
27495 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27496 (__fma): Do not extract and scale down low bits on after-rounding
27497 systems when result rounded to normal precision would have normal
27499 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27500 (__fmal): Do not extract and scale down low bits on after-rounding
27501 systems when result rounded to normal precision would have normal
27503 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27504 (__fmal): Do not extract and scale down low bits on after-rounding
27505 systems when result rounded to normal precision would have normal
27507 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27509 (fma_test): Add more tests.
27510 (fma_test_towardzero): Likewise.
27511 (fma_test_downward): Likewise.
27512 (fma_test_upward): Likewise.
27514 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27516 * sysdeps/i386/tininess.h: Renamed to ...
27517 * sysdeps/x86/tininess.h: This.
27518 * sysdeps/x86_64/tininess.h: Removed.
27520 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27522 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27523 input. Use $(build-program-cmd).
27524 ($(objpfx)tst-array1-static.out): Likewise.
27525 ($(objpfx)tst-array2.out): Likewise.
27526 ($(objpfx)tst-array3.out): Likewise.
27527 ($(objpfx)tst-array4.out): Likewise.
27528 ($(objpfx)tst-array5.out): Likewise.
27529 ($(objpfx)tst-array5-static.out): Likewise.
27531 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27533 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27536 * nss/nsswitch.h (nss_interface_function): Provide new
27537 macro for use with NSS functions.
27538 * grp/initgroups.c: Use new macro.
27539 * nss/getXXbyYY.c: Likewise.
27540 * nss/getXXbyYY_r.c: Likewise.
27541 * nss/getXXent.c: Likewise.
27542 * nss/getXXent_r.c: Likewise.
27543 * sysdeps/posix/getaddrinfo.c: Likewise.
27545 2012-10-30 Andreas Jaeger <aj@suse.de>
27547 * po/ru.po: Update Russion translation from translation project.
27549 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27554 result and shift together with sticky bit instead of replicating
27555 round-to-nearest rounding.
27556 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27557 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27558 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27559 missing underflow exceptions.
27560 (fma_test_towardzero): Add more tests.
27561 (fma_test_downward): Likewise.
27562 (fma_test_upward): Likewise.
27565 * sysdeps/generic/tininess.h: New file.
27566 * sysdeps/i386/tininess.h: Likewise.
27567 * sysdeps/sh/tininess.h: Likewise.
27568 * sysdeps/x86_64/tininess.h: Likewise.
27569 * stdlib/tst-strtod-underflow.c: Likewise.
27570 * stdlib/tst-tininess.c: Likewise.
27571 * stdlib/strtod_l.c: Include <tininess.h>.
27572 (round_and_return): Do not set errno for exact underflow cases.
27573 Force an underflow exception when setting errno for underflow.
27574 Determine underflow based on rounding to normal precision if
27575 TININESS_AFTER_ROUNDING.
27576 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27577 ERANGE for exact underflow cases.
27578 * stdlib/Makefile (tests): Add tst-tininess and
27579 tst-strtod-underflow.
27580 ($(objpfx)tst-tininess): Use $(link-libm).
27581 ($(objpfx)tst-strtod-underflow): Likewise.
27583 2012-10-30 Andreas Jaeger <aj@suse.de>
27586 * elf/Makefile (tests): Remove conditional for have-initfini-array
27587 since this is now always required and the variable does not exist
27589 (tests-static): Likewise.
27590 (modules-names): Likewise.
27592 * po/eo.po: Add Esperanto translation from translation project.
27594 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27595 merged with constructor/destructor.
27596 (init_array): Likewise.
27597 * elf/tst-array2dep.c (fini_array): Likewise.
27598 (init_array): Likewise.
27600 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27602 * manual/message.texi: Delete @cartouche tags.
27604 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27606 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27608 * sysdeps/mach/hurd/fsync.c: Likewise.
27610 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27611 [_POSIX_REALTIME_SIGNALS]: Change condition to
27612 [_POSIX_REALTIME_SIGNALS > 0].
27614 2012-10-27 Andreas Jaeger <aj@suse.de>
27616 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27617 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27619 [__WORDSIZE != 64]: Likewise.
27621 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27623 * iconvdata/tst-table.sh: Remove ${SHELL}.
27624 * iconvdata/tst-tables.sh: Likewise.
27626 2012-10-25 David S. Miller <davem@davemloft.net>
27628 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27629 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27632 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27634 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27635 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27636 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27639 2012-10-25 Roland McGrath <roland@hack.frob.com>
27641 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27642 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27645 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27646 Jim Blandy <jimb@codesourcery.com>
27648 * scripts/cross-test-ssh.sh: New file.
27649 * manual/install.texi (Configuring and compiling): Document use of
27651 * INSTALL: Regenerated.
27653 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27655 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27658 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27660 * Makeconfig (run-program-prefix): Fix comment.
27662 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27663 Jim Blandy <jimb@codesourcery.com>
27665 * Makeconfig (test-wrapper): New variable,
27666 (test-wrapper-env): Likewise.
27667 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27668 (run-built-tests): Define to yes.
27669 (run-program-prefix): Use $(test-wrapper).
27670 (built-program-cmd): Likewise.
27671 * Rules (make-test-out): Use $(test-wrapper-env) and
27672 $(host-built-program-cmd).
27673 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27674 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27676 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27677 $(test-wrapper-env) to tst-rtld-load-self.sh.
27678 ($(objpfx)order2.out): Use $(test-wrapper).
27679 ($(objpfx)tst-initorder.out): Likewise.
27680 ($(objpfx)tst-initorder2.out): Likewise.
27681 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27682 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27683 (test_wrapper_env): New variable. Use it to run ld.so.
27684 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27685 Use it to run ld.so.
27686 (test_wrapper_env): Likewise.
27687 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27688 $(test-wrapper) to run-iconv-test.sh.
27689 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27690 (ICONV): Use $test_wrapper.
27691 * posix/Makefile ($(objpfx)globtest.out): Pass
27692 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27693 globtest.sh, not $(run-program-prefix).
27694 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27695 (test_wrapper): Likewise.
27696 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27697 set together with run_via_rtld_prefix.
27698 (run_program_prefix): Define in terms of test_wrapper and
27699 run_via_rtld_prefix.
27701 2012-10-24 Roland McGrath <roland@hack.frob.com>
27703 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27704 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27708 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27709 Declare __clock_getres, __clock_gettime, __clock_settime,
27710 __clock_nanosleep, and __clock_getcpuclockid.
27711 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27712 Remove librt_hidden_def (clock_gettime).
27713 * sysdeps/unix/clock_gettime.c: Likewise.
27714 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27715 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27716 * rt/clock_getres.c: Define __clock_getres as an alias.
27717 * sysdeps/posix/clock_getres.c: Likewise.
27718 * rt/clock_settime.c: Define __clock_settime as an alias.
27719 * sysdeps/unix/clock_settime.c: Likewise.
27720 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27721 * sysdeps/unix/clock_nanosleep.c: Likewise.
27722 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27723 * rt/clock-compat.c: New file.
27724 * rt/Makefile (librt-routines): Add clock-compat and move
27725 $(clock-routines) to ...
27726 (routines): ... here, new variable.
27727 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27728 Don't add get_clockfreq here.
27729 * rt/Versions (libc: GLIBC_2.17): New version set.
27730 Add clock_* symbols here.
27731 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27732 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27733 (GLIBC_2.17): Add clock_* symbols.
27734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27736 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27745 * NEWS: Mention the move.
27747 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27748 Use __open, __read, __close rather than their public counterparts.
27749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27750 (__get_clockfreq_via_cpuinfo): Likewise.
27751 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27752 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27754 * config.h.in (HAVE_IFUNC): New #undef.
27755 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27757 * configure: Regenerated.
27759 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27761 * configure.in: Move READELF check to start of file.
27762 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27763 libc_cv_asm_gnu_indirect_function in the process.
27764 * configure: Regenerated.
27766 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27768 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27769 send the output to /dev/null.
27770 (libc_cv_cc_with_libunwind): Likewise.
27771 (libc_cv_as_noexecstack): Likewise.
27772 * configure: Regenerate.
27774 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27776 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27778 * posix/globtest.sh (TMPDIR): Do not set.
27779 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27780 (testout): Likewise.
27782 2012-10-24 Andreas Jaeger <aj@suse.de>
27784 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27785 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27786 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27787 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27788 posix_fadvise64, posix_fallocate64.
27790 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27791 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27792 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27794 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27796 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27798 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27799 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27800 <bits/fcntl-linux.h>.
27801 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27804 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27805 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27806 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27807 [__WORDSIZE != 64]: Likewise.
27809 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27811 * Makeconfig (run-built-tests): New variable.
27812 * Rules [$(cross-compiling) = yes]: Change condition to
27813 [$(run-built-tests) = no].
27814 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27815 to [$(run-built-tests) = yes].
27816 * elf/Makefile [$(cross-compiling) = no]: Likewise
27817 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27818 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27819 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27820 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27821 * io/Makefile [$(cross-compiling) = no]: Likewise.
27822 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27823 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27824 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27825 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27826 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27827 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27828 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27829 * string/Makefile [$(cross-compiling) = no]: Likewise.
27831 * posix/Makefile ($(objpfx)globtest.out): Pass
27832 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27833 $(rtld-installed-name).
27834 * posix/globtest.sh (elf_objpfx): Remove variable.
27835 (rtld_installed_name): Likewise.
27836 (library_path): Likewise.
27837 (run_program_prefix): New variable. Use for running globtest
27840 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27841 Joseph Myers <joseph@codesourcery.com>
27843 * Makeconfig (host-built-program-cmd): New variable.
27844 * elf/Makefile (tst-stackguard1-ARGS): Use
27845 $(host-built-program-cmd).
27846 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27847 (tst-spawn-ARGS): Likewise.
27848 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27850 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27851 Jim Blandy <jimb@codesourcery.com>
27853 * Makeconfig (run-via-rtld-prefix): New variable.
27854 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27855 (built-program-cmd): Likewise.
27857 2012-10-22 Andreas Jaeger <aj@suse.de>
27859 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27860 __O_RSYNC if it exists, otherwise to O_SYNC.
27862 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27863 Joseph Myers <joseph@codesourcery.com>
27865 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27867 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27869 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27872 2012-10-22 Andreas Jaeger <aj@suse.de>
27874 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27879 bits/fcntl-linux.h.
27881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27882 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27889 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27890 Joseph Myers <joseph@codesourcery.com>
27892 * config.make.in (NM): New variable.
27894 2012-10-21 Andreas Jaeger <aj@suse.de>
27896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27897 definitions and declarations that are provided by
27898 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27900 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27903 * elf/Makefile (tests-static): Add tst-leaks1-static.
27904 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27905 ($(objpfx)tst-leaks1-static): New rule.
27906 ($(objpfx)tst-leaks1-static-mem): Likewise.
27907 (tst-leaks1-static-ENV): New macro.
27908 * elf/dl-open.c (dl_open_worker): Check the main application
27909 only if SHARED is defined.
27910 * elf/tst-leaks1-static.c: New file.
27912 2012-10-20 Andreas Jaeger <aj@suse.de>
27914 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27915 generic values for Linux.
27916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27917 and declarations that are provided by <bits/fcntl-linux.h> and
27918 include <bits/fcntl-linux.h>.
27919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27920 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27922 2012-10-20 Roland McGrath <roland@hack.frob.com>
27924 * io/fcntl.h: Move include of <bits/types.h> to the top and
27925 include it unconditionally.
27927 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27929 * wcsmbs/Makefile (tests-ifunc): New variable.
27930 (tests): Add $(tests-ifunc).
27931 * wcsmbs/test-wcschr-ifunc.c: New file.
27932 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27933 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27934 * wcsmbs/test-wcslen-ifunc.c: Likewise.
27935 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27936 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27938 * string/Makefile (tests-ifunc): New variable.
27939 (tests): Add $(tests-ifunc).
27940 * string/test-memccpy.c (TEST_NAME): New macro.
27941 * string/test-memchr.c (TEST_NAME): Likewise.
27942 * string/test-memcmp.c (TEST_NAME): Likewise.
27943 * string/test-memcpy.c (TEST_NAME): Likewise.
27944 * string/test-memmem.c (TEST_NAME): Likewise.
27945 * string/test-memmove.c (TEST_NAME): Likewise.
27946 * string/test-memset.c (TEST_NAME): Likewise.
27947 * string/test-rawmemchr.c (TEST_NAME): Likewise.
27948 * string/test-stpcpy.c (TEST_NAME): Likewise.
27949 * string/test-stpncpy.c (TEST_NAME): Likewise.
27950 * string/test-strcasecmp.c (TEST_NAME): Likewise.
27951 * string/test-strcasestr.c (TEST_NAME): Likewise.
27952 * string/test-strcat.c (TEST_NAME): Likewise.
27953 * string/test-strchr.c (TEST_NAME): Likewise.
27954 * string/test-strcmp.c(TEST_NAME): Likewise.
27955 * string/test-strcpy.c (TEST_NAME): Likewise.
27956 * string/test-strcspn.c (TEST_NAME): Likewise.
27957 * string/test-strlen.c (TEST_NAME): Likewise.
27958 * string/test-strncasecmp.c (TEST_NAME): Likewise.
27959 * string/test-strncmp.c (TEST_NAME): Likewise.
27960 * string/test-strncpy.c (TEST_NAME): Likewise.
27961 * string/test-strnlen.c (TEST_NAME): Likewise.
27962 * string/test-strpbrk.c (TEST_NAME): Likewise.
27963 * string/test-strrchr.c (TEST_NAME): Likewise.
27964 * string/test-strspn.c (TEST_NAME): Likewise.
27965 * string/test-strstr.c (TEST_NAME): Likewise.
27966 * string/test-bcopy-ifunc.c: New file.
27967 * string/test-bzero-ifunc.c: Likewise.
27968 * string/test-memccpy-ifunc.c: Likewise.
27969 * string/test-memchr-ifunc.c: Likewise.
27970 * string/test-memcmp-ifunc.c: Likewise.
27971 * string/test-memcpy-ifunc.c: Likewise.
27972 * string/test-memmem-ifunc.c: Likewise.
27973 * string/test-memmove-ifunc.c: Likewise.
27974 * string/test-mempcpy-ifunc.c: Likewise.
27975 * string/test-memset-ifunc.c: Likewise.
27976 * string/test-rawmemchr-ifunc.c: Likewise.
27977 * string/test-stpcpy-ifunc.c: Likewise.
27978 * string/test-stpncpy-ifunc.c: Likewise.
27979 * string/test-strcasecmp-ifunc.c: Likewise.
27980 * string/test-strcasestr-ifunc.c: Likewise.
27981 * string/test-strcat-ifunc.c: Likewise.
27982 * string/test-strchr-ifunc.c: Likewise.
27983 * string/test-strchrnul-ifunc.c: Likewise.
27984 * string/test-strcmp-ifunc.c: Likewise.
27985 * string/test-strcpy-ifunc.c: Likewise.
27986 * string/test-strcspn-ifunc.c: Likewise.
27987 * string/test-strlen-ifunc.c: Likewise.
27988 * string/test-strncasecmp-ifunc.c: Likewise.
27989 * string/test-strncat-ifunc.c: Likewise.
27990 * string/test-strncmp-ifunc.c: Likewise.
27991 * string/test-strncpy-ifunc.c: Likewise.
27992 * string/test-strnlen-ifunc.c: Likewise.
27993 * string/test-strpbrk-ifunc.c: Likewise.
27994 * string/test-strrchr-ifunc.c: Likewise.
27995 * string/test-strspn-ifunc.c: Likewise.
27996 * string/test-strstr-ifunc.c: Likewise.
27998 * debug/Makefile (tests-ifunc): New variable.
27999 (tests): Add $(tests-ifunc).
28000 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28001 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28002 * debug/test-stpcpy_chk-ifunc.c: New file.
28003 * debug/test-strcpy_chk-ifunc.c: Likewise.
28005 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28008 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28009 header is not read in.
28011 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28013 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28014 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28015 directly. Pass built executable to script as
28016 $(built-program-cmd).
28017 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28018 $testprogram without using LD_LIBRARY_PATH and $ldso.
28020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28021 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28022 $(rtld-installed-name).
28023 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28024 (rtld_installed_name): Likewise.
28025 (library_path): Likewise.
28026 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28027 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28028 $(run-program-prefix) to tst-tables.sh.
28029 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28030 it to run tst-table-from and tst-table-to.
28031 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28032 Pass it to tst-table.sh.
28033 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28034 $(run-program-prefix) to tst-gettext.sh.
28035 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28037 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28039 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28040 to run tst-gettext.
28041 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28042 to run tst-gettext2.
28043 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28044 to run tst-translit.
28045 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28046 $(run-program-prefix) to tst-mtrace.sh.
28047 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28049 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28050 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28051 $(rtld-installed-name).
28052 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28053 (rtld_installed_name): Likewise.
28054 (run_program_prefix): New variable. Use it to run wordexp-test.
28056 * Makeconfig (ARCH): Remove all definitions.
28057 (machine): Likewise.
28058 [ARCH]: Remove conditional code.
28059 [!objdir]: Give error.
28060 [!objdir] (objpfx): Remove.
28061 [!objdir] (common-objpfx): Likewise.
28062 [!objdir] (common-objdir): Likewise.
28063 * configure.in (config_makefile): Remove. Hardcode Makefile in
28064 AC_CONFIG_FILES call.
28065 * configure: Regenerated.
28068 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28070 (testout): Likewise.
28072 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28073 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28074 $(rtld-installed-name).
28075 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28076 (rtld_installed_name): Likwise.
28077 (runit): Remove function.
28078 (run_getconf): New variable, Use it for running getconf binary.
28080 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28083 * string/test-memmem.c (check_result): New function.
28084 (do_one_test): Use it.
28085 (check1): New function.
28086 (test_main): Use it.
28088 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28090 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28092 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28094 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28095 (_G_LSEEK64): Likewise.
28096 (_G_MMAP64): Likewise.
28097 (_G_FSTAT64): Likewise.
28098 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28099 (_G_LSEEK64): Likewise.
28100 (_G_MMAP64): Likewise.
28101 (_G_FSTAT64): Likewise.
28102 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28103 unconditional. Call __mmap64 directly.
28104 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28105 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28106 __lseek64 directly.
28107 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28108 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28110 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28111 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28112 __lseek64 directly.
28113 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28114 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28115 __lseek64 directly.
28116 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28117 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28118 __lseek64 directly.
28119 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28120 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28121 __fxstat64 directly.
28122 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28123 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28125 (freopen64) [!_G_OPEN64]: Remove conditional code.
28126 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28128 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28129 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28131 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28132 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28134 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28135 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28137 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28138 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28140 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28141 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28143 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28144 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28146 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28148 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28151 * manual/memory.texi (Malloc Tunable Parameters): Add note
28152 about free list pointers overwriting some perturb bytes.
28153 Wording suggested by Roland McGrath.
28155 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28157 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28158 (lgamma_test): Likewise.
28159 (tgamma_test): Likewise.
28161 2012-10-16 Florian Weimer <fweimer@redhat.com>
28164 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28165 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28167 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28169 * NEWS: Mention BZ #14716.
28170 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28171 when removing AVAILABLE1_USES_J macro.
28173 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28175 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28176 (__bswap_64): __uint64_t for unsigned 64-bit int.
28178 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28180 * include/string.h (memmem): Declare libc hidden alias.
28181 * string/memmem.c (memmem): Define libc hidden alias.
28182 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28183 __read, __close instead of open, read, close.
28185 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28187 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28188 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28190 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28191 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28192 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28194 (__rawmemchr_sse2): Likewise.
28195 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28196 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28197 (__strchr_sse2): Likewise.
28198 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28199 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28200 (__strcasecmp_sse2): Likewise.
28201 (__strncasecmp_sse2): Likewise.
28202 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28203 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28204 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28205 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28206 (__strrchr_sse2): Likewise.
28207 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28209 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28210 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28211 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28212 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28213 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28214 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28215 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28216 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28217 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28218 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28219 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28220 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28221 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28222 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28223 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28224 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28225 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28226 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28227 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28228 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28229 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28230 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28231 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28232 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28233 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28234 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28235 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28236 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28237 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28238 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28240 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28242 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28243 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28244 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28245 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28247 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28249 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28250 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28251 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28252 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28254 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28255 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28256 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28257 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28258 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28259 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28260 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28261 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28262 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28263 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28264 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28265 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28266 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28267 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28268 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28269 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28270 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28271 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28272 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28273 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28274 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28275 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28276 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28277 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28279 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28280 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28281 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28282 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28283 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28284 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28285 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28286 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28287 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28288 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28289 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28290 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28291 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28292 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28293 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28294 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28296 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28297 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28298 * include/ifunc-impl-list.h: New file.
28299 * misc/ifunc-impl-list.c: Likewise.
28300 * misc/Makefile (routines): Add ifunc-impl-list.
28301 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28302 * string/test-string.h: Include <ifunc-impl-list.h>.
28303 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28304 TEST_NAME]: New variables.
28305 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28307 (test_init): Call __libc_ifunc_impl_list to initialize
28308 func_list if TEST_IFUNC and TEST_NAME are defined.
28310 * string/Makefile (strop-tests): Add bcopy and bzero.
28311 * string/test-bcopy.c: New file.
28312 * string/test-bzero.c: Likewise.
28313 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28315 * string/test-memset.c: Support bzero test if TEST_BZERO is
28317 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28319 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28321 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28324 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28326 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28327 * configure: Regenerated.
28329 * Makeconfig (+link-static-before-libc): Don't include
28330 $(link-static-libc).
28332 * libio/libio.h (_IO_pos_t): Remove.
28334 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28336 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28339 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28341 * crypt/crypt-entry.c: Include fips-private.h.
28342 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28343 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28344 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28345 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28347 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28349 * crypt/crypt-private.h: Include stdbool.h.
28350 (_ufc_setup_salt_r): Return bool.
28351 * crypt/crypt-entry.c: Include errno.h.
28352 (__crypt_r): Return NULL with EINVAL for bad salt.
28353 * crypt/crypt_util.c (bad_for_salt): New.
28354 (_ufc_setup_salt_r): Check that salt is long enough and within
28355 the specified alphabet.
28356 * crypt/badsalttest.c: New file.
28357 * crypt/Makefile (tests): Add it.
28358 ($(objpfx)badsalttest): New.
28360 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28362 * NEWS: Add entry for BZ #14602.
28364 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28366 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28368 * math/libm-test.inc: Update comment listing what functions and
28370 (isgreater_test): New function.
28371 (isgreaterequal_test): Likewise.
28372 (isless_test): Likewise.
28373 (islessequal_test): Likewise.
28374 (islessgreater_test): Likewise.
28375 (isunordered_test): Likewise.
28376 (main): Call the new functions.
28378 2012-10-09 Roland McGrath <roland@hack.frob.com>
28380 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28381 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28382 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28383 * sysdeps/i386/configure: Regenerated.
28384 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28385 * sysdeps/mach/configure: Regenerated.
28386 * sysdeps/mach/hurd/configure: Regenerated.
28387 * sysdeps/powerpc/configure: Regenerated.
28388 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28389 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28390 * sysdeps/s390/s390-32/configure: Regenerated.
28391 * sysdeps/s390/s390-64/configure: Regenerated.
28392 * sysdeps/sh/configure: Regenerated.
28393 * sysdeps/sparc/configure: Regenerated.
28394 * sysdeps/unix/sysv/linux/configure: Regenerated.
28395 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28396 * sysdeps/x86_64/configure: Regenerated.
28398 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28399 defined. Don't check if MAP is NULL.
28401 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28403 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28404 (_G_stat64): Likewise.
28405 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28406 (_G_stat64): Likewise.
28407 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28408 instead of struct _G_stat64.
28409 * libio/fileops.c (mmap_remap_check): Likewise.
28410 (decide_maybe_mmap): Likewise.
28411 (_IO_new_file_seekoff): Likewise.
28412 (_IO_file_stat): Likewise.
28413 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28415 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28416 instead of struct _G_stat64.
28417 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28419 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28422 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28424 (CHECK_EOL): New macro.
28425 (two_way_short_needle): Check beginning of haystack for EOL. Use
28427 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28428 Replace with CHECK_EOL.
28429 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28430 Replace with CHECK_EOL.
28432 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28434 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28436 * math/libm-test.inc: Update comment listing what functions and
28438 (finite_test): New function.
28439 (isinf_test): Likewise.
28440 (isnan_test): Likewise.
28441 (fpclassify_test): Test subnormal input.
28442 (isfinite_test): Likewise.
28443 (isnormal_test): Likewise.
28444 (main): Call the new functions.
28446 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28449 * Makerules (%.dynsym): Force C locale when running
28450 $(OBJDUMP) --dynamic-syms.
28452 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28454 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28457 2012-10-06 David S. Miller <davem@davemloft.net>
28459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28460 upper 32-bits of the length value in %o2 since we use branch-on-register
28461 tests which consider the entire 64-bit register.
28463 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28465 * string/test-strstr.c (check2): Add a test for page boundary.
28467 2012-10-05 David S. Miller <davem@davemloft.net>
28469 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28470 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28472 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28474 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28475 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28476 and bzero when HWCAP_SPARC_CRYPTO is present.
28478 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28481 * string/test-strstr.c (check2): New function.
28482 (test_main): Call check2.
28484 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28486 * string/bug-strcasestr1.c (do_test): Moved to ...
28487 * string/test-strcasestr.c (check1): Here. New function.
28488 (do_one_test): Break out result checking code into ...
28489 (check_result): This. New function.
28490 (do_one_test): Call check_result.
28491 (test_main): Call check1.
28492 * string/bug-strchr1.c (do_test): Moved to ...
28493 * string/test-strchr.c (check1): Here. New function.
28494 (do_one_test): Break out result checking code into ...
28495 (check_result): This. New function.
28496 (do_one_test): Call check_result.
28497 (test_main): Call check1.
28498 * string/bug-strstr1.c (main): Moved to ...
28499 * string/test-strstr.c (check1): Here. New function.
28500 (do_one_test): Break out result checking code into ...
28501 (check_result): This. New function.
28502 (do_one_test): Call check_result.
28503 (test_main): Call check1.
28504 * string/bug-strcasestr1.c: Removed.
28505 * string/bug-strchr1.c: Likewise.
28506 * string/bug-strstr1.c: Likewise.
28508 * elf/Makefile (dl-routines): Add hwcaps.
28509 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28510 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28511 (_dl_important_hwcaps): Moved to ...
28512 * elf/dl-hwcaps.c: Here. New file.
28513 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28516 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28517 if IS_IN_rtld isn't defined.
28519 * elf/dl-support.c (_dl_sysinfo_map): New.
28520 Include "get-dynamic-info.h" and "setup-vdso.h".
28521 (_dl_non_dynamic_init): Call setup_vdso.
28522 * elf/dynamic-link.h: Don't include <assert.h>.
28523 (elf_get_dynamic_info): Moved to ...
28524 * elf/get-dynamic-info.h: Here. New file.
28525 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28526 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28527 * elf/setup-vdso.h: Here. New file.
28528 * elf/rtld.c: Include "setup-vdso.h".
28529 (dl_main): Call setup_vdso.
28531 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28533 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28534 creal in comment listing functions tested. List finite, isinf,
28535 isnan, isless, islessequal, isgreater, isgreaterequal,
28536 islessgreater, isunordered, lgamma_r and pow10 as functions and
28537 macros not tested. Mention which functions not tested are aliases
28538 for other functions. Fix typo. Note that signs of NaNs are not
28541 * scripts/config.guess: Update from config.git.
28542 * scripts/config.sub: Likewise.
28544 2012-10-04 Roland McGrath <roland@hack.frob.com>
28546 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28547 * misc/madvise.c (madvise): Renamed to __madvise.
28548 Make madvise a weak alias.
28549 * include/sys/mman.h: Declare __madvise.
28550 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28551 * sysdeps/unix/syscalls.list
28552 (madvise): Make __madvise the strong name, and madvise a weak alias.
28553 * sysdeps/unix/sysv/linux/syscalls.list
28554 (madvise, mmap): Remove redundant entries.
28555 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28556 * malloc/malloc.c (mtrim): Likewise.
28557 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28559 2012-10-03 Roland McGrath <roland@hack.frob.com>
28561 * sysdeps/mach/hurd/dl-cache.c: File removed.
28562 * config.h.in (USE_LDCONFIG): New #undef.
28563 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28564 * configure: Regenerated.
28565 * elf/Makefile (dl-routines): Add dl-cache only under
28566 [$(use-ldconfig) = yes].
28567 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28568 cache on [USE_LDCONFIG].
28569 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28571 * elf/rtld.c (dl_main): Likewise.
28573 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28575 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28576 _SC_LEVEL4_CACHE_LINESIZE.
28578 2012-10-03 Roland McGrath <roland@hack.frob.com>
28580 * sysdeps/unix/bsd/confstr.h: File removed.
28582 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28584 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28587 2012-10-02 Roland McGrath <roland@hack.frob.com>
28589 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28590 Make 'mapoff' field ElfW(Off) rather than off_t.
28592 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28594 * nscd/Makefile: Remove nscd-cflags and all its users.
28595 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28596 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28599 * malloc.c (malloc_printerr): Clarify error message.
28601 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28605 Set bit_FMA_Usable if FMA is supported.
28606 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28608 (bit_FMA4_Usable): Updated.
28609 (index_FMA_Usable): New macro.
28610 (CPUID_FMA): Likewise
28611 (HAS_FMA): Defined with bit_FMA_Usable.
28613 2012-10-01 Roland McGrath <roland@hack.frob.com>
28615 * bits/types.h (__swblk_t): Type removed.
28616 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28617 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28619 (__SWBLK_T_TYPE): Likewise.
28620 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28621 (__SWBLK_T_TYPE): Likewise.
28622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28623 (__SWBLK_T_TYPE): Likewise.
28624 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28625 (__SWBLK_T_TYPE): Likewise.
28627 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28628 Honza Horak <hhorak@redhat.com>
28630 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28631 (xdr_mapname): Use YPMAXMAP as maxsize.
28632 (xdr_peername): Use YPMAXPEER as maxsize.
28633 (xdr_keydat): Use YPAXRECORD as maxsize.
28634 (xdr_valdat): Use YPMAXRECORD as maxsize.
28636 2012-10-01 Roland McGrath <roland@hack.frob.com>
28638 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28640 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28641 * csu/init-first.c: ... here.
28642 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28643 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28644 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28645 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28646 * sysdeps/i386/init-first.c: File removed.
28647 * sysdeps/sh/init-first.c: File removed.
28649 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28653 if x * y might underflow to zero and z is zero.
28654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28656 * math/libm-test.inc (min_subnorm_value): New variable.
28657 (fma_test): Add more tests.
28658 (fma_test_towardzero): Likewise.
28659 (fma_test_downward): Likewise
28660 (fma_test_upward): Likewise.
28661 (initialize): Set min_subnorm_value.
28663 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28668 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28669 mode for addition resulting in exact zero.
28670 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28671 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28673 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28674 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28675 * math/libm-test.inc (fma_test): Add more tests.
28676 (fma_test_towardzero): New function.
28677 (fma_test_downward): Likewise.
28678 (fma_test_upward): Likewise.
28679 (main): Call the new functions.
28681 2012-09-28 David S. Miller <davem@davemloft.net>
28683 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28685 2012-09-28 Roland McGrath <roland@hack.frob.com>
28687 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28688 instead of SIGALRM.
28690 * sysdeps/gnu/_G_config.h: Moved to ...
28691 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28692 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28693 * sysdeps/generic/_G_config.h: ... here.
28695 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28697 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28699 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28700 Conditionalize target on [libnss_test1.so-version].
28702 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28704 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28705 (elfobjdir): Move out of conditionals.
28707 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28708 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28709 (__nss_lookup_function): Conditionalize label remove_from_tree on
28710 [!DO_STATIC_NSS || SHARED], matching its only use.
28712 2012-09-28 David S. Miller <davem@davemloft.net>
28714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28715 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28717 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28719 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28721 when HWCAP_SPARC_CRYPTO is present.
28723 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28725 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28727 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28730 * stdio-common/vfprintf.c (process_string_arg): Revert
28733 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28735 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28737 * stdio-common/tst-sprintf.c: Include <locale.h>
28738 (main): Test sprintf's handling of incomplete multibyte
28741 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28743 * elf/dl-runtime.c (VERSYMIDX): Removed.
28744 * elf/dl-version.c (VERSYMIDX): Likewise.
28745 * elf/do-rel.h (VERSYMIDX): Likewise.
28746 (VALIDX): Likewise.
28747 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28748 * elf/rtld.c (VALIDX): Likewise.
28749 (ADDRIDX): Likewise.
28750 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28751 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28752 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28753 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28754 (VALIDX): Likewise.
28755 (ADDRIDX): Likewise.
28757 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28759 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28761 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28764 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28766 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28767 addresses are in the same scope as 192.0.2/24.
28768 * posix/gai.conf: Document new scope table defaults.
28770 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28773 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28774 for ftell. Compute offsets from write pointers instead.
28775 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28777 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28780 * libio/Makefile (tests): New test case tst-fseek.
28781 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28782 combination works in wide mode.
28783 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28784 state when the external buffer state changes.
28786 2012-09-27 David S. Miller <davem@davemloft.net>
28789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28790 pass reloc->r_addend in as the 'high' argument to
28791 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28795 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28797 * rt/tst-aio2.c: Include <pthread.h>.
28798 * rt/tst-aio3.c: Likewise.
28800 2012-09-27 Steve Ellcey <sellcey@mips.com>
28802 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28804 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28806 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28807 contents on [SHARED].
28809 2012-09-26 Marek Polacek <polacek@redhat.com>
28813 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28814 for C++ and GCC <4.3 as well as for non GCC compilers.
28816 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28820 2012-09-25 Roland McGrath <roland@hack.frob.com>
28822 * Makefile.in (all, install): Declare with .PHONY.
28823 Reported by Michael Hope <michael.hope@linaro.org>.
28825 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28827 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28828 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28830 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28832 (sydep_routines): Add the new and the internal functions.
28833 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28834 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28836 (GLIBC_2.17): Add the new function.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28838 (GLIBC_2.17): Likewise.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28840 (GLIBC_2.17): Likewise.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28842 (GLIBC_2.17): Likewise.
28843 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28845 2012-09-25 Alan Modra <amodra@gmail.com>
28847 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28848 Add release barrier before setting once_control to say
28849 initialisation is done. Add hints on lwarx. Use macro in
28851 (clear_once_control): Add release barrier.
28853 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28856 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28858 * math/s_clog10.c (__clog10): Likewise.
28859 * math/s_clog10f.c (__clog10f): Likewise.
28860 * math/s_clog10l.c (__clog10l): Likewise.
28861 * math/s_clogf.c (__clogf): Likewise.
28862 * math/s_clogl.c (__clogl): Likewise.
28863 * math/Makefile (libm-calls): Add x2y2m1.
28864 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28865 (__x2y2m1): Likewise.
28866 (__x2y2m1l): Likewise.
28867 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28868 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28871 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28872 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28873 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28874 * sysdeps/i386/fpu/libm-test-ulps: Update.
28875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28878 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28879 int as type of variable DEPTH.
28880 (glob): Use size_t instead of int as type of variables NEWCOUNT
28883 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28885 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28886 Add s_sincosf-sse2.
28887 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28888 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28889 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28890 macros for using routine as __sincosf_ia32.
28891 Use macro for function declaration and weak_alias.
28892 * sysdeps/i386/fpu/libm-test-ulps: Update.
28894 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28897 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28898 subnormal argument.
28899 * math/s_cexpf.c (__cexpf): Likewise.
28900 * math/s_csinf.c (__csinf): Likewise.
28901 * math/s_csinhf.c (__csinhf): Likewise.
28902 * math/s_ctanf.c (__ctanf): Likewise.
28903 * math/s_ctanhf.c (__ctanhf): Likewise.
28904 * math/s_ccosh.c (__ccoshf): Likewise.
28905 * math/s_cexp.c (__cexpl): Likewise.
28906 * math/s_csin.c (__csin): Likewise.
28907 * math/s_csinh.c (__csinh): Likewise.
28908 * math/s_ctan.c (__ctan): Likewise.
28909 * math/s_ctanh.c (ctanh): Likewise.
28910 * math/s_ccoshl.c (__ccoshl): Likewise.
28911 * math/s_cexpl.c (__cexpl): Likewise.
28912 * math/s_csinl.c (__csinl): Likewise.
28913 * math/s_csinhl.c (__csinhl): Likewise.
28914 * math/s_ctanl.c (__ctanl): Likewise.
28915 * math/s_ctanhl.c (__ctanhl): Likewise.
28917 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28919 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28920 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28921 (_IO_off_t): Define to __off_t, not _G_off_t.
28922 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28923 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28924 (_IO_wint_t): Define to wint_t, not _G_wint_t.
28925 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28926 type of __dummy and __dummy2 fields.
28927 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28928 (_G_ssize_t): Likewise.
28929 (_G_off_t): Likewise.
28930 (_G_pid_t): Likewise.
28931 (_G_uid_t): Likewise.
28932 (_G_wchar_t): Likewise.
28933 (_G_wint_t): Likewise.
28934 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28935 (_G_ssize_t): Likewise.
28936 (_G_off_t): Likewise.
28937 (_G_pid_t): Likewise.
28938 (_G_uid_t): Likewise.
28939 (_G_wchar_t): Likewise.
28940 (_G_wint_t): Likewise.
28941 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28942 (_G_ssize_t): Likewise.
28943 (_G_off_t): Likewise.
28944 (_G_pid_t): Likewise.
28945 (_G_uid_t): Likewise.
28946 (_G_wchar_t): Likewise.
28947 (_G_wint_t): Likewise.
28949 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28951 * malloc/arena.c: Include malloc-sysdep.h.
28952 (shrink_heap): Use check_may_shrink_heap to decide if madvise
28953 is sufficient to shrink the heap or an unmap is needed.
28954 * sysdeps/generic/malloc-sysdep.h: New file. Define
28955 new function check_may_shrink_heap.
28956 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
28957 new function check_may_shrink_heap.
28959 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28961 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28964 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
28966 * catgets/test-gencat.sh: Add "set -e".
28967 * elf/tst-pathopt.sh: Likewise.
28968 * grp/tst_fgetgrent.sh: Likewise.
28969 * iconvdata/run-iconv-test.sh: Likewise.
28970 * intl/tst-gettext.sh: Likewise.
28971 * intl/tst-gettext2.sh: Likewise.
28972 * intl/tst-gettext4.sh: Likewise.
28973 * intl/tst-gettext6.sh: Likewise.
28974 * intl/tst-translit.sh: Likewise.
28975 * io/ftwtest-sh: Likewise.
28976 * libio/test-freopen.sh: Likewise.
28977 * malloc/tst-mtrace.sh: Likewise.
28978 * posix/globtest.sh: Likewise.
28979 * posix/tst-getconf.sh: Likewise.
28980 * posix/wordexp-tst.sh: Likewise.
28981 * stdio-common/tst-printf.sh: Likewise.
28982 * stdio-common/tst-unbputc.sh: Likewise.
28983 * stdlib/tst-fmtmsg.sh: Likewise.
28984 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28985 * catgets/Makefile: Do not specify -e option when running
28986 testsuite shell scripts.
28987 * elf/Makefile: Likewise.
28988 * grp/Makefile: Likewise.
28989 * iconvdata/Makefile: Likewise.
28990 * intl/Makefile: Likewise.
28991 * io/Makefile: Likewise.
28992 * libio/Makefile: Likewise.
28993 * malloc/Makefile: Likewise.
28994 * posix/Makefile: Likewise.
28995 * stdio-common/Makefile: Likewise.
28996 * stdlib/Makefile: Likewise.
28997 * sysdeps/x86_64/Makefile: Likewise.
28999 * io/ftwtest-sh: Add copyright header.
29000 * posix/globtest.sh: Likewise.
29001 * posix/tst-getconf.sh: Likewise.
29002 * posix/wordexp-tst.sh: Likewise.
29003 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29005 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29008 * Makeconfig (+link): Defined as $(+link-static) if
29009 $(build-shared) isn't yes.
29010 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29012 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29014 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29017 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29018 new chunk size with MALLOC_ALIGN_MASK.
29020 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29023 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29025 (__printf_fphex): Determine rounding using get_rounding_mode and
29027 * stdio-common/tst-printf-round.c (struct hex_test): New
29029 (hex_tests): New variable.
29030 (test_hex_in_one_mode): New function.
29031 (do_test): Also run tests for hex float output.
29033 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29035 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29036 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29037 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29038 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29039 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29040 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29041 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29042 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29044 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29046 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29047 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29048 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29049 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29051 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29054 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29056 * elf/tst-rtld-load-self.sh: New test.
29057 * elf/Makefile: Run it.
29059 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29061 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29062 (tst-writev-ENV): Remove.
29063 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29065 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29067 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29069 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29071 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29073 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29075 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29076 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29077 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29080 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29083 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29084 * config.make.in (have-cpp-asm-debuginfo): Removed.
29085 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29086 * configure: Regenerated.
29088 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29091 * stdio-common/printf_fp.c: Include <stdbool.h> and
29093 (___printf_fp): Determine rounding using get_rounding_mode and
29095 * stdio-common/tst-printf-round.c: New file.
29096 * stdio-common/Makefile (tests): Add tst-printf-round.
29097 (link-libm): New variable.
29098 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29100 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29103 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29104 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29106 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29109 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29111 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29112 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29113 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29114 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29116 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29119 * include/rounding-mode.h: New file.
29120 * sysdeps/generic/get-rounding-mode.h: Likewise.
29121 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29122 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29123 (MAX_VALUE): New macro.
29124 (MIN_VALUE): Likewise.
29125 (overflow_value): New function.
29126 (underflow_value): Likewise.
29127 (round_and_return): Use overflow_value and underflow_value to
29128 determine return values in overflow and underflow cases. Use
29129 round_away to determine rounding depending on rounding mode.
29130 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29131 determine return values in overflow and underflow cases.
29132 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29133 (struct test_results): New structure.
29134 (struct test): Use struct test_results to store expected results
29135 for all rounding modes.
29136 (TEST): Include expected results for all rounding modes.
29137 (test_in_one_mode): New function.
29138 (do_test): Use test_in_one_mode to compute and check results.
29139 Check results for all rounding modes.
29140 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29143 2012-12-09 Allan McRae <allan@archlinux.org>
29145 * sysdeps/i386/fpu/libm-test-ulps: Update
29147 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29149 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29150 (_G_int32_t): Likewise.
29151 (_G_uint16_t): Likewise.
29152 (_G_uint32_t): Likewise.
29153 (_G_HAVE_BOOL): Likewise.
29154 (_G_HAVE_ATEXIT): Likewise.
29155 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29156 (_G_HAVE_IO_FILE_OPEN): Likewise.
29157 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29158 (_G_int32_t): Likewise.
29159 (_G_uint16_t): Likewise.
29160 (_G_uint32_t): Likewise.
29161 (_G_HAVE_BOOL): Likewise.
29162 (_G_HAVE_ATEXIT): Likewise.
29163 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29164 (_G_HAVE_IO_FILE_OPEN): Likewise.
29165 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29166 (_G_int32_t): Likewise.
29167 (_G_uint16_t): Likewise.
29168 (_G_uint32_t): Likewise.
29169 (_G_HAVE_BOOL): Likewise.
29170 (_G_HAVE_ATEXIT): Likewise.
29171 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29172 (_G_HAVE_IO_FILE_OPEN): Likewise.
29174 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29176 * csu/libc-tls.c: Update copyright years.
29178 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29180 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29181 [!_G_USING_THUNKS]: Remove conditional code.
29182 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29183 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29185 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29186 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29187 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29188 (_G_VTABLE_LABEL_PREFIX): Likewise.
29189 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29190 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29191 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29192 (_G_VTABLE_LABEL_PREFIX): Likewise.
29193 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29194 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29195 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29196 (_G_VTABLE_LABEL_PREFIX): Likewise.
29197 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29199 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29201 * libio/Makefile: Include ../Makeconfig before tests.
29202 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29203 only if $(build-shared) is yes.
29205 * iconv/gconv_db.c: Update copyright years.
29207 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29209 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29210 unwind info if defined PIC. Fix special cases description.
29211 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29213 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29215 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29217 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29219 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29221 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29224 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29225 (LDLIBS-tst-chk4): This.
29226 (LDFLAGS-tst-chk5): Renamed to ...
29227 (LDLIBS-tst-chk5): This.
29228 (LDFLAGS-tst-chk6): Renamed to ...
29229 (LDLIBS-tst-chk6): This.
29230 (LDFLAGS-tst-lfschk4): Renamed to ...
29231 (LDLIBS-tst-lfschk4): This.
29232 (LDFLAGS-tst-lfschk5): Renamed to ...
29233 (LDLIBS-tst-lfschk5): This.
29234 (LDFLAGS-tst-lfschk6): Renamed to ...
29235 (LDLIBS-tst-lfschk6): This.
29237 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29238 on $(common-objpfx)soversions.mk.
29240 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29243 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29246 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29248 * malloc/arena.c (arena_get_retry): New function that gets
29249 another arena for the caller to try its request on.
29250 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29251 current arena cannot fulfill the request.
29252 (__libc_memalign): Likewise.
29253 (__libc_memalign): Likewise.
29254 (__libc_pvalloc): Likewise.
29255 (__libc_calloc): Likewise.
29257 2012-09-05 John Tobey <john.tobey@gmail.com>
29260 * manual/arith.texi (Operations on Complex): Fix description
29261 of carg branch cut.
29263 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29266 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29270 * manual/memory.texi (Memory): Make order of menu items match
29273 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29275 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29276 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29277 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29279 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29281 * csu/libc-tls.c (static_dtv): Renamed to ...
29282 (_dl_static_dtv): This. Make it global.
29283 (_dl_initial_dtv): Removed.
29284 (__libc_setup_tls): Updated.
29285 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29286 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29289 2012-09-06 Petr Machata <pmachata@redhat.com>
29291 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29292 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29293 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29294 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29296 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29299 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29300 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29303 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29306 * Makeconfig (link-static-before-libc): Replace $(+prector)
29308 (link-static-after-libc): Replace $(+postctor) with
29310 (link-bounded): Replace $(+prector)/$(+postctor) with
29311 $(+prectorT)/$(+postctorT).
29312 (+prectorT): New macro.
29313 (+postctorT): Likewise.
29315 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29317 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29318 (round_str): Handle values above the maximum for IBM long double
29320 * stdlib/tst-strtod-round.c (tests): Regenerated.
29322 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29324 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29326 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29327 zarch_nohighgprs around the zarch optimized routines.
29328 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29329 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29330 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29333 2012-09-05 David S. Miller <davem@davemloft.net>
29335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29337 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29338 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29339 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29340 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29343 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29345 * malloc/arena.c: Fold copyright years.
29346 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29348 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29350 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29352 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29354 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29356 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29358 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29359 change internal state upon failure.
29361 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29363 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29364 * malloc/memusage.c (mmap): Likewise.
29365 (mmap64, mremap): Likewise. Adjust name in comment.
29367 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29369 * libio/fileops.c: Fix typos in comments.
29370 * libio/oldfileops.c: Likewise.
29371 * libio/wfileops.c: Likewise.
29373 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29376 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29377 (tst-malloc-usable-ENV): Set environment for test case.
29378 * malloc/hooks.c (malloc_check_get_size): New function to get
29380 * malloc/malloc.c (musable): Use malloc_check_get_size.
29381 * malloc/tst-malloc-usable.c: New test case.
29383 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29385 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29387 2012-09-05 Allan McRae <allan@archlinux.org>
29390 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29391 determine header location.
29392 * configure: Regenerated.
29394 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29396 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29398 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29399 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29401 (test): Regenerate.
29403 2012-09-04 David S. Miller <davem@davemloft.net>
29405 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29406 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29407 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29409 2012-09-04 Florian Weimer <fweimer@redhat.com>
29411 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29414 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29416 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29419 * libio/iogetdelim.c: Include <limits.h>.
29420 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29421 + len + 1 would overflow.
29423 2012-09-03 Andreas Jaeger <aj@suse.de>
29425 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29426 * sysdeps/i386/fpu/libm-test-ulps: Update.
29428 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29430 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29431 Add s_sinf-sse2, s_conf-sse2.
29433 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29434 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29435 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29436 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29438 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29439 for using routine as __sinf_ia32.
29440 Use macro for function declaration and weak_alias.
29441 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29442 for using routine as __cosf_ia32.
29443 Use macro for function declaration and weak_alias.
29445 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29446 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29448 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29449 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29452 * math/libm-test.inc (cos_test): Add more test cases.
29453 (sin_test): Likewise.
29454 (sincos_test): Likewise.
29456 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29458 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29459 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29461 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29463 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29466 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29467 first element of the GOT.
29468 (elf_machine_load_address): Return the difference between
29469 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29471 2012-09-01 Allan McRae <allan@archlinux.org>
29474 * configure.in (AWK): Require gawk version 3.0 or later.
29475 * configure: Regenerated.
29477 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29479 * sysdeps/unix/sysv/linux/kernel-features.h
29480 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29481 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29482 [__NR_clock_getres]: Make code unconditional.
29483 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29484 (clock_getcpuclockid): Remove code left unreachable by removal of
29486 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29487 code unconditional.
29488 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29489 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29490 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29491 Make code unconditional.
29492 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29493 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29494 * sysdeps/unix/sysv/linux/clock_settime.c
29495 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29497 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29500 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29503 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29504 scripts/test-installation.pl.
29506 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29507 and $ld_so_version if it is set.
29509 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29513 failure if reading from procfs failed.
29514 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29516 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29518 * sysdeps/unix/sysv/linux/kernel-features.h
29519 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29520 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29521 Remove conditional code.
29522 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29523 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29524 Remove conditional code.
29525 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29526 * sysdeps/unix/sysv/linux/i386/fxstat.c
29527 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29528 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29529 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29530 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29532 * sysdeps/unix/sysv/linux/i386/lxstat.c
29533 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29535 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29536 Remove conditional code.
29537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29538 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29539 Remove conditional code.
29540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29541 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29542 <kernel-features.h>.
29543 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29545 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29546 Remove conditional code.
29547 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29548 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29549 Remove conditional.
29551 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29554 * NEWS: Add fixed bug number.
29556 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29559 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29560 underflowing exponent in case of negative sign.
29561 * stdlib/tst-strtod-round-data: Add more tests.
29562 * stdlib/tst-strtod-round.c (tests): Regenerated.
29565 * stdlib/strtod_l.c (NDIG): Remove.
29566 (HEXNDIG): Likewise.
29567 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29568 smallest representable value.
29569 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29570 lie within an exact representation of 1/2 ulp of the result.
29571 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29573 (TENS_P9_IDX): Define unconditionally.
29574 (TENS_P9_SIZE): Likewise.
29575 (TENS_P10_IDX): Likewise.
29576 (TENS_P10_SIZE): Likewise.
29577 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29578 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29579 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29580 entries for 10^2^13 and 10^2^14.
29581 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29582 (TENS_P13_IDX): Define.
29583 (TENS_P13_SIZE): Likewise.
29584 (TENS_P14_IDX): Likewise.
29585 (TENS_P14_SIZE): Likewise.
29586 (_fpioconst_pow10): Change array size to
29587 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29589 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29590 1024]: Add entries for 10^2^13 and 10^2^14.
29591 [LAST_POW10 > _LAST_POW10]: Remove #error.
29592 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29593 (_fpioconst_pow10): Change array size to
29594 FPIOCONST_POW10_ARRAY_SIZE.
29595 * stdlib/gen-fpioconst.c: New file.
29596 * stdlib/gen-tst-strtod-round.c: Likewise.
29597 * stdlib/tst-strtod-round-data: Likewise.
29598 * stdlib/tst-strtod-round.c: Likewise.
29599 * stdlib/Makefile (tests): Add tst-strtod-round.
29602 * stdlib/strtod_l.c: Include <stdint.h>.
29603 (NDEBUG): Do not define.
29604 (round_and_return): Change EXPONENT parameter to type intmax_t.
29605 Rearrange calculations to avoid internal overflow possibilities.
29606 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29607 Rearrange calculations to avoid internal overflow possibilities.
29608 Assert that number fits inside MPNSIZE limbs.
29609 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29610 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29611 calculations and add assertions to avoid internal overflow
29612 possibilities. Add casts to avoid signed/unsigned operations.
29613 * stdlib/tst-strtod-overflow.c: New file.
29614 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29616 2012-08-25 Marek Polacek <polacek@redhat.com>
29618 * time/time.h: Fix some typos in comments.
29620 2012-08-23 Roland McGrath <roland@hack.frob.com>
29622 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29623 * posix/tst-rfc3484-2.c: Likewise.
29624 * posix/tst-rfc3484-3.c: Likewise.
29626 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29628 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29629 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29631 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29633 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29634 #include of fxstatat64.c.
29636 2012-08-22 Roland McGrath <roland@hack.frob.com>
29638 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29639 * shadow/getspent_r.c: Likewise.
29640 * shadow/getspnam.c: Likewise.
29641 * shadow/getspnam_r.c: Likewise.
29642 * gshadow/getsgent.c: Likewise.
29643 * gshadow/getsgent_r.c: Likewise.
29644 * gshadow/getsgnam.c: Likewise.
29645 * gshadow/getsgnam_r.c: Likewise.
29646 * inet/getnetbyad.c: Likewise.
29647 * inet/getnetbyad_r.c: Likewise.
29648 * inet/getnetbynm.c: Likewise.
29649 * inet/getnetbynm_r.c: Likewise.
29650 * inet/getnetent.c: Likewise.
29651 * inet/getnetent_r.c: Likewise.
29652 * inet/getproto.c: Likewise.
29653 * inet/getproto_r.c: Likewise.
29654 * inet/getprtent.c: Likewise.
29655 * inet/getprtent_r.c: Likewise.
29656 * inet/getprtname.c: Likewise.
29657 * inet/getprtname_r.c: Likewise.
29658 * inet/getrpcbyname.c: Likewise.
29659 * inet/getrpcbyname_r.c: Likewise.
29660 * inet/getrpcbynumber.c: Likewise.
29661 * inet/getrpcbynumber_r.c: Likewise.
29662 * inet/getrpcent.c: Likewise.
29663 * inet/getrpcent_r.c: Likewise.
29664 * inet/getaliasent.c: Likewise.
29665 * inet/getaliasent_r.c: Likewise.
29666 * inet/getaliasname.c: Likewise.
29667 * inet/getaliasname_r.c: Likewise.
29668 * nscd/getgrgid_r.c: Likewise.
29669 * nscd/getgrnam_r.c: Likewise.
29670 * nscd/gethstbyad_r.c: Likewise.
29671 * nscd/gethstbynm3_r.c: Likewise.
29672 * nscd/getpwnam_r.c: Likewise.
29673 * nscd/getpwuid_r.c: Likewise.
29674 * nscd/getsrvbynm_r.c: Likewise.
29675 * nscd/getsrvbypt_r.c: Likewise.
29676 * nscd/gai.c: Likewise.
29678 * configure.in (build_nscd): New substituted variable, set
29679 by --disable-build-nscd and defaults to $use_nscd.
29680 * configure: Regenerated.
29681 * config.make.in (build-nscd): New substituted variable.
29682 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29683 Change conditional to require [$(build-nscd) = yes] as well.
29684 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29687 * configure.in (use_nscd): New substituted variable, set by
29688 --disable-nscd. If enabled, define USE_NSCD.
29689 * configure: Regenerated.
29690 * config.h.in: Add USE_NSCD.
29691 * config.make.in (use-nscd): New substituted variable.
29692 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29693 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29694 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29695 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29696 (CFLAGS-getgrnam_r.c): Likewise.
29697 (CFLAGS-initgroups.c): Likewise.
29698 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29699 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29701 * inet/getnetgrent_r.c
29702 (nscd_setnetgrent): New function, broken out of ...
29703 (setnetgrent): ... here. Call it.
29704 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29705 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29706 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29707 * nscd/Makefile (routines, aux): Move definitions after include of
29708 Makeconfig. Conditionalize on [$(use-nscd) != no].
29709 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29710 Conditionalize on [USE_NSCD].
29711 (is_nscd, nscd_init_cb): Likewise.
29712 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29713 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29714 * nss/nss_db/db-init.c: Likewise.
29715 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29717 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29718 (make_request): Use it.
29719 (cache_valid_p): New function.
29720 (__check_pf): Use it.
29721 * NEWS: Add item for --disable-nscd.
29723 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29725 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29726 to support sed >= 4.2.1-20-ga9bf076.
29727 * configure: Regenerated.
29729 2012-08-22 Roland McGrath <roland@hack.frob.com>
29731 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29732 Conditionalize whole body on [IREL].
29734 2012-08-22 Jeff Law <law@redhat.com>
29737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29738 if the family is PF_UNSPEC.
29740 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29742 * Makerules (lib-version): Rename from V.
29743 (install-lib-nosubdir): Change V to lib-version.
29745 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29748 * powerpc32/power6/wcschr.c: New file.
29749 * powerpc32/power6/wcscpy.c: New file.
29750 * powerpc32/power6/wcsrchr.c: New file.
29751 * powerpc64/power6/wcschr.c: New file.
29752 * powerpc64/power6/wcscpy.c: New file.
29753 * powerpc64/power6/wcsrchr.c: New file.
29755 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29757 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29758 (two_way_short_needle): Use it.
29759 * string/strstr.c (AVAILABLE1_USES_J): Define.
29760 * string/strcasestr.c: Likewise.
29762 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29764 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29767 * NEWS: Add an entry.
29768 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29769 define their defaults.
29770 (two_way_short_needle): Detect end-of-string on-the-fly.
29771 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29772 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29773 * string/bug-strcasestr1.c: New test.
29774 * string/Makefile: Run it.
29776 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29779 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29780 the first character.
29782 2012-08-21 Roland McGrath <roland@hack.frob.com>
29784 * csu/elf-init.c (__libc_csu_irel): Function removed.
29785 * csu/libc-start.c (apply_irel): New function.
29786 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29788 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29790 * sysdeps/unix/sysv/linux/kernel-features.h
29791 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29792 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29793 <kernel-features.h>.
29794 [__NR_fadvise64_64]: Make code unconditional.
29795 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29796 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29797 !__NR_fadvise64_64)]: Likewise.
29798 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29799 !__NR_fadvise64_64))]: Likewise.
29800 [__NR_fadvise64]: Make code unconditional.
29801 [!__NR_fadvise64]: Remove conditional code.
29802 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29803 <kernel-features.h>.
29804 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29806 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29809 not include <kernel-features.h>.
29810 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29812 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29814 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29815 include <kernel-features.h>.
29816 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29818 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29821 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29823 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29824 slight instruction rearrangements per scrollpipe analysis.
29825 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29827 2012-08-20 Roland McGrath <roland@hack.frob.com>
29829 * manual/syslog.texi (syslog; vsyslog, closelog):
29830 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29831 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29833 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29834 DSOCAPS to match condition on defining it.
29836 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29838 * sysdeps/unix/sysv/linux/kernel-features.h
29839 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29841 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29842 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29844 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29845 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29847 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29848 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29850 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29851 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29853 * sysdeps/unix/sysv/linux/kernel-features.h
29854 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29855 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29857 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29858 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29859 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29860 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29861 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29862 Make code unconditional.
29863 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29864 (__mmap64) [!__NR_mmap2]: Likewise.
29865 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29866 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29867 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29868 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29869 [__NR_mmap2]: Make code unconditional.
29870 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29871 (__mmap64) [!__NR_mmap2]: Likewise.
29873 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29875 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29877 2012-08-18 Andreas Jaeger <aj@suse.de>
29879 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29881 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29883 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29884 * include/unistd.h (__have_sock_cloexec): Likewise.
29885 (__have_pipe2): Likewise.
29886 (__have_dup3): Likewise.
29888 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29891 * include/unistd.h (__have_pipe2): Change define into an extern int.
29892 (__have_dup3): Likewise.
29893 * socket/have_sock_cloexec.c: Include fcntl.h.
29894 (__have_pipe2): New variable.
29895 (__have_dup3): Likewise.
29897 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29899 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29901 2012-08-17 Marek Polacek <polacek@redhat.com>
29903 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29904 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29906 2012-08-17 Roland McGrath <roland@hack.frob.com>
29908 * configure.in: Add AC_SUBST for sysheaders.
29909 * configure: Regenerated.
29910 * config.make.in (sysheaders): New substituted variable.
29912 * sysdeps/unix/mkfifo.c: Moved ...
29913 * sysdeps/posix/mkfifo.c: ... here.
29914 * sysdeps/unix/mkfifoat.c: Moved ...
29915 * sysdeps/posix/mkfifoat.c: ... here.
29917 * sysdeps/unix/utime.c: Moved ...
29918 * sysdeps/posix/utime.c: ... here.
29920 * sysdeps/unix/time.c: Moved ...
29921 * sysdeps/posix/time.c: ... here.
29922 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29923 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29925 * sysdeps/unix/nice.c: Moved ...
29926 * sysdeps/posix/nice.c: ... here.
29928 * sysdeps/unix/alarm.c: Moved ...
29929 * sysdeps/posix/alarm.c: ... here.
29931 * intl/Makefile ($(codeset_mo)): Depend on the input file.
29933 2012-08-17 Jeff Law <law@redhat.com>
29935 * intl/Makefile (codeset_mo): New variable.
29936 ($(codeset_mo)): New target.
29937 (tst-codeset.out): Depend on that. Remove explicit rule.
29938 (tst-gettext3.out, tst-gettext5.out): Likewise.
29939 (LOCPATH-ENV, tst-codeset-ENV): New variables.
29940 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29941 * intl/tst-codeset.sh: Remove.
29942 * intl/tst-gettext3.sh: Likewise.
29943 * intl/tst-gettext5.sh: Likewise.
29945 2012-08-17 Roland McGrath <roland@hack.frob.com>
29947 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
29948 * sysdeps/unix/syscalls.list: ... here.
29950 * sysdeps/posix/getaddrinfo.c
29951 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29952 (gaiconf_init, gaiconf_reload): Use them.
29953 [!_STATBUF_ST_NSEC]
29954 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29955 Define using time_t rather than struct timespec.
29957 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29958 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29960 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29962 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29963 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29966 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29967 __libc_cleanup_push argument.
29969 * bits/param.h: New file.
29970 * misc/sys/param.h: New file.
29971 * include/sys/param.h: New file.
29972 * misc/Makefile (headers): Add bits/param.h.
29973 * sysdeps/generic/sys/param.h: File removed.
29974 * sysdeps/unix/sysv/linux/bits/param.h: New file.
29975 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29976 * sysdeps/mach/hurd/bits/param.h: New file.
29977 * sysdeps/mach/hurd/sys/param.h: File removed.
29979 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29982 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29984 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29985 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29988 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29989 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29990 rather than -D_IO_MTSAFE_IO conditionally.
29991 * stdio-common/Makefile (CPPFLAGS): Likewise.
29992 * wcsmbs/Makefile (CPPFLAGS): Likewise.
29993 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29994 Use $(libio-mtsafe).
29995 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29996 of -D_IO_MTSAFE_IO.
29997 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29998 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29999 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30000 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30001 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30002 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30003 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30004 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30005 (CFLAGS-fread_u_chk.c): Likewise.
30006 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30007 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30008 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30009 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30010 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30011 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30012 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30013 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30014 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30016 * libio/Makefile: Test [$(libc-reentrant) = yes]
30017 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30020 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30021 * sysdeps/pthread/configure: File removed.
30022 * sysdeps/pthread/Makeconfig: New file.
30023 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30024 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30026 2012-08-16 Gary Benson <gbenson@redhat.com>
30028 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30029 unmapping the first object in a namespace.
30031 2012-08-16 Roland McGrath <roland@hack.frob.com>
30033 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30034 (__internal_setnetgrent): ... this. Add internal_function to
30035 definition. Add libc_hidden_def.
30036 (setnetgrent): Update caller.
30037 (internal_endnetgrent): Renamed to ...
30038 (__internal_endnetgrent): ... this. Add internal_function to
30039 definition. Add libc_hidden_def.
30040 (endnetgrent): Update caller.
30041 (internal_getnetgrent_r): Renamed to ...
30042 (__internal_getnetgrent_r): ... this. Add internal_function to
30043 definition. Add libc_hidden_def.
30044 (__getnetgrent_r): Update caller.
30045 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30047 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30049 * stdlib/longlong.h: Update from GCC.
30051 2012-08-16 Roland McGrath <roland@hack.frob.com>
30053 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30054 on _QL, which is set by umul_ppmm but never used.
30055 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30056 variables, which are set by GMP macros but never used.
30057 * stdio-common/_itowa.c (_itowa): Likewise.
30058 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30059 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30061 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30063 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30064 struct La_sh_regs is not constant.
30065 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30066 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30067 and struct La_sparc64_regs are not constant.
30069 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30071 * sysdeps/unix/sysv/linux/kernel-features.h
30072 (__ASSUME_POSIX_TIMERS): Remove.
30073 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30074 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30075 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30076 Make code unconditional.
30077 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30078 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30079 Make code unconditional.
30080 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30081 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30082 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30084 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30085 Make code unconditional.
30086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30087 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30088 (__libc_missing_posix_timers): Remove.
30090 2012-08-15 Roland McGrath <roland@hack.frob.com>
30092 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30093 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30095 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30097 * elf/dl-sym.c: Include <stdlib.h>.
30099 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30100 constants, which avoids warnings in 32-bit builds.
30102 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30103 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30105 * misc/lseek.c: File moved to ...
30106 * io/lseek.c: ... here.
30108 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30110 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30111 shifting LEN more than 31 bits at once.
30113 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30116 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30117 segmentation fault for a case of two empty input strings.
30118 * string/test-strncasecmp.c (check1): Renamed to...
30119 (bz12205): ...this.
30120 (bz14195): Add new testcase for two empty input strings and N > 0.
30121 (test_main): Call new testcase, adapt for renamed function.
30123 2012-08-15 Andreas Jaeger <aj@suse.de>
30126 * crypt/md5test2.c: New test, based on test supplied by Serge
30127 Belyshev <belyshev@depni.sinp.msu.ru>.
30128 * crypt/Makefile (xtests): Add md5test-giant..
30129 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30131 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30134 * crypt/md5.c (md5_process_block): Don't assume the buffer
30135 length is less than 2**32.
30136 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30137 length is less than 2**64.
30139 2012-08-15 Roland McGrath <roland@hack.frob.com>
30141 * string/str-two-way.h: Include <sys/param.h>.
30142 (MAX): Macro removed.
30144 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30145 Move #define and #undef of memmove to just before and after
30146 including <string.h>.
30148 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30149 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30150 and after including <string.h>. Move declarations of
30151 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30152 to before #include "string/memmove.c".
30154 * include/dirent.h: Declare __getdirentries.
30156 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30157 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30159 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30161 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30162 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30163 * sysdeps/i386/configure: Regenerated.
30164 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30165 STABS_CURRENT_FILE, and STABS_FUN.
30166 (END): Remove call to STABS_FUN_END.
30167 (STABS_CURRENT_FILE1): Delete.
30168 (STABS_CURRENT_FILE): Likewise.
30169 (STABS_FUN): Likewise.
30170 (STABS_FUN_END): Likewise.
30171 (STABS_FUN2): Likewise.
30172 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30173 * sysdeps/x86_64/configure: Regenerated.
30175 2012-08-14 Roland McGrath <roland@hack.frob.com>
30177 * elf/dl-open.c: Include <atomic.h>.
30178 * elf/dl-lookup.c: Likewise.
30180 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30182 * sysdeps/unix/sysv/linux/kernel-features.h
30183 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30184 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30186 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30188 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30189 condition on __ASSUME_CLONE_THREAD_FLAGS.
30191 2012-08-14 Andreas Jaeger <aj@suse.de>
30193 * sysdeps/i386/fpu/libm-test-ulps: Update.
30195 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30197 * include/atomic.h (atomic_exchange_and_add): Split into ...
30198 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30201 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30205 2012-08-13 Jeff Law <law@redhat.com>
30207 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30208 null byte in the output string.
30210 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30212 * sysdeps/unix/sysv/linux/kernel-features.h
30213 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30214 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30215 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30216 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30217 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30218 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30219 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30221 2012-08-09 Jeff Law <law@redhat.com>
30224 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30225 When avoid_arena is set, don't retry in the that arena. Pick the
30226 next one, whatever it might be.
30227 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30228 (arena_lock): Pass in new parameter to arena_get2.
30229 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30231 (__libc_malloc): Unify retrying after main arena failure with
30232 __libc_memalign version.
30233 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30235 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30238 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30239 to __redirect_strstr.
30240 (__strstr_sse42): Use typeof __redirect_strstr.
30241 (__strstr_ia32): Likewise.
30242 (__libc_strstr): New prototype.
30243 (strstr): Renamed to ...
30244 (__libc_strstr): This.
30245 (strstr): New strong alias of __libc_strstr.
30246 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30247 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30250 (__libc_time): New prototype.
30251 (time_ifunc): Replace time with __libc_time.
30252 (time): New strong alias and hidden definition of __libc_time.
30253 (__GI_time): Remove strong alias.
30254 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30255 Include <stddef.h>.
30256 (memmove): Redefined to __redirect_memmove.
30257 (__memmove_sse2): Use typeof __redirect_memmove.
30258 (__memmove_ssse3): Likewise.
30259 (__memmove_ssse3_back): Likewise.
30260 (__libc_memmove): New prototype.
30261 (memmove): Renamed to ...
30262 (__libc_memmove): This.
30263 (memmove): New strong alias of __libc_memmove.
30265 2012-08-08 Mark Salter <msalter@redhat.com>
30268 (R_MN10300_TLS_GD): Define.
30269 (R_MN10300_TLS_LD): Likewise.
30270 (R_MN10300_TLS_LDO): Likewise.
30271 (R_MN10300_TLS_GOTIE): Likewise.
30272 (R_MN10300_TLS_IE): Likewise.
30273 (R_MN10300_TLS_LE): Likewise.
30274 (R_MN10300_TLS_DTPMOD): Likewise.
30275 (R_MN10300_TLS_DTPOFF): Likewise.
30276 (R_MN10300_TLS_TPOFF): Likewise.
30277 (R_MN10300_SYM_DIFF): Likewise.
30278 (R_MN10300_ALIGN): Likewise.
30279 (R_MN10300_NUM): Update.
30281 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30283 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30286 2012-08-08 Roland McGrath <roland@hack.frob.com>
30288 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30290 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30291 sysdeps/unix -> sysdeps/posix move.
30292 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30294 2012-08-07 Allan McRae <allan@archlinux.org>
30297 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30298 (SUNOS_CPP): Likewise.
30299 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30301 (open_input): Call CPP using execvp.
30303 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30305 * sysdeps/unix/sysv/linux/kernel-features.h
30306 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30307 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30308 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30309 (__ASSUME_WAITID_SYSCALL): Likewise.
30310 * sysdeps/unix/sysv/linux/dl-execstack.c
30311 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30312 code unconditional.
30313 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30315 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30316 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30317 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30319 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30321 [__ASSUME_WAITID_SYSCALL]: Likewise.
30322 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30324 2012-08-07 Roland McGrath <roland@hack.frob.com>
30326 * sysdeps/unix/closedir.c: Renamed to ...
30327 * sysdeps/posix/closedir.c: ... here.
30328 * sysdeps/unix/dirfd.c: Renamed to ...
30329 * sysdeps/posix/dirfd.c: ... here.
30330 * sysdeps/unix/dirstream.h: Renamed to ...
30331 * sysdeps/posix/dirstream.h: ... here.
30332 * sysdeps/unix/fdopendir.c: Renamed to ...
30333 * sysdeps/posix/fdopendir.c: ... here.
30334 * sysdeps/unix/opendir.c: Renamed to ...
30335 * sysdeps/posix/opendir.c: ... here.
30336 * sysdeps/unix/readdir.c: Renamed to ...
30337 * sysdeps/posix/readdir.c: ... here.
30338 * sysdeps/unix/readdir_r.c: Renamed to ...
30339 * sysdeps/posix/readdir_r.c: ... here.
30340 * sysdeps/unix/rewinddir.c: Renamed to ...
30341 * sysdeps/posix/rewinddir.c: ... here.
30342 * sysdeps/unix/seekdir.c: Renamed to ...
30343 * sysdeps/posix/seekdir.c: ... here.
30344 * sysdeps/unix/telldir.c: Renamed to ...
30345 * sysdeps/posix/telldir.c: ... here.
30346 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30347 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30348 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30349 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30351 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30352 * bits/fcntl.h: ... here.
30354 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30356 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30357 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30358 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30359 (struct flock): Move l_start, l_len to the beginning.
30360 Use __pid_t for l_pid.
30361 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30362 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30363 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30364 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30365 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30366 [__USE_LARGEFILE64] (struct flock64): New type.
30367 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30369 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30370 * bits/dirent.h: ... here.
30372 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30373 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30375 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30377 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30378 Change from 2.6.0 to 2.6.16.
30379 * sysdeps/unix/sysv/linux/configure: Regenerated.
30380 * sysdeps/unix/sysv/linux/kernel-features.h
30381 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30382 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30384 (__ASSUME_UTIMES): Likewise.
30385 (__ASSUME_CLONE_STOPPED): Remove.
30386 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30387 architectures, not kernel version.
30388 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30389 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30390 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30391 (__ASSUME_WAITID_SYSCALL): Likewise.
30392 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30393 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30394 * README: State 2.6.16 as minimum Linux kernel version. Do not
30395 refer to older versions.
30397 2012-08-06 Roland McGrath <roland@hack.frob.com>
30399 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30400 Define alphasort64 as an alias.
30401 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30402 Define versionsort64 as an alias.
30403 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30404 Define scandir64 as an alias.
30405 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30406 Define scandirat64 as an alias.
30407 * dirent/alphasort64.c (alphasort64):
30408 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30409 * dirent/versionsort64.c: Likewise.
30410 * dirent/scandir64.c: Likewise.
30411 * dirent/scandirat64.c: Likewise.
30412 * sysdeps/wordsize-64/alphasort.c: File removed.
30413 * sysdeps/wordsize-64/alphasort64.c: File removed.
30414 * sysdeps/wordsize-64/scandir.c: File removed.
30415 * sysdeps/wordsize-64/scandir64.c: File removed.
30416 * sysdeps/wordsize-64/scandirat.c: File removed.
30417 * sysdeps/wordsize-64/scandirat64.c: File removed.
30418 * sysdeps/wordsize-64/versionsort.c: File removed.
30419 * sysdeps/wordsize-64/versionsort64.c: File removed.
30420 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30421 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30422 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30423 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30424 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30425 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30426 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30427 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30429 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30431 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30433 [defined __arch64__ || defined __sparcv9]
30434 (__INO_T_MATCHES_INO64_T): New macro.
30435 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30436 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30437 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30438 * sysdeps/unix/sysv/linux/bits/dirent.h
30439 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30440 (_DIRENT_MATCHES_DIRENT64): New macro.
30442 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30443 Define lockf64 as an alias.
30444 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30445 Define fseeko64 as an alias.
30446 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30447 Define ftello64 as an alias.
30448 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30449 Define _IO_fgetpos64 and fgetpos64 as aliases.
30450 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30451 Define _IO_fsetpos64 and fsetpos64 as aliases.
30452 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30453 Conditionalize body on this.
30454 * libio/fseeko64.c: Likewise.
30455 * libio/ftello64.c: Likewise.
30456 * libio/iofgetpos64.c: Likewise.
30457 * libio/iofsetpos64.c: Likewise.
30458 * sysdeps/wordsize-64/lockf.c: File removed.
30459 * sysdeps/wordsize-64/lockf64.c: File removed.
30460 * sysdeps/wordsize-64/fseeko.c: File removed.
30461 * sysdeps/wordsize-64/fseeko64.c: File removed.
30462 * sysdeps/wordsize-64/ftello.c: File removed.
30463 * sysdeps/wordsize-64/ftello64.c: File removed.
30464 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30465 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30466 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30467 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30468 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30469 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30470 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30471 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30472 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30473 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30474 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30475 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30476 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30477 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30479 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30481 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30483 [defined __arch64__ || defined __sparcv9]
30484 (__OFF_T_MATCHES_OFF64_T): New macro.
30485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30486 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30488 (__OFF_T_MATCHES_OFF64_T): New macro.
30490 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30492 * stdlib/secure-getenv.c (__secure_getenv): Replace
30493 GLIBC_2_16 with GLIBC_2_17.
30495 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30498 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30500 2012-08-03 David S. Miller <davem@davemloft.net>
30502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30504 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30506 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30508 (__ASSUME_CORRECT_SI_PID): Likewise.
30509 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30510 (__ASSUME_TMPFS_NAME): Likewise.
30511 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30512 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30513 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30514 (HAVE_AUX_SECURE): Make definition unconditional.
30515 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30516 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30518 2012-08-03 Roland McGrath <roland@hack.frob.com>
30520 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30521 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30522 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30523 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30524 __eloop_threshold instead of SYMLOOP_MAX.
30526 * sysdeps/generic/eloop-threshold.h: New file.
30527 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30529 * elf/chroot_canon.c (chroot_canon): Likewise.
30531 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30534 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30535 Change to 2.6.0 everywhere.
30536 * sysdeps/unix/sysv/linux/configure: Regenerated.
30537 * sysdeps/unix/sysv/linux/kernel-features.h
30538 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30539 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30541 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30542 (__ASSUME_FUTEX_REQUEUE): Remove.
30543 (__ASSUME_STATFS64): Define unconditionally.
30544 (__ASSUME_AT_SECURE): Likewise.
30545 (__ASSUME_CORRECT_SI_PID): Likewise.
30546 (__ASSUME_TGKILL): Define without depending on kernel version for
30548 (__ASSUME_UTIMES): Likewise.
30549 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30551 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30552 (__ASSUME_TMPFS_NAME): Likewise.
30553 * README: Update reference to Linux kernel versions.
30555 2012-08-02 Marek Polacek <polacek@redhat.com>
30558 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30559 libc_cv_asm_type_prefix with %.
30560 * configure: Regenerated.
30561 * include/libc-symbols.h: Remove comment about
30562 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30563 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30564 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30565 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30566 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30567 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30568 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30569 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30570 * elf/tst-unique2mod1.c: Likewise.
30571 * elf/tst-unique1mod2.c: Likewise.
30572 * elf/tst-unique1mod1.c: Likewise.
30573 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30574 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30575 Replace ASM_TYPE_DIRECTIVE with .type.
30576 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30577 * sysdeps/i386/sysdep.h: Likewise.
30578 * sysdeps/x86_64/sysdep.h: Likewise.
30579 * sysdeps/sh/sysdep.h: Likewise.
30580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30581 Do not define ASM_TYPE_DIRECTIVE.
30582 * sysdeps/powerpc/sysdep.h: Likewise.
30583 * sysdeps/powerpc/powerpc32/sysdep.h:
30584 Replace ASM_TYPE_DIRECTIVE with .type.
30585 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30586 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30587 * sysdeps/i386/fpu/e_powf.S: Likewise.
30588 * sysdeps/i386/fpu/e_expl.S: Likewise.
30589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30590 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30591 * sysdeps/i386/fpu/e_pow.S: Likewise.
30592 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30593 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30594 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30595 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30596 * sysdeps/i386/fpu/e_log2.S: Likewise.
30597 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30599 * sysdeps/i386/fpu/e_powl.S: Likewise.
30600 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30601 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30602 * sysdeps/i386/fpu/e_logl.S: Likewise.
30603 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30604 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30605 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30606 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30607 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30608 * sysdeps/i386/fpu/e_log.S: Likewise.
30609 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30610 * sysdeps/i386/fpu/e_logf.S: Likewise.
30611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30612 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30613 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30614 * sysdeps/i386/fpu/e_log10.S: Likewise.
30615 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30616 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30617 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30618 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30620 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30621 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30622 * sysdeps/i386/i686/strtok.S: Likewise.
30623 * sysdeps/i386/i386-mcount.S: Likewise.
30624 * sysdeps/i386/strtok.S: Likewise.
30625 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30626 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30628 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30629 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30630 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30631 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30632 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30633 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30634 * sysdeps/x86_64/_mcount.S: Likewise.
30635 * sysdeps/x86_64/strtok.S: Likewise.
30636 * sysdeps/sh/_mcount.S: Likewise.
30638 2012-08-01 Roland McGrath <roland@hack.frob.com>
30640 * libio/iofopen.c: Include <fcntl.h>.
30641 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30642 (_IO_fopen64, fopen64): Define as aliases.
30643 * libio/iofopen64.c: Include <fcntl.h>.
30644 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30645 Conditionalize body on this.
30646 * sysdeps/wordsize-64/iofopen.c: File removed.
30647 * sysdeps/wordsize-64/iofopen64.c: File removed.
30649 2012-08-01 Marek Polacek <polacek@redhat.com>
30651 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30652 Use dlfcn directly instead of a variable.
30653 (binfmt-subdir): Do not define.
30656 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30658 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30659 Remove all definitions.
30660 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30661 <kernel-features.h>.
30662 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30663 (miss_F_GETOWN_EX): Remove all definitions.
30664 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30666 [!__ASSUME_FCNTL64]: Remove conditional code.
30667 [__ASSUME_FCNTL64]: Make code unconditional.
30668 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30669 <kernel-features.h>.
30670 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30671 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30672 (lockf64) [__NR_fcntl64]: Make code unconditional.
30673 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30675 * sysdeps/unix/sysv/linux/kernel-features.h
30676 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30677 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30678 Make code unconditional.
30679 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30680 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30682 [__NR_vfork]: Make code unconditional.
30683 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30684 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30686 [__NR_vfork]: Make code unconditional.
30687 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30688 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30690 2012-08-01 Roland McGrath <roland@hack.frob.com>
30692 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30693 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30695 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30696 Define mkstemp64 as an alias.
30697 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30698 Define mkstemps64 as an alias.
30699 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30700 Define mkostemp64 as an alias.
30701 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30702 Define mkostemps64 as an alias.
30703 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30704 Conditionalize body on this.
30705 * misc/mkostemp64.c: Likewise.
30706 * misc/mkostemps64.c: Likewise.
30707 * misc/mkstemps64.c: Likewise.
30708 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30709 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30710 * sysdeps/wordsize-64/mkostemp.c: File removed.
30711 * sysdeps/wordsize-64/mkstemp.c: File removed.
30712 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30713 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30714 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30715 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30718 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30719 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30720 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30721 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30723 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30724 compat_symbol macros from <shlib-compat.h> rather than the underlying
30725 default_symbol_version and symbol_version macros, so that DEFAULT
30726 lines in shlib-versions are respected.
30727 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30729 2012-08-01 Florian Weimer <fweimer@redhat.com>
30731 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30732 Declare with warn_unused_result.
30733 (setgid, setregid, setegid, setresgid): Likewise.
30734 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30736 * WUR-REPORT: Remove set*id functions.
30738 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30740 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30742 2012-07-31 Roland McGrath <roland@hack.frob.com>
30745 * include/sys/socket.h (__libc_accept, __libc_accept4):
30746 Add attribute_hidden.
30747 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30749 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30751 * inet/getnetgrent_r.c (setup): Likewise.
30753 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30755 2012-07-31 David S. Miller <davem@davemloft.net>
30757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30759 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30762 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30763 value between 1.0 and 2.0 and smaller part has absolute value less
30765 * math/s_clog10.c (__clog10): Likewise.
30766 * math/s_clog10f.c (__clog10f): Likewise.
30767 * math/s_clog10l.c (__clog10l): Likewise.
30768 * math/s_clogf.c (__clogf): Likewise.
30769 * math/s_clogl.c (__clogl): Likewise.
30770 * math/libm-test.inc (clog_test): Add more tests.
30771 (clog10_test): Likewise.
30772 * sysdeps/i386/fpu/libm-test-ulps: Update.
30773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30775 2012-07-31 Florian Weimer <fweimer@redhat.com>
30777 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30778 Exit with zero in case no suitable GID is found, and write a
30779 message to standard error.
30781 2012-07-30 Roland McGrath <roland@hack.frob.com>
30783 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30785 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30786 (MAXPATHLEN): Removed.
30787 (NOGROUP, NODEV): New macros.
30788 (setbit, clrbit, isset, isclr): New macros.
30789 (howmany, roundup, powerof2): New macros.
30790 (DEV_BSIZE): New macro.
30792 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30793 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30795 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30796 definition on [!__NO_LONG_DOUBLE_MATH].
30798 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30799 PTR_MANGLE and PTR_DEMANGLE.
30801 * socket/accept4.c (accept4): Rename to __libc_accept4.
30802 Define accept4 as a weak alias.
30804 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30805 on [_DIRENT_HAVE_D_TYPE].
30806 * io/ftw.c (ftw_dir): Likewise.
30808 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30810 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30812 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30813 Use the BSD numbers rather than the arbitrary ones we had.
30814 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30815 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30816 (SIGXCPU, SIGXFSZ): New macros.
30819 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30820 initializer on [_LIBC_REENTRANT].
30822 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30823 definitions inside [_POSIX_MAPPED_FILES].
30825 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30827 * dirent/opendir.c: Include <fcntl.h>.
30829 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30830 (__libc_getspecific): Likewise.
30831 (__libc_key_create): Likewise.
30833 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30834 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30835 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30836 (tmpfile64): Define as alias.
30837 * sysdeps/wordsize-64/tmpfile.c: File removed.
30838 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30839 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30840 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30842 * stdio-common/vfscanf.c: Include <stdbool.h>.
30843 * nss/makedb.c: Likewise.
30844 * stdio-common/_i18n_number.h: Likewise.
30845 * argp/argp-help.c: Likewise.
30846 * posix/wordexp.c: Likewise.
30847 * sysdeps/posix/spawni.c: Likewise.
30848 * nss/nss_files/files-initgroups.c: Likewise.
30849 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30850 * nss/nss_files/files-initgroups.c: Likewise.
30851 * nss/nss_db/db-netgrp.c: Likewise.
30852 * nss/nss_db/db-initgroups.c: Likewise.
30853 * io/fchmodat.c: Include <sys/stat.h>.
30855 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30856 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30858 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30861 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30862 Add multiple inclusion protection.
30864 2012-07-27 David S. Miller <davem@davemloft.net>
30866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30868 2012-07-27 Gary Benson <gbenson@redhat.com>
30871 * elf/rtld.c: Include <stap-probe.h>.
30872 (dl_main): Added static probes "init_start" and "init_complete".
30873 * elf/dl-load.c: Include <stap-probe.h>.
30874 (lose): Take new parameter "nsid".
30875 Added static probe "map_failed".
30876 (_dl_map_object_from_fd): Pass namespace id to lose.
30877 Added static probe "map_start".
30878 (open_verify): Pass namespace id to lose.
30879 * elf/dl-open.c: Include <stap-probe.h>.
30880 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30881 and "reloc_complete".
30882 * elf/dl-close.c: Include <stap-probe.h>.
30883 (_dl_close_worker): Added static probes "unmap_start" and
30885 * elf/rtld-debugger-interface.txt: New file documenting the above.
30887 2012-07-26 Roland McGrath <roland@hack.frob.com>
30889 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30890 rather than a string variable.
30891 * sunrpc/rpc_main.c (h_output): Likewise.
30892 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30894 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30896 * inet/check_native.c: New file.
30898 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30901 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30902 if larger part has absolute value 1.0.
30903 * math/s_clog10.c (__clog10): Likewise.
30904 * math/s_clog10f.c (__clog10f): Likewise.
30905 * math/s_clog10l.c (__clog10l): Likewise.
30906 * math/s_clogf.c (__clogf): Likewise.
30907 * math/s_clogl.c (__clogl): Likewise.
30908 * math/libm-test.inc (clog_test): Add more tests.
30909 (clog10_test): Likewise.
30910 * sysdeps/i386/fpu/libm-test-ulps: Update.
30911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30913 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30914 (pltexit): Likewise.
30915 (La_regs): Likewise.
30916 (La_retval): Likewise.
30917 (int_retval): Likewise.
30918 Update #error for removed macros to refer only to definitions in
30920 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30922 (pltexit): Likewise.
30923 (La_regs): Likewise.
30924 (La_retval): Likewise.
30925 (int_retval): Likewise.
30926 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30928 (pltexit): Likewise.
30929 (La_regs): Likewise.
30930 (La_retval): Likewise.
30931 (int_retval): Likewise.
30932 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30934 (pltexit): Likewise.
30935 (La_regs): Likewise.
30936 (La_retval): Likewise.
30937 (int_retval): Likewise.
30938 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30940 (pltexit): Likewise.
30941 (La_regs): Likewise.
30942 (La_retval): Likewise.
30943 (int_retval): Likewise.
30944 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30946 (pltexit): Likewise.
30947 (La_regs): Likewise.
30948 (La_retval): Likewise.
30949 (int_retval): Likewise.
30950 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30952 (pltexit): Likewise.
30953 (La_regs): Likewise.
30954 (La_retval): Likewise.
30955 (int_retval): Likewise.
30956 * sysdeps/generic/tst-audit.h: Update comment to refer only to
30957 macro definitions in tst-audit.h.
30958 * sysdeps/i386/tst-audit.h: New file.
30959 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30960 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30961 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30962 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30963 * sysdeps/sh/tst-audit.h: Likewise.
30964 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30965 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30966 * sysdeps/x86_64/tst-audit.h: Likewise.
30968 2012-07-26 Andreas Jaeger <aj@suse.de>
30970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30973 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30974 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30975 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30977 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30978 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30979 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30981 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30984 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30986 (si_call_addr, si_syscall, si_arch): Define new macro.
30987 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30989 (si_call_addr, si_syscall, si_arch): Define new marcro.
30990 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30992 (si_call_addr, si_syscall, si_arch): Define new macro.
30993 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30995 (si_call_addr, si_syscall, si_arch): Define new macro.
30997 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31000 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31001 Change to 2.4.21 where previously 2.4.1.
31002 * sysdeps/unix/sysv/linux/configure: Regenerated.
31003 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31004 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31005 Linux kernel version.
31006 (__ASSUME_STD_AUXV): Remove.
31007 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31009 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31010 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31011 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31012 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31013 (__ASSUME_NETLINK_SUPPORT): Likewise.
31014 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31015 (__no_netlink_support): Remove conditional definition.
31016 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31018 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31019 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31020 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31021 (if_nameindex_ioctl): Remove.
31022 (if_nameindex_netlink): Do not handle __no_netlink_support.
31023 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31025 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31026 Remove conditional code.
31027 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31029 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31031 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31032 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31033 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31035 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31036 [!__ASSUME_STD_AUXV]: Remove conditional code.
31037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31038 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31039 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31041 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31042 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31044 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31046 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31047 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31049 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31051 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31054 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31057 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31058 code unconditional.
31059 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31061 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31063 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31066 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31068 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31071 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31072 code unconditional.
31073 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31075 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31077 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31080 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31081 code unconditional.
31082 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31084 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31086 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31089 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31091 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31092 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31093 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31094 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31095 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31096 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31097 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31098 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31099 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31100 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31101 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31102 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31103 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31104 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31105 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31106 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31107 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31109 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31111 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31112 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31113 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31115 2012-07-25 Florian Weimer <fweimer@redhat.com>
31117 * Versions.def: Add GLIBC_2.17.
31118 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31119 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31120 Introduce __libc_secure_getenv.
31121 * stdlib/Versions (2.17): Add secure_getenv
31122 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31123 * stdlib/secure-getenv.c: Rename __secure_getenv to
31124 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31125 symbol __secure_getenv for GLIBC_2.0.
31126 * stdlib/tst-secure-getenv.c: New.
31127 * stdlib/Makefile (tests): Add testcase.
31128 * manual/startup.texi (Environment Access): Document
31130 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31131 __libc_secure_getenv.
31132 * inet/ruserpass.c (ruserpass): Likewise.
31133 * malloc/mtrace.c (mtrace): Likewise.
31134 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31135 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31136 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31137 * sysdeps/posix/tempname.c: Likewise. Evaluate
31138 HAVE_SECURE_GETENV.
31139 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31140 __secure_getenv to __libc_secure_getenv.
31141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31147 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31148 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31154 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31156 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31157 (struct La_i86_retval): Likewise.
31158 (struct La_x86_64_regs): Likewise.
31159 (struct La_x86_64_retval): Likewise.
31160 (struct La_x32_regs): Likewise.
31161 (struct La_x32_retval): Likewise.
31162 (struct La_ppc32_regs): Likewise.
31163 (struct La_ppc32_retval): Likewise.
31164 (struct La_ppc64_regs): Likewise.
31165 (struct La_ppc64_retval): Likewise.
31166 (struct La_sh_regs): Likewise.
31167 (struct La_sh_retval): Likewise.
31168 (struct La_s390_32_regs): Likewise.
31169 (struct La_s390_32_retval): Likewise.
31170 (struct La_s390_64_regs): Likewise.
31171 (struct La_s390_64_retval): Likewise.
31172 (struct La_sparc32_regs): Likewise.
31173 (struct La_sparc32_retval): Likewise.
31174 (struct La_sparc64_regs): Likewise.
31175 (struct La_sparc64_retval): Likewise.
31176 (struct audit_ifaces): Remove architecture-specific pltenter and
31178 * sysdeps/i386/ldsodefs.h: New file.
31179 * sysdeps/powerpc/ldsodefs.h: Likewise.
31180 * sysdeps/s390/ldsodefs.h: Likewise.
31181 * sysdeps/sh/ldsodefs.h: Likewise.
31182 * sysdeps/sparc/ldsodefs.h: Likewise.
31183 * sysdeps/x86_64/ldsodefs.h: Likewise.
31185 2012-07-25 Marek Polacek <polacek@redhat.com>
31188 * math/libm-test.inc (yn_test): Add another test.
31189 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31190 to ERANGE when the result is +-Inf.
31191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31192 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31193 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31196 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31198 * conform/data/time.h-data (NULL): Use macro-constant. Require
31200 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31202 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31204 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31206 * configure.in <sysdeps resolving>: Correct printing
31208 * configure: Regenerate.
31210 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31212 * math/w_ilogb.c: Include <limits.h>.
31213 * math/w_ilogbl.c: Likewise.
31215 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31217 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31218 va_copy. Document allowing for unavailable va_copy only as
31219 pre-C99 compatibility.
31220 * manual/string.texi (Copying and Concatenation): Use va_copy
31221 instead of __va_copy in concat example.
31223 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31225 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31226 (__sendto): Use create_address_port. Initialize APORT and deallocate
31229 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31230 with O_NOLINK passed to __file_name_lookup.
31232 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31233 with O_NOLINK passed to __file_name_lookup.
31235 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31236 negative N or less than NGIDS.
31238 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31239 type to string_t. Set ERANGE as errno and return it if NAME is not big
31240 enough. Use memcpy instead of strncpy.
31242 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31244 * elf/Makefile (check-data): Remove.
31245 (localplt.data): New vpath directive.
31246 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31247 instead of $(check-data).
31248 * scripts/data/localplt-generic.data: Move to ...
31249 * sysdeps/generic/localplt.data: ... here.
31250 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31251 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31252 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31255 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31258 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31261 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31264 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31267 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31271 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31273 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31274 PPC32 and PPC64 files.
31275 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31276 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31278 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31280 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31281 __makecontext_ret to ...
31282 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31283 ... here and call exit if uc_link is NULL. New file.
31284 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31285 __makecontext_ret.S.
31286 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31287 __makecontext_ret to ...
31288 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31289 ... here and call exit if uc_link is NULL. New file.
31290 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31291 __makecontext_ret.S.
31293 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31295 * elf/elf.h (R_390_IRELATIVE): New definition.
31296 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31297 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31298 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31299 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31300 (elf_machine_lazy_rel): Likewise.
31301 * sysdeps/s390/dl-irel.h: New file.
31302 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31303 * sysdeps/s390/s390-64/memset.S: New asm code.
31304 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31305 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31307 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31308 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31309 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31310 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31311 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31312 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31313 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31314 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31315 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31316 * sysdeps/s390/s390-32/memset.S: New asm code.
31317 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31319 2012-07-17 Marek Polacek <polacek@redhat.com>
31322 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31323 * sysdeps/s390/s390-64/configure.in: Likewise.
31324 * sysdeps/sparc/configure.in: Likewise.
31325 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31326 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31327 * sysdeps/i386/configure.in: Likewise.
31328 * sysdeps/x86_64/configure.in: Likewise.
31329 * sysdeps/sh/configure.in: Likewise.
31330 * sysdeps/s390/s390-32/configure: Regenerated.
31331 * sysdeps/s390/s390-64/configure: Likewise.
31332 * sysdeps/x86_64/configure: Likewise.
31333 * sysdeps/sh/configure: Likewise.
31334 * sysdeps/powerpc/powerpc64/configure: Likewise.
31335 * sysdeps/powerpc/powerpc32/configure: Likewise.
31336 * sysdeps/sparc/configure: Likwise.
31337 * sysdeps/i386/configure: Likewise.
31339 * elf/dl-open.c: Comment fixes.
31341 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31343 * Makefile [CXX] (check-data): Remove.
31344 [CXX] (c++-types.data): New vpath directive.
31345 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31346 vpath. Do not allow for C++ type data being missing.
31347 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31348 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31349 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31350 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31351 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31352 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31353 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31356 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31359 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31362 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31365 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31368 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31371 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31374 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31377 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31378 definitions to architecture-specific files.
31379 (TLS_IE): Likewise.
31380 (TLS_LD): Likewise.
31381 (TLS_GD): Likewise.
31382 * sysdeps/i386/tls-macros.h: New file.
31383 * sysdeps/powerpc/tls-macros.h: Likewise.
31384 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31385 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31386 * sysdeps/sh/tls-macros.h: Likewise.
31387 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31388 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31389 * sysdeps/x86_64/tls-macros.h: Likewise.
31391 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31394 zero value for regular exit case.
31396 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31397 (__start_context): Preserve zero value for regular exit case.
31399 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31400 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31402 * manual/setjmp.texi (setcontext): Clarify normal process
31403 termination when uc_link is the null pointer.
31404 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31407 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31409 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31410 preprocessor. Test for each exception mask separately.
31412 2012-07-16 Andreas Jaeger <aj@suse.de>
31414 * po/ru.po: Update from translation team.
31416 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31418 * conform/data/string.h-data (NULL): Use macro-constant. Require
31420 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31421 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31422 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31423 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31424 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31426 2012-07-13 Andreas Jaeger <aj@suse.de>
31428 * po/fr.po: Update from translation team.
31430 2012-07-12 Marek Polacek <polacek@redhat.com>
31433 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31437 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31441 Change to 2.4.1 where previously 2.4.0.
31442 * sysdeps/unix/sysv/linux/configure: Regenerated.
31443 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31444 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31446 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31447 (__ASSUME_AT_CLKTCK): Remove.
31448 (__ASSUME_AT_PAGESIZE): Likewise.
31449 (__ASSUME_AT_XID): Likewise.
31450 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31451 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31452 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31454 (HAVE_AUX_PAGESIZE): Likewise.
31455 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31456 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31457 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31459 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31463 the temporary buffer used to invoke __gethostbyname2_r,
31464 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31465 host_data / struct gaih_addrtuple.
31466 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31467 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31468 header file nss/nsswitch.h.
31469 * nss/nsswitch.h (global scope): Add definition of implementation
31470 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31471 resolv/nss_dns/dns-host.c).
31473 2012-07-11 Andreas Jaeger <aj@suse.de>
31475 * po/fr.po: Update from translation team.
31477 * po/sv.po: Update from translation team
31478 * po/fr.po: Another update from translation team.
31480 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31482 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31483 for subnormals or multiply small sinh result by itself.
31484 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31487 2012-07-11 David S. Miller <davem@davemloft.net>
31489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31491 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31494 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31495 (INTERNAL_MARK): Shift it here.
31497 2012-07-10 Marek Polacek <polacek@redhat.com>
31500 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31501 libc_cv_asm_global_directive with .globl.
31502 * configure: Regenerated.
31503 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31505 * sysdeps/i386/configure: Regenerated.
31506 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31508 * sysdeps/x86_64/configure: Regenerated.
31509 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31510 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31511 * elf/tst-unique2mod2.c: Likewise.
31512 * elf/tst-unique2mod1.c: Likewise.
31513 * elf/tst-unique1mod2.c: Likewise.
31514 * elf/tst-unique1mod1.c: Likewise.
31515 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31516 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31517 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31518 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31519 * sysdeps/mach/sysdep.h: Likewise.
31520 * sysdeps/i386/sysdep.h: Likewise.
31521 * sysdeps/i386/i386-mcount.S: Likewise.
31522 * sysdeps/x86_64/_mcount.S: Likewise.
31523 * sysdeps/x86_64/sysdep.h: Likewise.
31524 * sysdeps/sh/_mcount.S: Likewise.
31525 * sysdeps/sh/sysdep.h: Likewise.
31526 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31527 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31528 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31529 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31530 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31531 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31532 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31533 * locale/localeinfo.h: Likewise.
31534 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31535 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31537 2012-07-09 Roland McGrath <roland@hack.frob.com>
31540 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31542 * manual/message.texi (The Uniforum approach): Likewise.
31543 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31544 (glibc iconv Implementation): Likewise.
31546 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31549 * math/s_clog.c (__clog): Avoid scaling a value down where that
31550 could result in underflow.
31551 * math/s_clog10.c (__clog10): Likewise.
31552 * math/s_clog10f.c (__clog10f): Likewise.
31553 * math/s_clog10l.c (__clog10l): Likewise.
31554 * math/s_clogf.c (__clogf): Likewise.
31555 * math/s_clogl.c (__clogl): Likewise.
31556 * math/libm-test.inc (clog_test): Add more tests.
31557 (clog10_test): Likewise.
31558 * sysdeps/i386/fpu/libm-test-ulps: Update.
31559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31561 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31564 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31565 by 7 not 8 to examine high bit of fractional part.
31568 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31569 for call to __mcount_internal.
31570 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31571 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31572 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31574 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31577 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31578 approximation for values within 0x1p-13f of an odd multiple of
31580 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31581 exception. Add more tests.
31582 * sysdeps/i386/fpu/libm-test-ulps: Update.
31585 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31586 inputs and return -1 for them. Do not check for +Inf in case not
31587 reachable for +Inf.
31588 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31589 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31590 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31591 and return -1 for them. Do not check for +Inf in case not
31592 reachable for +Inf.
31593 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31595 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31596 and return -1 for them. Do not check for +Inf in case not
31597 reachable for +Inf.
31598 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31599 spurious underflow.
31600 * sysdeps/i386/fpu/libm-test-ulps: Update.
31601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31603 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31605 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31607 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31611 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31612 could result in spurious underflow. Scale down values above
31613 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31614 * math/s_csqrtf.c (__csqrtf): Likewise.
31615 * math/s_csqrtl.c (__csqrtl): Likewise.
31616 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31617 spurious underflow.
31618 * sysdeps/i386/fpu/libm-test-ulps: Update.
31619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31621 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31623 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31625 * catgets/xopen-msg.awk: New file.
31626 * catgets/xopen-msg.sed: Removed.
31628 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31630 * intl/po2test.awk: New file.
31631 * intl/po2test.sed: Removed.
31633 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31636 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31637 or multiply small sinh result by itself.
31638 * math/s_ctanf.c (__ctanf): Likewise.
31639 * math/s_ctanh.c (__ctanh): Likewise.
31640 * math/s_ctanhf.c (__ctanhf): Likewise.
31641 * math/s_ctanhl.c (__ctanhl): Likewise.
31642 * math/s_ctanl.c (__ctanl): Likewise.
31643 * math/libm-test.inc (ctan_test_tonearest): New function.
31644 (ctan_test_towardzero): Likewise.
31645 (ctan_test_downward): Likewise.
31646 (ctan_test_upward): Likewise.
31647 (ctanh_test_tonearest): Likewise.
31648 (ctanh_test_towardzero): Likewise.
31649 (ctanh_test_downward): Likewise.
31650 (ctanh_test_upward): Likewise.
31651 (main): Call these new functions.
31652 * sysdeps/i386/fpu/libm-test-ulps: Update.
31653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31655 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31657 * .gitignore: Delete /ports entry.
31659 2012-07-03 Andreas Jaeger <aj@suse.de>
31661 * po/bg.po: Update from translation team.
31662 * po/cs.po: Likewise.
31663 * po/de.po: Likewise.
31664 * po/hr.po: Likewise.
31665 * po/nl.pl: Likewise.
31666 * po/pl.po: Likewise.
31667 * po/vi.po: Likewise.
31669 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31671 * Makeconfig [!+link] (+link-before-libc): New variable.
31672 [!+link] (+link-after-libc): Likewise.
31673 [!+link] (+link-tests): Likewise.
31674 [!+link] (+link): Define in terms of $(+link-before-libc) and
31675 $(+link-after-libc).
31676 [!+link-static] (+link-static-before-libc): New variable.
31677 [!+link-static] (+link-static-after-libc): Likewise.
31678 [!+link-static] (+link-static-tests): Likewise.
31679 [!+link-static] (+link-static): Define in terms of
31680 $(+link-static-before-libc) and $(+link-static-after-libc).
31681 [build-shared] (link-libc-before-gnulib): New variable.
31682 [build-shared] (link-libc-tests): Likewise.
31683 [build-shared] (link-libc): Define in terms of
31684 $(link-libc-before-gnulib).
31685 [!build-shared] (link-libc-tests): New variable.
31686 (link-libc-static-tests): New variable.
31687 [!gnulib] (gnulib-arch): New variable.
31688 [!gnulib] (gnulib-tests): Likewise.
31689 [!gnulib] (static-gnulib-arch): Likewise.
31690 [!gnulib] (static-gnulib-tests): Likewise.
31691 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31692 Define with "=" instead of ":=".
31693 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31694 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31695 * Rules (binaries-all-notests): New variable.
31696 (binaries-all-tests): Likewise.
31697 (binaries-static-notests): Likewise.
31698 (binaries-static-tests): Likewise.
31699 (binaries-all): Define using $(binaries-all-notests) and
31700 $(binaries-all-tests).
31701 (binaries-static): Define using $(binaries-static-notests) and
31702 $(binaries-static-tests).
31703 (binaries-shared-tests): New variable.
31704 (binaries-shared-notests): Likewise.
31705 (binaries-shared): Remove variable.
31706 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31707 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31708 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31709 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31710 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31711 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31712 * elf/Makefile (sln-modules): New variable.
31713 (extra-objs): Add $(sln-modules:=.o).
31714 (ldconfig-modules): Add static-stubs.
31715 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31716 * elf/static-stubs.c: New file.
31719 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31720 by 7 not 8 to examine high bit of fractional part. Use volatile
31721 variables when splitting into final array of floats if
31722 __FLT_EVAL_METHOD__ != 0.
31723 * math/libm-test.inc (cos_test): Add another test.
31724 (sin_test): Likewise.
31725 * sysdeps/i386/fpu/libm-test-ulps: Update.
31728 * math/libm-test.inc (cosh_test): Add more tests.
31730 * version.h (RELEASE): Set to "development".
31731 (VERSION): Set to "2.16.90".
31733 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31735 * NEWS: Update copyright. Remove last-updated date.
31736 Mention math library bug fixes and timezone data changes.
31737 * README: Mention GNU/Hurd, x32, and HPPA support status.
31739 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31741 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31743 2012-06-27 Andreas Jaeger <aj@suse.de>
31745 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31747 2012-06-25 Andreas Jaeger <aj@suse.de>
31749 * sysdeps/s390/fpu/libm-test-ulps: Update.
31751 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31752 Thomas Schwinge <thomas@codesourcery.com>
31754 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31755 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31756 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31759 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31761 * sysdeps/mach/start.c: Remove file.
31762 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31763 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31764 * sysdeps/sh/init-first.c: Likewise.
31766 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31767 registers for frame unwinding purposes, add CFI directives.
31768 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31769 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31770 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31773 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31774 __fortify_fail returning.
31775 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31777 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31778 sysdeps/sh/____longjmp_chk.S.
31779 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31780 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31781 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31782 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31784 * sysdeps/sh/abort-instr.h: New file.
31785 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31786 process in case exit returns.
31788 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31789 initialize the GOT register before use.
31791 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31792 calculation of ARGC > 4.
31794 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31795 meaningful names to some local labels.
31797 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31798 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31800 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31801 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31802 (__arch_compare_and_exchange_val_16_acq): Likewise.
31803 (__arch_compare_and_exchange_val_32_acq): Likewise.
31804 (atomic_exchange_and_add): Fix gUSA sequence.
31805 (atomic_add): Likewise.
31806 (atomic_add_negative): Likewise.
31807 (atomic_add_zero): Likewise.
31808 (atomic_bit_test_set): Likewise.
31810 2012-06-22 Andreas Schwab <schwab@redhat.com>
31813 * include/link.h (struct link_map): Add l_free_initfini.
31814 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31816 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31817 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31818 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31821 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31823 * configure.in: Use AC_LANG_SOURCE.
31824 * configure: Regenerate.
31826 2012-06-22 Roland McGrath <roland@hack.frob.com>
31828 * configure.in (libc_cv_localstatedir): New substituted variable.
31829 * configure: Regenerated.
31830 * config.make.in (localstatedir): New variable, substituted from
31831 libc_cv_localstatedir.
31832 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31833 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31834 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31835 * sysdeps/gnu/configure: Regenerated.
31837 2012-06-21 Jeff Law <law@redhat.com>
31840 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31841 free. Simplify list management for _LIBC case.
31843 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31846 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31847 Clear sign bit of 64-bit integer value before comparing against
31850 * sysdeps/mach/configure: Regenerated.
31852 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31855 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31857 2012-06-21 Jeff Law <law@redhat.com>
31860 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31861 uint16_t for elements in the "seen" array to avoid char overflows.
31862 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31863 * elf/dl-open.c (dl_open_worker): Likewise.
31865 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31867 * scripts/list-sources.sh: Scan PORTS for translations.
31868 * po/libc.pot: Regenerated.
31870 2012-06-21 Andreas Jaeger <aj@suse.de>
31873 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31875 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31876 * bits/byteswap-16.h (__bswap_16): Likewise.
31877 * bits/byteswap.h (__bswap_constant_16): Likewise.
31879 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31882 * sysdeps/i386/fpu_control.h: Removed.
31883 * sysdeps/x86_64/fpu_control.h: Moved to ...
31884 * sysdeps/x86/fpu_control.h: Here.
31886 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31887 (_FPU_SETCW): Likewise.
31889 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31892 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31893 * sysdeps/x86/fpu/bits/mathinline.h: This.
31894 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31898 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31899 functions if __x86_64__ is defined.
31901 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31903 * string/endian.h: Add !__ASSEMBLER__ condition for including
31904 conversion interfaces.
31906 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31910 of ABS(x) in calculating zero to negative powers other than odd
31912 * math/libm-test.inc (pow_test): Add more tests.
31914 2012-06-15 Andreas Jaeger <aj@suse.de>
31916 * manual/contrib.texi (Contributors): Update entry of Liubov
31917 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31920 2012-06-15 Cyril Hrubis <metan@ucw.cz>
31922 * string/string.h: Add __wur to GNU version of strerror_r.
31924 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
31927 * string/Makefile (tests): Add tst-strtok_r.
31928 * string/tst-strtok_r.c: New file.
31929 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31930 RAX_LP/RDX_LP on SAVE_PTR.
31932 2012-06-14 Roland McGrath <roland@hack.frob.com>
31934 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31936 2012-06-14 Joseph Myers <joseph@codesourcery.com>
31938 * libm_test.inc (csqrt_test): Allow more spurious underflow
31940 (j0_test): Likewise.
31941 (j1_test): Likewise.
31942 (y0_test): Likewise.
31943 (y1_test): Likewise.
31945 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
31947 * po/Makefile (libc.pot): Use UTF-8 charset.
31949 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
31952 Suppress sign-conversion warning from FD_SET.
31953 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31954 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31955 not unsigned long int.
31956 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31958 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
31962 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31963 __extern_always_inline instead of __extern_inline.
31964 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31965 (__signbit): Likewise.
31966 (__signbitl): Support C++ namespace.
31967 (lrintf): New inline function.
31969 (llrintf): Likewise.
31970 (llrint): Likewise.
31980 (floorf): Likewise.
31981 (nearbyint): Likewise.
31982 (nearbyintf): Likewise.
31984 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
31986 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31987 non-default versions.
31989 2012-06-11 Roland McGrath <roland@hack.frob.com>
31992 * manual/argp.texi (Argp): Reword argp_parse description slightly.
31994 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
31996 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31997 (FE_UPWARD, FE_DOWNWARD): Don't define.
31998 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31999 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32001 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32003 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32004 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32006 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32008 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32010 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32011 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32013 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32016 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32017 * sysdeps/i386/fpu/Implies: New file.
32018 * sysdeps/x86_64/fpu/Implies: Likewise.
32019 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32020 * sysdeps/x86/fpu/bits/fenv.h: This.
32022 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32025 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32028 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32029 character 0xffff that matches the last element of the
32032 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32034 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32037 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32039 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32040 values higher than 25.6283.
32042 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32044 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32045 subnormal exponent extraction and add some __builtin_expect.
32046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32047 Fix for subnormal mantissa calculation.
32049 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32051 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32052 cpu2 is -1 and errno is not ENOSYS.
32054 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32057 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32058 * sysdeps/x86/bits/string.h: This.
32059 * sysdeps/x86_64/bits/string.h: Removed.
32061 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32062 if not compiling for x86-64, but compiling for >= i486.
32064 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32065 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32067 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32068 New macro from Linux kernel 3.4.0.
32069 (FP_XSTATE_MAGIC2): Likewise.
32070 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32071 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32072 (struct _fpx_sw_bytes): New struct.
32073 (struct _xsave_hdr): Likewise.
32074 (struct _ymmh_state): Likewise.
32075 (struct _xstate): Likewise.
32077 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32078 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32080 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32081 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32082 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32084 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32085 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32086 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32087 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32088 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32089 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32091 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32094 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32095 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32096 (sysdep_headers): Include sys/platform/ppc.h.
32097 * sysdeps/powerpc/test-gettimebase.c: Test for
32098 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32099 * manual/Makefile (appendices): Include platform.texi.
32100 * manual/contrib.texi (Contributors): Update @node pointers.
32101 * manual/maint.texi (Maintenance): Likewise.
32102 (Platform): New node.
32103 * manual/platform.texi: New file. Document the new features.
32105 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32106 Jakub Jelinek <jakub@redhat.com>
32109 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32110 where __builtin_expect is unavailable.
32112 2012-06-03 David S. Miller <davem@davemloft.net>
32114 * stdlib/longlong.h: Updated from GCC.
32116 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32119 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32120 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32123 (GLIBC_2.16): Likewise.
32125 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32127 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32129 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32132 (default-abi): New variable.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32134 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32136 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32138 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32140 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32143 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32144 definition. Document in comment.
32146 2012-06-01 David S. Miller <davem@davemloft.net>
32148 * stdlib/longlong.h: Updated from GCC.
32150 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32153 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32154 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32155 sys/debugreg.h sys/io.h here.
32156 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32157 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32159 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32160 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32161 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32162 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32163 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32164 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32166 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32167 Define only if __x86_64__ is defined.
32169 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32172 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32173 Use int64_t for variable i.
32174 * math/libm-test.inc (fmod_test): Add more tests.
32176 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32177 z computation is not scheduled after fetestexcept.
32178 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32179 Use math_force_eval instead of asm to ensure calculation scheduled
32180 before exception test.
32181 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32182 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32184 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32187 computation is not scheduled after fetestexcept.
32189 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32192 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32193 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32195 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32197 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32198 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32200 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32203 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32205 (__WCHAR_MIN): Support __WORDSIZE == 64.
32206 (__WCHAR_MAX): Likewise.
32208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32212 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32213 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32216 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32219 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32220 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32222 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32223 Defined to 1 if __x86_64__ isn't defined.
32224 (_STAT_VER_LINUX_OLD): New.
32225 (st_atime): Remove duplicate.
32226 (st_mtime): Likewise.
32227 (st_ctime): Likewise.
32229 2012-05-31 David S. Miller <davem@davemloft.net>
32231 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32234 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32236 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32240 * elf/dl-reloc.c: Include <_itoa.h>.
32241 (_dl_reloc_bad_type): Remove use of INTUSE.
32242 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32243 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32244 * stdio-common/psiginfo.c (psiginfo): Likewise.
32245 * stdio-common/psignal.c (psignal): Likewise.
32246 * string/strsignal.c (strsignal): Likewise.
32247 * include/signal.h (_sys_siglist): Declare hidden proto.
32248 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32249 INTVARDEF with libc_hidden_data_def.
32250 * stdio-common/itoa-udigits.c: Likewise.
32251 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32252 (_itoa_lower_digits_internal): Remove declaration.
32253 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32254 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32255 (_sys_sigabbrev_internal): Remove aliases.
32256 (_sys_siglist): Define hidden alias.
32258 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32263 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32266 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32267 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32269 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32270 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32271 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32272 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32273 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32274 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32276 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32278 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32280 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32288 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32289 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32290 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32292 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32293 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32294 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32295 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32296 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32297 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32299 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32300 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32302 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32303 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32305 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32306 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32307 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32309 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32310 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32312 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32314 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32315 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32316 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32318 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32320 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32322 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32324 * math/math.h (M_El): Use two more decimal places.
32325 (M_LOG2El): Likewise.
32326 (M_LOG10El): Likewise.
32327 (M_LN2l): Likewise.
32328 (M_LN10l): Likewise.
32330 (M_PI_2l): Likewise.
32331 (M_PI_4l): Likewise.
32332 (M_1_PIl): Likewise.
32333 (M_2_PIl): Likewise.
32334 (M_2_SQRTPIl): Likewise.
32335 (M_SQRT2l): Likewise.
32336 (M_SQRT1_2l): Likewise.
32338 2012-05-31 David S. Miller <davem@davemloft.net>
32340 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32341 values between float registers.
32342 * sysdeps/sparc/sparc64/memset.S: Likewise.
32343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32345 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32347 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32348 -D_FORTIFY_SOURCE=1.
32349 (CPPFLAGS-tst-longjmp_chk.c): Define.
32350 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32351 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32352 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32353 CFLAGS-tst-wchar-h.c.
32355 2012-05-31 Marek Polacek <polacek@redhat.com>
32358 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32359 __endmntent_internal): Remove declaration.
32360 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32361 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32362 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32364 2012-05-30 David S. Miller <davem@davemloft.net>
32366 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32367 (___Q_simulate_exceptions): Use real FP ops rather than writing
32369 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32372 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32375 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32376 * sysdeps/x86/bits/xtitypes.h: This.
32378 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32379 * sysdeps/x86/bits/wordsize.h: This.
32381 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32382 * sysdeps/x86/bits/huge_vall.h: This.
32384 * sysdeps/i386/bits/select.h: Removed.
32385 * sysdeps/x86_64/bits/select.h: Renamed to ...
32386 * sysdeps/x86/bits/select.h: This.
32388 * sysdeps/i386/bits/setjmp.h: Removed.
32389 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32390 * sysdeps/x86/bits/setjmp.h: This.
32392 * sysdeps/i386/bits/mathdef.h: Removed.
32393 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32394 * sysdeps/x86/bits/mathdef.h: This.
32396 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32399 * include/sys/socket.h (__connect_internal)
32400 (__libc_sa_len_internal): Remove declaration.
32401 (__connect, __libc_sa_len): Declare hidden_proto.
32402 (SA_LEN): Remove use of INTUSE.
32403 * socket/connect.c: Add libc_hidden_def.
32404 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32405 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32406 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32408 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32409 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32410 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32411 of adding _internal alias.
32413 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32416 * sysdeps/i386/bits/link.h: Removed.
32417 * sysdeps/i386/bits/linkmap.h: Likewise.
32418 * sysdeps/x86_64/bits/link.h: Renamed to ...
32419 * sysdeps/x86/bits/link.h: This.
32420 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32421 * sysdeps/x86/bits/linkmap.h: This.
32423 * sysdeps/i386/bits/endian.h: Removed.
32424 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32425 * sysdeps/x86/bits/endian.h: This.
32427 * sysdeps/i386/bits/byteswap.h: Removed.
32428 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32429 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32430 * sysdeps/x86/bits/byteswap.h: This.
32431 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32432 * sysdeps/x86/bits/byteswap-16.h: This.
32433 * sysdeps/i386/Implies: Add x86.
32434 * sysdeps/x86_64/Implies: Likewise.
32436 2012-05-30 David S. Miller <davem@davemloft.net>
32438 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32439 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32440 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32441 (FP_TRAPPING_EXCEPTIONS): Define.
32442 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32443 (FP_TRAPPING_EXCEPTIONS): Define.
32444 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32445 subnormals only when inexact has been signalled or underflow
32446 exceptions are enabled.
32447 (_FP_PACK_CANONICAL): Likewise.
32449 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32452 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32453 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32455 2012-05-30 Richard Henderson <rth@twiddle.net>
32457 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32458 with #ifndef NOT_IN_libc.
32460 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32461 marked to avoid plt entry.
32463 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32466 * Makeconfig (default-abi): New macro.
32467 (abi-includes): Likewise.
32468 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32469 $(abi-$(default-abi)-lib-soname) for soname if defined.
32470 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32472 * Makefile (installed-stubs): Likewise.
32473 * include/stubs-biarch.h: Removed.
32474 * scripts/lib-names.awk: Only handle one library at a time.
32475 * scripts/soversions.awk: Remove WORDSIZE support.
32476 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32478 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32480 (syscall-list-default-condition): Likewise.
32481 (syscall-list-default-condition): Likewise.
32482 (syscall-list-includes): Likewise.
32483 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32484 syscall-list-* with abi-*. Handle undefined abi-variants.
32485 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32486 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32487 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32488 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32489 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32490 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32492 (syscall-list-32-options): Likewise.
32493 (syscall-list-32-condition): Likewise.
32494 (syscall-list-64-options): Likewise.
32495 (syscall-list-64-condition): Likewise.
32496 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32498 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32501 (abi-64-ld-soname): New macro.
32502 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32503 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32506 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32507 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32509 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32511 * sysdeps/unix/sysv/linux/kernel-features.h
32512 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32513 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32514 include <kernel-features.h>.
32515 [!__NR_ftruncate64]: Remove conditional code.
32516 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32517 [__NR_ftruncate64]: Make code unconditional.
32518 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32519 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32520 include <kernel-features.h>.
32521 [!__NR_ftruncate64]: Remove conditional code.
32522 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32523 [__NR_ftruncate64]: Make code unconditional.
32524 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32526 include <kernel-features.h>.
32527 [!__NR_ftruncate64]: Remove conditional code.
32528 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32529 [__NR_ftruncate64]: Make code unconditional.
32530 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32532 include <kernel-features.h>.
32533 [!__NR_ftruncate64]: Remove conditional code.
32534 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32535 [__NR_ftruncate64]: Make code unconditional.
32536 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32538 * configure.in (libc_cv_fpie): Weaken to a compile test using
32539 LIBC_TRY_CC_OPTION.
32540 * configure: Regenerated.
32542 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32557 2012-05-27 David S. Miller <davem@davemloft.net>
32559 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32561 (__Q_simulate_exceptions): Return void. Change to simulate
32562 exceptions by writing into the %fsr.
32563 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32564 (__Qp_handle_exceptions): Likewise.
32566 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32567 __Qp_handle_exceptions.
32568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32569 __Qp_handle_exceptions.
32570 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32571 as unused and give dummy FP_RND_NEAREST initializer.
32572 (FP_INHIBIT_RESULTS): Define.
32573 (___Q_simulate_exceptions): Update declaration.
32574 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32576 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32577 as unused and give dummy FP_RND_NEAREST initializer.
32578 (__Qp_handle_exceptions): Update declaration.
32579 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32582 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32584 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32585 the temporary FPU control word.
32586 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32587 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32589 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32590 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32591 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32592 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32593 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32594 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32595 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32596 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32598 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32600 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32603 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32605 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32606 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32607 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32608 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32610 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32611 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32614 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32616 * po/h.po: Update from translation team.
32618 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32620 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32622 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32623 handling of denormals.
32624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32625 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32627 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32628 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32633 2012-05-26 Marek Polacek <polacek@redhat.com>
32636 * math/libm-test.inc (fma_test): Don't always expect underflow
32639 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32642 * elf/tst-execstack.c: Include stackinfo.h.
32643 (do_test): Adjust test case to ensure that pthread_getattr_np
32644 behaviour remains the same after marking stack executable.
32646 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32648 * sysdeps/unix/sysv/linux/kernel-features.h
32649 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32650 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32652 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32653 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32654 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32656 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32657 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32659 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32661 * configure.in: Define the default includes to being none.
32662 * configure: Regenerated.
32664 2012-05-25 Roland McGrath <roland@hack.frob.com>
32666 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32667 * sysdeps/x86_64/setjmp.S: Likewise.
32668 * sysdeps/i386/bsd-setjmp.S: Likewise.
32669 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32670 * sysdeps/i386/setjmp.S: Likewise.
32671 * sysdeps/i386/__longjmp.S: Likewise.
32672 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32673 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32675 * include/stap-probe.h: New file.
32676 * configure.in: Handle --enable-systemtap.
32677 * configure: Regenerated.
32678 * config.h.in (USE_STAP_PROBE): New #undef.
32679 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32680 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32681 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32683 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32686 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32687 to 2.4.0 where earlier.
32688 * sysdeps/unix/sysv/linux/configure: Regenerated.
32689 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32690 <kernel-features.h>.
32691 [__ASSUME_32BITUIDS]: Make code unconditional.
32692 [!__ASSUME_32BITUIDS]: Remove conditional code.
32693 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32694 <kernel-features.h>.
32695 [__ASSUME_32BITUIDS]: Make code unconditional.
32696 [!__ASSUME_32BITUIDS]: Remove conditional code.
32697 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32698 [__ASSUME_32BITUIDS]: Make code unconditional.
32699 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32700 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32701 <kernel-features.h>.
32702 [__ASSUME_32BITUIDS]: Make code unconditional.
32703 [!__ASSUME_32BITUIDS]: Remove conditional code.
32704 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32705 <kernel-features.h>.
32706 [__ASSUME_32BITUIDS]: Make code unconditional.
32707 [!__ASSUME_32BITUIDS]: Remove conditional code.
32708 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32709 <kernel-features.h>.
32710 [__ASSUME_32BITUIDS]: Make code unconditional.
32711 [!__ASSUME_32BITUIDS]: Remove conditional code.
32712 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32713 <kernel-features.h>.
32714 [__ASSUME_32BITUIDS]: Make code unconditional.
32715 [!__ASSUME_32BITUIDS]: Remove conditional code.
32716 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32717 <kernel-features.h>.
32718 [__ASSUME_32BITUIDS]: Make code unconditional.
32719 [!__ASSUME_32BITUIDS]: Remove conditional code.
32720 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32721 <kernel-features.h>.
32722 [__ASSUME_32BITUIDS]: Make code unconditional.
32723 [!__ASSUME_32BITUIDS]: Remove conditional code.
32724 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32725 <kernel-features.h>.
32726 [__ASSUME_32BITUIDS]: Make code unconditional.
32727 [!__ASSUME_32BITUIDS]: Remove conditional code.
32728 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32729 <kernel-features.h>.
32730 [__ASSUME_32BITUIDS]: Make code unconditional.
32731 [!__ASSUME_32BITUIDS]: Remove conditional code.
32732 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32733 <kernel-features.h>.
32734 [__ASSUME_32BITUIDS]: Make code unconditional.
32735 [!__ASSUME_32BITUIDS]: Remove conditional code.
32736 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32737 <kernel-features.h>.
32738 [__ASSUME_32BITUIDS]: Make code unconditional.
32739 [!__ASSUME_32BITUIDS]: Remove conditional code.
32740 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32741 <kernel-features.h>.
32742 [__NR_setresgid] (__setresgid): Do not declare.
32743 [__ASSUME_32BITUIDS]: Make code unconditional.
32744 [!__ASSUME_32BITUIDS]: Remove conditional code.
32745 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32746 <kernel-features.h>.
32747 [__NR_setresuid] (__setresuid): Do not declare.
32748 [__ASSUME_32BITUIDS]: Make code unconditional.
32749 [!__ASSUME_32BITUIDS]: Remove conditional code.
32750 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32751 <kernel-features.h>.
32752 [__ASSUME_32BITUIDS]: Make code unconditional.
32753 [!__ASSUME_32BITUIDS]: Remove conditional code.
32754 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32755 <kernel-features.h>.
32756 [__ASSUME_32BITUIDS]: Make code unconditional.
32757 [!__ASSUME_32BITUIDS]: Remove conditional code.
32758 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32759 <kernel-features.h>.
32760 [__ASSUME_32BITUIDS]: Make code unconditional.
32761 [!__ASSUME_32BITUIDS]: Remove conditional code.
32762 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32763 <kernel-features.h>.
32764 [__ASSUME_32BITUIDS]: Make code unconditional.
32765 [!__ASSUME_32BITUIDS]: Remove conditional code.
32766 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32767 <kernel-features.h>.
32768 [__ASSUME_32BITUIDS]: Make code unconditional.
32769 [!__ASSUME_32BITUIDS]: Remove conditional code.
32770 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32771 <kernel-features.h>.
32772 [__ASSUME_32BITUIDS]: Make code unconditional.
32773 [!__ASSUME_32BITUIDS]: Remove conditional code.
32774 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32775 <kernel-features.h>.
32776 [__ASSUME_32BITUIDS]: Make code unconditional.
32777 [!__ASSUME_32BITUIDS]: Remove conditional code.
32778 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32779 <kernel-features.h>.
32780 [__ASSUME_32BITUIDS]: Make code unconditional.
32781 [!__ASSUME_32BITUIDS]: Remove conditional code.
32782 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32783 <kernel-features.h>.
32784 [__ASSUME_32BITUIDS]: Make code unconditional.
32785 [!__ASSUME_32BITUIDS]: Remove conditional code.
32786 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32787 <kernel-features.h>.
32788 [__ASSUME_32BITUIDS]: Make code unconditional.
32789 [!__ASSUME_32BITUIDS]: Remove conditional code.
32790 * sysdeps/unix/sysv/linux/kernel-features.h
32791 (__ASSUME_SETRESUID_SYSCALL): Remove.
32792 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32793 (__ASSUME_32BITUIDS): Likewise.
32794 (__ASSUME_LDT_WORKS): Likewise.
32795 (__ASSUME_O_DIRECTORY): Likewise.
32796 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32797 architecture but not kernel version.
32798 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32799 (__ASSUME_MMAP2_SYSCALL): Likewise.
32800 (__ASSUME_STAT64_SYSCALL): Likewise.
32801 (__ASSUME_IPC64): Likewise.
32802 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32803 <kernel-features.h>.
32804 [__ASSUME_32BITUIDS]: Make code unconditional.
32805 [!__ASSUME_32BITUIDS]: Remove conditional code.
32806 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32807 <kernel-features.h>.
32808 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32809 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32810 132096]: Remove conditional code.
32811 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32812 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32813 <kernel-features.h>.
32814 [__ASSUME_32BITUIDS]: Make code unconditional.
32815 [!__ASSUME_32BITUIDS]: Remove conditional code.
32816 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32817 <kernel-features.h>.
32818 [__ASSUME_32BITUIDS]: Make code unconditional.
32819 [!__ASSUME_32BITUIDS]: Remove conditional code.
32820 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32821 <kernel-features.h>.
32822 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32824 (__setresgid): Do not declare.
32825 [__ASSUME_32BITUIDS]: Make code unconditional.
32826 [!__ASSUME_32BITUIDS]: Remove conditional code.
32827 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32828 <kernel-features.h>.
32829 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32831 (__setresuid): Do not declare.
32832 [__ASSUME_32BITUIDS]: Make code unconditional.
32833 [!__ASSUME_32BITUIDS]: Remove conditional code.
32834 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32835 <kernel-features.h>.
32836 [__ASSUME_32BITUIDS]: Make code unconditional.
32837 [!__ASSUME_32BITUIDS]: Remove conditional code.
32838 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32839 <kernel-features.h>.
32840 [__ASSUME_32BITUIDS]: Make code unconditional.
32841 [!__ASSUME_32BITUIDS]: Remove conditional code.
32843 2012-05-25 Richard Henderson <rth@twiddle.net>
32845 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32846 dl_hwcap to ifunc resolver.
32847 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32849 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32850 dl_hwcap to ifunc resolver.
32851 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32853 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32856 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32857 for |x| <= 2**-26, not 2**-57.
32858 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32861 2012-05-24 Jeff Law <law@redhat.com>
32863 * stdio-common/Makefile (tests): Add bug25.
32864 * stdio-common/bug25.c: New test.
32866 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32869 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32870 multiple of MALLOC_ALIGNMENT in size.
32871 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32873 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32875 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32877 (FILENAME_MAX): Use macro-int-constant.
32878 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32879 (_IOFBF): Use macro-int-constant.
32880 (_IOLBF): Likewise.
32881 (_IONBF): Likewise.
32882 (SEEK_CUR): Likewise.
32883 (SEEK_END): Likewise.
32884 (SEEK_SET): Likewise.
32885 (TMP_MAX): Likewise.
32886 (EOF): Use macro-int-constant. Require < 0.
32887 (NULL): Use macro-constant. Require == 0.
32888 (stdin): Require type to be FILE *.
32889 (stdout): Likewise.
32890 (stderr): Likewise.
32891 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32892 macro-int-constant.
32893 (EXIT_SUCCESS): Likewise.
32894 (NULL): Use macro-constant. Require == 0.
32895 (RAND_MAX): Use macro-int-constant.
32896 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32897 [C99-based standards] (strtof): Require function.
32898 [C99-based standards] (strtold): Likewise.
32899 [C99-based standards] (strtoll): Likewise.
32900 [C99-based standards] (strtoull): Likewise.
32901 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32902 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32903 [ISO || ISO99 || ISO11] (math.h): Likewise.
32904 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32905 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32908 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
32911 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32912 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32913 * intl/dgettext.c (DCGETTEXT): Likewise.
32914 * intl/gettext.c (DCGETTEXT): Likewise.
32915 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32916 * posix/regex_internal.h (gettext): Likewise.
32917 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32918 Remove declaration.
32919 * include/argz.h (__argz_count_internal)
32920 (__argz_stringify_internal): Remove declaration.
32921 (__argz_count, __argz_stringify): Declare hidden proto.
32922 * intl/dcgettext.c: Remove use of INTDEF.
32923 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32924 * string/argz-stringify.c: Likewise.
32925 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32926 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32927 Declare hidden proto.
32928 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32929 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32930 Declare hidden proto.
32931 * include/stdio.h (__asprintf_internal): Don't declare.
32932 (__asprintf): Don't define as macro. Declare hidden proto.
32933 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32934 (__fsetlocking): Declare hidden proto.
32935 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32936 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32938 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32939 (_IO_setlinebuf): Remove use of INTUSE.
32940 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32941 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32942 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32943 Remove declaration.
32944 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32945 (_IO_do_flush): Remove use of INTUSE.
32946 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32947 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32948 (_IO_adjust_column, _IO_least_wmarker)
32949 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32950 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32951 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32952 (_IO_default_doallocate, _IO_wdefault_doallocate)
32953 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32954 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32955 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32956 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32957 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32958 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32959 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32960 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32961 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32962 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32963 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32964 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32965 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32967 (_IO_flush_all_internal, _IO_adjust_column_internal)
32968 (_IO_default_uflow_internal, _IO_default_finish_internal)
32969 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32970 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32971 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32972 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32973 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32974 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32975 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32976 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32977 (_IO_file_close_internal, _IO_file_close_it_internal)
32978 (_IO_file_underflow_internal, _IO_file_overflow_internal)
32979 (_IO_file_init_internal, _IO_file_attach_internal)
32980 (_IO_file_fopen_internal, _IO_file_read_internal)
32981 (_IO_file_sync_internal, _IO_file_seek_internal)
32982 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32983 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32984 (_IO_str_underflow_internal, _IO_str_overflow_internal)
32985 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32986 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32987 (_IO_list_all_internal, _IO_link_in_internal)
32988 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32989 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32990 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32991 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32992 (_IO_do_write_internal, _IO_padn_internal)
32993 (_IO_getline_info_internal, _IO_getline_internal)
32994 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32995 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32996 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32997 (_IO_vfscanf_internal, _IO_vfprintf_internal)
32998 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32999 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33000 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33001 with libc_hidden_ver, remove use of INTUSE.
33002 * libio/genops.c: Likewise.
33003 * libio/freopen.c: Likewise.
33004 * libio/freopen64.c: Likewise.
33005 * libio/iofclose.c: Likewise.
33006 * libio/iofdopen.c: Likewise.
33007 * libio/iofflush.c: Likewise.
33008 * libio/iofflush_u.c: Likewise.
33009 * libio/iofgets.c: Likewise.
33010 * libio/iofgets_u.c: Likewise.
33011 * libio/iofopen.c: Likewise.
33012 * libio/iofopncook.c: Likewise.
33013 * libio/iofread.c: Likewise.
33014 * libio/iofread_u.c: Likewise.
33015 * libio/ioftell.c: Likewise.
33016 * libio/iofwrite.c: Likewise.
33017 * libio/iogetline.c: Likewise.
33018 * libio/iogets.c: Likewise.
33019 * libio/iogetwline.c: Likewise.
33020 * libio/iopadn.c: Likewise.
33021 * libio/iopopen.c: Likewise.
33022 * libio/ioseekoff.c: Likewise.
33023 * libio/ioseekpos.c: Likewise.
33024 * libio/iosetbuffer.c: Likewise.
33025 * libio/iosetvbuf.c: Likewise.
33026 * libio/ioungetc.c: Likewise.
33027 * libio/ioungetwc.c: Likewise.
33028 * libio/iovdprintf.c: Likewise.
33029 * libio/iovsprintf.c: Likewise.
33030 * libio/iovsscanf.c: Likewise.
33031 * libio/memstream.c: Likewise.
33032 * libio/obprintf.c: Likewise.
33033 * libio/oldfileops.c: Likewise.
33034 * libio/oldiofclose.c: Likewise.
33035 * libio/oldiofdopen.c: Likewise.
33036 * libio/oldiofopen.c: Likewise.
33037 * libio/oldiopopen.c: Likewise.
33038 * libio/oldstdfiles.c: Likewise.
33039 * libio/putc.c: Likewise.
33040 * libio/setbuf.c: Likewise.
33041 * libio/setlinebuf.c: Likewise.
33042 * libio/stdfiles.c: Likewise.
33043 * libio/strops.c: Likewise.
33044 * libio/vasprintf.c: Likewise.
33045 * libio/vscanf.c: Likewise.
33046 * libio/vsnprintf.c: Likewise.
33047 * libio/vswprintf.c: Likewise.
33048 * libio/wfiledoalloc.c: Likewise.
33049 * libio/wfileops.c: Likewise.
33050 * libio/wgenops.c: Likewise.
33051 * libio/wmemstream.c: Likewise.
33052 * libio/wstrops.c: Likewise.
33053 * libio/__fpurge.c: Likewise.
33054 * libio/__fsetlocking.c: Likewise.
33055 * assert/assert.c: Likewise.
33056 * debug/fgets_chk.c: Likewise.
33057 * debug/fgets_u_chk.c: Likewise.
33058 * debug/fread_chk.c: Likewise.
33059 * debug/fread_u_chk.c: Likewise.
33060 * debug/gets_chk.c: Likewise.
33061 * debug/obprintf_chk.c: Likewise.
33062 * debug/vasprintf_chk.c: Likewise.
33063 * debug/vdprintf_chk.c: Likewise.
33064 * debug/vsnprintf_chk.c: Likewise.
33065 * debug/vsprintf_chk.c: Likewise.
33066 * malloc/mtrace.c: Likewise.
33067 * misc/error.c: Likewise.
33068 * misc/syslog.c: Likewise.
33069 * stdio-common/asprintf.c: Likewise.
33070 * stdio-common/fxprintf.c: Likewise.
33071 * stdio-common/getw.c: Likewise.
33072 * stdio-common/isoc99_fscanf.c: Likewise.
33073 * stdio-common/isoc99_scanf.c: Likewise.
33074 * stdio-common/isoc99_vfscanf.c: Likewise.
33075 * stdio-common/isoc99_vscanf.c: Likewise.
33076 * stdio-common/isoc99_vsscanf.c: Likewise.
33077 * stdio-common/printf-prs.c: Likewise.
33078 * stdio-common/printf_fp.c: Likewise.
33079 * stdio-common/printf_fphex.c: Likewise.
33080 * stdio-common/printf_size.c: Likewise.
33081 * stdio-common/putw.c: Likewise.
33082 * stdio-common/scanf.c: Likewise.
33083 * stdio-common/sprintf.c: Likewise.
33084 * stdio-common/tmpfile.c: Likewise.
33085 * stdio-common/vfprintf.c: Likewise.
33086 * stdio-common/vfscanf.c: Likewise.
33087 * stdlib/strfmon_l.c: Likewise.
33088 * sunrpc/openchild.c: Likewise.
33089 * sunrpc/xdr_stdio.c: Likewise.
33090 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33091 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33093 2012-05-24 Roland McGrath <roland@hack.frob.com>
33095 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33097 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33098 in the third column, to generate for the shared library an IFUNC
33099 that uses _dl_vdso_vsym.
33100 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33101 * Makeconfig (object-suffixes-noshared): New variable.
33103 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33104 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33105 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33106 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33109 * include/sys/time.h (__gettimeofday): Remove macro.
33110 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33111 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33113 (__gettimeofday): Add libc_hidden_def.
33114 (gettimeofday): Add libc_hidden_weak.
33115 * sysdeps/mach/gettimeofday.c: Likewise.
33116 * sysdeps/posix/gettimeofday.c: Likewise.
33117 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33118 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33120 (__gettimeofday_internal): Remove strong_alias.
33121 (__gettimeofday): Add libc_hidden_def.
33122 (gettimeofday): Add libc_hidden_weak.
33123 * sysdeps/unix/syscalls.list (gettimeofday):
33124 Remove __gettimeofday_internal alias.
33126 2012-05-24 Daniel Jacobowitz <drow@false.org>
33127 H.J. Lu <hongjiu.lu@intel.com>
33130 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33131 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33132 (largebin_index_32_big): New.
33133 (largebin_index): Use it for 16-byte alignment.
33134 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33135 correction with front_misalign.
33137 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33156 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33158 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33160 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33165 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33166 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33168 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33172 * math/libm-test.inc (exp_test): Add test from bug 14036.
33173 (pow_test): Add test from bug 10846.
33175 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33177 (special_function): Do not include flags in test name.
33178 (parse_args): Likewise.
33179 * sysdeps/i386/fpu/libm-test-ulps: Update.
33180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33182 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33185 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33187 * math/libm-test.inc ("Philosophy"): Update comment about
33189 (UNDERFLOW_EXCEPTION): New macro.
33190 (UNDERFLOW_EXCEPTION_OK): Likewise.
33191 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33192 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33193 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33194 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33195 (INVALID_EXCEPTION_OK): Update value.
33196 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33197 (OVERFLOW_EXCEPTION_OK): Likewise.
33198 (IGNORE_ZERO_INF_SIGN): Likewise.
33199 (test_exceptions): Handle underflow exceptions.
33200 (acos_test): Update for underflow exception expectations.
33201 (cexp_test): Likewise.
33202 (clog_test): Likewise.
33203 (clog10_test): Likewise.
33204 (csqrt_test): Likewise.
33205 (ctan_test): Likewise.
33206 (ctanh_test): Likewise.
33207 (exp_test): Likewise.
33208 (exp10_test): Likewise.
33209 (exp2_test): Likewise.
33210 (expm1_test): Likewise.
33211 (fma_test): Likewise.
33212 (j0_test): Likewise.
33213 (jn_test): Likewise.
33214 (nexttoward_test): Likewise.
33215 (pow_test): Likewise.
33216 (scalbn_test): Likewise.
33217 (scalbln_test): Likewise.
33218 (tan_test): Likewise.
33219 (y1_test): Likewise.
33220 * sysdeps/i386/fpu/libm-test-ulps: Update.
33221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33223 2012-05-23 David S. Miller <davem@davemloft.net>
33225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33226 (__libc_sigaction): Remove unused local variables.
33228 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33230 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33232 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33234 mktime: avoid signed integer overflow
33235 * time/mktime.c (__mktime_internal): Do not mishandle the case
33236 where diff == INT_MIN.
33238 mktime: simplify computation of average
33239 * time/mktime.c (ranged_convert): Use new time_t_avg function
33240 instead of rolling our own (probably-slower) code.
33242 mktime: do not assume signed right shift propagates sign bit
33243 * time/mktime.c (isdst_differ): New static function.
33244 (__mktime_internal): No need to normalize tm_isdst now.
33245 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33248 mktime: merge another wrapv change from gnulib
33249 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33250 from some compilers.
33252 mktime: remove incorrect attempt at unusual arithmetics
33253 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33254 The code didn't really work on such machines anyway.
33255 (TYPE_MINIMUM): Assume two's complement.
33256 (twos_complement_arithmetic): Verify that long_int and time_t
33257 are two's complement (or unsigned, in the latter case).
33259 mktime: check signed shifts on long_int and time_t, too
33260 * time/mktime.c (SHR): Check that shifts work as desired
33261 on the types long_int and time_t too, as SHR is used on
33264 mktime: do not assume 'long' is wide enough
33265 * time/mktime.c (verify): Move decl up.
33266 (long_int): New type.
33267 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33268 to remove assumption in the code that 'long' is wide enough to
33269 store year values. This assumption is not true on x32 and on
33270 some non-glibc platforms.
33272 mktime: merge wrapv change from gnulib
33273 * time/mktime.c (WRAPV): New macro.
33274 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33275 (guess_time_tm, __mktime_internal): Do not assume that signed
33276 integer overflow wraps around; modern compilers generate code
33277 where this assumption is no longer valid.
33279 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33281 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33282 Replace "jmp L(pseudo_end)" with "ret".
33283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33286 2012-05-23 Andreas Jaeger <aj@suse.de>
33288 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33289 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33291 2012-05-23 Andreas Jaeger <aj@suse.de>
33292 Maximilian Attems <max@stro.at>
33294 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33297 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33299 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33300 code so that pseudo_end is just ret and the stack pointer is
33301 correct also for static library in error case.
33303 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33305 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33306 move to syscalls.list.
33307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33312 * manual/install.texi (Running make install): Do not mention Linux
33313 kernel version for which pt_chown is not needed.
33314 (Linux): Do not mention problems with nscd with 2.0 kernels.
33315 * INSTALL: Regenerated.
33317 2012-05-23 Andreas Jaeger <aj@suse.de>
33319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33320 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33322 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33323 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33324 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33325 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33326 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33327 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33328 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33329 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33330 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33331 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33332 * sysdeps/unix/sysv/linux/bits/in.h
33333 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33335 2012-05-22 Roland McGrath <roland@hack.frob.com>
33337 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33338 (PREPARE_VERSION): Just use assert instead, it will be elided
33339 under [NDEBUG] anyway.
33341 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33343 * sysdeps/unix/sysv/linux/Makefile: Include
33344 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33345 (sysdep_routines): Remove sysctl.
33346 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33347 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33348 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33349 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33350 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33352 2012-05-22 Andreas Jaeger <aj@suse.de>
33354 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33355 that pseudo_end is just ret and the stack pointer is correct also
33356 for static library in error case.
33358 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33361 * nss/nsswitch.c (defconfig_entries): New variable.
33362 (__nss_database_lookup): Don't leak defconfig entries.
33363 (nss_parse_service_list): Don't leak on error paths.
33364 (free_database_entries): New function.
33365 (free_defconfig): New function.
33366 (free_mem): Move common code to free_database_entries.
33368 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33370 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33372 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33374 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33375 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33378 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33379 (INTERNAL_SYSCALL_TYPES): Likewise.
33380 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33381 (LOAD_REGS_TYPES_[1-6]): Likewise.
33382 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33383 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33385 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33387 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33388 copysignl for GLIBC_2_0.
33389 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33390 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33392 logbl for GLIBC_2_0.
33393 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33394 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33396 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33399 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33401 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33404 * time/mktime.c: Update copyright years.
33406 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33408 mktime: merge comment-quoting-style change from gnulib
33409 * time/mktime.c: Quote 'like this' in comments.
33410 The GNU coding standards suggest that we no longer quote `like this',
33411 as "`" and "'" are typically rendered asymmetrically nowadays.
33412 The typical gnulib style is to quote 'like this' when quoting
33413 code, and "like this" when quoting English.
33415 * time/mktime.c (compile-command): Add "-I.".
33417 mktime: merge mktime-internal.h change from gnulib
33418 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33420 mktime: merge time_r change from gnulib
33421 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33423 mktime: merge DEBUG change from gnulib
33424 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33425 case system <time.h> has a #define.
33427 mktime: merge <sys/types.h> change from gnulib
33428 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33429 since <time.t> is now guaranteed to define time_t.
33431 mktime: merge HAVE_CONFIG_H change from gnulib
33432 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33434 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33439 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33441 (struct rusage): Use anonymous union to pad each field to
33444 2012-05-21 David S. Miller <davem@davemloft.net>
33446 * Makefules (o-iterator): Remove .s cases.
33447 (compile-command.s): Delete.
33448 (COMPILE.s): Delete.
33449 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33451 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33453 * configure.in (libc_cv_predef_stack_protector): Only consider
33454 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33455 * configure: Regenerated.
33457 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33459 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33460 New macro. Use R*LP on int and pointer.
33461 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33462 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33463 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33464 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33466 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33467 [__WORDSIZE_TIME64_COMPAT32] instead of
33468 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33469 (struct utmp): Likewise.
33470 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33471 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33473 (__WORDSIZE_TIME64_COMPAT32): This.
33474 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33475 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33476 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33477 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33478 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33479 (__WORDSIZE_TIME64_COMPAT32): New macro.
33481 2012-05-21 Andreas Jaeger <aj@suse.de>
33483 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33484 only if [SHARED]. Add prototype for __wcschr_ia32.
33486 2012-05-21 Roland McGrath <roland@hack.frob.com>
33488 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33489 of %rbp unmolested in the jmp_buf while mangling the low bits.
33490 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33491 unmolested high bits of %rbp while demangling the low bits.
33492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33494 2012-05-21 Andreas Jaeger <aj@suse.de>
33496 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33497 * sunrpc/svc_simple.c: Use it for registerrpc.
33498 * sunrpc/xcrypt.c: Use it for passwd2des.
33500 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33502 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33504 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33505 Don't define if [__SYSCALL_WORDSIZE != 32].
33506 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33509 2012-05-21 Bruno Haible <bruno@clisp.org>
33510 Andreas Jaeger <aj@suse.de>
33512 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33513 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33514 inptr and inend for must_buffer_ch.
33515 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33516 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33517 * stdio-common/Makefile (tests): Remove bug15.
33518 (bug15-ENV): Remove macro.
33519 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33522 2012-05-19 Andreas Jaeger <aj@suse.de>
33523 Roland McGrath <roland@hack.frob.com>
33525 * manual/contrib.texi: Completely rewritten. It contains now an
33526 alphabetical list of contributors and their contributions.
33528 2012-05-21 Richard Henderson <rth@twiddle.net>
33530 * misc/getauxval.c (__getauxval): Use unsigned long int.
33531 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33532 (getauxval): Use unsigned long int.
33534 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33536 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33538 2012-05-21 Roland McGrath <roland@hack.frob.com>
33540 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33541 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33542 __alignof__ (long double).
33544 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33548 2012-05-20 Richard Henderson <rth@twiddle.net>
33550 * misc/getauxval.c: New file.
33551 * misc/sys/auxv.h: New file.
33552 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33553 (routines): Add getauxval.
33554 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33555 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33556 * elf/dl-sysdep.c (_dl_auxv): Remove.
33557 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33558 * elf/dl-support.c (_dl_auxv): New variable.
33559 (_dl_aux_init): Initialize it.
33560 * manual/startup.texi (Auxiliary Vector): New node.
33561 * sysdeps/generic/bits/hwcap.h: New file.
33562 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33563 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33564 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33565 * sysdeps/sparc/sysdep.h: ... here. Include it.
33566 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33573 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33579 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33583 2012-05-19 David S. Miller <davem@davemloft.net>
33585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33587 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33590 * math/s_ccosh.c: Include <float.h>
33591 (__ccosh): Avoid internal overflow calculating sinh and cosh
33592 values before multiplying by sin and cos values.
33593 * math/s_ccoshf.c: Likewise.
33594 * math/s_ccoshl.c: Likewise.
33595 * math/s_csin.c: Likewise.
33596 * math/s_csinf.c: Likewise.
33597 * math/s_csinl.c: Likewise.
33598 * math/s_csinh.c: Likewise.
33599 * math/s_csinhf.c: Likewise.
33600 * math/s_csinhl.c: Likewise.
33601 * math/libm-test.inc (ccos_test): Add more tests.
33602 (ccosh_test): Likewise.
33603 (csin_test): Likewise.
33604 (csinh_test): Likewise.
33605 * sysdeps/i386/fpu/libm-test-ulps: Update.
33606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33608 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33610 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33611 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33613 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33615 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33617 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33618 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33619 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33620 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33621 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33622 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33623 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33624 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33625 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33626 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33627 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33628 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33629 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33630 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33631 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33632 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33633 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33634 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33635 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33636 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33637 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33638 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33639 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33640 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33641 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33642 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33643 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33644 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33645 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33646 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33647 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33649 2012-05-18 Andreas Jaeger <aj@suse.de>
33651 * csu/.gitignore: Delete.
33653 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33655 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33656 (timex): Use __syscall_slong_t.
33658 2012-05-18 Andreas Jaeger <aj@suse.de>
33659 Carlos O'Donell <carlos_odonell@mentor.com>
33661 * manual/install.texi (Configuring and compiling): Update
33662 description about files modified in the source directory.
33663 * INSTALL: Regenerated.
33665 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33667 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33668 value. Use "or" to set return value to -1.
33669 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33670 negate return value.
33672 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33674 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33675 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33676 failure if the compiler has Graphite support disabled.
33677 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33679 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33680 (CFLAGS-memmove.c): Likewise.
33681 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33684 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33686 * sysdeps/x86_64/x32/_itoa.h: New file.
33688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33689 getdents system call only if kernel and user dirents have the
33690 same d_ino and d_off.
33692 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33693 LLONG_MAX != LONG_MAX.
33694 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33695 (_fitoa_word): Likewise.
33697 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33699 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33700 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33701 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33703 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33704 include <bits/wordsize.h>. Check __x86_64__ instead of
33706 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33707 if __x86_64__ is defined. Use anonymous union on fpstate.
33709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33712 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33714 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33715 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33717 Refer to _rtld_local_ro instead of _rtld_global_ro.
33718 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33720 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33722 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33724 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33725 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33726 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33728 * sysdeps/powerpc/powerpc32/dl-machine.c
33729 (__elf_machine_runtime_setup) [PROF]: Don't reference
33732 2012-05-18 Andreas Jaeger <aj@suse.de>
33734 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33735 function only available for GCCs before 3.4 since GCC 3.4
33736 introduced a builtin.
33738 (llrintf): Likewise.
33739 (llrint): Likewise.
33746 (nearbyint): Likewise.
33747 (nearbyintf): Likewise.
33751 (floorf): Likewise.
33753 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33755 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33756 on both fields and cast pointer to __syscall_ulong_t.
33758 * bits/types.h (__fsword_t): New type.
33759 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33760 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33761 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33762 (__FSWORD_T_TYPE): Likewise.
33763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33764 (__FSWORD_T_TYPE): Likewise.
33765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33766 (__FSWORD_T_TYPE): Likewise.
33767 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33768 (__FSWORD_T_TYPE): Likewise.
33769 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33770 __SWORD_TYPE with __fsword_t.
33771 (statfs64): Likewise.
33773 2012-05-17 David S. Miller <davem@davemloft.net>
33775 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33777 2012-05-17 Andreas Jaeger <aj@suse.de>
33779 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33782 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33784 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33786 2012-05-17 Andreas Jaeger <aj@suse.de>
33788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33791 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33793 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33795 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33797 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33798 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33800 2012-05-17 Andreas Jaeger <aj@suse.de>
33801 Carlos O'Donell <carlos_odonell@mentor.com>
33804 * sysdeps/x86_64/multiarch/init-arch.h
33805 (bit_YMM_Usable): Rename to...
33806 (bit_AVX_Usable): ... this.
33807 (bit_FMA4_Usable): New macro.
33808 (bit_XMM_state): New macro.
33809 (bit_YMM_state): New macro.
33810 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33811 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33812 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33813 (CPUID_OSXSAVE): New macro.
33814 (CPUID_AVX): New macro.
33815 (CPUID_FMA4): New macro.
33816 (index_YMM_Usable): Rename to...
33817 (index_AVX_Usable): ... this.
33818 (HAS_AVX): Use HAS_ARCH_FEATURE.
33819 (HAS_FMA4): Likewise.
33820 (HAS_YMM_USABLE): Remove.
33821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33822 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33824 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33825 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33826 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33827 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33828 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33830 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33832 * math/libm-test.c: Support platforms without multiple rounding modes.
33833 * math/bug-nextafter.c: Support platforms without FP exceptions.
33834 * math/bug-nexttoward.c: Likewise.
33835 * math/test-fenv.c: Likewise.
33836 * math/test-misc.c: Likewise.
33837 * stdlib/bug-getcontext.c: Likewise.
33839 2012-05-17 Andreas Jaeger <aj@suse.de>
33841 * manual/examples/search.c (critter_cmp): Change signature to
33843 * manual/string.texi (Collation Functions): Likewise.
33845 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33847 * bits/types.h: Fold copyright years.
33848 * bits/typesizes.h: Likewise.
33849 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33852 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33853 * time/time.h: Likewise.
33855 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33858 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33859 in instead of returning them. Return void.
33860 (__libc_mallinfo): Accumulate over all arenas.
33861 (__malloc_stats): Adjust for change in int_mallinfo interface.
33863 2012-05-16 Roland McGrath <roland@hack.frob.com>
33866 * configure.in (NM): Add AC_CHECK_TOOL for it.
33867 (libc_extra_cflags): New substituted variable.
33868 Check for -fstack-protector being used implicitly.
33869 * configure: Regenerated.
33870 * config.make.in (config-extra-cflags): New variable,
33871 gets @libc_extra_cflags@.
33872 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33875 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33876 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33877 * configure: Regenerated.
33878 * config.make.in (CPPUNDEFS): New substituted variable.
33879 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33880 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33881 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33883 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33885 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33886 (mq_attr): Use __syscall_slong_t.
33888 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33890 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33891 Check __x86_64__ instead of __WORDSIZE.
33892 (_STAT_VER_LINUX): Likewise.
33893 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33894 __syscall_ulong_t and __syscall_slong_t.
33895 (stat64): Likewise.
33897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33899 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33901 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33903 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33905 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33907 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33910 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33911 include <bits/wordsize.h>. Check __x86_64__ instead of
33913 (greg_t): Use "__extension__ long long int" if __x86_64__ is
33915 (mcontext_t): Replace "unsigned long" with "unsigned long long".
33917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33918 include <bits/wordsize.h>. Check __x86_64__ instead of
33920 (user_regs_struct): Use "__extension__ unsigned long long"
33921 instead of "unsigned long" if __x86_64__ is defined.
33922 (user): Likewise. Pad after pointer field if __ILP32__ is
33925 2012-05-16 Joseph Myers <joseph@codesourcery.com>
33927 * configure.in (makeinfo): Require version 4.5 or later. Allow
33929 * configure: Regenerated.
33930 * manual/install.texi (texinfo): Increase version requirement to
33932 * INSTALL: Regenerated.
33934 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33936 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33938 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33940 * sysdeps/x86_64/x32/ffs.c: New file.
33942 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33944 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33945 defined. Use __syscall_ulong_t.
33946 (shminfo): Use __syscall_ulong_t.
33947 (shm_info): Likewise.
33949 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33954 (msgqnum_t): Use __syscall_ulong_t.
33955 (msglen_t): Likewise.
33956 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
33959 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33960 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33962 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33964 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33965 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33967 * sysvipc/sys/msg.h (msgbuf): Replace long int with
33970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33971 include <bits/wordsize.h>. Check __x86_64__ instead of
33974 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33975 "unsigned long long int" if __x86_64__ is defined.
33976 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33978 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33979 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33980 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33982 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33984 (GET_PC): Cast to uintptr_t first.
33985 (GET_FRAME): Likewise.
33986 (GET_STACK): Likewise.
33988 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33989 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33990 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33991 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33992 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33993 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33994 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33995 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33996 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33997 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33998 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33999 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34000 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34001 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34002 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34003 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34004 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34005 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34006 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34007 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34008 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34009 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34010 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34011 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34012 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34014 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34015 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34016 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34018 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34020 * Makerules (+depfiles): Also collect depfiles from .oS in
34022 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34023 .oS, $(libnldbl-routines)).
34025 * Makerules (native-compile-mkdep-flags): Define.
34026 * sunrpc/Makefile (extra-objs): Add $(addprefix
34027 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34028 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34029 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34030 calling $(make-target-directory).
34032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34034 * bits/types.h (__snseconds_t): Removed.
34035 * time/time.h (struct timespec): Replace __snseconds_t with
34037 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34038 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34040 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34041 (__SNSECONDS_T_TYPE): Likewise.
34042 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34043 (__SNSECONDS_T_TYPE): Likewise.
34044 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34045 (__SNSECONDS_T_TYPE): Likewise.
34047 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34049 * sysdeps/mach/hurd/bits/typesizes.h
34050 (__SYSCALL_SLONG_TYPE): New macro.
34051 (__SYSCALL_ULONG_TYPE): Likewise.
34053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34055 * bits/types.h (__syscall_slong_t): New type.
34056 (__syscall_ulong_t): Likewise.
34058 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34059 (__SYSCALL_ULONG_TYPE): Likewise.
34060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34061 (__SYSCALL_SLONG_TYPE): Likewise.
34062 (__SYSCALL_ULONG_TYPE): Likewise.
34063 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34064 (__SYSCALL_SLONG_TYPE): Likewise.
34065 (__SYSCALL_ULONG_TYPE): Likewise.
34066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34067 (__SYSCALL_SLONG_TYPE): Likewise.
34068 (__SYSCALL_ULONG_TYPE): Likewise.
34070 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34072 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34073 Add sigaltstack-offsets.sym.
34074 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34075 <sigaltstack-offsets.h>.
34076 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34077 longjmp_msg pointer.
34078 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34079 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34081 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34083 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34085 * elf/stackguard-macros.h: Remove file.
34086 * sysdeps/generic/stackguard-macros.h: New file.
34087 * sysdeps/i386/stackguard-macros.h: Likewise.
34088 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34089 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34090 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34091 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34092 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34093 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34094 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34095 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34096 <elf/stackguard-macros.h>.
34099 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34100 __aligned__ in attribute.
34101 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34102 (gregset_t): Likewise.
34104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34106 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34107 * sysdeps/x86_64/64/Implies-after: Here. New file.
34108 * sysdeps/x86_64/x32/Implies-after: New file.
34110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34112 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34113 and access return value for _dl_profile_fixup. Use R10_LP to
34116 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34118 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34120 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34122 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34123 * sysdeps/x86_64/x32/sysdep.h: New file.
34125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34127 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34128 * sysdeps/x86_64/setjmp.S: Likewise.
34130 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34132 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34133 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34134 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34135 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34136 remove unused global constant.
34138 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34140 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34141 include of <not-cancel.h>.
34143 2012-05-15 Roland McGrath <roland@hack.frob.com>
34145 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34147 2012-05-15 Jeff Law <law@redhat.com>
34148 Andreas Jaeger <aj@suse.de>
34151 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34153 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34154 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34155 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34156 code changing __hst_map_handle.map.
34158 2012-05-15 Roland McGrath <roland@hack.frob.com>
34160 * configure.in (sysnames): Look for Implies-before and Implies-after
34162 * configure: Regenerated.
34164 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34166 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34167 8-byte data alignment with LP_SIZE alignment.
34169 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34171 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34174 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34176 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34181 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34182 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34184 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34186 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34188 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34189 (stackinfo_sub_sp): Likewise.
34191 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34193 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34196 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34201 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34203 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34206 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34208 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34212 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34213 into R11_LP and load __x86_64_shared_cache_size_half into
34216 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34218 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34221 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34230 powerpc32/power7/fpu/s_logb.c via #include.
34231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34232 powerpc32/power7/fpu/s_logbf.c via #include.
34233 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34234 powerpc32/power7/fpu/s_logbl.c via #include.
34236 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34238 * README.libm: Remove file.
34240 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34242 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34243 count for x32. Use R*_LP and omit operand-size suffix.
34245 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34247 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34248 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34249 * sysdeps/x86_64/x32/shlib-versions: New file.
34251 2012-05-14 Roland McGrath <roland@hack.frob.com>
34253 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34254 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34255 Use _dl_fatal_printf instead.
34257 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34259 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34260 set if not set by the user. Do not allow for being unset.
34261 * sysdeps/unix/sysv/linux/configure: Regenerated.
34263 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34265 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34266 the `q' suffix from lea and replace .quad with ASM_ADDR.
34268 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34270 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34271 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34273 (PTR_DEMANGLE): Likewise.
34275 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34277 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34279 (ASM_ADDR): Likewise.
34280 (RAX_LP): Likewise.
34281 (RBP_LP): Likewise.
34282 (RBX_LP): Likewise.
34283 (RCX_LP): Likewise.
34284 (RDI_LP): Likewise.
34285 (RSI_LP): Likewise.
34286 (RSP_LP): Likewise.
34289 (R10_LP): Likewise.
34290 (R10_LP): Likewise.
34291 (R11_LP): Likewise.
34292 (R12_LP): Likewise.
34293 (R13_LP): Likewise.
34294 (R14_LP): Likewise.
34295 (R15_LP): Likewise.
34297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34299 * sysdeps/x86_64/x32/dl-machine.h: New file.
34301 2012-05-14 Andreas Jaeger <aj@suse.de>
34303 * manual/Makefile (subdir): Remove export of subdir.
34304 (all): Remove target.
34305 (.PHONY): Remove all from list.
34306 (mkinstalldirs): Remove.
34307 (.PHONY): Remove installdirs from list.
34308 ($(inst_infodir)/libc.info): Use make-target-directory.
34309 (installdirs): Remove.
34310 (subdir_%): Remove.
34311 (glibc-targets): Remove.
34314 ($(objpfx)stubs ../po/manual.pot): Remove.
34315 ($(objpfx)stamp%): Remove.
34316 (make-target-directory): Remove.
34317 (subdir_install): Remove.
34318 (routines): Remove.
34325 * manual/.gitignore: Remove, it's not needed anymore.
34326 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34328 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34330 (texis): Renamed to $(objpfx)texis.
34331 (texis-path): New, contains path to generated files.
34332 (chapters.%): Use texis-path for complete path, add extra argument
34334 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34335 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34336 (summary,texi, stamp-summary): Use complete path of
34337 files. Generate files in build dir.
34338 (dir-add.texi): Build in build dir.
34339 (libm-err.texi,stamp-libm-err): Likewise.
34340 (version.texi, stamp-version): Likewise.
34341 (.%c.texi): Likewise.
34342 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34343 (mostlyclean): Remove target.
34344 (realclean): Remove target.
34345 (generated): Add new variable with contents from mostlyclean and
34346 realclean, remove entries duplicated in common-mostlyclean, add
34347 stamp-libm-err and stamp-version.
34348 (generated-dirs): Add libc directory.
34349 ($(inst_infodir)/libc.info): Install files from build dir.
34351 * manual/install.texi (Configuring and compiling): Adjust since
34352 the info files are not part of the tar ball anymore.
34354 2012-05-14 Andreas Jaeger <aj@suse.de>
34356 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34359 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34363 to 2.2.0 where earlier.
34364 * sysdeps/unix/sysv/linux/configure: Regenerated.
34365 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34366 Remove conditional code.
34367 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34368 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34369 Remove conditional code.
34370 [!__NR_lchown]: Likewise.
34371 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34372 [__NR_lchown]: Likewise.
34373 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34374 comment referencing __ASSUME_LCHOWN_SYSCALL.
34375 * sysdeps/unix/sysv/linux/i386/sigaction.c
34376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34378 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34379 Remove conditional code.
34380 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34381 (__protocol_available): Remove #if 0 code.
34382 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34384 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34385 * sysdeps/unix/sysv/linux/kernel-features.h
34386 (__ASSUME_GETCWD_SYSCALL): Don't define.
34387 (__ASSUME_REALTIME_SIGNALS): Likewise.
34388 (__ASSUME_PREAD_SYSCALL): Likewise.
34389 (__ASSUME_PWRITE_SYSCALL): Likewise.
34390 (__ASSUME_POLL_SYSCALL): Likewise.
34391 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34392 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34394 (__ASSUME_SIOCGIFNAME): Don't define.
34395 (__ASSUME_MSG_NOSIGNAL): Likewise.
34396 (__ASSUME_SENDFILE): Define unconditionally.
34397 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34398 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34400 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34401 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34402 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34403 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34404 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34405 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34406 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34408 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34409 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34411 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34412 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34414 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34415 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34417 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34418 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34420 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34423 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34424 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34429 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34430 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34431 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34432 Remove conditional code.
34433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34434 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34435 Remove conditional code.
34436 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34437 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34438 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34439 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34440 Remove conditional code.
34441 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34442 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34443 Remove conditional code.
34444 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34445 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34446 Remove conditional code.
34447 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34448 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34449 Remove conditional code.
34450 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34451 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34452 Remove conditional code.
34453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34454 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34455 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34456 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/sigaction.c
34458 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34459 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34460 * sysdeps/unix/sysv/linux/sigpending.c
34461 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34462 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34463 * sysdeps/unix/sysv/linux/sigprocmask.c
34464 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34465 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34466 * sysdeps/unix/sysv/linux/sigsuspend.c
34467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34469 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34470 (__libc_missing_rt_sigs): Remove.
34471 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34472 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34473 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34474 Remove conditional code.
34475 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34476 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34478 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34479 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34480 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34481 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34483 2012-05-14 Andreas Jaeger <aj@suse.de>
34485 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34486 it's not used in glibc.
34487 (__coshm1): Likewise.
34488 (__acosh1p): Likewise.
34491 * manual/string.texi (Copying and Concatenation): Add missing
34492 variable in concat example.
34493 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34495 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34498 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34499 __builtin_clzl with __builtin_clzll.
34501 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34504 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34507 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34509 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34510 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34511 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34512 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34514 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34516 * NEWS: Update ia64 info.
34518 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34520 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34523 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34525 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34526 * sysdeps/unix/syscalls.list (dup3): Likewise.
34527 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34528 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34530 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34532 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34533 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34535 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34537 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34539 (TLS_IE): Use mov/add instead of movq/addq to load thread
34541 (TLS_GD_PREFIX): New.
34544 2012-05-11 David S. Miller <davem@davemloft.net>
34546 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34547 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34548 (_FPU_SETCW): Likewise.
34550 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34552 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34553 is 32-byte aligned.
34555 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34558 * iconvdata/gb18030.c: Update tables.
34559 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34560 characters specially.
34561 (BODY for TO_LOOP): Add encoding of missing ranges.
34563 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34566 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34567 * sysdeps/mach/hurd/dup3.c: Likewise.
34568 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34569 * sysdeps/powerpc/memmove.c:: Likewise.
34571 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34573 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34574 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34576 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34578 * elf/elf.h (R_X86_64_RELATIVE64): New.
34579 (R_X86_64_NUM): Updated.
34580 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34581 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34582 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34583 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34584 tst-quad1pie tst-quad2pie
34585 (modules-names): Add tst-quadmod1 tst-quadmod2.
34586 ($(objpfx)tst-quad1): New dependency.
34587 ($(objpfx)tst-quad2): Likewise.
34588 ($(objpfx)tst-quad1pie): Likewise.
34589 ($(objpfx)tst-quad2pie): Likewise.
34590 * sysdeps/x86_64/tst-quad1.c: New file.
34591 * sysdeps/x86_64/tst-quad1pie.c: New file.
34592 * sysdeps/x86_64/tst-quad2.c: Likewise.
34593 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34594 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34595 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34596 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34597 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34599 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34601 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34602 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34603 * streams/stropts.h (t_scalar_t): Define type.
34605 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34606 (_PATH_PRESERVE): Set to "/var/lib".
34607 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34609 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34612 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34613 if __dir_mkfile succeeded.
34615 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34616 checking for _hurd_dtablesize. Unlock it right after having
34617 finished _hurd_dtable allocation.
34619 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34621 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34622 * sysdeps/mach/hurd/configure: Regenerated.
34623 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34624 special-casing to...
34625 * sysdeps/gnu/configure.in: ... this new file.
34626 * sysdeps/unix/sysv/linux/configure: Regenerated.
34627 * sysdeps/gnu/configure: New generated file.
34629 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34630 for Linux: use nsec instead of usec, as well as:
34631 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34632 members of type struct timespec.
34633 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34635 (struct stat64): Likewise.
34636 (_STATBUF_ST_NSEC): New macro.
34637 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34639 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34640 __strtoul_internal rather than strtoul.
34642 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34644 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34647 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34649 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34650 which preserves existing values.
34651 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34653 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34655 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34656 TIMEOUT values. Return EINVAL for NFDS values either negative or
34657 greater than FD_SETSIZE.
34659 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34661 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34662 allocated, call __vm_protect to finish enabling the existing space, and
34663 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34664 allocate the remainder.
34666 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34668 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34669 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34671 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34673 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34674 sysdeps/mach/hurd/readlink.c.
34676 * posix/tst-sysconf.c (posix_options): Only use
34677 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34678 _POSIX_SYNCHRONIZED_IO when they are defined
34679 * sysdeps/mach/hurd/bits/posix_opt.h:
34680 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34681 (_XOPEN_REALTIME): Undefine macro.
34682 (_XOPEN_REALTIME_THREADS): Undefine macro.
34683 (_XOPEN_SHM): Undefine macro.
34684 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34686 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34688 (_POSIX_ASYNC_IO): Undefine macro.
34689 (_POSIX_PRIORITIZED_IO): Undefine macro.
34690 (_POSIX_SPIN_LOCKS): Define macro to -1.
34692 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34693 SA_NODEFER, SA_RESETHAND.
34694 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34695 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34700 * elf/Makefile (pldd-modules): Define unconditionally.
34702 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34704 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34708 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34709 Return ENOENT when name is empty.
34710 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34712 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34714 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34716 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34718 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34720 Fix mlock in all cases except non-readable pages.
34721 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34722 instead of VM_PROT_ALL as parameter to __vm_wire function.
34724 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34725 (__mkdir): When path is `/', just fail with EEXIST.
34726 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34728 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34730 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34731 <sys/uio.h> (for writev).
34732 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34733 and <sys/param.h> (for MIN).
34735 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34737 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34738 REQUESTED_TIME. Properly set the remaining time and return EINTR
34741 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34743 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34744 Depend on against $(link-rpcuserlibs).
34746 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34748 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34749 (__libc_stack_end): Do not use attribute_relro.
34750 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34751 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34752 to libthread-provided value.
34753 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34756 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34759 * bits/libc-lock.h (__libc_once_get): New macro.
34760 * sysdeps/mach/bits/libc-lock.h: Likewise.
34761 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34762 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34763 instead of using implementation details.
34765 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34766 * libio/freopen.c: Likewise.
34767 * libio/freopen64.c: Likewise.
34768 * misc/syslog.c: Likewise.
34769 * nscd/connections.c: Likewise.
34770 * nscd/netgroupcache.c: Likewise.
34771 * sysdeps/posix/getcwd.c: Likewise.
34773 2012-05-10 Roland McGrath <roland@hack.frob.com>
34775 * math/w_ilogbf.c: Add #include <limits.h>.
34777 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34779 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34780 path instead of returning without unlocking.
34782 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34783 immediate-write ioctls.
34784 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34786 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34788 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34789 __builtin_frame_address instead of making assumptions about the
34790 location of the return address relative to DATA. Force early load of
34791 the return address.
34792 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34793 __builtin_frame_address.
34796 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34797 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34798 implement dup3 and do some further code clean-ups.
34799 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34800 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34802 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34804 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34806 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34807 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34808 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34809 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34810 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34813 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34814 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34815 when handler == SIG_ERR, not when handler != SIG_ERR.
34817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34819 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34820 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34823 accept4 for GNU Hurd.
34824 * include/sys/socket.h (__libc_accept4): New prototype.
34825 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34826 to implement __libc_accept4.
34827 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34829 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34831 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34832 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34833 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34834 signal-defines.sym.
34836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34838 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34840 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34842 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34843 assertion on O_CLOEXEC flag.
34844 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34845 * hurd/intern-fd.c: Likewise.
34846 * hurd/port2fd.c: Likewise.
34848 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34851 * bits/in.h (IPV6_PKTINFO): Define new macro.
34852 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34854 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34859 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34861 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34862 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34864 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34865 * math/libm-test.inc (logb_test) : Additional logb tests.
34867 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34868 Andreas Jaeger <aj@suse.de>
34870 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34871 * configure: Regenerated.
34872 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34873 * config.make.in (link-obsolete-rpc): New substituted variable.
34874 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34875 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34876 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34877 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34878 so that libc.a contains the symbols.
34879 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34880 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34881 * sunrpc/auth_none.c: Likewise.
34882 * sunrpc/auth_unix.c: Likewise.
34883 * sunrpc/authdes_prot.c: Likewise.
34884 * sunrpc/authuxprot.c: Likewise.
34885 * sunrpc/clnt_gen.c: Likewise.
34886 * sunrpc/clnt_perr.c: Likewise.
34887 * sunrpc/clnt_raw.c: Likewise.
34888 * sunrpc/clnt_simp.c: Likewise.
34889 * sunrpc/clnt_tcp.c: Likewise.
34890 * sunrpc/clnt_udp.c: Likewise.
34891 * sunrpc/clnt_unix.c: Likewise.
34892 * sunrpc/des_crypt.c: Likewise.
34893 * sunrpc/des_soft.c: Likewise.
34894 * sunrpc/get_myaddr.c: Likewise.
34895 * sunrpc/key_call.c: Likewise.
34896 * sunrpc/key_prot.c: Likewise.
34897 * sunrpc/netname.c: Likewise.
34898 * sunrpc/pm_getmaps.c: Likewise.
34899 * sunrpc/pm_getport.c: Likewise.
34900 * sunrpc/pmap_clnt.c: Likewise.
34901 * sunrpc/pmap_prot.c: Likewise.
34902 * sunrpc/pmap_prot2.c: Likewise.
34903 * sunrpc/pmap_rmt.c: Likewise.
34904 * sunrpc/publickey.c: Likewise.
34905 * sunrpc/rpc_cmsg.c: Likewise.
34906 * sunrpc/rpc_common.c: Likewise.
34907 * sunrpc/rpc_dtable.c: Likewise.
34908 * sunrpc/rpc_prot.c: Likewise.
34909 * sunrpc/rpc_thread.c: Likewise.
34910 * sunrpc/rtime.c: Likewise.
34911 * sunrpc/svc.c: Likewise.
34912 * sunrpc/svc_auth.c: Likewise.
34913 * sunrpc/svc_raw.c: Likewise.
34914 * sunrpc/svc_run.c: Likewise.
34915 * sunrpc/svc_tcp.c: Likewise.
34916 * sunrpc/svc_udp.c: Likewise.
34917 * sunrpc/svc_unix.c: Likewise.
34918 * sunrpc/svcauth_des.c: Likewise.
34919 * sunrpc/xcrypt.c: Likewise.
34920 * sunrpc/xdr.c: Likewise.
34921 * sunrpc/xdr_array.c: Likewise.
34922 * sunrpc/xdr_float.c: Likewise.
34923 * sunrpc/xdr_intXX_t.c: Likewise.
34924 * sunrpc/xdr_mem.c: Likewise.
34925 * sunrpc/xdr_rec.c: Likewise.
34926 * sunrpc/xdr_ref.c: Likewise.
34927 * sunrpc/xdr_sizeof.c: Likewise.
34928 * sunrpc/xdr_stdio.c: Likewise.
34930 2012-05-10 Roland McGrath <roland@hack.frob.com>
34932 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34933 change. Update copyright years.
34935 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34937 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34939 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
34940 Joseph Myers <joseph@codesourcery.com>
34941 Paul Pluzhnikov <ppluzhnikov@google.com>
34944 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34946 [cross-compiling] (extra-libs): Likewise.
34947 [cross-compiling] (extra-libs-others): Likewise.
34948 [cross-compiling] (librpcsvc-routines): Likewise.
34949 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34950 [cross-compiling] (omit-deps): Likewise.
34951 (sunrpc-CPPFLAGS): New variable.
34952 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34953 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34954 (cross-rpcgen-objs): New variable.
34955 (extra-objs): Append $(cross-rpcgen-objs).
34956 ($(cross-rpcgen-objs)): New rule.
34957 ($(objpfx)cross-rpcgen): Likewise.
34958 (rpcgen-cmd): Define to use $(built-program-file). Expand
34960 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34961 ($(objpfx)x%.stmp): Likewise.
34962 * sunrpc/proto.h [IS_IN_build] (_): Define.
34963 [IS_IN_build] (_libc_intl_domainname): Likewise.
34965 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34968 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34969 and R_X86_64_TPOFF64.
34971 2012-05-10 Joseph Myers <joseph@codesourcery.com>
34973 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34974 sysdeps/unix/sysv/syscalls.list.
34977 * sysdeps/unix/sysv/syscalls.list: Remove file.
34979 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
34982 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34983 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34984 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34985 (__LC_IDENTIFICATION): Make these macros useful in #if
34986 expressions, as required by C99.
34988 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
34990 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34991 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
34994 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
34996 * stdlib/longlong.h: Updated from GCC.
34998 2012-05-09 Andreas Jaeger <aj@suse.de>
35000 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35001 default is first entry.
35002 (run_mode): Set type.
35003 (main): Remove informal message about syslog.
35004 (options): Fix typo.
35007 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35010 (llrintf): Likewise.
35011 (llrint): Likewise.
35014 (nearbyint): Likewise.
35015 (nearbyintf): Likewise.
35017 2012-05-09 Andreas Jaeger <aj@suse.de>
35018 Pedro Alves <palves@redhat.com>
35020 * nscd/nscd.c (run_mode): Use enum.
35021 (main): Cleanup coding style issue.
35023 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35024 Andreas Jaeger <aj@suse.de>
35026 * nscd/nscd.c (go_background): Replaced with...
35027 (run_mode): ... this.
35028 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35029 (options): Add -F --foreground.
35030 (main): Implement it.
35031 (parse_opt): Parse it.
35033 2012-05-09 Andreas Jaeger <aj@suse.de>
35036 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35037 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35038 -Wconversion warning.
35039 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35042 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35044 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35046 (LC_ALL): Use macro-int-constant.
35047 (LC_COLLATE): Likewise.
35048 (LC_CTYPE): Likewise.
35049 (LC_MESSAGES): Likewise.
35050 (LC_MONETARY): Likewise.
35051 (LC_NUMERIC): Likewise.
35052 (LC_TIME): Likewise.
35053 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35054 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35056 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35058 [C99-based standards] (float_t): Expect type.
35059 [C99-based standards] (double_t): Expect type.
35060 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35062 [C99-based standards] (HUGE_VALL): Likewise.
35063 [C99-based standards] (INFINITY): Likewise.
35064 [C99-based standards] (NAN): Likewise.
35065 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35066 [C99-based standards] (FP_NAN): Likewise.
35067 [C99-based standards] (FP_NORMAL): Likewise.
35068 [C99-based standards] (FP_SUBNORMAL): Likewise.
35069 [C99-based standards] (FP_ZERO): Likewise.
35070 [C99-based standards] (FP_FAST_FMA): Use
35071 optional-macro-int-constant. Specify type. Require == 1.
35072 [C99-based standards] (FP_FAST_FMAF): Likewise.
35073 [C99-based standards] (FP_FAST_FMAL): Likewise.
35074 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35075 [C99-based standards] (FP_ILOGBNAN): Likewise.
35076 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35078 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35079 [C99-based standards] (math_errhandling): Specify type.
35080 [ISO99 || ISO11] (signgam): Do not allow.
35081 [non-C99-based standards] (copysignf): Do not allow.
35082 [non-C99-based standards] (exp2f): Likewise.
35083 [non-C99-based standards] (log2f): Likewise.
35084 [non-C99-based standards] (modff): Allow.
35085 [non-C99-based standards] (erff): Do not allow.
35086 [non-C99-based standards] (erfcf): Likewise.
35087 [non-C99-based standards] (gammaf): Likewise.
35088 [non-C99-based standards] (hypotf): Likewise.
35089 [non-C99-based standards] (j0f): Likewise.
35090 [non-C99-based standards] (j1f): Likewise.
35091 [non-C99-based standards] (jnf): Likewise.
35092 [non-C99-based standards] (lgammaf): Likewise.
35093 [non-C99-based standards] (tgammaf): Likewise.
35094 [non-C99-based standards] (y0f): Likewise.
35095 [non-C99-based standards] (y1f): Likewise.
35096 [non-C99-based standards] (ynf): Likewise.
35097 [non-C99-based standards] (isnanf): Likewise.
35098 [non-C99-based standards] (acoshf): Likewise.
35099 [non-C99-based standards] (asinhf): Likewise.
35100 [non-C99-based standards] (atanhf): Likewise.
35101 [non-C99-based standards] (cbrtf): Likewise.
35102 [non-C99-based standards] (expm1f): Likewise.
35103 [non-C99-based standards] (ilogbf): Likewise.
35104 [non-C99-based standards] (log1pf): Likewise.
35105 [non-C99-based standards] (logbf): Likewise.
35106 [non-C99-based standards] (nextafterf): Likewise.
35107 [non-C99-based standards] (remainderf): Likewise.
35108 [non-C99-based standards] (rintf): Likewise.
35109 [non-C99-based standards] (scalbf): Likewise.
35110 [non-C99-based standards] (copysignl): Likewise.
35111 [non-C99-based standards] (exp2l): Likewise.
35112 [non-C99-based standards] (log2l): Likewise.
35113 [non-C99-based standards] (modfl): Allow.
35114 [non-C99-based standards] (erfl): Do not allow.
35115 [non-C99-based standards] (erfcl): Likewise.
35116 [non-C99-based standards] (gammal): Likewise.
35117 [non-C99-based standards] (hypotl): Likewise.
35118 [non-C99-based standards] (j0l): Likewise.
35119 [non-C99-based standards] (j1l): Likewise.
35120 [non-C99-based standards] (jnl): Likewise.
35121 [non-C99-based standards] (lgammal): Likewise.
35122 [non-C99-based standards] (tgammal): Likewise.
35123 [non-C99-based standards] (y0l): Likewise.
35124 [non-C99-based standards] (y1l): Likewise.
35125 [non-C99-based standards] (ynl): Likewise.
35126 [non-C99-based standards] (isnanl): Likewise.
35127 [non-C99-based standards] (acoshl): Likewise.
35128 [non-C99-based standards] (asinhl): Likewise.
35129 [non-C99-based standards] (atanhl): Likewise.
35130 [non-C99-based standards] (cbrtl): Likewise.
35131 [non-C99-based standards] (expm1l): Likewise.
35132 [non-C99-based standards] (ilogbl): Likewise.
35133 [non-C99-based standards] (log1pl): Likewise.
35134 [non-C99-based standards] (logbl): Likewise.
35135 [non-C99-based standards] (nextafterl): Likewise.
35136 [non-C99-based standards] (remainderl): Likewise.
35137 [non-C99-based standards] (rintl): Likewise.
35138 [non-C99-based standards] (scalbl): Likewise.
35139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35140 [non-C99-based standards] (FP_*): Do not allow.
35141 [C99-based standards] (FP_*): Change to
35142 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35143 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35145 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35146 (SIG_ERR): Likewise.
35147 [X/Open-based standards] (SIG_HOLD): Likewise.
35148 (SIG_IGN): Likewise.
35149 (SIGABRT): Use macro-int-constant. Specify type. Require
35151 (SIGFPE): Likewise.
35152 (SIGILL): Likewise.
35153 (SIGINT): Likewise.
35154 (SIGSEGV): Likewise.
35155 (SIGTER): Likewise.
35156 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35157 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35158 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35159 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35160 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35161 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35162 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35166 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35167 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35168 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35169 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35170 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35171 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35172 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35173 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35174 [X/Open-based standards] (SIGTRAP): Likewise.
35175 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35176 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35177 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35179 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35182 2012-05-08 Ian Wienand <ianw@vmware.com>
35185 * time/tzset.c (__tzset_parse_tz): Update default rules for
35186 daylight time changes in the Energy Policy Act of 2005.
35188 2012-05-09 Andreas Jaeger <aj@suse.de>
35191 * elf/ldconfig.c (parse_conf): Change string to make clear that
35192 ldconfig only issued a warning if ld.so.conf does not exist.
35194 2012-05-08 David S. Miller <davem@davemloft.net>
35196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35197 movxtod instead of popping the value on the stack.
35199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35201 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35203 * config.h.in: Add HAVE_ARM_PCS_VFP.
35205 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35208 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35209 checking but the checks are disabled for any reason.
35211 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35213 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35214 and ELF64_R_TYPE with ELFW(R_TYPE).
35216 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35218 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35219 (ulimit): Likewise.
35221 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35222 (settimeofday): Likewise.
35224 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35226 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35227 a struct th_u2 inside the union, and move tu_block/tu_code into
35228 a new th_u3 union of tu_block/tu_code inside of that. Move
35229 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35230 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35231 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35232 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35233 (th_stuff): Change to th_u1.tu_stuff.
35235 (th_msg): Change to th_u1.th_u2.tu_data.
35237 2012-05-07 David S. Miller <davem@davemloft.net>
35239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35242 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35243 (SETUP_PIC_REG): Use it.
35244 (SETUP_PIC_REG_LEAF): Use it.
35246 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35250 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35252 (EXPL_FINITE): Likewise.
35253 (FLDLOG): Likewise.
35254 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35255 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35257 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35259 (EXPL_FINITE): Likewise.
35260 (FLDLOG): Likewise.
35261 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35262 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35264 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35265 test of -max_value argument for long double.
35266 * sysdeps/i386/fpu/libm-test-ulps: Update.
35267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35269 2012-05-06 David S. Miller <davem@davemloft.net>
35271 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35272 quad soft-float symbols whose references which are compiler
35274 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35276 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35280 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35282 (EXPL_FINITE): Likewise.
35283 (FLDLOG): Likewise.
35286 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35287 Adjust comments for base varying.
35288 (__expl_finite): Change alias to EXPL_FINITE.
35289 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35291 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35292 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35294 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35297 (EXPL_FINITE): Likewise.
35298 (FLDLOG): Likewise.
35301 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35302 Adjust comments for base varying.
35303 (__expl_finite): Change alias to EXPL_FINITE.
35304 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35306 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35309 * math/libm-test.inc (check_float_internal): Correct ulp
35310 calculation for subnormal expected results.
35312 2012-05-06 Andreas Jaeger <aj@suse.de>
35314 * Makeconfig (+math-flags): New, set to -frounding-math.
35315 (+cflags): Add +math-flags so that all of glibc gets compiled with
35318 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35320 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35322 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35328 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35329 (__ieee754_expl): Allow for and saturate large arguments.
35330 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35331 (u_threshold): Likewise.
35332 (__exp): Call __ieee754_exp before checking for overflow and
35334 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35335 (u_threshold): Likewise.
35336 (__expf): Call __ieee754_expf before checking for overflow and
35338 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35339 (u_threshold): Likewise.
35340 (__expl): Call __ieee754_expl before checking for overflow and
35342 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35343 (__ieee754_expl): Allow for and saturate large arguments.
35344 * math/libm-test.inc (exp_test): Add another test. Do not allow
35345 missing overflow exception on overflow.
35346 (expm1_test): Do not allow missing overflow exception on overflow.
35348 * sysdeps/i386/fpu/e_expl.c: Move to ...
35349 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35350 rather than using inline asm.
35351 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35352 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35353 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35355 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35358 (signal): Likewise.
35362 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35364 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35365 sysdeps/unix/common/syscalls.list.
35366 (fchmod): Likewise.
35367 (fchown): Likewise.
35368 (ftruncate): Likewise.
35369 (getrusage): Likewise.
35370 (gettimeofday): Likewise.
35371 (setpgid): Likewise.
35372 (setregid): Likewise.
35373 (setreuid): Likewise.
35374 (sigaction): Likewise.
35375 (truncate): Likewise.
35376 (vhangup): Likewise.
35377 * sysdeps/unix/common/syscalls.list: Remove file.
35378 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35379 * sysdeps/unix/sysv/linux/Implies: Likewise.
35381 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35383 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35385 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35387 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35389 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35392 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35395 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35397 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35398 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35401 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35404 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35407 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35411 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35415 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35418 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35420 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35422 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35426 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35428 * sysdeps/unix/common/bits/dirent.h: Remove file.
35429 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35431 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35432 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35433 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35434 * sysdeps/unix/bsd/isatty.c: Likewise.
35435 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35436 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35437 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35439 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35443 long double comparison inaccuracies.
35444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35447 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35449 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35452 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35455 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35456 nonzero digits before rounding a hex value.
35457 * stdlib/tst-strtod.c (tests): Add another test.
35459 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35461 * sysdeps/s390/fpu/libm-test-ulps: Update.
35463 2012-05-03 Andreas Jaeger <aj@suse.de>
35465 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35466 does not get optimized out.
35467 (malloc_opt_barrier): New.
35469 2012-05-03 Andreas Jaeger <aj@suse.de>
35470 Roland McGrath <roland@hack.frob.com>
35472 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35473 intermediate file deletion.
35474 (generated): Add .symlist files.
35476 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35479 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35480 Redirect under this condition.
35481 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35482 [__USE_GNU] (__dprintf_chk): Not under this condition.
35483 [__USE_GNU] (__vdprintf_chk): Likewise.
35484 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35485 under this condition.
35486 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35487 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35488 [__USE_XOPEN2K8] (vdprintf): Likewise.
35489 [__USE_GNU] (__dprintf_chk): Not under this condition.
35490 [__USE_GNU] (__vdprintf_chk): Likewise.
35491 [__USE_GNU] (dprintf): Likewise.
35492 [__USE_GNU] (vdprintf): Likewise.
35494 2012-05-03 Roland McGrath <roland@hack.frob.com>
35496 * elf/Makefile (common-generated): Set this instead of generated for
35497 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35498 $(all-built-dso)-derived lists.
35500 2012-05-03 Andreas Jaeger <aj@suse.de>
35502 * sysdeps/i386/fpu/libm-test-ulps: Update.
35505 * FAQ.in: Likewise.
35506 * scripts/gen-FAQ.pl: Likewise.
35507 * manual/install.texi (Installation): Point to online location of
35509 * Makefile (files-for-dist): Remove FAQ.
35512 2012-05-02 Allan McRae <allan@archlinux.org>
35514 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35515 (LDFLAGS-reldepmod5.so): Likewise.
35516 (LDFLAGS-reldep6mod1.so): Likewise.
35517 (LDFLAGS-reldep6mod4.so): Likewise.
35518 (LDFLAGS-reldep8mod3.so): Likewise.
35519 (LDFLAGS-unload4mod1.so): Likewise.
35520 (LDFLAGS-unload4mod2.so): Likewise.
35521 (LDFLAGS-tst-initorder): Likewise.
35522 (LDFLAGS-tst-initordera2.so): Likewise.
35523 (LDFLAGS-tst-initordera3.so): Likewise.
35524 (LDFLAGS-tst-initordera4.so): Likewise.
35525 (LDFLAGS-tst-initorderb2.so): Likewise.
35526 (LDFLAGS-noload): Likewise.
35527 (LDFLAGS-next): Likewise.
35528 (LDFLAGS-order2mod1.so): Likewise.
35529 (LDFLAGS-order2mod2.so): Likewise.
35530 (LDFLAGS-tst-initorder2): Likewise.
35531 (LDFLAGS-tst-initorder2a.so): Likewise.
35532 (LDFLAGS-tst-initorder2b.so): Likewise.
35533 (LDFLAGS-tst-initorder2c.so): Likewise.
35534 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35536 2012-05-02 David S. Miller <davem@davemloft.net>
35538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35540 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35543 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35545 2012-05-02 Andreas Jaeger <aj@suse.de>
35547 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35548 since we manipulate rounding mode.
35549 (CPPFLAGS-test-idouble.c): Likewise.
35550 (CPPFLAGS-test-ifloat.c): Likewise.
35551 (CFLAGS-test-ldouble.c): Likewise.
35552 (CFLAGS-test-double.c): Likewise.
35553 (CFLAGS-test-float.c): Likewise.
35554 (CFLAGS-test-misc.c): Likewise.
35555 (CFLAGS-test-test-fenv.c): Likewise.
35557 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35561 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35562 comparisons to determine direction to adjust input.
35564 2012-05-01 Roland McGrath <roland@hack.frob.com>
35566 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35567 output to the target.
35569 * scripts/localplt.awk: New file.
35570 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35571 (check-localplt-CFLAGS): Variable removed.
35572 ($(all-built-dso:=.jmprel)): New static pattern rule.
35573 (generated): Add those targets.
35574 (localplt-built-dso): New variable.
35575 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35577 * elf/check-localplt.c: File removed.
35579 * scripts/check-execstack.awk: New file.
35580 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35581 (check-execstack-CFLAGS): Variable removed.
35582 ($(objpfx)check-execstack.h): Target removed.
35583 ($(objpfx)execstack-default): New target.
35584 (generated): Add that instead of check-execstack.h.
35585 ($(all-built-dso:=.phdr)): New static pattern rule.
35586 (generated): Add those targets.
35587 * elf/check-execstack.c: File removed.
35589 * scripts/check-textrel.awk: New file.
35590 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35591 (check-textrel-CFLAGS): Variable removed.
35592 (all-built-dso): Use := to define.o
35593 ($(all-built-dso:=.dyn)): New static pattern rule.
35594 (generated): Add those targets.
35595 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35596 * config.make.in (READELF): New substituted variable.
35597 * elf/check-textrel.c: File removed.
35599 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35601 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35603 * conform/data/ctype.h-data [C99-based standards] (isblank):
35605 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35606 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35607 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35608 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35609 Specify type. Require positive value.
35610 (EILSEQ): Likewise.
35611 (ERANGE): Likewise.
35612 [ISO || POSIX] (EILSEQ): Do not expect.
35613 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35614 Specify type. Require positive value.
35615 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35616 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35617 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35618 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35619 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35620 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35621 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35622 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35623 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35624 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35625 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35626 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35627 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35628 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35629 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35630 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35631 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35632 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35633 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35634 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35635 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35636 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35637 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35638 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35639 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35640 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35641 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35642 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35643 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35644 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35645 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35646 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35647 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35648 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35649 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35650 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35651 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35652 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35653 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35654 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35655 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35656 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35657 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35658 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35659 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35660 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35661 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35662 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35663 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35664 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35665 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35666 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35667 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35668 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35669 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35670 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35671 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35672 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35673 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35674 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35675 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35676 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35677 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35678 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35679 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35680 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35681 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35682 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35683 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35684 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35685 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35686 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35687 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35688 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35689 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35690 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35691 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35693 (FLT_ROUNDS): Expect as macro, not constant.
35694 (FLT_MANT_DIG): Use macro-int-constant.
35695 (DBL_MANT_DIG): Likewise.
35696 (LDBL_MANT_DIG): Likewise.
35697 (FLT_DIG): Likewise.
35698 (DBL_DIG): Likewise.
35699 (LDBL_DIG): Likewise.
35700 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35701 (DBL_MIN_EXP): Likewise.
35702 (LDBL_MIN_EXP): Likewise.
35703 (FLT_MAX_EXP): Use macro-int-constant.
35704 (DBL_MAX_EXP): Likewise.
35705 (LDBL_MAX_EXP): Likewise.
35706 (FLT_MAX_10_EXP): Likewise.
35707 (DBL_MAX_10_EXP): Likewise.
35708 (LDBL_MAX_10_EXP): Likewise.
35709 (FLT_MAX): Use macro-constant.
35710 (DBL_MAX): Likewise.
35711 (LDBL_MAX): Likewise.
35712 (FLT_EPSILON): Use macro-constant. Give upper bound.
35713 (DBL_EPSILON): Likewise.
35714 (LDBL_EPSILON): Likewise.
35715 (FLT_MIN): Likewise.
35716 (DBL_MIN): Likewise.
35717 (LDBL_MIN): Likewise.
35718 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35719 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35720 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35721 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35722 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35723 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35724 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35725 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35726 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35727 [ISO11] (FLT_TRUE_MIN): Likewise.
35728 [ISO11] (LDBL_TRUE_MIN): Likewise.
35729 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35730 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35731 (SCHAR_MIN): Use macro-int-constant. Specify type.
35732 (SCHAR_MAX): Likewise.
35733 (UCHAR_MAX): Likewise.
35734 (CHAR_MIN): Likewise.
35735 (CHAR_MAX): Likewise.
35736 (MB_LEN_MAX): Use macro-int-constant.
35737 (SHRT_MIN): Use macro-int-constant. Specify type.
35738 (SHRT_MAX): Likewise.
35739 (USHRT_MAX): Likewise.
35740 (INT_MAX): Likewise.
35741 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35743 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35745 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35747 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35748 bound negative. Suffix upper bound with "L".
35749 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35751 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35753 [C99-based standards] (LLONG_MAX): Likewise.
35754 [C99-based standards] (ULLONG_MAX): Likewise.
35755 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35757 [ISO11] (max_align_t): Require type.
35758 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35760 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35761 from $CFLAGS, without defining away __attribute__ calls.
35762 (checknamespace): Use $CFLAGS_namespace.
35764 * conform/conformtest.pl (@keywords): Only include C99 keywords
35765 for standards based on C99 or C11.
35767 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35769 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35772 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35773 usability of symbols in #if.
35775 * conform/conformtest.pl: If macro or constant types start
35776 "promoted:", expect the symbol to be of the following type
35777 promoted by the integer promotions.
35779 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35780 in one place. Also handle "macro-constant".
35782 * conform/conformtest.pl: Only accept expected macro values with
35783 "==". Parse all "macro" lines in one place.
35784 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35786 * conform/conformtest.pl: Handle braced types on "constant" lines
35787 instead of handling "typed-constant".
35788 * conform/data/signal.h-data: Use "constant" instead of
35791 * conform/conformtest.pl: Handle "optional-" at start of lines in
35792 one place rather than duplicating several cases. Handle each
35793 format of "macro" line with initial "optional-".
35795 * conform/conformtest.pl: Only accept expected constant or
35796 optional-constant values with "==". Parse all "constant" lines in
35797 one place. Parse all "optional-constant" lines in one place.
35798 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35799 * conform/data/fmtmsg.h-data: Likewise.
35800 * conform/data/netinet/in.h-data: Likewise.
35801 * conform/data/tar.h-data: Likewise.
35802 * conform/data/limits.h-data: Use "==" form on "constant" and
35803 "optional-constant" lines.
35805 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35806 Use -std=c99 for XOPEN2K.
35807 (@knownproblems): Remove.
35808 (newtoken): Don't check %isknown.
35810 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35811 Do not expect macro.
35812 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35813 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35814 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35815 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35816 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35817 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35818 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35819 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35820 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35821 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35822 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35823 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35824 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35825 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35826 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35827 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35828 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35829 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35830 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35831 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35832 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35833 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35834 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35835 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35836 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35837 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35838 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35839 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35840 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35841 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35842 [XPG3] (acosh): Likewise.
35843 [XPG3] (asinh): Likewise.
35844 [XPG3] (atanh): Likewise.
35845 [XPG3] (cbrt): Likewise.
35846 [XPG3] (expm1): Likewise.
35847 [XPG3] (ilogb): Likewise.
35848 [XPG3] (log1p): Likewise.
35849 [XPG3] (logb): Likewise.
35850 [XPG3] (nextafter): Likewise.
35851 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35852 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35853 [XPG3] (remainder): Likewise.
35854 [XPG3] (rint): Likewise.
35855 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35856 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35857 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35858 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35859 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35860 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35861 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35862 [UNIX98 || XOPEN2K] (scalb): Expect.
35863 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35864 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35865 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35866 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35867 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35868 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35869 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35870 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35871 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35872 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35873 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35874 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35875 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35876 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35877 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35878 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35879 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35880 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35881 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35882 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35883 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35884 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35885 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35886 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35887 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35888 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35889 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35890 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35891 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35892 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35893 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35894 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35895 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35896 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35897 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35898 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35899 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35900 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35901 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35913 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35914 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35922 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35925 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35926 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35931 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35932 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35933 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35934 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35935 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35936 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35937 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35938 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35939 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35942 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35943 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35951 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35952 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35953 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36001 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36002 _XOPEN_SOURCE_EXTENDED for XPG4.
36004 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36006 * Makeconfig (localtime): Remove variable.
36007 (inst_localtime-file): Likewise.
36009 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36030 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36034 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36035 comparisons to determine direction to adjust input.
36036 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36037 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36040 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36042 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36044 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36045 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36047 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36049 * math/libm-test.inc (nexttoward_test): Add more tests.
36051 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36054 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36055 in version GLIBC_2.1, not GLIBC_2.0.
36056 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36059 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36062 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36064 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36065 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36066 * math/libm-test.inc (acos_test): Add more tests.
36067 (asin_test): Likewise.
36068 * sysdeps/i386/fpu/libm-test-ulps: Update.
36069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36072 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36074 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36075 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36076 * math/libm-test.inc (acos_test_tonearest): New function.
36077 (acos_test_towardzero): Likewise.
36078 (acos_test_downward): Likewise.
36079 (acos_test_upward): Likewise.
36080 (asin_test_tonearest): Likewise.
36081 (asin_test_towardzero): Likewise.
36082 (asin_test_downward): Likewise.
36083 (asin_test_upward): Likewise.
36084 (main): Call the new functions.
36085 * sysdeps/i386/fpu/libm-test-ulps: Update.
36086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36090 * math/e_exp10.c: Include <float.h>.
36091 (__ieee754_exp10): Handle underflow here rather than multiplying
36092 large negative argument by M_LN10.
36093 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36095 * math/e_exp10l.c: Include <float.h>.
36096 (__ieee754_exp10l): Handle underflow here rather than multiplying
36097 large negative argument by M_LN10l.
36098 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36099 spurious overflow exception on underflow.
36101 2012-04-29 Marek Polacek <polacek@redhat.com>
36103 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36104 (__fortify_function): New macro.
36105 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36106 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36107 __extern_always_inline.
36108 * libio/bits/stdio2.h: Likewise.
36109 * libio/bits/stdio.h: Likewise.
36110 * string/string.h: Likewise.
36111 * string/bits/string3.h: Likewise.
36112 * include/stdio.h: Likewise.
36113 * stdlib/bits/stdlib.h: Likewise.
36114 * stdlib/stdlib.h: Likewise.
36115 * rt/bits/mqueue2.h: Likewise.
36116 * rt/mqueue.h: Likewise.
36117 * posix/bits/unistd.h: Likewise.
36118 * posix/unistd.h: Likewise.
36119 * io/bits/poll2.h: Likewise.
36120 * io/bits/fcntl2.h: Likewise.
36121 * io/fcntl.h: Likewise.
36122 * io/sys/poll.h: Likewise.
36123 * misc/bits/syslog.h: Likewise.
36124 * misc/bits/syslog-ldbl.h: Likewise.
36125 * misc/sys/syslog.h: Likewise.
36126 * socket/bits/socket2.h: Likewise.
36127 * socket/sys/socket.h: Likewise.
36128 * debug/tst-chk1.c: Likewise.
36129 * wcsmbs/bits/wchar2.h: Likewise.
36130 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36131 * wcsmbs/wchar.h: Likewise.
36133 2012-04-29 Andreas Jaeger <aj@suse.de>
36135 * Makerules (tests): Remove enable-check-abi protection.
36136 (check-abi-warn): Remove.
36137 (check-abi-%): Remove check-abi-warn usage.
36139 * configure.in: Remove check-abi configure option.
36140 * configure: Regenerated.
36141 * config.make.in (enable-check-abi): Remove.
36143 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36146 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36147 double functions to double *_finite functions.
36150 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36151 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36153 * stdio-common/Makefile (tests): Add tst-sprintf3.
36154 * stdio-common/tst-sprintf3.c: New file.
36156 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36157 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36159 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36161 * conform/conformtest.pl: Remove duplicate typed-constant
36164 2012-04-28 David S. Miller <davem@davemloft.net>
36166 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36167 (check-abi-%): Remove AWK script prerequisite and explicit
36169 (check-abi): Rewrite to just diff the symlist with the abilist.
36170 (config-tls, config-abi-config): Delete, no longer used.
36171 (update-abi-%): Remove AWK script and explicit abilist directory.
36172 (update-abi): Rewrite to simply compare and conditionally copy the
36173 symlist and the sysdep abilist file. Remove update-abi-config
36175 * abilist/ld.abilist: Remove.
36176 * abilist/libBrokenLocale.abilist: Remove.
36177 * abilist/libanl.abilist: Remove.
36178 * abilist/libcrypt.abilist: Remove.
36179 * abilist/libdl.abilist: Remove.
36180 * abilist/librt.abilist: Remove.
36181 * abilist/libthread_db.abilist: Remove.
36182 * abilist/libutil.abilist: Remove.
36183 * scripts/extract-abilist.awk: Remove.
36184 * scripts/merge-abilist.awk: Remove.
36185 * sysdeps/generic/libcidn.abilist: New file.
36186 * sysdeps/generic/libnss_compat.abilist: New file.
36187 * sysdeps/generic/libnss_db.abilist: New file.
36188 * sysdeps/generic/libnss_dns.abilist: New file.
36189 * sysdeps/generic/libnss_files.abilist: New file.
36190 * sysdeps/generic/libnss_hesiod.abilist: New file.
36191 * sysdeps/generic/libnss_nis.abilist: New file.
36192 * sysdeps/generic/libnss_nisplus.abilist: New file.
36193 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36194 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36195 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36197 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36198 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36199 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36200 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36201 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36202 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36203 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36204 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36205 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36207 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36208 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36209 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36210 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36212 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36213 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36214 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36215 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36216 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36217 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36219 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36220 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36221 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36224 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36326 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36327 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36328 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36331 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36332 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36333 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36334 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36335 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36336 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36337 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36338 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36339 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36341 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36391 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36393 * conform/conformtest.pl: Fix typo in handling typed-constant from
36396 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36398 * README: Cut down references to pre-2.6 Linux kernels and
36399 Linuxthreads. Update lists of configurations in libc and ports
36400 and sort alphabetically. Say "or newer" with Linux kernel version
36403 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36405 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36408 * math/libm-test.inc (logb_test_downward): New test to expose
36409 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36412 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36415 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36417 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36418 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36420 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36422 * sysdeps/unix/i386/brk.S: Remove file.
36423 * sysdeps/unix/i386/dl-brk.S: Likewise.
36424 * sysdeps/unix/i386/pipe.S: Likewise.
36425 * sysdeps/unix/i386/sigreturn.S: Likewise.
36426 * sysdeps/unix/i386/syscall.S: Likewise.
36427 * sysdeps/unix/i386/vfork.S: Likewise.
36428 * sysdeps/unix/i386/wait.S: Likewise.
36430 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36431 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36433 * configure.in (arm*-none*): Do not allow without
36434 --enable-hacker-mode.
36435 (netbsd*): Remove case setting base_os.
36436 (386bsd*): Likewise.
36437 (freebsd*): Likewise.
36440 (sunos*): Likewise.
36441 (ultrix*): Likewise.
36442 (newsos*): Likewise.
36443 (dynix*): Likewise.
36449 (minix*): Likewise.
36450 (irix4*): Likewise.
36451 (irix6*): Likewise.
36452 (solaris[2-9]*): Likewise.
36454 * configure: Regenerated.
36456 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36459 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36460 overflow or cancellation in calculating denominator.
36461 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36462 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36463 down expression to avoid unexpected rounding in newer GCCs.
36464 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36466 2012-04-26 David S. Miller <davem@davemloft.net>
36468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36469 long-double compat symbols.
36470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36484 2012-04-25 David S. Miller <davem@davemloft.net>
36486 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36487 HWCAP_* values only after the memory barriers have been defined.
36488 (atomic_full_barrier): Define.
36489 (atomic_read_barrier): Define.
36490 (atomic_write_barrier): Define.
36492 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36494 * shlib-versions: Add libgcc_s version information.
36495 * sysdeps/generic/libgcc_s.h: Remove.
36496 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36498 * sysdeps/gnu/unwind-resume.c: Likewise.
36499 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36501 2012-04-25 David S. Miller <davem@davemloft.net>
36503 * sysdeps/unix/sparc/brk.S: Delete.
36504 * sysdeps/unix/sparc/dl-brk.S: Delete.
36505 * sysdeps/unix/sparc/pipe.S: Delete.
36506 * sysdeps/unix/sparc/sysdep.S: Delete.
36507 * sysdeps/unix/sparc/sysdep.h: Delete.
36508 * sysdeps/unix/sparc/vfork.S: Delete.
36509 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36510 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36511 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36512 (ret_ERRVAL, r0, r1, MOVE): Define.
36513 (JUMPTARGET): Remove.
36514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36515 sysdeps/unix/sparc/sysdep.h
36516 (ENTRY, END): Remove.
36517 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36519 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36521 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36522 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36525 * timezone/README: Update upstream location and email address for
36527 * timezone/zdump.c: Update from tzcode 2012b.
36528 * timezone/zic.c: Likewise.
36530 * configure.in (libc_cv_as_needed): Remove test.
36531 * configure: Regenerated.
36532 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36533 conditional definition.
36534 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36535 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36536 * config.make.in (have-as-needed): Remove variable.
36538 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36539 Paul Pluzhnikov <ppluzhnikov@google.com>
36541 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36544 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36546 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36547 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36548 * sysdeps/sh/strlen.S: Likewise.
36550 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36552 * sysdeps/unix/fork.S: Remove file.
36553 * sysdeps/unix/i386/fork.S: Likewise.
36554 * sysdeps/unix/sparc/fork.S: Likewise.
36556 * sysdeps/unix/system.c: Remove file.
36557 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36559 * sysdeps/unix/getegid.S: Remove file.
36560 * sysdeps/unix/geteuid.S: Likewise.
36562 2012-04-24 Roland McGrath <roland@hack.frob.com>
36564 * scripts/check-localplt.awk: New file.
36565 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36567 * scripts/data/localplt-generic.data: Add a comment.
36569 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36570 NODE when __dir_mkfile failed.
36571 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36572 Reported by Ludovic Courtès <ludo@gnu.org>.
36574 2012-04-24 Andreas Jaeger <aj@suse.de>
36576 * Makerules (common-clean): Also remove gen-as-const-headers
36579 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36581 * Makerules (native-compile): Do not change working directory for
36582 build. Use $(OUTPUT_OPTION) in command.
36583 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36585 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36588 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36589 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36590 * math/libm-test.inc (floor_test): Add more tests.
36591 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36593 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36595 * sysdeps/unix/getdents.c: Remove file.
36596 * sysdeps/unix/sysv/getdents.c: Likewise.
36597 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36599 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36600 sysdeps/unix/mman/syscalls.list.
36602 (mprotect): Likewise.
36604 (munmap): Likewise.
36605 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36606 * sysdeps/unix/mman/syscalls.list: Remove.
36607 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36609 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36610 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36611 * configure: Regenerated.
36612 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36613 $(libgcc_s_suffix).
36614 * config.make.in (libgcc_s_suffix): Remove variable.
36616 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36618 * sysdeps/unix/sysv/gethostname.c: Move to ...
36619 * sysdeps/posix/gethostname.c: ... here.
36621 * sysdeps/unix/execve.S: Remove file.
36623 * sysdeps/unix/_exit.S: Remove file.
36625 2012-04-23 Andreas Jaeger <aj@suse.de>
36628 * manual/Makefile: Remove make dist support, there's no
36629 need for a stand-alone documentation tar ball.
36630 (TEXI2DVI): Define always, it's not in Makeconfig.
36633 (edition): Removed.
36634 (glibc-doc-$(edition).tar): Removed
36638 (ETAGS): Remove, it's in Makeconfig.
36639 (move-if-change): Remove, it's in Makeconfig.
36641 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36644 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36645 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36646 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36647 (strtod_l, strtof_l, strtold_l): Remove __wur.
36648 It is not necessarily an error to ignore strtol's return value.
36649 One can reliably look at the stored endptr to decide whether
36650 the number had valid syntax.
36652 2012-04-21 Andreas Jaeger <aj@suse.de>
36655 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36657 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36659 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36660 * sysdeps/unix/sysv/Versions: Remove file.
36662 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36665 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36667 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36670 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36671 version from __vm86.
36673 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36675 * sysdeps/unix/common/lxstat.c: Remove file.
36676 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36678 * sysdeps/unix/sysv/Makefile: Remove file.
36680 * sysdeps/unix/sysv/direct.h: Remove file.
36682 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36683 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36684 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36685 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36686 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36687 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36688 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36690 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36692 * sysdeps/unix/xmknod.c: Remove file.
36693 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36695 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36697 * sysdeps/unix/sysv/i386/time.S: Remove file.
36699 * sysdeps/unix/fxstat.c: Remove file.
36700 * sysdeps/unix/xstat.c: Likewise.
36701 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36703 * sysdeps/unix/sysv/sigaction.c: Remove file.
36705 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36706 (sysdep_headers): Remove variable.
36707 [termio.h not in sysdep_headers] (generated): Likewise.
36708 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36709 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36710 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36711 * sysdeps/unix/sysv/tcflow.c: Likewise.
36712 * sysdeps/unix/sysv/tcflush.c: Likewise.
36713 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36714 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36715 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36716 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36717 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36719 * sysdeps/unix/siglist.c: Remove file.
36721 * sysdeps/unix/getppid.S: Remove file.
36723 * sysdeps/unix/mkdir.c: Remove file.
36724 * sysdeps/unix/rmdir.c: Likewise.
36726 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36728 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36730 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36731 errlist-compat value.
36733 2012-04-18 David S. Miller <davem@davemloft.net>
36735 * sysdeps/generic/memcopy.h (reg_char): Delete.
36736 * debug/strcat_chk.c: Use char, not reg_char.
36737 * debug/strcpy_chk.c: Likewise.
36738 * debug/strncat_chk.c: Likewise.
36739 * debug/strncpy_chk.c: Likewise.
36740 * string/memchr.c: Likewise.
36741 * string/memrchr.c: Likewise.
36742 * string/rawmemchr.c: Likewise.
36743 * string/strcat.c: Likewise.
36744 * string/strchr.c: Likewise.
36745 * string/strchrnul.c: Likewise.
36746 * string/strcmp.c: Likewise.
36747 * string/strcpy.c: Likewise.
36748 * string/strncat.c: Likewise.
36749 * string/strncmp.c: Likewise.
36750 * string/strncpy.c: Likewise.
36752 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36754 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36755 __builtin_memcopy is called when src and dest ranges are known to not
36758 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36760 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36761 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36762 fwd_align_merge macro call.
36763 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36764 bwd_align_merge macro call.
36765 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36767 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36770 bwd_align_merge macros.
36771 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36772 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36773 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36775 2012-04-18 David S. Miller <davem@davemloft.net>
36777 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36779 2012-04-18 Andreas Jaeger <aj@suse.de>
36782 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36783 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36784 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36786 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36787 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36788 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36790 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36791 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36792 Adjust for changed ldbl-128 files.
36794 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36795 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36796 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36798 2012-04-17 David S. Miller <davem@davemloft.net>
36800 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36802 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36804 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36805 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36806 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36807 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36808 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36809 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36811 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36814 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36815 * math/libm-test.inc: Add ilogb errno and exception tests.
36816 * math/w_ilogb.c: New file: ilogb wrapper.
36817 * math/w_ilogbf.c: New file: ilogbf wrapper.
36818 * math/w_ilogbl.c: New file: ilogbl wrapper.
36819 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36820 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36821 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36822 exception being thrown with 0.0 as argument.
36823 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36824 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36825 exception being thrown with 0.0 as argument.
36826 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36827 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36828 exception being thrown with 0.0 as argument.
36829 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36830 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36831 exception being thrown with 0.0 as argument.
36832 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36833 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36834 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36835 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36836 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36837 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36838 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36839 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36840 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36842 2012-04-17 Petr Baudis <pasky@ucw.cz>
36844 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36847 2012-04-16 Marek Polacek <polacek@redhat.com>
36849 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36851 2012-04-16 Marek Polacek <polacek@redhat.com>
36853 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36854 operands of fdivp instruction.
36856 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36858 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36859 * elf/tst-auditmod3b.c: Likewise.
36860 * elf/tst-auditmod4b.c: Likewise.
36861 * elf/tst-auditmod5b.c: Likewise.
36862 * elf/tst-auditmod6b.c: Likewise.
36863 * elf/tst-auditmod6c.c: Likewise.
36864 * elf/tst-auditmod7b.c: Likewise.
36865 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36866 * sysdeps/x86_64/preconfigure.in: Likewise.
36867 * sysdeps/x86_64/preconfigure: Regenerated.
36869 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36871 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36874 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36877 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36879 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36882 * locale/iso-639.def: Fix gl language name. Spotted by
36885 2012-04-12 Roland McGrath <roland@hack.frob.com>
36888 * libio/libio.h (__io_write_fn): Update comment.
36890 2012-04-12 Petr Baudis <pasky@ucw.cz>
36893 * stdio.texi (Hook Functions): The user provided writer function
36894 is not allowed to return -1.
36896 2012-04-11 David S. Miller <davem@davemloft.net>
36898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36900 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36902 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36903 Add a leading slash to rtkaio.
36905 2012-04-11 Jim Meyering <meyering@redhat.com>
36908 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36909 It is not necessarily an error to ignore fwrite's return
36910 value. One can reliably use ferror to test for errors after
36913 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36915 * bits/types.h (__snseconds_t): New type.
36916 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36918 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36919 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36920 (__SNSECONDS_T_TYPE): Likewise.
36921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36922 (__SNSECONDS_T_TYPE): Likewise.
36923 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36924 (__SNSECONDS_T_TYPE): Likewise.
36926 2012-04-10 Andreas Jaeger <aj@suse.de>
36929 * manual/time.texi (Processor Time): Return type of times is
36930 elapsed real time since an arbitrary point in the past.
36931 (CPU Time): Move CLK_TCK from here...
36932 (Processor Time): ...to here. Correct description.
36933 * manual/conf.texi (Constants for Sysconf): Correct description of
36936 2012-04-10 David S. Miller <davem@davemloft.net>
36939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36940 where the is a gap between DT_REL(A) and DT_JMPREL.
36942 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
36944 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36945 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36946 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36948 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36950 * elf/dl-support.c (_dl_inhibit_cache): New variable.
36951 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36952 (dl_main): Handle --inhibit-cache.
36953 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36955 * elf/dl-load.c (_dl_map_object): Use it.
36956 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36958 2012-04-09 Joseph Myers <joseph@codesourcery.com>
36961 * sysdeps/i386/fpu/e_powl.S (p78): New object.
36962 (__ieee754_powl): Saturate large exponents rather than testing for
36963 overflow of y*log2(x).
36964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36965 * math/libm-test.inc (pow_test): Do not permit spurious overflow
36969 * math/s_ctan.c: Include <float.h>.
36970 (__ctan): Avoid internal overflow or cancellation in calculating
36972 * math/s_ctanf.c: Likewise.
36973 * math/s_ctanl.c: Likewise.
36974 * math/s_ctanh.c: Likewise.
36975 * math/s_ctanhf.c: Likewise.
36976 * math/s_ctanhl.c: Likewise.
36977 * math/libm-test.inc (ctan_test): Add more tests.
36978 (ctanh_test): Likewise.
36979 * sysdeps/i386/fpu/libm-test-ulps: Update.
36980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36982 2012-04-09 Andreas Jaeger <aj@suse.de>
36985 * manual/filesys.texi (Directory Entries): Mention that d_namlen
36986 is an optional BSD extension.
36989 * manual/stdio.texi (Opening Streams): Document additional fopen
36992 2012-04-09 Roland McGrath <roland@hack.frob.com>
36994 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36995 %eax without telling the compiler.
36997 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37000 * manual/install.texi: Use sourceware.org.
37002 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37005 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37006 (__ieee754_pow): Generate overflow and underflow using huge*huge
37007 and tiny*tiny rather than just returning constant infinity or zero
37008 for large exponents.
37009 * math/libm-test.inc (pow_test): Require overflow exceptions for
37010 applicable cases of large exponents.
37013 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37014 (__ieee754_pow): Use iterative multiplication algorithm only for
37015 integer exponents with absolute value below 1024. Check for odd
37016 integer exponents when using algorithm for real exponents.
37017 * math/libm-test.inc (pow_test): Add more tests.
37018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37020 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37023 * math/libm-test.inc (exp_test): Do not allow overflow exception
37026 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37029 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37030 instead of __kernel_standard_f.
37032 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37034 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37035 * sysdeps/x86_64/memset_chk.S: Likewise.
37037 2012-04-08 Andreas Jaeger <aj@suse.de>
37040 * manual/startup.texi (Environment Access): Describe return value
37041 for putenv and setenv.
37044 * manual/filesys.texi (Directory Entries): Add description for
37048 * manual/filesys.texi (Directory Entries): Clarify that it's file
37049 system not operating system in the description of DT_UNKNOWN.
37052 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37054 2012-04-08 Stephen Compall <s11@member.fsf.org>
37057 * manual/llio.texi (Opening and Closing Files): Add cross
37058 reference to explain mode argument.
37060 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37062 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37063 * sysdeps/x86_64/memset_chk.S: Likewise.
37065 2012-04-07 David S. Miller <davem@davemloft.net>
37067 * elf/elf.h (R_SPARC_WDISP10): Define.
37068 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37071 R_SPARC_SIZE64 and R_SPARC_H34.
37073 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37075 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37076 conditions and remove no longer applicable assertion.
37078 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37080 * bits/byteswap.h: Include <features.h>.
37081 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37082 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37084 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37086 * bits/byteswap.h (__bswap_16): Removed.
37087 Include <bits/byteswap-16.h> to get __bswap_16.
37088 * sysdeps/i386/bits/byteswap.h: Likewise.
37089 * sysdeps/s390/bits/byteswap.h: Likewise.
37090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37091 * bits/byteswap-16.h: New file.
37092 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37093 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37094 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37095 * string/Makefile (headers): Add bits/byteswap-16.h.
37097 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37100 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37102 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37103 * nss/tst-nss-static.c: New.
37105 2012-04-06 Robert Millan <rmh@gnu.org>
37108 * manual/llio.texi (File Position Primitive): lseek
37109 refers to WHENCE when it really means OFFSET.
37111 2012-04-06 Andreas Jaeger <aj@suse.de>
37113 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37114 strncmp declarations.
37116 * abilist/libc.abilist: Add __poll and __ppoll.
37118 2012-04-05 David S. Miller <davem@davemloft.net>
37120 * scripts/check-local-headers.sh: Accept a host triplet in the
37121 path matched by the exclude regexp.
37123 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37125 * sysdeps/powerpc/powerpc32/dl-machine.h
37126 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37127 * sysdeps/s390/s390-32/dl-machine.h
37128 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37129 * sysdeps/sparc/sparc32/dl-machine.h
37130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37131 * sysdeps/sparc/sparc64/dl-machine.h
37132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37134 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37136 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37137 undefined symbol errors.
37139 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37142 2012-04-05 Michael Matz <matz@suse.de>
37145 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37147 2012-04-05 Andreas Jaeger <aj@suse.de>
37150 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37153 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37155 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37156 which ROUND is no valid rounding mode.
37158 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37160 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37162 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37164 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37166 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37167 an exception using FPU order intentionally.
37169 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37171 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37172 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37173 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37174 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37176 2012-04-05 Simon Josefsson <simon@josefsson.org>
37179 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37180 EINVAL when BUFLEN is too smal.
37182 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37185 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37186 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37188 2012-04-03 Andreas Jaeger <aj@suse.de>
37191 * manual/setjmp.texi (System V contexts): Fix sentence.
37194 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37195 New macro for this case.
37196 [!__GNUC__] (__bswap_64): New inline function for this case.
37197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37198 * bits/byteswap.h: Likewise.
37199 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37200 ull, guard with __GLIBC_HAVE_LONG_LONG.
37202 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37203 __GLIBC_HAVE_LONG_LONG.
37205 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37206 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37208 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37211 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37212 inptr and inend, rather than using last_ch.
37214 2012-04-02 David S. Miller <davem@davemloft.net>
37216 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37217 * stdio-common/printf-parse.h (read_int): Change return type to
37218 'int', return -1 on INT_MAX overflow.
37219 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37220 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37221 overflows INT_MAX. Check for overflow of in-format-string precision
37222 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37223 SIZE_MAX not INT_MAX for integer overflow test.
37224 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37225 skip the construct in the format string but do not record anything.
37226 * stdio-common/bug22.c: Adjust to test both width/prevision
37227 INT_MAX overflow as well as total length INT_MAX overflow. Check
37228 explicitly for proper errno values.
37230 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37232 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37234 * string/test-strcmp.c [! WIDE]: Likewise.
37235 * time/tst-mktime2.c: Likewise for INT_MAX.
37236 * string/test-string.h: #include <sys/param.h> for MIN.
37238 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37239 * sysdeps/i386/init-first.c (init): Likewise.
37240 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37241 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37242 * sysdeps/sh/init-first.c (init): Likewise.
37244 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37246 * po/ru.po: Update from translation team.
37247 * po/vi.po: Likewise.
37249 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37251 * resolv/nss_dns/dns-host.c: Merge copyright years.
37253 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37255 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37256 Optimize memcpy with prefetch if
37257 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37258 src, dst pointers have unequal 16 byte alignments.
37260 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37263 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37264 from a CNAME entry and return the minimum ttl for the query.
37265 (gaih_getanswer_slice): Likewise.
37267 2012-03-30 Jeff Law <law@redhat.com>
37269 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37271 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37272 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37274 * resolv/nss_dns/dns-host.c: Update copyright year.
37276 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37278 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37279 requests to save a system call. Fix check that all bytes are sent.
37281 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37282 comments for sendmmsg.
37284 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37287 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37288 with only 1 character between 0x0041 and 0x01b0.
37289 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37290 * wcsmbs/tst-mbsnrtowcs.c: New file.
37292 2012-03-29 David S. Miller <davem@davemloft.net>
37294 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37295 small copies by hand.
37297 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37300 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37301 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37304 2012-03-28 David S. Miller <davem@davemloft.net>
37306 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37307 that branches into memcpy.
37308 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37311 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37314 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37315 implementation too.
37316 * sysdeps/sparc/mempcpy.S: New file.
37318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37319 the IFUNC routine in the libc case.
37320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37322 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37323 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37324 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37325 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37326 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37327 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37328 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37329 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37331 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37332 loop to 256 bytes instead of 64 bytes and fix test signedness.
37334 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37335 * sysdeps/sparc/sparc32/Makefile: rather than here...
37336 * sysdeps/sparc/sparc64/Makefile: and here.
37338 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37340 * malloc/mallocbug.c: Avoid warnings about unused variables.
37342 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37345 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37346 in the right place. Discard and retry query if response is
37347 larger than input buffer size.
37349 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37354 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37355 x for large integer exponent.
37356 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37357 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37358 sign of result as needed afterwards.
37359 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37360 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37361 result for underflowing pow the same as for overflow.
37362 (__kernel_standard_l): Handle powl overflow and underflow here
37363 rather than calling __kernel_standard.
37364 * math/libm-test.inc (pow_test): Add more tests.
37379 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37380 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37381 (__kernel_standard_l): New function.
37382 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37384 * math/w_acosl.c (__acosl): Likewise.
37385 * math/w_asinl.c (__asinl): Likewise.
37386 * math/w_atan2l.c (__atan2l): Likewise.
37387 * math/w_atanhl.c (__atanhl): Likewise.
37388 * math/w_coshl.c (__coshl): Likewise.
37389 * math/w_exp10l.c (__exp10l): Likewise.
37390 * math/w_exp2l.c (__exp2l): Likewise.
37391 * math/w_fmodl.c (__fmodl): Likewise.
37392 * math/w_hypotl.c (__hypotl): Likewise.
37393 * math/w_j0l.c (__j0l, __y0l): Likewise.
37394 * math/w_j1l.c (__j1l, __y1l): Likewise.
37395 * math/w_jnl.c (__jnl, __ynl): Likewise.
37396 * math/w_lgammal.c (__lgammal): Likewise.
37397 * math/w_log10l.c (__log10l): Likewise.
37398 * math/w_log2l.c (__log2l): Likewise.
37399 * math/w_logl.c (__logl): Likewise.
37400 * math/w_powl.c (__powl): Likewise.
37401 * math/w_remainderl.c (__remainderl): Likewise.
37402 * math/w_scalbl.c (sysv_scalbl): Likewise.
37403 * math/w_sinhl.c (__sinhl): Likewise.
37404 * math/w_sqrtl.c (__sqrtl): Likewise.
37405 * math/w_tgammal.c (__tgammal): Likewise.
37406 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37407 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37408 * math/libm-test.inc (acos_test): Add more tests.
37409 (acosh_test): Likewise.
37410 (asin_test): Likewise.
37411 (atanh_test): Likewise.
37412 (exp_test): Likewise.
37413 (exp10_test): Likewise.
37414 (exp2_test): Likewise.
37415 (expm1_test): Likewise.
37416 (lgamma_test): Likewise.
37417 (log_test): Likewise.
37418 (log10_test): Likewise.
37419 (log1p_test): Likewise.
37420 (log2_test): Likewise.
37421 (pow_test): Do not allow some spurious overflow exceptions.
37422 (sqrt_test): Add more tests.
37423 (tgamma_test): Likewise.
37424 (y0_test): Likewise.
37425 (y1_test): Likewise.
37426 (yn_test): Likewise.
37428 2012-03-27 Anton Blanchard <anton@samba.org>
37430 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37432 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37433 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37434 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37436 2012-03-27 David S. Miller <davem@davemloft.net>
37438 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37440 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37441 have-as-vis3 check.
37443 2012-03-27 Andreas Jaeger <aj@suse.de>
37445 * sysdeps/x86_64/elf/configure.in: Moved to ...
37446 * sysdeps/x86_64/configure.in: ... here.
37447 * sysdeps/x86_64/elf/start.S: Moved to ...
37448 * sysdeps/x86_64/start.S: ... here.
37449 * sysdeps/x86_64/elf/configure: Delete.
37451 * sysdeps/x86_64/configure.in: Merge contents from
37452 sysdeps/i386/configure.in (without i686 check).
37454 * sysdeps/i386/elf/Versions: Merge into ...
37455 * sysdeps/i386/Versions: ... this.
37456 * sysdeps/i386/elf/Versions: Delete file.
37457 * sysdeps/i386/elf/start.S: Moved to ...
37458 * sysdeps/i386/start.S: ...here.
37459 * sysdeps/i386/elf/configure.in: Merge into...
37460 * sysdeps/i386/configure.in: ...here.
37461 * sysdeps/i386/elf/configure.in: Delete file.
37462 * sysdeps/i386/elf/configure: Delete file.
37464 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37465 * debug/backtracesyms.c: ... here.
37466 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37467 * debug/backtracesymsfd.c: ... here.
37468 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37469 * sysdeps/generic/ifunc-sel.h: ... here.
37471 * sysdeps/unix/i386/start.c: Delete file.
37472 * sysdeps/unix/sparc/start.c: Delete file.
37473 * sysdeps/unix/start.c: Delete file.
37475 * sysdeps/sh/elf/configure.in: Moved to ...
37476 * sysdeps/sh/configure.in: ... here.
37477 * sysdeps/sh/elf/start.S: Moved to ...
37478 * sysdeps/sh/start.S: ... here.
37479 * sysdeps/sh/elf/configure: Delete file.
37481 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37482 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37483 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37484 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37485 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37486 * sysdeps/powerpc/powerpc64/start.S: here.
37487 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37488 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37489 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37490 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37491 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37493 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37494 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37495 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37496 * sysdeps/powerpc/powerpc32/start.S: ... here.
37497 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37498 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37499 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37501 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37502 * sysdeps/powerpc/ifunc-sel.h: ... here.
37503 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37504 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37506 * sysdeps/sparc/elf/configure.in: Moved to ...
37507 * sysdeps/sparc/configure.in: ... here.
37508 * sysdeps/sparc/elf/configure: Delete file.
37509 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37510 * sysdeps/sparc/sparc32/start.S: ... here.
37511 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37512 * sysdeps/sparc/sparc64/start.S: ... here.
37513 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37514 * sysdeps/sparc/sparc32/Makefile: ... this.
37515 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37516 * sysdeps/sparc/sparc64/Makefile: ... this.
37518 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37519 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37520 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37521 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37522 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37523 * sysdeps/s390/s390-32/setjmp.S: ... here.
37524 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37525 * sysdeps/s390/s390-32/configure.in: ... here.
37526 * sysdeps/s390/s390-32/elf/configure: Delete file.
37527 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37528 * sysdeps/s390/s390-32/start.S: ... here.
37530 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37531 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37532 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37533 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37534 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37535 * sysdeps/s390/s390-64/setjmp.S: ... here.
37536 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37537 * sysdeps/s390/s390-64/configure.in: ... here
37538 * sysdeps/s390/s390-64/elf/configure: Delete file.
37539 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37540 * sysdeps/s390/s390-64/start.S: ... here.
37541 * sysdeps/s390/s390-64/elf/configure: Delete.
37543 * configure.in: Remove support for elf directories in sysdeps.
37545 * configure: Regenerated.
37546 * sysdeps/i386/configure: Regenerated.
37547 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37548 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37549 * sysdeps/s390/s390-32/configure: Regenerated.
37550 * sysdeps/s390/s390-64/configure: Regenerated.
37551 * sysdeps/sh/configure: Regenerated.
37552 * sysdeps/sparc/configure: Regenerated.
37553 * sysdeps/x86_64/configure: Regenerated.
37555 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37559 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37560 denormal result into account.
37562 2012-03-25 Roland McGrath <roland@hack.frob.com>
37564 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37565 Reported by Allan McRae <allan@archlinux.org>.
37567 2012-03-23 Jeff Law <law@redhat.com>
37569 * nss/getnssent.c (__nss_getent): Fix typo.
37571 2012-03-23 David S. Miller <davem@davemloft.net>
37573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37575 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37577 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37578 to pad to uint64_t for each field.
37579 (dl_tls_index): Replace unsigned long with uint64_t.
37581 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37582 Paul Pluzhnikov <ppluzhnikov@google.com>
37585 * grp/Makefile (otherlibs): Don't set it.
37586 * inet/Makefile (otherlibs): Likewise.
37587 * login/Makefile (otherlibs): Likewise.
37588 * nscd/Makefile (otherlibs): Likewise.
37589 * posix/Makefile (otherlibs): Likewise.
37590 * pwd/Makefile (otherlibs): Likewise.
37591 * rt/Makefile (otherlibs): Likewise.
37592 * sunrpc/Makefile (otherlibs): Likewise.
37593 * nss/Makefile (otherlibs): Likewise.
37594 Add libnss_files to routines and static-only-routines.
37595 ($(objpfx)getent): Remove rule.
37596 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37597 static-only-routines.
37599 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37602 * math/s_cexp.c: Include <float.h>.
37603 (__cexp): Handle exp result overflowing not necessarily
37604 overflowing both real and imaginary parts of result.
37605 * math/s_cexpf.c: Likewise.
37606 * math/s_cexpl.c: Likewise.
37607 * math/libm-test.inc (cexp_test): Add more tests.
37608 * sysdeps/i386/fpu/libm-test-ulps: Update.
37609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37611 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37613 * include/link.h (ELFW): New macro.
37614 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37615 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37617 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37619 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37622 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37624 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37626 (struct La_x32_retval): Likewise.
37628 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37630 * sysdeps/x86_64/preconfigure.in: New file.
37631 * sysdeps/x86_64/preconfigure: New generated file.
37633 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37636 * math/e_exp2l.c: Include <float.h>.
37637 (__ieee754_exp2l): Handle overflow and underflow cases
37638 separately. Only pass fractional part of argument to
37640 * math/libm-test.inc (exp2_test): Add more tests.
37642 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37643 negating x to take absolute value.
37644 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37646 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37647 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37649 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37650 computing low part if x was negated.
37651 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37653 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37655 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37656 la_x32_gnu_pltexit.
37657 (pltexit): Cast int_retval to ptrdiff_t.
37658 * elf/tst-auditmod3b.c: Likewise.
37659 * elf/tst-auditmod4b.c: Likewise.
37660 * elf/tst-auditmod5b.c: Likewise.
37661 * elf/tst-auditmod6b.c: Likewise.
37662 * elf/tst-auditmod6c.c: Likewise.
37663 * elf/tst-auditmod7b.c: Likewise.
37665 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37666 and x32_gnu_pltexit.
37668 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37669 __ELF_NATIVE_CLASS.
37670 (La_x32_regs): New macro.
37671 (La_x32_retval): Likewise.
37672 (la_x32_gnu_pltenter): New function prototype.
37673 (la_x32_gnu_pltexit): Likewise.
37675 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37682 * configure.in (libc_cv_cc_nofma): Check for option to disable
37683 generation of FMA instructions.
37684 * configure: Regenerate.
37685 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37686 * sysdeps/ieee754/dbl-64/Makefile: New file.
37687 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37688 Remove brandred-fma4.
37689 (CFLAGS-brandred-fma4.c): Remove.
37690 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37691 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37696 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37698 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37699 LLONG_MAX != LONG_MAX.
37700 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37701 (_fitoa_word): Likewise.
37702 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37703 LLONG_MAX != LONG_MAX.
37704 * stdio-common/_itowa.h: Include <_itoa.h>.
37705 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37706 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37707 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37708 only if not defined.
37709 (_ITOA_WORD_TYPE): Likewise.
37710 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37711 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37713 2012-03-21 David S. Miller <davem@davemloft.net>
37715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37717 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37719 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37720 of x86_64 when setting libc_cv_slibdir, libdir and
37722 * sysdeps/unix/sysv/linux/configure: Regenerated.
37724 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37726 * manual/lang.texi (Old Varargs): Remove section.
37727 (How Variadic): Update menu.
37728 (va_start): Do not mention varargs.h.
37730 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37731 Joseph Myers <joseph@codesourcery.com>
37733 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37735 * configure: Regenerated.
37737 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37739 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37740 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37743 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37746 * Makefile (files-for-dist): Remove NOTES.
37747 (NOTES): Remove rule.
37748 * README: Don't refer to NOTES.
37749 * manual/creature.texi: Don't include macros.texi.
37750 * manual/intro.texi (creature.texi): Remove comment referring to
37753 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37754 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37755 * configure: Regenerated.
37756 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37757 LIBC_TRY_CC_OPTION.
37758 (libc_cv_as_i686): Likewise.
37759 (libc_cv_cc_avx): Likewise.
37760 (libc_cv_cc_sse2avx): Likewise.
37761 (libc_cv_cc_fma4): Likewise.
37762 (libc_cv_cc_novzeroupper): Likewise.
37763 * sysdeps/i386/configure: Regenerated.
37766 * sysdeps/i386/fpu/s_cexp.S: Remove.
37767 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37768 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37769 * math/libm-test.inc (cexp_test): Add more tests.
37770 * sysdeps/i386/fpu/libm-test-ulps: Update.
37771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37773 2012-03-21 Allan McRae <allan@archlinux.org>
37775 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37777 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37780 * math/w_exp2.c: Do not include <float.h>.
37781 (o_threshold, u_threshold): Remove.
37782 (__exp2): Calculate result before checking finiteness and calling
37784 * math/w_exp2f.c: Likewise.
37785 * math/w_exp2l.c: Likewise.
37786 * math/libm-test.inc (exp2_test): Require overflow exception for
37790 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37791 range of signed 64-bit integers before using fistpll. Remove
37792 checks for whether integers fit in mantissa bits.
37793 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37794 the range of signed 32-bit integers before using fistpl. Remove
37795 checks for whether integers fit in mantissa bits.
37796 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37797 (__ieee754_powl): Test for y outside the range of signed 64-bit
37798 integers before using fistpll. Reduce 64-bit values to 63-bit
37800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37801 divide-by-zero is raised for zero to large negative powers.
37802 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37803 (__ieee754_powl): Test for y outside the range of signed 64-bit
37804 integers before using fistpll. Reduce 64-bit values to 63-bit
37806 * math/libm-test.inc (pow_test): Add more tests.
37808 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37810 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37811 <stdio-common/_itoa.h>.
37812 * debug/segfault.c: Likewise.
37813 * elf/dl-cache.c: Likewise.
37814 * elf/dl-minimal.c: Likewise.
37815 * elf/dl-misc.c: Likewise.
37816 * elf/dl-sysdep.c: Likewise.
37817 * elf/dl-version.c: Likewise.
37818 * elf/rtld.c: Likewise.
37819 * hurd/hurdsock.c: Likewise.
37820 * hurd/lookup-retry.c: Likewise.
37821 * malloc/malloc.c: Likewise.
37822 * malloc/mtrace.c: Likewise.
37823 * nscd/nscd_getgr_r.c: Likewise.
37824 * nscd/nscd_getpw_r.c: Likewise.
37825 * nscd/nscd_getserv_r.c: Likewise.
37826 * posix/getopt_init.c: Likewise.
37827 * posix/wordexp.c: Likewise.
37828 * stdio-common/_itoa.c: Likewise.
37829 * stdio-common/printf_fphex.c: Likewise.
37830 * stdio-common/vfprintf.c: Likewise.
37831 * string/_strerror.c: Likewise.
37832 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37833 * sysdeps/i386/i686/hp-timing.h: Likewise.
37834 * sysdeps/mach/_strerror.c: Likewise.
37835 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37836 * sysdeps/mach/hurd/sethostid.c: Likewise.
37837 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37838 * sysdeps/mach/xpg-strerror.c: Likewise.
37839 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37840 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37841 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37842 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37843 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37844 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37845 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37846 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37847 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37848 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37849 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37850 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37851 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37852 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37853 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37854 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37855 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37856 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37857 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37858 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37859 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37861 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37863 * stdio-common/_itoa.h: Moved to ...
37864 * sysdeps/generic/_itoa.h: Here.
37866 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37868 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37869 instead of "_itoa.h" and "_itowa.h".
37870 * stdio-common/vfprintf.: Likewise.
37872 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37874 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37876 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37877 (__signbit): Likwise.
37878 (llrintf): Likwise.
37881 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37883 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37886 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37888 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37889 OVERFLOW_EXCEPTION_OK.
37890 * math/libm-test.inc ("Philosophy"): Update comment about
37892 (OVERFLOW_EXCEPTION): Define.
37893 (OVERFLOW_EXCEPTION_OK): Likewise.
37894 (INVALID_EXCEPTION_OK): Renumber.
37895 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37896 (IGNORE_ZERO_INF_SIGN): Likewise.
37897 (test_exceptions): Handle FE_OVERFLOW.
37898 (exp10_test): Expect overflow exceptions.
37899 (exp2_test): Likewise.
37900 (expm1_test): Likewise.
37901 (nextafter_test): Likewise.
37902 (pow_test): Likewise.
37903 (scalbn_test): Likewise.
37904 (scalbln_test): Likewise.
37906 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37908 * sysdeps/x86_64/bits/atomic.h
37909 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37911 (atomic_exchange_acq): Likewise.
37912 (__arch_exchange_and_add_body): Likewise.
37913 (__arch_add_body): Likewise.
37914 (atomic_add_negative): Likewise.
37915 (atomic_add_zero): Likewise.
37917 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37919 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37920 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37922 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37924 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37925 Check __x86_64__ instead of __WORDSIZE.
37927 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37929 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37931 2012-03-19 David S. Miller <davem@davemloft.net>
37933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37935 * sysdeps/sparc/fpu/fenv_private.h: New file.
37936 * sysdeps/sparc/fpu/math_private.h: Use it.
37937 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37939 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37940 (libc_feholdexcept_setroundl): Remove.
37941 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37943 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37944 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37946 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37948 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37949 int64_t instead of long int.
37950 (INSERT_WORDS64): Likwise.
37952 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37954 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37955 _Unwind_GetCFA return to _Unwind_Ptr first.
37957 2012-03-19 Joseph Myers <joseph@codesourcery.com>
37960 * math/s_clog.c: Include <float.h>.
37961 (__clog): Scale large or subnormal inputs.
37962 * math/s_clogf.c: Likewise.
37963 * math/s_clogl.c: Likewise.
37964 * math/s_clog10.c: Include <float.h>.
37965 (M_LOG10_2): Define.
37966 (__clog10): Scale large or subnormal inputs.
37967 * math/s_clog10f.c: Likewise.
37968 * math/s_clog10l.c: Likewise.
37969 * math/libm-test.inc (clog_test): Add more tests.
37970 (clog10_test): Likewise.
37971 * sysdeps/i386/fpu/libm-test-ulps: Update.
37972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37975 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37977 * math/libm-test.inc (atan2_test): Add another test.
37979 * Makerules (common-objdir-compile): Remove.
37980 * sysdeps/unix/Makefile (config-generated): Do not add
37981 $(unix-generated) to variable.
37982 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37983 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37985 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37987 [generic bits/local_lim.h] (before-compile): Do not append to
37989 [generic bits/local_lim.h] (common-generated): Likewise.
37990 [generic sys/param.h] (before-compile): Do not append to variable.
37991 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37992 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37993 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37994 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37996 [generic sys/param.h] (sys/param.h-includes): Remove variable.
37997 [generic sys/param.h] (sys/param.h-includes): Remove rule.
37998 [generic sys/param.h] ($(addprefix
37999 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38000 [generic sys/param.h] (common-generated): Do not append to
38002 [generic sys/param.h] (sysdep_headers): Likewise.
38003 [generic bits/errno.h] (before-compile): Do not append to
38005 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38007 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38008 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38009 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38010 [generic bits/errno.h] (common-generated): Do not append to
38012 [generic bits/ioctls.h] (before-compile): Do not append to
38014 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38016 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38017 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38018 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38020 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38021 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38022 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38023 [generic bits/ioctls.h] (common-generated): Do not append to
38025 [generic sys/syscall.h] (syscall.h): Remove variable.
38026 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38028 [generic sys/syscall.h] (before-compile): Do not append to
38030 [generic sys/syscall.h] (common-generated): Likewise.
38031 * sysdeps/unix/errnos-tmpl.c: Remove file.
38032 * sysdeps/unix/errnos.awk: Likewise.
38033 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38034 * sysdeps/unix/ioctls.awk: Likewise.
38035 * sysdeps/unix/mk-local_lim.c: Likewise.
38036 * sysdeps/unix/snarf-ioctls: Likewise.
38038 2012-03-19 Richard Henderson <rth@twiddle.net>
38040 * sysdeps/i386/fpu/fenv_private.h: New file.
38041 * sysdeps/i386/fpu/math_private.h: Use it.
38042 (math_opt_barrier, math_force_eval): Remove.
38043 (libc_feholdexcept_setround_53bit): Remove.
38044 (libc_feupdateenv_53bit): Remove.
38045 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38046 (math_opt_barrier, math_force_eval): Remove.
38047 (libc_feholdexcept): Remove.
38048 (libc_feholdexcept_setround): Remove.
38049 (libc_fetestexcept, libc_fesetenv): Remove.
38050 (libc_feupdateenv_test): Remove.
38051 (libc_feupdateenv, libc_feholdsetround): Remove.
38052 (libc_feresetround): Remove.
38054 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38055 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38057 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38058 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38059 (libc_feupdateenv_testl): New.
38060 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38061 (libc_feupdateenv_testf): New.
38062 (libc_feupdateenv): Use libc_feupdateenv_test.
38063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38064 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38066 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38067 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38068 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38069 (libc_feresetround_noex): New.
38070 (libc_feresetround_noexf): New.
38071 (libc_feresetround_noexl): New.
38072 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38073 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38074 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38075 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38078 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38080 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38081 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38082 SET_RESTORE_ROUND_NOEX.
38083 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38084 SET_RESTORE_ROUND_NOEXF.
38085 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38086 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38087 (libc_feholdsetroundf): New.
38088 (libc_feresetround, libc_feresetroundf): New.
38090 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38091 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38092 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38094 * sysdeps/generic/math_private.h: Include <fenv.h>.
38095 (default_libc_feholdexcept): New.
38096 (default_libc_feholdexcept_setround): New.
38097 (default_libc_fesetenv, default_libc_feupdateenv): New.
38098 (libc_feholdexcept): Only define if undefined.
38099 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38100 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38101 (libc_feholdexcept_setroundl): Likewise.
38102 (libc_feholdexcept_setround_53bit): Likewise.
38103 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38104 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38105 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38106 (libc_feupdateenv_53bit): Likewise.
38107 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38108 (libc_feholdexcept): Convert from macro to inline function.
38109 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38110 (libc_fesetenv, libc_feupdateenv): Likewise.
38112 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38113 not previously defined.
38114 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38115 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38116 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38117 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38118 * sysdeps/ieee754/flt-32/math_private.h: New file.
38119 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38120 math_private.h below SET_FLOAT_WORD.
38121 (__isnan, __isinf_ns, __finite): Remove.
38122 (__isnanf, __isinf_nsf, __finitef): Remove.
38124 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38128 2012-03-17 David S. Miller <davem@davemloft.net>
38131 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38134 2012-03-16 David S. Miller <davem@davemloft.net>
38136 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38140 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38142 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38143 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38144 sysdep_routines when subdir is sysvipc.
38145 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38146 __getshmlba helper.
38148 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38150 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38152 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38155 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38157 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38158 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38159 (__lround): Renamed to ...
38160 (__llround): This. Replace long int with long long int.
38161 Define lround functions as aliases of llround functions.
38162 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38164 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38166 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38167 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38168 adresses to uintptr_t. Replace "long int" and "unsigned long
38169 int" with "greg_t" on va_arg.
38171 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38173 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38174 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38176 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38177 Move e_machine check before EI_CLASS check. Handle x32
38178 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38179 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38180 SKIP_EM_IA_64 and include
38181 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38183 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38184 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38185 (add_system_dir): New macro.
38187 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38188 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38190 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38201 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38203 * math/w_j0f.c (j0f): Likewise.
38205 * math/w_j0l.c (__j0l): Likewise.
38207 * math/w_j1.c (j1): Likewise.
38209 * math/w_j1f.c (j1f): Likewise.
38211 * math/w_j1l.c (__j1l): Likewise.
38213 * math/w_jn.c (jn): Likewise.
38215 * math/w_jnf.c (jnf): Likewise.
38217 * math/w_jnl.c (__jnl): Likewise.
38219 * math/libm-test.inc (j0_test): Add more tests.
38220 (j1_test): Likewise.
38221 (jn_test): Likewise. Add trailing semicolon to existing test.
38222 (y0_test): Likewise.
38223 (y1_test): Likewise.
38224 * sysdeps/i386/fpu/libm-test-ulps: Update.
38225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38229 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38230 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38231 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38232 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38233 (__tanl): Set errno for infinite argument.
38234 * sysdeps/i386/fpu/mptan.c: Remove.
38235 * sysdeps/i386/fpu/s_tan.S: Likewise.
38236 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38237 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38238 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38239 * math/libm-test.inc (tan_test): Add more tests and enable more
38240 tests for double and long double.
38241 * sysdeps/i386/fpu/libm-test-ulps: Update.
38242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38244 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38246 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38247 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38249 2012-03-16 Roland McGrath <roland@hack.frob.com>
38251 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38252 * configure.in: Use it for both main tree and add-ons.
38253 * configure: Regenerated.
38255 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38257 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38259 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38261 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38265 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38266 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38267 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38268 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38269 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38271 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38272 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38273 != 0 for prec == 2.
38274 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38275 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38276 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38277 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38278 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38279 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38280 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38281 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38282 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38283 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38284 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38285 * math/libm-test.inc (cos_test): Add more tests and enable more
38286 tests for long double.
38287 (sin_test): Likewise.
38288 (sincos_test): Likewise.
38289 * sysdeps/i386/fpu/libm-test-ulps: Update.
38290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38292 2012-03-16 David S. Miller <davem@davemloft.net>
38294 * sysdeps/sparc/fpu/math_private.h: New file.
38296 2012-03-15 David S. Miller <davem@davemloft.net>
38298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38312 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38313 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38315 * sysdeps/sparc/sparc-ifunc.h: New file.
38316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38354 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38355 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38357 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38361 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38363 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38367 2012-03-15 Andreas Jaeger <aj@suse.de>
38370 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38371 ieee754/flt-32 implementation for sin, cos and sincos.
38372 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38373 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38374 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38375 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38376 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38377 ieee754/flt-32 implementation for tan.
38379 * math/libm-test.inc (cos_test): Enable some large input tests for
38381 (sin_test): Likewise.
38382 (sincos_test): Likewise.
38383 (tan_test): Add tests for large input.
38385 * sysdeps/i386/fpu/libm-test-ulps: Update.
38387 2012-03-15 Andreas Jaeger <aj@suse.de>
38390 * math/libm-test.inc (cos_test): Add more test cases.
38391 (sin_test): Likewise.
38392 (sincos_test): Likewise.
38394 2012-03-15 Andreas Jaeger <aj@suse.de>
38397 * math/libm-test.inc (cos_test): Add a test case for large input
38399 (sin_test): Likewise.
38400 (sincos_test): Likewise.
38402 2012-03-15 Andreas Jaeger <aj@suse.de>
38403 Joseph Myers <joseph@codesourcery.com>
38406 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38407 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38408 * sysdeps/i386/fpu/branred.c: Likewise.
38409 * sysdeps/i386/fpu/dosincos.c: Likewise.
38410 * sysdeps/i386/fpu/mpa.c: Likewise.
38411 * sysdeps/i386/fpu/s_cos.S: Likewise.
38412 * sysdeps/i386/fpu/s_sin.S: Likewise.
38413 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38414 * sysdeps/i386/fpu/sincos32.c: Likewise.
38416 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38418 (libc_feupdateenv_53bit): Define.
38419 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38421 (libc_feupdateenv_53bit): Define.
38423 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38424 53 bit (without extend i386 double precision).
38426 * math/libm-test.inc (sincos_test): Add tests for large input.
38430 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38432 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38436 2012-03-15 David S. Miller <davem@davemloft.net>
38438 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38439 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38440 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38441 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38466 fmin/fmax sysdep routines.
38467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38469 2012-03-14 David S. Miller <davem@davemloft.net>
38471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38476 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38492 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38543 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38548 * sysdeps/sparc/configure.in: New file.
38549 * sysdeps/sparc/configure: Generate.
38550 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38551 * configure: Regenerate.
38552 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38553 * config.make.in (have-as-vis3): New.
38554 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38555 available use -Av9d instead of -Av9a.
38556 * sysdeps/sparc/sparc64/Makefile: Likewise.
38557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38566 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38572 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38573 fzeros/fnegs to load 0x80000000 into a float register instead of
38575 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38577 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38579 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38581 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38582 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38583 ($(inst_includedir)/bits/syscall.h): Remove rule.
38584 ($(objpfx)bits/syscall.d): Include instead of
38585 $(objpfx)syscall-list.d.
38586 (generated): Change syscall-list.h and syscall-list.d to
38587 bits/syscall.h and bits/syscall.d.
38589 2012-03-14 Roland McGrath <roland@hack.frob.com>
38592 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38594 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38597 * math/s_csqrt.c: Include <float.h>.
38598 (__csqrt): Scale large or subnormal inputs.
38599 * math/s_csqrtf.c: Likewise.
38600 * math/s_csqrtl.c: Likewise.
38601 * math/libm-test.inc (csqrt_test): Add more tests.
38602 * sysdeps/i386/fpu/libm-test-ulps: Update.
38603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38606 * math/libm-test.inc (hypot_test): Add more tests.
38608 2012-03-13 David S. Miller <davem@davemloft.net>
38611 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38612 double-precision for the calculation instead of scaling.
38614 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38616 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38617 manipulate bits before adding and subtracting TWO52[sx].
38618 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38623 2012-03-13 David S. Miller <davem@davemloft.net>
38625 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38626 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38628 rtld-global-offsets.h
38629 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38631 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38634 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38636 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38637 'err' in the ifdef scope in which it is actually used.
38639 * nss/nss_db/db-init.c: Include string.h
38641 2012-03-12 David S. Miller <davem@davemloft.net>
38643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38644 masking out of the most significant byte of random value used.
38645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38646 Fix coding style in previous change.
38648 * sysdeps/unix/sysv/linux/kernel-features.h
38649 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38650 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38652 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38655 2012-03-11 David S. Miller <davem@davemloft.net>
38657 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38658 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38659 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38660 for 'resultvar' otherwise things get truncated on 64-bit.
38662 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38663 Fix masking out of the most significant byte of random value used.
38665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38667 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38671 2012-03-09 David S. Miller <davem@davemloft.net>
38673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38674 variables with appropriate CPP guards.
38675 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38676 from the frame pointer, not the stack pointer. Correct layout
38677 comments. Fix test on resulting framesize and the management of
38678 the outregs buffer for pltexit. Preserve floating point return
38679 values across _dl_call_pltexit call.
38680 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38681 framesize and the management of the outregs buffer for pltexit.
38682 Preserve floating point return values across _dl_call_pltexit
38684 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38685 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38686 (la_sparc64_gnu_pltexit): New functions.
38687 (print_exit): Fix format string for return register value.
38689 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38691 * sunrpc/Makefile (others): Add rpcgen.
38692 ($(objpfx)rpcgen): Remove special build rule and dependency on
38694 * sunrpc/rpcgen.c: New file.
38696 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38699 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38700 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38701 * sysdeps/i386/crti.S: Likewise.
38702 * sysdeps/i386/crtn.S: Likewise.
38703 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38704 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38705 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38706 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38707 * sysdeps/sh/crti.S: Likewise.
38708 * sysdeps/sh/crtn.S: Likewise.
38709 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38712 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38714 * locale/programs/locfile-kw.gperf: Likewise.
38715 * locale/programs/charmap-kw.h: Regenerated.
38716 * locale/programs/locfile-kw.h: Likewise.
38719 * intl/plural.y: Replace FSF snail mail address with URL.
38720 * intl/plural.c: Regenerated.
38722 2012-03-09 Richard Henderson <rth@twiddle.net>
38724 * include/math_private.h: Remove file.
38725 * math/math_private.h: Move file ...
38726 * sysdeps/generic/math_private.h: ... here.
38728 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38729 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38732 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38733 and <math_private.h>.
38734 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38735 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38736 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38737 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38738 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38739 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38766 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38774 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38776 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38777 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38778 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38780 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38781 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38783 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38784 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38785 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38786 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38788 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38789 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38793 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38798 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38802 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38806 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38821 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38822 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38825 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38827 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38828 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38829 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38830 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38834 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38835 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38836 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38837 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38839 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38840 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38841 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38842 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38844 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38845 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38846 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38847 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38848 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38850 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38851 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38855 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38857 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38861 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38862 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38863 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38864 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38867 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38868 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38870 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38872 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38875 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38877 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38878 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38879 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38880 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38881 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38882 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38883 * sysdeps/ieee754/k_standard.c: Likewise.
38884 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38885 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38886 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38887 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38888 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38889 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38890 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38901 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38902 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38903 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38904 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38905 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38906 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38907 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38909 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38918 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38921 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38922 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38923 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38927 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38928 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38929 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38935 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38937 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38940 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38941 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38942 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38943 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38944 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38947 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38948 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38950 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38956 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38957 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38966 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38983 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39004 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39006 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39021 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39023 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39024 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39025 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39033 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39044 * sysdeps/ieee754/s_lib_version.c: Likewise.
39045 * sysdeps/ieee754/s_matherr.c: Likewise.
39046 * sysdeps/ieee754/s_signgam.c: Likewise.
39047 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39050 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39052 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39053 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39054 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39055 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39056 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39057 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39058 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39059 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39061 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39064 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39069 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39071 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39072 * sunrpc/rpc_main.c: Likewise.
39073 * sunrpc/rpc_svcout.c: Likewise.
39075 2012-03-09 David S. Miller <davem@davemloft.net>
39077 * include/math_private.h: New file.
39079 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39081 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39082 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39083 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39084 from <bits/socket_type.h>.
39085 (enum __socket_type): Don't define here.
39086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39088 bits/socket_type.h.
39091 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39092 checking __USE_GNU.
39094 * Makerules ($(inst_includedir)/%.h): New rule.
39095 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39096 (install-others): Remove variable setting.
39097 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39099 2012-03-08 Richard Henderson <rth@twiddle.net>
39101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39102 from macro to inline function; merge with the
39103 !__LIBC_INTERNAL_MATH_INLINES version.
39104 (__ieee754_sqrtf): Likewise.
39106 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39107 to inline function.
39108 (__rintf, __floor, __floorf): Likewise.
39110 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39111 macro to inline function.
39112 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39115 not <math/math_private.h>.
39117 2012-03-08 David S. Miller <davem@davemloft.net>
39119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39121 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39123 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39125 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39127 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39128 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39130 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39132 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39133 be defined individually, they must be defined as a block. Define
39134 S for printing a string instead of hidint the different by using a
39135 macro for adding the 'l'.
39136 * stdio-common/tst-fphex-wide.c: Adjust.
39138 2012-03-07 Marek Polacek <polacek@redhat.com>
39140 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39142 2012-03-08 Marek Polacek <polacek@redhat.com>
39145 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39146 * stdio-common/tst-fphex.c: Define a few macros to make the
39147 test reusable. Use them.
39148 * stdio-common/tst-fphex-wide.c: New file.
39150 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39153 * manual/macros.texi (gnusystems): New macro.
39154 (nongnusystems): Likewise.
39155 (gnulinuxhurdsystems): Likewise.
39156 (gnuhurdsystems): Likewise..
39157 (gnulinuxsystems): Likewise.
39158 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39159 variants of the GNU system, not "GNU system".
39160 * manual/conf.texi: Likewise.
39161 * manual/errno.texi: Likewise. Update example of errno macro
39163 * manual/filesys.texi: Likewise.
39164 (getumask): Document as specific to GNU/Hurd.
39165 * manual/install.texi: Likewise. Reword some references to
39167 * manual/intro.texi: Likewise.
39168 * manual/io.texi: Likewise.
39169 (File Name Portability): Detail which constraints are inapplicable
39170 to all GNU systems and which are only inapplicable to GNU/Hurd.
39171 * manual/job.texi: Likewise.
39172 * manual/llio.texi: Likewise.
39173 (O_NOCTTY): Document as present on GNU/Linux.
39174 * manual/maint.texi: Likewise.
39175 * manual/memory.texi: Likewise.
39176 * manual/pattern.texi: Likewise.
39177 * manual/pipe.texi: Likewise.
39178 * manual/process.texi: Likewise.
39179 * manual/resource.texi: Likewise.
39180 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39182 * manual/setjmp.texi: Likewise.
39183 * manual/signal.texi: Likewise.
39184 * manual/startup.texi: Likewise.
39185 * manual/stdio.texi: Likewise.
39186 * manual/terminal.texi: Likewise.
39187 (ONLCR): Document as POSIX.
39188 (OXTABS): Document availability on GNU/Linux as XTABS.
39189 (ONOEOT): Document availability separately from other bits.
39190 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39191 * manual/time.texi: Likewise.
39192 * manual/users.texi: Likewise.
39193 * INSTALL: Regenerated.
39194 * sysdeps/gnu/errlist.c: Regenerated.
39196 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39197 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39198 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39200 * configure: Regenerated.
39202 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39204 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39205 default includes instead of AC_HEADER_CHECK.
39206 * sysdeps/i386/configure: Regenerated.
39209 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39210 * math/s_cacoshf.c (__cacoshf): Likewise.
39211 * math/s_cacoshl.c (__cacoshl): Likewise.
39212 * math/s_casinh.c (__casinh): Set signs of result from argument.
39213 * math/s_casinhf.c (__casinhf): Likewise.
39214 * math/s_casinhl.c (__casinhl): Likewise.
39215 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39216 (casinh_test): Add more tests.
39217 * sysdeps/i386/fpu/libm-test-ulps: Update.
39218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39220 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39222 * po/zh_TW.po: Update from translation team.
39224 * login/Makefile (distribute): Remove variable.
39225 * catgets/Makefile: Likewise.
39226 * mach/Makefile: Likewise.
39227 * malloc/Makefile: Likewise.
39228 * misc/Makefile: Likewise.
39229 * iconv/Makefile: Likewise.
39230 * nscd/Makefile: Likewise.
39231 * hurd/Makefile: Likewise.
39232 * manual/Makefile: Likewise.
39233 * locale/Makefile: Likewise.
39234 * intl/Makefile: Likewise.
39235 * conform/Makefile: Likewise.
39236 * nss/Makefile: Likewise.
39237 * time/Makefile: Likewise.
39238 * soft-fp/Makefile: Likewise.
39239 * dirent/Makefile: Likewise.
39240 * gmon/Makefile: Likewise.
39241 * po/Makefile: Likewise.
39242 * rt/Makefile: Likewise.
39243 * socket/Makefile: Likewise.
39244 * math/Makefile: Likewise.
39245 * signal/Makefile: Likewise.
39246 * debug/Makefile: Likewise.
39247 * elf/Makefile: Likewise.
39248 * timezone/Makefile: Likewise.
39249 * stdlib/Makefile: Likewise.
39250 * iconvdata/Makefile: Likewise.
39251 * sunrpc/Makefile: Likewise.
39252 * io/Makefile: Likewise.
39253 * argp/Makefile: Likewise.
39254 * inet/Makefile: Likewise.
39255 * hesiod/Makefile: Likewise.
39256 * grp/Makefile: Likewise.
39257 * csu/Makefile: Likewise.
39258 * wctype/Makefile: Likewise.
39259 * crypt/Makefile: Likewise.
39260 * libio/Makefile: Likewise.
39261 * string/Makefile: Likewise.
39262 * nis/Makefile: Likewise.
39263 * resolv/Makefile: Likewise.
39264 * stdio-common/Makefile: Likewise.
39265 * wcsmbs/Makefile: Likewise.
39266 * dlfcn/Makefile: Likewise.
39267 * posix/Makefile: Likewise.
39270 * timezone/Makefile: Don't install timezone files, just the programs
39273 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39275 * nss/databases.def: Add missing gshadow entry.
39277 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39279 2012-03-06 Marek Polacek <polacek@redhat.com>
39282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39283 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39284 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39285 * stdio-common/tst-long-dbl-fphex.c: New file.
39287 2012-03-06 David S. Miller <davem@davemloft.net>
39289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39290 (set_obp_int): New function.
39291 (get_obp_int): New function.
39292 (__get_clockfreq_via_dev_openprom): Likewise.
39293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39294 Avoid unused variable warnings on 'val' and use builtin_expect.
39295 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39297 (INLINE_CLONE_SYSCALL): Likewise.
39299 2012-03-05 David S. Miller <davem@davemloft.net>
39301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39303 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39308 only for |x| >= 40.
39309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39311 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39314 Replace gettimeofday with __vdso_gettimeofday.
39316 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39317 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39318 __vdso_clock_gettime and __vdso_getcpu.
39320 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39321 time with __vdso_time.
39323 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39325 * manual/lang.texi (size_t): Note types to which size_t may be
39326 equivalent with the GNU C Library, but do not describe when
39327 differences between them are significant.
39329 2012-03-05 Andreas Jaeger <aj@suse.de>
39331 * sysdeps/i386/fpu/libm-test-ulps: Update.
39333 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39336 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39337 (__ieee754_pow): Save and restore rounding mode and use
39338 round-to-nearest for main computations.
39339 * math/libm-test.inc (pow_test_tonearest): New function.
39340 (pow_test_towardzero): Likewise.
39341 (pow_test_downward): Likewise.
39342 (pow_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.
39348 * math/libm-test.inc (cosh_test_tonearest): New function.
39349 (cosh_test_towardzero): Likewise.
39350 (cosh_test_downward): Likewise.
39351 (cosh_test_upward): Likewise.
39352 (sinh_test_tonearest): Likewise.
39353 (sinh_test_towardzero): Likewise.
39354 (sinh_test_downward): Likewise.
39355 (sinh_test_upward): Likewise.
39356 (main): Call the new functions.
39357 * sysdeps/i386/fpu/libm-test-ulps: Update.
39358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39360 2012-03-05 Tom de Vries <tom@codesourcery.com>
39362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39363 default stack guard is set in last bytes.
39364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39366 2012-03-05 Kees Cook <keescook@chromium.org>
39368 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39371 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39372 possibly allocate from heap instead of stack.
39373 * stdio-common/bug-vfprintf-nargs.c: New file.
39374 * stdio-common/Makefile (tests): Add nargs overflow test.
39376 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39380 2012-03-03 Marek Polacek <polacek@redhat.com>
39382 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39383 * math/math_private.h: Likewise.
39384 * stdlib/tst-strtod.c: Likewise.
39385 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39386 * sysdeps/x86_64/bits/atomic.h: Likewise.
39388 2012-03-02 David S. Miller <davem@davemloft.net>
39390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39394 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39395 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39396 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39397 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39399 2012-03-02 Roland McGrath <roland@hack.frob.com>
39402 * manual/examples/README: New file, says the example source files
39403 can be used under GPL>=2.
39404 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39405 line containing just "*/".
39406 * manual/examples/add.c: Add copyright header (GPL>=2).
39407 * manual/examples/argp-ex1.c: Likewise.
39408 * manual/examples/argp-ex2.c: Likewise.
39409 * manual/examples/argp-ex3.c: Likewise.
39410 * manual/examples/argp-ex4.c: Likewise.
39411 * manual/examples/atexit.c: Likewise.
39412 * manual/examples/db.c: Likewise.
39413 * manual/examples/dir.c: Likewise.
39414 * manual/examples/dir2.c: Likewise.
39415 * manual/examples/execinfo.c: Likewise.
39416 * manual/examples/filecli.c: Likewise.
39417 * manual/examples/filesrv.c: Likewise.
39418 * manual/examples/fmtmsgexpl.c: Likewise.
39419 * manual/examples/genpass.c: Likewise.
39420 * manual/examples/inetcli.c: Likewise.
39421 * manual/examples/inetsrv.c: Likewise.
39422 * manual/examples/isockad.c: Likewise.
39423 * manual/examples/longopt.c: Likewise.
39424 * manual/examples/memopen.c: Likewise.
39425 * manual/examples/memstrm.c: Likewise.
39426 * manual/examples/mkfsock.c: Likewise.
39427 * manual/examples/mkisock.c: Likewise.
39428 * manual/examples/mygetpass.c: Likewise.
39429 * manual/examples/pipe.c: Likewise.
39430 * manual/examples/popen.c: Likewise.
39431 * manual/examples/rprintf.c: Likewise.
39432 * manual/examples/search.c: Likewise.
39433 * manual/examples/select.c: Likewise.
39434 * manual/examples/setjmp.c: Likewise.
39435 * manual/examples/sigh1.c: Likewise.
39436 * manual/examples/sigusr.c: Likewise.
39437 * manual/examples/stpcpy.c: Likewise.
39438 * manual/examples/strdupa.c: Likewise.
39439 * manual/examples/strftim.c: Likewise.
39440 * manual/examples/strncat.c: Likewise.
39441 * manual/examples/subopt.c: Likewise.
39442 * manual/examples/swapcontext.c: Likewise.
39443 * manual/examples/termios.c: Likewise.
39444 * manual/examples/testopt.c: Likewise.
39445 * manual/examples/testpass.c: Likewise.
39446 * manual/examples/timeval_subtract.c: Likewise.
39449 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39451 * manual/timeval_subtract.c.texi: ... here, new file.
39453 2012-03-02 David S. Miller <davem@davemloft.net>
39455 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39457 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39460 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39461 (__sin): Save and restore rounding mode and use round-to-nearest
39462 for all computations.
39463 (__cos): Save and restore rounding mode and use round-to-nearest
39464 for all computations.
39465 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39467 (tan): Save and restore rounding mode and use round-to-nearest for
39469 * math/libm-test.inc (cos_test_tonearest): New function.
39470 (cos_test_towardzero): Likewise.
39471 (cos_test_downward): Likewise.
39472 (cos_test_upward): Likewise.
39473 (sin_test_tonearest): Likewise.
39474 (sin_test_towardzero): Likewise.
39475 (sin_test_downward): Likewise.
39476 (sin_test_upward): Likewise.
39477 (tan_test_tonearest): Likewise.
39478 (tan_test_towardzero): Likewise.
39479 (tan_test_downward): Likewise.
39480 (tan_test_upward): Likewise.
39481 (main): Call the new functions.
39482 * sysdeps/i386/fpu/libm-test-ulps: Update.
39483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39487 small n, then large n, before computing and testing k+n.
39488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39493 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39494 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39501 * math/libm-test.inc (scalbn_test): Add more tests.
39502 (scalbln_test): Likewise.
39504 * manual/filesys.texi (mode_t): Describe constraints on size and
39505 signedness, not exact equivalence to a particular type.
39507 (ino64_t): Likewise.
39509 (nlink_t): Likewise.
39510 (blkcnt_t): Likewise.
39511 (blkcnt64_t): Likewise.
39512 * manual/llio.texi (off_t): Likewise.
39515 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39516 (__ieee754_exp): Save and restore rounding mode and use
39517 round-to-nearest for all computations.
39518 * math/libm-test.inc (exp_test_tonearest): New function.
39519 (exp_test_towardzero): Likewise.
39520 (exp_test_downward): Likewise.
39521 (exp_test_upward): Likewise.
39522 (main): Call the new functions.
39523 * sysdeps/i386/fpu/libm-test-ulps: Update.
39524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39526 2012-03-01 Chris Demetriou <cgd@google.com>
39528 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39529 have predictable order.
39531 2012-03-01 David S. Miller <davem@davemloft.net>
39533 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39535 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39536 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39537 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39538 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39540 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39541 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39542 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39544 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39545 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39546 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39547 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39548 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39553 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39556 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39557 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39559 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39560 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39561 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39563 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39564 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39565 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39566 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39572 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39573 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39574 * sysdeps/sparc/elf/configure: Regenerated.
39576 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39578 * configure.in (AS, LD): Require binutils 2.20 or later.
39579 * configure: Regenerated.
39580 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39581 as required minimum version.
39582 * INSTALL: Regenerated.
39586 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39587 before squaring exponent.
39588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39589 bottom long double and 27 bits of top long double before squaring
39591 * math/libm-test.inc (erfc_test): Add more tests.
39592 * sysdeps/i386/fpu/libm-test-ulps: Update.
39593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39596 2012-03-01 Kai Tietz <ktietz@redhat.com>
39598 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39599 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39600 containing bit-fields.
39601 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39602 * soft-fp/single.h (_FP_UNION_S): Likewise.
39603 * soft-fp/double.h (_FP_UNION_D): Likewise.
39605 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39608 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39609 not include ../strcmp.S.
39610 [USE_AS_STRNCASECMP_L]: Likewise.
39611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39612 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39613 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39614 (__strncasecmp_l_ia32): Define as alias to
39615 __strncasecmp_l_nonascii.
39618 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39619 * sysdeps/i386/fpu/libm-test-ulps: Update.
39620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39622 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39625 2012-02-29 Jeff Law <law@redhat.com>
39627 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39628 out of bounds read.
39630 2012-02-29 Marek Polacek <polacek@redhat.com>
39633 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39634 * elf/Makefile: Add rules to run tst-unused-dep.out.
39636 2012-02-28 David S. Miller <davem@davemloft.net>
39638 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39639 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39642 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39643 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39645 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39647 * math/libm-test.inc (llround_test): Move one test from
39648 lround_test. Use TEST_f_L in moved test.
39649 (lround_test): Move misplaced test to llround_test. Add testcase
39652 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39654 * sysdeps/x86_64/fpu/e_expf.S: New file.
39655 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39657 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39660 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39661 of remain_len that may cause incomplete multi-byte character and
39663 * posix/bug-regex33.c: New file.
39664 * posix/Makefile (tests): Add bug-regex33.
39666 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39668 * manual/macros.texi: New file.
39669 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39670 * manual/libc.texinfo: Include macros.texi.
39671 * manual/creatute.texi: Likewise.
39672 * manual/install.texi: Likewise.
39673 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39674 @glibcadj{} in references to the GNU C Library.
39675 * manual/charset.texi: Likewise.
39676 * manual/conf.texi: Likewise.
39677 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39678 when not using those macros.
39679 * manual/creature.texi: Likewise.
39680 * manual/crypt.texi: Likewise.
39681 * manual/errno.texi: Likewise.
39682 * manual/filesys.texi: Likewise.
39683 * manual/header.texi: Likewise.
39684 * manual/install.texi: Likewise.
39685 * manual/intro.texi: Likewise.
39686 * manual/io.texi: Likewise.
39687 * manual/job.texi: Likewise.
39688 * manual/lang.texi: Likewise.
39689 * manual/libc.texiinfo: Likewise.
39690 * manual/llio.texi: Likewise.
39691 * manual/locale.texi: Likewise.
39692 * manual/maint.texi: Likewise.
39693 * manual/math.texi: Likewise.
39694 * manual/memory.texi: Likewise.
39695 * manual/message.texi: Likewise.
39696 * manual/nss.texi: Likewise.
39697 * manual/pattern.texi: Likewise.
39698 * manual/process.texi: Likewise.
39699 * manual/resource.texi: Likewise.
39700 * manual/search.texi: Likewise.
39701 * manual/setjmp.texi: Likewise.
39702 * manual/signal.texi: Likewise.
39703 * manual/socket.texi: Likewise.
39704 * manual/startup.texi: Likewise.
39705 * manual/stdio.texi: Likewise.
39706 * manual/string.texi: Likewise.
39707 * manual/sysinfo.texi: Likewise.
39708 * manual/syslog.texi: Likewise.
39709 * manual/terminal.texi: Likewise.
39710 * manual/time.texi: Likewise.
39711 * manual/users.texi: Likewise.
39712 * INSTALL: Regenerated.
39713 * NOTES: Regenerated.
39714 * sysdeps/gnu/errlist.c: Regenerated.
39716 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39718 * include/dirent.h: Include <dirstream.h> before
39721 2012-02-28 David S. Miller <davem@davemloft.net>
39723 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39724 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39725 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39726 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39728 2012-02-27 David S. Miller <davem@davemloft.net>
39730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39732 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39733 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39736 frame pointer instead of stack pointer relative arg slot.
39737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39741 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39744 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39746 2012-02-27 David S. Miller <davem@davemloft.net>
39748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39752 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39753 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39754 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39755 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39757 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39759 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39760 later. Allow versions 5-9.
39761 * configure: Regenerated.
39762 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39763 required minimum version and 4.6 as recommended version. Do not
39764 mention bugs in GCC 2.7 and 2.8.
39765 * INSTALL: Regenerated.
39767 2012-02-27 David S. Miller <davem@davemloft.net>
39769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39775 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39779 manipulate bits before adding and subtracting TWO112[sx].
39780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39782 2012-02-27 Roland McGrath <roland@hack.frob.com>
39785 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39786 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39787 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39788 being in POSIX, because they are in 1003.1-2008.
39790 * rt/tst-aio.c: Include <fcntl.h>.
39791 * rt/tst-aio7.c: Likewise.
39792 * rt/tst-aio64.c: Likewise.
39794 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39796 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39798 * manual/install.texi (--with-headers): Describe headers as
39799 interface headers, not private headers.
39800 (Specific advice for GNU/Linux systems): Describe use of headers
39801 from "make headers_install", not private headers from older
39803 * INSTALL: Regenerated.
39804 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39806 * sysdeps/unix/sysv/linux/configure: Regenerated.
39808 * manual/llio.texi (fclean): Remove documentation.
39810 * manual/Makefile (libc-texi-generated): New variable. Include
39812 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39813 $(libc-texi-generated), not duplicated list of files.
39814 (version.texi, stamp-version): New rules.
39815 (realclean): Remove $(libc-texi-generated), not individual files
39816 from that list. Do not remove dir-add.texinfo.
39817 * manual/libc.texinfo: Comment out uses of edition numbers and
39818 references to printed manual. Remove last-updated dates.
39819 (EDITION): Comment out.
39821 (VERSION, UPDATED): Remove.
39822 (version.texi): Include.
39824 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39826 * sysdeps/posix/spawni.c: Include <signal.h>.
39827 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39828 * sysdeps/pthread/aio_fsync.c: Likewise.
39830 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39832 * conform/Makefile (tests): Run only when not cross-compiling and
39833 when fast-check is not defined.
39835 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39836 * conform/data/limits.h-data: Fixes for POSIX2008.
39837 * conform/run-conformtest.sh: Run all tests.
39838 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39840 * include/bits/dlfcn.h: Likewise.
39841 * include/langinfo.h: Likewise.
39842 * include/monetary.h: Likewise.
39843 * include/sys/poll.h: Likewise.
39845 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39847 * posix/spawn.h: Define __need_sigset_t.
39848 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39849 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39850 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39851 to get sigevent_t only.
39852 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39853 only for __USE_GNU.
39854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39856 process_vm_writev only for __USE_GNU.
39857 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39859 * conform/Makefile: For now ignore errors from run-conformtest.
39860 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39861 POSIX to avoid namespace pollution. Don't prepend headers.
39862 * conform/data/aio.h-data: Fixes for POSIX testing.
39863 * conform/data/fcntl.h-data: Likewise.
39864 * conform/data/glob.h-data: Likewise.
39865 * conform/data/grp.h-data: Likewise.
39866 * conform/data/pthread.h-data: Likewise.
39867 * conform/data/pwd.h-data: Likewise.
39868 * conform/data/signal.h-data: Likewise.
39869 * conform/data/spawn.h-data: Likewise.
39870 * conform/data/stdio.h-data: Likewise.
39871 * conform/data/stdlib.h-data: Likewise.
39872 * conform/data/stropts.h-data: Likewise.
39873 * conform/data/sys/mman.h-data: Likewise.
39874 * conform/data/sys/stat.h-data: Likewise.
39875 * conform/data/sys/types.h-data: Likewise.
39876 * conform/data/sys/wait.h-data: Likewise.
39877 * conform/data/time.h-data: Likewise.
39878 * conform/data/unistd.h-data: Likewise.
39879 * conform/data/utime.h-data: Likewise.
39881 * io/sys/stat.h: fchmod was always in POSIX.
39882 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39883 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39884 * rt/aio.h: Define __need_timespec before including <time.h>.
39885 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39886 struct. Add forward declaration of pthread_attr_t and use it in
39888 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39890 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39891 always remove CLK_TCK definition.
39893 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39895 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39897 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39899 * conform/run-conformtest.sh: New file.
39900 * conform/Makefile: Run run-conformtest for tests.
39901 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39904 * conform/data/uchar.h-data: New file.
39905 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39906 * conform/data/arpa/inet.h-data: Likewise.
39907 * conform/data/assert.h-data: Likewise.
39908 * conform/data/complex.h-data: Likewise.
39909 * conform/data/cpio.h-data: Likewise.
39910 * conform/data/ctype.h-data: Likewise.
39911 * conform/data/dirent.h-data: Likewise.
39912 * conform/data/dlfcn.h-data: Likewise.
39913 * conform/data/errno.h-data: Likewise.
39914 * conform/data/fcntl.h-data: Likewise.
39915 * conform/data/float.h-data: Likewise.
39916 * conform/data/fmtmsg.h-data: Likewise.
39917 * conform/data/fnmatch.h-data: Likewise.
39918 * conform/data/ftw.h-data: Likewise.
39919 * conform/data/glob.h-data: Likewise.
39920 * conform/data/grp.h-data: Likewise.
39921 * conform/data/iconv.h-data: Likewise.
39922 * conform/data/inttypes.h-data: Likewise.
39923 * conform/data/langinfo.h-data: Likewise.
39924 * conform/data/libgen.h-data: Likewise.
39925 * conform/data/limits.h-data: Likewise.
39926 * conform/data/locale.h-data: Likewise.
39927 * conform/data/math.h-data: Likewise.
39928 * conform/data/monetary.h-data: Likewise.
39929 * conform/data/mqueue.h-data: Likewise.
39930 * conform/data/ndbm.h-data: Likewise.
39931 * conform/data/net/if.h-data: Likewise.
39932 * conform/data/netdb.h-data: Likewise.
39933 * conform/data/netinet/in.h-data: Likewise.
39934 * conform/data/nl_types.h-data: Likewise.
39935 * conform/data/poll.h-data: Likewise.
39936 * conform/data/pthread.h-data: Likewise.
39937 * conform/data/pwd.h-data: Likewise.
39938 * conform/data/regex.h-data: Likewise.
39939 * conform/data/sched.h-data: Likewise.
39940 * conform/data/search.h-data: Likewise.
39941 * conform/data/semaphore.h-data: Likewise.
39942 * conform/data/setjmp.h-data: Likewise.
39943 * conform/data/signal.h-data: Likewise.
39944 * conform/data/spawn.h-data: Likewise.
39945 * conform/data/stdarg.h-data: Likewise.
39946 * conform/data/stdio.h-data: Likewise.
39947 * conform/data/stdlib.h-data: Likewise.
39948 * conform/data/string.h-data: Likewise.
39949 * conform/data/strings.h-data: Likewise.
39950 * conform/data/stropts.h-data: Likewise.
39951 * conform/data/sys/ipc.h-data: Likewise.
39952 * conform/data/sys/mman.h-data: Likewise.
39953 * conform/data/sys/msg.h-data: Likewise.
39954 * conform/data/sys/resource.h-data: Likewise.
39955 * conform/data/sys/select.h-data: Likewise.
39956 * conform/data/sys/sem.h-data: Likewise.
39957 * conform/data/sys/shm.h-data: Likewise.
39958 * conform/data/sys/socket.h-data: Likewise.
39959 * conform/data/sys/stat.h-data: Likewise.
39960 * conform/data/sys/statvfs.h-data: Likewise.
39961 * conform/data/sys/time.h-data: Likewise.
39962 * conform/data/sys/timeb.h-data: Likewise.
39963 * conform/data/sys/times.h-data: Likewise.
39964 * conform/data/sys/types.h-data: Likewise.
39965 * conform/data/sys/uio.h-data: Likewise.
39966 * conform/data/sys/un.h-data: Likewise.
39967 * conform/data/sys/utsname.h-data: Likewise.
39968 * conform/data/sys/wait.h-data: Likewise.
39969 * conform/data/syslog.h-data: Likewise.
39970 * conform/data/tar.h-data: Likewise.
39971 * conform/data/termios.h-data: Likewise.
39972 * conform/data/utime.h-data: Likewise.
39973 * conform/data/utmpx.h-data: Likewise.
39974 * conform/data/varargs.h-data: Likewise.
39975 * conform/data/wchar.h-data: Likewise.
39976 * conform/data/wctype.h-data: Likewise.
39977 * conform/data/wordexp.h-data: Likewise.
39979 * include/stropts.h: New file.
39980 * include/uchar.h: New file.
39981 * include/aio.h: Changes to allow conformtest.pl to use the headers.
39982 * include/assert.h: Likewise.
39983 * include/ctype.h: Likewise.
39984 * include/dirent.h: Likewise.
39985 * include/dlfcn.h: Likewise.
39986 * include/fcntl.h: Likewise.
39987 * include/fnmatch.h: Likewise.
39988 * include/glob.h: Likewise.
39989 * include/grp.h: Likewise.
39990 * include/libio.h: Likewise.
39991 * include/locale.h: Likewise.
39992 * include/math.h: Likewise.
39993 * include/net/if.h: Likewise.
39994 * include/netdb.h: Likewise.
39995 * include/netinet/in.h: Likewise.
39996 * include/pthread.h: Likewise.
39997 * include/pwd.h: Likewise.
39998 * include/regex.h: Likewise.
39999 * include/sched.h: Likewise.
40000 * include/search.h: Likewise.
40001 * include/setjmp.h: Likewise.
40002 * include/signal.h: Likewise.
40003 * include/stdio.h: Likewise.
40004 * include/stdlib.h: Likewise.
40005 * include/string.h: Likewise.
40006 * include/sys/cdefs.h: Likewise.
40007 * include/sys/mman.h: Likewise.
40008 * include/sys/msg.h: Likewise.
40009 * include/sys/resource.h: Likewise.
40010 * include/sys/select.h: Likewise.
40011 * include/sys/socket.h: Likewise.
40012 * include/sys/stat.h: Likewise.
40013 * include/sys/statvfs.h: Likewise.
40014 * include/sys/time.h: Likewise.
40015 * include/sys/times.h: Likewise.
40016 * include/sys/uio.h: Likewise.
40017 * include/sys/utsname.h: Likewise.
40018 * include/sys/wait.h: Likewise.
40019 * include/termios.h: Likewise.
40020 * include/time.h: Likewise.
40021 * include/ulimit.h: Likewise.
40022 * include/unistd.h: Likewise.
40023 * include/utime.h: Likewise.
40024 * include/wchar.h: Likewise.
40025 * include/wctype.h: Likewise.
40026 * include/wordexp.h: Likewise.
40028 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40030 * time/time.h: TIME_UTC must be a macro.
40031 Make timespec_get available for ISO C11 only as well.
40033 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40035 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40036 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40038 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40040 * configure.in: Use -o not -a in test for unsupported multi-arch.
40042 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40044 * manual/texinfo.tex: Update to version 2012-01-19.16.
40046 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40048 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40050 2012-02-24 Roland McGrath <roland@hack.frob.com>
40053 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40054 * manual/fdl-1.3.texi: New file.
40055 * manual/fdl-1.1.texi: File removed.
40058 * manual/libc.texinfo (FDL_VERSION): New @set.
40059 Use it for mention of FDL in cover text.
40060 (Documentation License): Use it in @include file name.
40062 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40063 Roland McGrath <roland@hack.frob.com>
40066 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40067 (not LONG_LONG_MAX and LONG_LONG_MIN.
40068 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40069 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40071 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40073 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40077 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40078 manipulate bits before adding and subtracting TWO23[sx].
40079 * math/libm-test.inc (nearbyint_test): Add more tests.
40081 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40084 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40085 bits before adding and subtracting TWO23[sx].
40086 * math/libm-test.inc (rint_test): Add more tests.
40087 (rint_test_tonearest): Likewise.
40088 (rint_test_towardzero): Likewise.
40089 (rint_test_downward): Likewise.
40090 (rint_test_upward: Likewise.
40092 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40095 * include/stdc-predef.h: New file. Extracted from features.h.
40096 * include/features.h: Include stdc-predef.h.
40097 * Makefile (headers): Add stdc-predef.h.
40098 * CONFORMANCE (Compiler limitations): Update.
40100 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40102 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40104 2012-02-21 David S. Miller <davem@davemloft.net>
40106 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40107 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40109 2012-02-20 David S. Miller <davem@davemloft.net>
40111 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40112 using a normal save/restore sequence, rather than allocating a
40113 dummy stack frame just to store a frame pointer and restore.
40114 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40118 * manual/install.texi: Fix stray word in line-wrapped comment.
40120 2012-02-20 David S. Miller <davem@davemloft.net>
40122 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40123 both binutils and gcc support GOTDATA.
40125 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40126 "rd %pc" in the PIC register setup sequences.
40128 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40129 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40130 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40131 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40137 (SYSCALL_ERROR_HANDLER): Likewise.
40138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40141 (SYSCALL_ERROR_HANDLER): Likewise.
40143 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40144 (HAVE_GCC_GOTDATA): New.
40145 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40146 relocation support in both binutils and gcc.
40147 * sysdeps/sparc/elf/configure: Regenerate.
40149 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40150 * sysdeps/sparc/sparc32/elf/configure: Delete.
40151 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40152 * sysdeps/sparc/sparc64/elf/configure: Delete.
40153 * sysdeps/sparc/elf/configure.in: New file.
40154 * sysdeps/sparc/elf/configure: Generate.
40156 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40157 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40159 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40160 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40162 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40164 * manual/install.texi: Do not mention specific glibc version
40166 * manual/libc.texinfo (VERSION, UPDATED): Update.
40167 (@copying): Use @copyright{} and range of years.
40169 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40172 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40173 [crti.S not in sysdirs] (generated): Do not append.
40174 [crti.S not in sysdirs] (omit-deps): Likewise.
40175 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40176 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40177 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40178 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40179 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40181 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40182 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40183 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40184 * csu/defs.awk: Remove file.
40185 * sysdeps/generic/initfini.c: Likewise.
40186 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40188 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40191 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40193 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40194 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40195 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40198 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40200 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40201 (__EPOLL_PACKED): Define to empty if not defined by
40203 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40207 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40209 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40210 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40211 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40214 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40218 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40220 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40227 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40232 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40234 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40235 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40237 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40239 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40242 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40244 * math/w_acos.c: Use non-signaling floating-point comparisons.
40245 * math/w_acosf.c: Likewise.
40246 * math/w_acosh.c: Likewise.
40247 * math/w_acoshf.c: Likewise.
40248 * math/w_acoshl.c: Likewise.
40249 * math/w_acosl.c: Likewise.
40250 * math/w_asin.c: Likewise.
40251 * math/w_asinf.c: Likewise.
40252 * math/w_asinl.c: Likewise.
40253 * math/w_atanh.c: Likewise.
40254 * math/w_atanhf.c: Likewise.
40255 * math/w_atanhl.c: Likewise.
40256 * math/w_exp2.c: Likewise.
40257 * math/w_exp2f.c: Likewise.
40258 * math/w_exp2l.c: Likewise.
40259 * math/w_j0.c: Likewise.
40260 * math/w_j0f.c: Likewise.
40261 * math/w_j0l.c: Likewise.
40262 * math/w_j1.c: Likewise.
40263 * math/w_j1f.c: Likewise.
40264 * math/w_j1l.c: Likewise.
40265 * math/w_jn.c: Likewise.
40266 * math/w_jnf.c: Likewise.
40267 * math/w_log.c: Likewise.
40268 * math/w_log10.c: Likewise.
40269 * math/w_log10f.c: Likewise.
40270 * math/w_log10l.c: Likewise.
40271 * math/w_log2.c: Likewise.
40272 * math/w_log2f.c: Likewise.
40273 * math/w_log2l.c: Likewise.
40274 * math/w_logf.c: Likewise.
40275 * math/w_logl.c: Likewise.
40276 * math/w_sqrt.c: Likewise.
40277 * math/w_sqrtf.c: Likewise.
40278 * math/w_sqrtl.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40282 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40283 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40285 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40288 * manual/string.texi (strnlen): Use correct parameter name in
40289 equivalent expression.
40291 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40294 * manual/users.texi (seteuid): Consistently use neweuid for
40297 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40300 * manual/nss.texi (Services in the NSS configuration): Correct
40301 list of services in example configuration file.
40303 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40306 * manual/arith.texi: Remove statements about negative zero
40307 behaving identically to zero.
40309 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40312 * manual/install.texi: Do not document upgrading from libc5.
40314 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40317 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40319 2012-02-18 David S. Miller <davem@davemloft.net>
40321 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40322 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40323 %o7 across the call.
40324 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40327 SETUP_PIC_REG_LEAF.
40328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40329 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40330 * sysdeps/sparc/crtn.S: Likewise.
40332 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40334 * aout/Makefile: Remove.
40336 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40339 * manual/examples/argp-ex1.c (main): Format definition in GNU
40341 * manual/examples/argp-ex2.c (main): Likewise.
40342 * manual/examples/argp-ex3.c (main): Likewise.
40343 * manual/examples/argp-ex4.c (main): Likewise.
40344 * manual/examples/longopt.c (main): Use new-style prototype
40346 * manual/examples/strncat.c (main): Specify return type and use
40347 (void) for arguments.
40348 * manual/examples/subopt.c (main): Use char **argv argument.
40350 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40353 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40356 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40359 * manual/string.texi (strchr): Change when strchrnul is
40362 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40365 * manual/locale.texi (setlocale): Document LOCPATH.
40367 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40370 * manual/process.texi (execle): Move @dots{} before last argument.
40372 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40375 * manual/charset.texi (Generic Charset Conversion): Fix typo
40376 (LC_TYPE -> LC_CTYPE).
40378 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40381 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40382 (scalbnf): Likewise.
40383 (scalbnl): Likewise.
40384 (scalbln): Likewise.
40385 (scalblnf): Likewise.
40386 (scalblnl): Likewise.
40387 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40388 (vwarnx): Likewise.
40391 * manual/filesys.texi (telldir): Use braces around return type.
40392 * manual/llio.texi (mmap): Add space after comma.
40393 (mmap64): Likewise.
40394 * manual/math.texi (jn): Use @var{} on parameter names.
40400 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40402 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40404 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40405 (sched_get_priority_max): Likewise.
40406 * manual/signal.texi (sigvec): Add space after comma.
40407 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40409 (if_indextoname): Likewise.
40410 (if_freenameindex): Likewise.
40411 (sendto): Use ',' instead of '.' in prototype.
40412 * manual/startup.texi (syscall): Use @dots{} instead of literal
40414 * manual/stdio.texi (__fpending): Separate initial words of
40415 paragraph from @deftypefun line.
40416 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40418 (vsyslog): Use @var{} on parameter names.
40419 * manual/terminal.texi (stty): Use @var{} on parameter names.
40420 * manual/users.texi (getutmp): Use @var{} on parameter names.
40421 (getutmpx): Likewise.
40423 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40426 * manual/stdio.texi (fopen): Fix typos in description of
40429 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40432 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40433 get clock_id definition.
40435 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40438 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40439 (madvise): Cast every argument to void on its own.
40441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40444 * manual/startup.texi (Exit Status): Fix typo.
40446 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40449 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40450 * manual/examples/argp-ex2.c: Likewise.
40451 * manual/examples/argp-ex3.c: Likewise.
40453 2012-02-16 Richard Henderson <rth@redhat.com>
40455 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40456 * sysdeps/s390/s390-32/initfini.c: Remove.
40457 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40458 * sysdeps/s390/s390-64/initfini.c: Remove.
40460 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40462 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40463 compiler output for sysdeps/generic/initfini.c.
40464 * sysdeps/sh/elf/initfini.c: Remove file.
40466 2012-02-16 David S. Miller <davem@davemloft.net>
40469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40471 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40472 * sysdeps/sparc/crti.S: New file.
40473 * sysdeps/sparc/crtn.S: New file.
40474 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40475 * sysdeps/sparc/sparc64/Makefile: Likewise.
40477 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40480 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40482 2012-02-15 Roland McGrath <roland@hack.frob.com>
40485 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40487 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40488 (write, read, close): Likewise.
40489 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40491 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40493 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40494 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40495 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40496 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40498 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40502 2012-02-14 Marek Polacek <polacek@redhat.com>
40504 * sysdeps/x86_64/crti.S: New file.
40505 * sysdeps/x86_64/crtn.S: New file.
40506 * sysdeps/x86_64/elf/initfini.c: Remove file.
40508 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40510 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40511 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40512 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40513 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40515 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40519 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40521 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40522 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40523 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40524 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40526 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40530 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40532 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40533 __feraiseexcept instead of feraiseexcept.
40535 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40536 nanosleep invocations.
40537 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40538 strings, and add error checking for a nanosleep invocations.
40540 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40542 Replace FSF snail mail address with URLs, as per GNU coding standards.
40543 Most of the snail mail addresses were wrong anyway, and omitting
40544 them makes the source code easier to maintain. Almost all of the
40545 changes are to license notices and to locale LC_IDENTIFICATION
40546 addresses, except for this one:
40547 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40548 not its snail mail address.
40550 2012-02-09 Richard Henderson <rth@twiddle.net>
40552 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40553 of kernel-features.h.
40555 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40557 2012-02-08 Marek Polacek <polacek@redhat.com>
40559 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40560 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40561 * sysdeps/gnu/_G_config.h: Likewise.
40562 * sysdeps/generic/_G_config.h: Likewise.
40564 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40566 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40570 * sysdeps/powerpc/powerpc32/crti.S: New file.
40571 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40572 * sysdeps/powerpc/powerpc64/crti.S: New file.
40573 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40575 * Makeconfig (have-initfini): Don't set.
40576 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40577 * configure.in (nopic_initfini): Don't substitute.
40578 * config.h.in (HAVE_INITFINI): Don't #undef.
40579 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40580 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40582 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40584 Support crti.S and crtn.S provided directly by architectures.
40585 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40586 [crti.S in sysdirs] (omit-deps): Likewise.
40587 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40588 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40589 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40590 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40591 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40592 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40593 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40594 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40595 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40596 compiler output for sysdeps/generic/initfini.c.
40597 * sysdeps/i386/elf/Makefile: Remove file.
40598 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40600 2012-02-07 Marek Polacek <polacek@redhat.com>
40602 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40603 * sysdeps/gnu/_G_config.h: Likewise.
40604 * sysdeps/mach/hurd/_G_config.h: Likewise.
40606 2012-02-07 Marek Polacek <polacek@redhat.com>
40608 * math/Makefile (tests): Add tst-CMPLX2.
40609 * math/tst-CMPLX2.c: New file.
40611 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40615 * math/libm-test.inc (jn_test): Add missing L suffix.
40617 2012-02-06 Marek Polacek <polacek@redhat.com>
40619 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40620 * sysdeps/i386/fpu/e_powf.S: Likewise.
40621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40622 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40623 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40624 * sysdeps/i386/fpu/e_pow.S: Likewise.
40625 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40627 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40628 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40629 * sysdeps/i386/fpu/e_log2.S: Likewise.
40630 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40632 * sysdeps/i386/fpu/e_powl.S: Likewise.
40633 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40636 * sysdeps/i386/fpu/e_logl.S: Likewise.
40637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40638 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40639 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40640 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40643 * sysdeps/i386/fpu/e_log.S: Likewise.
40644 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40645 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40646 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40647 * sysdeps/i386/fpu/e_logf.S: Likewise.
40648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40650 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40653 * sysdeps/i386/fpu/e_log10.S: Likewise.
40654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40660 * sysdeps/i386/asm-syntax.h: Likewise.
40661 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40664 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40665 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40667 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40668 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40670 * sysdeps/powerpc/sysdep.h: Likewise.
40671 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40674 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40677 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40679 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40681 * sysdeps/i386/sysdep.h: Include <features.h>.
40682 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40685 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40687 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40689 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40692 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40694 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40695 (SETUP_PIC_REG): Use GET_PC_THUNK.
40696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40699 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40701 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40702 for non-PIC compilation.
40703 (SETUP_PIC_REG): Add .p2align directive.
40704 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40705 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40706 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40707 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40709 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40712 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40713 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40714 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40715 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40716 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40717 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40718 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40719 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40720 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40721 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40722 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40723 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40726 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40727 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40732 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40733 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40734 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40736 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40737 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40738 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40739 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40740 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40741 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40742 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40743 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40744 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40746 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40748 * math/tst-CMPLX.c: Include <stdio.h>.
40750 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40752 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40755 * sysdeps/sparc/bits/mathdef.h: Likewise.
40757 2012-01-31 Marek Polacek <polacek@redhat.com>
40759 * libio/libio.h: Don't define _PARAMS.
40760 * locale/programs/config.h: Don't define PARAMS.
40761 * stdlib/strtol_l.c: Likewise.
40762 (__strtol_l): Remove PARAMS from the prototype.
40764 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40766 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40767 names. Just use the correct names. Remove unnecessary wrapper
40769 * malloc/arena.c: Likewise.
40770 * malloc/hooks.c: Likewise.
40772 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40773 ARENA_TEST says not to. Simplify test for creation of a new arena.
40774 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40776 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40778 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40780 (update_get_addr): New function.
40781 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40782 GET_ADDR_MODULE parameter.
40784 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40786 * crypt/cert.c: Remove __STDC__ conditionals.
40787 * crypt/crypt-entry.c: Likewise.
40788 * crypt/crypt_util.c: Likewise.
40789 * libio/filedoalloc.c: Likewise.
40790 * libio/fileops.c: Likewise.
40791 * libio/genops.c: Likewise.
40792 * libio/iofclose.c: Likewise.
40793 * libio/iofdopen.c: Likewise.
40794 * libio/iofopen.c: Likewise.
40795 * libio/iofopen64.c: Likewise.
40796 * libio/iogetdelim.c: Likewise.
40797 * libio/iopopen.c: Likewise.
40798 * libio/obprintf.c: Likewise.
40799 * libio/oldfileops.c: Likewise.
40800 * libio/oldiofclose.c: Likewise.
40801 * libio/oldiofdopen.c: Likewise.
40802 * libio/oldiofopen.c: Likewise.
40803 * libio/oldiopopen.c: Likewise.
40804 * libio/wfiledoalloc.c: Likewise.
40805 * libio/wgenops.c: Likewise.
40806 * locale/programs/xmalloc.c: Likewise.
40807 * misc/syslog.c: Likewise.
40808 * stdio-common/xbug.c: Likewise.
40809 * string/memchr.c: Likewise.
40810 * string/memcmp.c: Likewise.
40811 * string/memrchr.c: Likewise.
40812 * string/rawmemchr.c: Likewise.
40813 * sysdeps/posix/getcwd.c: Likewise.
40814 * time/strftime_l.c: Likewise.
40816 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40818 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40819 * config.make.in (config-cflags-sse2avx): Define.
40820 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40823 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40825 * scripts/config.guess: Update from upstream config git repository.
40826 * scripts/config.sub: Likewise.
40828 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40830 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40832 (R_TILEPRO_*, R_TILEGX_*): New macros.
40834 * scripts/firstversions.awk: Fix bug in version range handling.
40836 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40838 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40840 * include/sys/epoll.h: New file.
40841 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40844 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40846 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40847 Avoid unnecessary __WORDSIZE == 64 test.
40848 (fmaxf): Use VEX format if possible.
40853 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40854 * math/math_private.h: Remove libc_fegetround* and
40856 * sysdeps/i386/configure.in: Check for -msse2avx.
40857 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40858 also if SSE2AVX is defined.
40859 Remove libc_fegetround* and libc_fesetround*.
40860 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40861 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40870 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40872 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40878 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40881 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40883 * Makeconfig (libm): Define.
40884 * elf/Makefile: Add rules to build and run tst-relsort1.
40885 * elf/tst-relsort1.c: New file.
40886 * elf/tst-relsort1mod1.c: New file.
40887 * elf/tst-relsort1mod2.c: New file.
40889 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40891 * math/s_ldexp.c: Remove __STDC__ conditionals.
40892 * math/s_ldexpf.c: Likewise.
40893 * math/s_ldexpl.c: Likewise.
40894 * math/s_nextafter.c: Likewise.
40895 * math/s_nexttowardf.c: Likewise.
40896 * math/s_significand.c: Likewise.
40897 * math/s_significandf.c: Likewise.
40898 * math/s_significandl.c: Likewise.
40899 * math/w_jnl.c: Likewise.
40900 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40901 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40902 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40903 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40904 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40906 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40914 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40921 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40922 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40923 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40924 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40925 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40926 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40927 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40928 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40931 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40932 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40937 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40938 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40939 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40940 * sysdeps/ieee754/k_standard.c: Likewise.
40941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40944 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40945 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40946 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40948 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40949 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40950 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40953 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40954 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40955 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40957 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40966 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40972 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40973 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40974 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40977 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40987 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40990 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40991 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40999 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41000 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41010 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41011 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41012 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41013 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41017 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41018 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41020 * sysdeps/ieee754/s_matherr.c: Likewise.
41021 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41022 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41026 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41028 * crypt/md5.h: Remove __STDC__ conditionals.
41029 * libio/libioP.h: Likewise.
41030 * locale/programs/config.h: Likewise.
41031 * sysdeps/generic/sysdep.h: Likewise.
41032 * sysdeps/i386/asm-syntax.h: Likewise.
41033 * sysdeps/s390/asm-syntax.h: Likewise.
41034 * sysdeps/unix/sysdep.h: Likewise.
41035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41038 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41040 * libio/libio.h: Remove __STDC__ conditionals.
41041 * malloc/obstack.h: Likewise.
41042 * math/complex.h: Likewise.
41043 * math/math.h: Likewise.
41044 * sysdeps/generic/_G_config.h: Likewise.
41045 * sysdeps/gnu/_G_config.h: Likewise.
41046 * sysdeps/mach/hurd/_G_config.h: Likewise.
41047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41049 * sysdeps/sparc/bits/mathdef.h: Likewise.
41051 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41055 Clean up HAS_* macros.
41056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41057 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41067 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41069 * elf/tst-unique3.cc (gets): Remove declaration.
41070 * elf/tst-unique3lib.cc (gets): Likewise.
41071 * elf/tst-unique3lib2.cc (gets): Likewise.
41072 * elf/tst-unique4.cc (gets): Likewise.
41074 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41076 * include/stdio.h: Add C++ protection. Add gets declarations and
41078 * debug/tst-chk1.c: Don't declare gets here.
41079 * stdio-common/tst-gets.c: Likewise.
41081 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41083 * posix/glob: Remove directory.
41085 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41087 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41089 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41091 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41092 of the non-standard EPFNOSUPPORT.
41094 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41096 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41097 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41098 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41100 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41102 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41104 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41106 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41108 * nscd/grpcache.c (cache_addgr): Likewise.
41109 * nscd/hstcache.c (cache_addhst): Likewise.
41110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41111 * nscd/pwdcache.c (cache_addpw): Likewise.
41112 * nscd/servicescache.c (cache_addserv): Likewise.
41114 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41116 * malloc/malloc.c: Various cleanups.
41117 * malloc/hooks.c: Likewise.
41119 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41120 * stdlib/bug-fmtmsg1.c: New file.
41122 * stdlib/fmtmsg.c (init): Add missing unlock.
41123 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41125 2012-01-12 Marek Polacek <polacek@redhat.com>
41127 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41130 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41132 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41134 macro to ensure uniqueness of label name.
41135 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41136 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41138 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41147 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41151 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41155 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41162 * math/bits/math-finite.h: Add ldexp support.
41164 2012-01-10 Marek Polacek <polacek@redhat.com>
41166 * locale/programs/localedef.h (show_archive_content): Add noreturn
41169 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41173 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41175 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41177 * io/Makefile (headers): Add bits/poll2.h.
41179 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41182 typo #include statement.
41184 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41186 * include/sys/cdefs.h: Define __attribute_alloc_size.
41187 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41188 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41189 * elf/pldd.c: Likewise.
41190 * iconv/iconv_charmap.c: Likewise.
41191 * iconv/iconvconfig.c: Likewise.
41192 * iconv/strtab.c: Likewise.
41193 * locale/programs/locale.c: Likewise.
41194 * locale/programs/localedef.h: Likewise.
41195 * locale/programs/simple-hash.c: Likewise.
41196 * nscd/nscd.h: Likewise.
41197 * nss/makedb.c: Likewise.
41198 * sysdeps/generic/ldconfig.h: Likewise.
41199 * locale/programs/localedef.c: Remove xmalloc prototype.
41200 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41202 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41207 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41209 * math/Makefile (tests): Add tst-CMPLX.
41210 * math/tst-CMPLX.c: New file.
41212 * math/complex.h (CMPLXL): Fix typo.
41214 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41215 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41217 * debug/tst-chk1.c: Add poll and ppoll tests.
41218 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41219 * include/sys/poll.h: Add hidden proto for ppoll.
41220 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41221 * sysdeps/mach/hurd/ppoll.c: Likewise.
41222 * io/ppoll.c: Likewise.
41223 * debug/poll_chk.c: New file.
41224 * debug/ppoll_chk.c: New file.
41225 * include/bits/poll2.h: New file.
41226 * io/bits/poll2.h: New file.
41229 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41231 * configure.in: static is always set to yes. Remove.
41232 * config.make.in: Don't set build-static.
41233 * Makeconfig: Remove use of build-static.
41234 * dlfcn/Makefile: Likewise.
41235 * elf/Makefile: Likewise.
41236 * math/Makefile: Likewise.
41237 * misc/Makefile: Likewise.
41238 * nptl/Makefile: Likewise.
41239 * sysdeps/mach/hurd/Makefile: Likewise.
41241 * configure.in: PWD_P is not used anymore.
41242 * config.make.in: Remove PWD_P entry.
41244 * configure.in: Remove last remnants of RANLIB.
41245 No need to check for signed size_t anymore.
41246 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41248 Remove __builtin_expect test because we require at least gcc 3.4.
41249 * aclocal.m4: Likewise.
41251 * wcsmbs/mbrtoc16.c: Implement using towc function.
41252 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41253 * wcsmbs/wcsmbsload.c: Likewise.
41254 * iconv/gconv_simple.c: Likewise.
41255 * iconv/gconv_int.h: Likewise.
41256 * iconv/gconv_builtin.h: Likewise.
41257 * iconv/iconv_prog.c: Remove CHAR16 handling.
41259 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41261 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41263 * configure.in: Remove --with-elf and --enable-bounded options.
41264 Dont set base_machine for ia64. More non-ELF conditions removed.
41265 Remove testing and setting of leading underscore information.
41266 * config.make.in (build-bounded): Set to no.
41267 * config.h.in: Remove NO_UNDERSCORES entry.
41268 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41270 * csu/start.c: Remove !NO_UNDERSCORE code.
41271 * locale/localeinfo.h: Likewise.
41272 * sysdeps/generic/machine-gmon.h: Likewise.
41273 * sysdeps/generic/sysdep.h: Likewise.
41274 * sysdeps/i386/sysdep.h: Likewise.
41275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41276 * sysdeps/mach/sysdep.h: Likewise.
41277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41279 * sysdeps/sh/sysdep.h: Likewise.
41280 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41281 * sysdeps/unix/i386/sysdep.S: Likewise.
41282 * sysdeps/unix/sparc/start.c: Likewise.
41283 * sysdeps/unix/sparc/sysdep.S: Likewise.
41284 * sysdeps/unix/sparc/sysdep.h: Likewise.
41285 * sysdeps/unix/start.c: Likewise.
41286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41287 * sysdeps/x86_64/sysdep.h: Likewise.
41289 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41292 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41294 * argp/argp-fmtstream.h: Use const instead __const.
41295 * argp/argp.h: Likewise.
41296 * assert/assert.h: Likewise.
41297 * bits/fenv.h: Likewise.
41298 * bits/sched.h: Likewise.
41299 * bits/sigset.h: Likewise.
41300 * bits/sigthread.h: Likewise.
41301 * catgets/nl_types.h: Likewise.
41302 * conform/data/pthread.h-data: Likewise.
41303 * crypt/crypt-private.h: Likewise.
41304 * crypt/crypt.h: Likewise.
41305 * crypt/crypt_util.c: Likewise.
41306 * ctype/ctype.h: Likewise.
41307 * debug/execinfo.h: Likewise.
41308 * debug/mbsnrtowcs_chk.c: Likewise.
41309 * debug/mbsrtowcs_chk.c: Likewise.
41310 * debug/wcsnrtombs_chk.c: Likewise.
41311 * debug/wcsrtombs_chk.c: Likewise.
41312 * debug/wcstombs_chk.c: Likewise.
41313 * dirent/dirent.h: Likewise.
41314 * dlfcn/dlfcn.h: Likewise.
41315 * elf/neededtest4.c: Likewise.
41316 * grp/grp.h: Likewise.
41317 * gshadow/gshadow.h: Likewise.
41318 * iconv/gconv.h: Likewise.
41319 * iconv/gconv_int.h: Likewise.
41320 * iconv/gconv_simple.c: Likewise.
41321 * iconv/iconv.h: Likewise.
41322 * iconv/loop.c: Likewise.
41323 * iconv/skeleton.c: Likewise.
41324 * include/aio.h: Likewise.
41325 * include/aliases.h: Likewise.
41326 * include/argz.h: Likewise.
41327 * include/arpa/inet.h: Likewise.
41328 * include/assert.h: Likewise.
41329 * include/dirent.h: Likewise.
41330 * include/dlfcn.h: Likewise.
41331 * include/execinfo.h: Likewise.
41332 * include/fcntl.h: Likewise.
41333 * include/fenv.h: Likewise.
41334 * include/glob.h: Likewise.
41335 * include/grp.h: Likewise.
41336 * include/libintl.h: Likewise.
41337 * include/mntent.h: Likewise.
41338 * include/netdb.h: Likewise.
41339 * include/pwd.h: Likewise.
41340 * include/rpc/netdb.h: Likewise.
41341 * include/sched.h: Likewise.
41342 * include/search.h: Likewise.
41343 * include/shadow.h: Likewise.
41344 * include/signal.h: Likewise.
41345 * include/stdio.h: Likewise.
41346 * include/stdlib.h: Likewise.
41347 * include/string.h: Likewise.
41348 * include/sys/socket.h: Likewise.
41349 * include/sys/stat.h: Likewise.
41350 * include/sys/statfs.h: Likewise.
41351 * include/sys/statvfs.h: Likewise.
41352 * include/sys/syslog.h: Likewise.
41353 * include/sys/time.h: Likewise.
41354 * include/sys/uio.h: Likewise.
41355 * include/time.h: Likewise.
41356 * include/unistd.h: Likewise.
41357 * include/utmp.h: Likewise.
41358 * include/wchar.h: Likewise.
41359 * include/wctype.h: Likewise.
41360 * inet/aliases.h: Likewise.
41361 * inet/arpa/inet.h: Likewise.
41362 * inet/netinet/ether.h: Likewise.
41363 * inet/netinet/in.h: Likewise.
41364 * intl/libintl.h: Likewise.
41365 * io/bits/fcntl2.h: Likewise.
41366 * io/fcntl.h: Likewise.
41367 * io/ftw.h: Likewise.
41368 * io/sys/poll.h: Likewise.
41369 * io/sys/stat.h: Likewise.
41370 * io/sys/statfs.h: Likewise.
41371 * io/sys/statvfs.h: Likewise.
41372 * io/utime.h: Likewise.
41373 * libio/bits/stdio.h: Likewise.
41374 * libio/bits/stdio2.h: Likewise.
41375 * libio/libio.h: Likewise.
41376 * libio/libioP.h: Likewise.
41377 * libio/stdio.h: Likewise.
41378 * locale/lc-ctype.c: Likewise.
41379 * locale/locale.h: Likewise.
41380 * login/utmp.h: Likewise.
41381 * malloc/arena.c: Likewise.
41382 * malloc/malloc.c: Likewise.
41383 * malloc/malloc.h: Likewise.
41384 * malloc/mcheck.c: Likewise.
41385 * malloc/mtrace.c: Likewise.
41386 * math/bits/mathcalls.h: Likewise.
41387 * math/fenv.h: Likewise.
41388 * math/math_private.h: Likewise.
41389 * misc/bits/error.h: Likewise.
41390 * misc/bits/syslog.h: Likewise.
41391 * misc/err.h: Likewise.
41392 * misc/error.h: Likewise.
41393 * misc/fstab.h: Likewise.
41394 * misc/mntent.h: Likewise.
41395 * misc/regexp.h: Likewise.
41396 * misc/search.h: Likewise.
41397 * misc/sgtty.h: Likewise.
41398 * misc/sys/mman.h: Likewise.
41399 * misc/sys/syslog.h: Likewise.
41400 * misc/sys/uio.h: Likewise.
41401 * misc/sys/xattr.h: Likewise.
41402 * misc/ttyent.h: Likewise.
41403 * nis/rpcsvc/ypclnt.h: Likewise.
41404 * nss/nss.h: Likewise.
41405 * posix/bits/unistd.h: Likewise.
41406 * posix/fnmatch.h: Likewise.
41407 * posix/glob.h: Likewise.
41408 * posix/sched.h: Likewise.
41409 * posix/spawn.h: Likewise.
41410 * posix/sys/wait.h: Likewise.
41411 * posix/unistd.h: Likewise.
41412 * posix/wordexp.h: Likewise.
41413 * pwd/pwd.h: Likewise.
41414 * resolv/netdb.h: Likewise.
41415 * resource/sys/resource.h: Likewise.
41416 * rt/aio.h: Likewise.
41417 * rt/bits/mqueue2.h: Likewise.
41418 * rt/mqueue.h: Likewise.
41419 * shadow/shadow.h: Likewise.
41420 * signal/signal.h: Likewise.
41421 * socket/send.c: Likewise.
41422 * socket/sendto.c: Likewise.
41423 * socket/sys/socket.h: Likewise.
41424 * stdio-common/printf.h: Likewise.
41425 * stdlib/bits/stdlib.h: Likewise.
41426 * stdlib/fmtmsg.h: Likewise.
41427 * stdlib/monetary.h: Likewise.
41428 * stdlib/stdlib.h: Likewise.
41429 * stdlib/ucontext.h: Likewise.
41430 * streams/stropts.h: Likewise.
41431 * string/argz.h: Likewise.
41432 * string/bits/string2.h: Likewise.
41433 * string/string.h: Likewise.
41434 * string/strings.h: Likewise.
41435 * sunrpc/rpc/auth.h: Likewise.
41436 * sunrpc/rpc/auth_des.h: Likewise.
41437 * sunrpc/rpc/clnt.h: Likewise.
41438 * sunrpc/rpc/netdb.h: Likewise.
41439 * sunrpc/rpc/pmap_clnt.h: Likewise.
41440 * sunrpc/rpc/xdr.h: Likewise.
41441 * sysdeps/generic/inttypes.h: Likewise.
41442 * sysdeps/generic/net/if.h: Likewise.
41443 * sysdeps/generic/sys/swap.h: Likewise.
41444 * sysdeps/gnu/net/if.h: Likewise.
41445 * sysdeps/gnu/utmpx.h: Likewise.
41446 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41447 * sysdeps/i386/i486/bits/string.h: Likewise.
41448 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41449 * sysdeps/s390/bits/string.h: Likewise.
41450 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41451 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41452 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41453 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41454 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41455 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41456 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41457 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41458 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41459 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41460 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41461 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41462 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41463 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41464 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41465 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41466 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41472 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41473 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41474 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41475 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41476 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41478 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41480 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41481 * sysvipc/sys/ipc.h: Likewise.
41482 * sysvipc/sys/msg.h: Likewise.
41483 * sysvipc/sys/sem.h: Likewise.
41484 * sysvipc/sys/shm.h: Likewise.
41485 * termios/termios.h: Likewise.
41486 * time/sys/time.h: Likewise.
41487 * time/time.h: Likewise.
41488 * wcsmbs/bits/wchar2.h: Likewise.
41489 * wcsmbs/uchar.h: Likewise.
41490 * wcsmbs/wchar.h: Likewise.
41491 * wctype/wctype.h: Likewise.
41494 * Makeconfig: Remove all but ELF support including AIX support.
41495 * Makerules: Likewise.
41496 * config.h.in: Likewise.
41497 * config.make.in: Likewise.
41498 * configure: Likewise.
41499 * configure.in: Likewise.
41500 * csu/Makefile: Likewise.
41501 * csu/version.c: Likewise.
41502 * debug/Makefile: Likewise.
41503 * dlfcn/Makefile: Likewise.
41504 * elf/Makefile: Likewise.
41505 * extra-lib.mk: Likewise.
41506 * iconv/Makefile: Likewise.
41507 * include/libc-symbols.h: Likewise.
41508 * include/shlib-compat.h: Likewise.
41509 * resolv/Makefile: Likewise.
41510 * resolv/res_libc.c: Likewise.
41511 * rt/Makefile: Likewise.
41512 * sysdeps/i386/asm-syntax.h: Likewise.
41513 * sysdeps/i386/sysdep.h: Likewise.
41514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41515 * sysdeps/mach/sysdep.h: Likewise.
41516 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41517 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41518 * sysdeps/s390/asm-syntax.h: Likewise.
41519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41521 * sysdeps/sh/sysdep.h: Likewise.
41522 * sysdeps/unix/sparc/sysdep.h: Likewise.
41523 * sysdeps/wordsize-32/divdi3.c: Likewise.
41524 * sysdeps/x86_64/sysdep.h: Likewise.
41526 * argp/Versions: Remove _argp_unlock_xxx.
41529 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41530 * abilist/libBrokenLocale.abilist: Likewise.
41531 * abilist/libanl.abilist: Likewise.
41532 * abilist/libc.abilist: Likewise.
41533 * abilist/libcrypt.abilist: Likewise.
41534 * abilist/libdl.abilist: Likewise.
41535 * abilist/libm.abilist: Likewise.
41536 * abilist/libnsl.abilist: Likewise.
41537 * abilist/libpthread.abilist: Likewise.
41538 * abilist/libresolv.abilist: Likewise.
41539 * abilist/librt.abilist: Likewise.
41540 * abilist/libthread_db.abilist: Likewise.
41541 * abilist/libutil.abilist: Likewise.
41542 * abilist/libnss_db.abilist: New file.
41544 * scripts/abilist.awk: Add support for indirect functions.
41546 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41548 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41550 * shlib-versions: Remove entries for ports architectures.
41552 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41554 * elf/stackguard-macros.h: Remove support for IA-64.
41555 * elf/tst-auditmod1.c: Likewise.
41556 * sysdeps/generic/ldsodefs.h: Likewise.
41558 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41559 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41563 * configure.in: Remove --enable-omitfp support.
41565 * config.make.in: Likewise.
41566 * Makeconfig: Likewise.
41567 * manual/install.texi: Likewise.
41569 In case anyone cares, the IA-64 architecture could move to ports.
41570 * sysdeps/ia64/*: Removed.
41571 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41572 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41575 * configure.in: Remove entries for unsupported architectures.
41578 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41579 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41581 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41582 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41583 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41584 fall back to using wcrtomb.
41585 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41586 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41588 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41589 * wcsmbs/tst-c16c32-1.c: New file.
41591 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41594 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41596 * elf/tst-unique3.cc: Add explicit declaration of gets.
41597 * elf/tst-unique3lib.cc: Likewise.
41598 * elf/tst-unique3lib2.cc: Likewise.
41599 * elf/tst-unique4.cc: Likewise.
41601 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41603 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41606 * assert/assert.h (static_assert): Don't define for C++.
41607 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41608 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41610 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41612 * iconv/loop.c (single loop): Fix assertion in storing of
41615 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41617 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41619 * posix/getconf.c: Update copyright year.
41620 * nss/getent.c: Likewise.
41621 * nss/makedb.c: Likewise.
41622 * iconv/iconvconfig.c: Likewise.
41623 * iconv/iconv_prog.c: Likewise.
41624 * elf/ldconfig.c: Likewise.
41625 * elf/pldd.c: Likewise.
41626 * elf/sotruss.ksh: Likewise.
41627 * catgets/gencat.c: Likewise.
41628 * csu/version.c: Likewise.
41629 * elf/ldd.bash.in: Likewise.
41630 * elf/sprof.c (print_version): Likewise.
41631 * locale/programs/locale.c: Likewise.
41632 * locale/programs/localedef.c: Likewise.
41633 * login/programs/pt_chown.c: Likewise.
41634 * nscd/nscd.c (print_version): Likewise.
41635 * debug/xtrace.sh: Likewise.
41636 * malloc/memusage.sh: Likewise.
41637 * malloc/mtrace.pl: Likewise.
41638 * debug/catchsegv.sh: Likewise.
41640 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41642 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41645 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41648 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41649 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41651 * iconv/gconv_int.h: Likewise.
41652 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41653 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41654 from libc for GLIBC_2.16.
41655 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41656 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41657 * wcsmbs/uchar.h: Really define mbstate_t.
41658 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41659 * wcsmbs/c16rtomb.c: New file.
41660 * wcsmbs/mbrtoc16.c: New file.
41661 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41662 for C/POSIX locale.
41663 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41664 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41666 * wcsmbs/wchar.h: Add missing __restrict.
41668 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41671 * time/Makefile (routines): Add timespec_get.
41672 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41673 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41674 timespec for ISO C11.
41675 * time/timespec_get.c: New file.
41676 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41677 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41680 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41681 * stdlib/stdlib.h: Declare aligned_alloc.
41682 * Versions.def: Add GLIBC_2.16 for libc.
41683 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41686 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41689 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41693 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41696 * assert/assert.h (static_assert): Define.
41698 * version.h: Update for 2.16 development version.
41701 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41704 * version.h (RELEASE): Bump for 2.15 release.
41705 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41707 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41708 Patch by Marek Polacek <mpolacek@redhat.com>.
41710 * bits/byteswap.h: Protect long long constants with __extension__.
41711 * sysdeps/i386/bits/byteswap.h: Likewise.
41712 * sysdeps/ia64/bits/byteswap.h: Likewise.
41713 * sysdeps/s390/bits/byteswap.h: Likewise.
41714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41716 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41720 destination buffer.
41721 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41723 2011-12-23 Marek Polacek <polacek@redhat.com>
41725 * elf/dl-addr.c (determine_info): Add inline keyword.
41726 * elf/tst-auditmod4b.c (check_avx): Likewise.
41727 * elf/tst-auditmod6b.c (check_avx): Likewise.
41728 * elf/tst-auditmod6c.c (check_avx): Likewise.
41729 * elf/tst-auditmod7b.c (check_avx): Likewise.
41731 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41733 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41736 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41739 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41740 processing for last bytes.
41742 2011-08-06 Bruno Haible <bruno@clisp.org>
41745 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41746 U+0385, not to U+1FEE.
41749 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41750 entry for U+00A5 U+0301.
41752 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41755 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41756 buffer for the output is too small.
41758 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41762 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41763 SSE flags if possible.
41765 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41769 processing for last bytes.
41771 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41774 (syscall-list-default-options, syscall-list-default-condition)
41775 (syscall-list-includes): Define.
41776 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41777 list of ABIs and options and #if conditions for each ABI. Do not
41778 handle common syscalls between ABIs specially.
41779 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41781 (syscall-list-variants, syscall-list-32bit-options)
41782 (syscall-list-32bit-condition, syscall-list-64bit-options)
41783 (syscall-list-64bit-condition): Define.
41784 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41785 (syscall-list-variants, syscall-list-32bit-options)
41786 (syscall-list-32bit-condition, syscall-list-64bit-options)
41787 (syscall-list-64bit-condition): Define.
41788 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41790 (syscall-list-variants, syscall-list-32bit-options)
41791 (syscall-list-32bit-condition, syscall-list-64bit-options)
41792 (syscall-list-64bit-condition): Define.
41793 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41795 (syscall-list-variants, syscall-list-32bit-options)
41796 (syscall-list-32bit-condition, syscall-list-64bit-options)
41797 (syscall-list-64bit-condition): Define.
41799 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41801 * locale/iso-639.def: Add brx entry.
41804 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41805 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41807 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41808 __feraiseexcept_renamed.
41810 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41813 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41814 EPOLLET with unsigned values.
41815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41818 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41819 to large cancellation.
41820 * math/s_cacoshf.c: Likewise.
41821 * math/s_cacoshl.c: Likewise.
41823 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41827 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41828 * math/s_cacoshf.c: Likewise.
41829 * math/s_cacoshl.c: Likewise.
41831 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41834 * iconv/gconv.h: Define __GCONV_SWAP.
41835 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41836 * iconvdata/utf-16.c: Likewise.
41837 * iconvdata/utf-32.c: Likewise.
41839 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41843 numerator after shifting it by one limb.
41845 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41848 under [__USE_EXTERN_INLINES].
41850 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41853 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41855 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41857 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41858 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41860 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41862 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41863 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41864 for strncasecmp/strncasecmp_l compilation.
41865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41866 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41868 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41871 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41874 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41877 * time/tzfile.c (__tzfile_read): Check values from file header.
41879 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41881 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41882 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41883 * powerpc/powerpc32/dl-start.S: Likewise.
41884 * powerpc/powerpc32/elf/start.S: Likewise.
41885 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41886 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41887 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41888 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41889 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41890 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41891 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41892 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41893 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41894 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41895 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41896 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41897 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41898 * powerpc/powerpc32/memset.S: Likewise.
41899 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41900 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41901 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41902 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41903 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41904 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41905 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41906 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41907 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41908 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41910 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41911 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41913 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41915 * math/libm-test.inc: Added more nearbyint tests.
41916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41921 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
41923 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41926 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41928 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41929 Add wcscpy-ssse3 wcscpy-c.
41930 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41931 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41932 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41933 * sysdeps/x86_64/wcschr.S: New file.
41934 * sysdeps/x86_64/wcsrchr.S: New file.
41935 * string/test-strcmp.c: Remove checking of wcscmp function for
41937 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41938 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41939 wcsrchr-sse2 wcsrchr-c.
41940 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41941 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41942 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41943 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41944 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41945 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41946 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41947 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41948 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41949 * wcsmbc/wcschr.c (WCSCHR): New macro.
41951 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41953 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41954 * wcsmbs/test-wcsrchr.c: New file.
41955 * string/test-strrchr.c: Add wcsrchr support.
41957 * wcsmbs/test-wcscpy.c: New file.
41958 * string/test-strcpy.c: Add wcscpy support.
41961 2011-12-10 Ulrich Drepper <drepper@gmail.com>
41963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41966 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
41969 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41971 2011-12-04 Ulrich Drepper <drepper@gmail.com>
41973 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41974 Minor optimizations.
41976 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41977 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41978 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41980 2011-12-03 Ulrich Drepper <drepper@gmail.com>
41982 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41983 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41984 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41985 for gcc to avoid warnings.
41986 * inet/Makefile (tests): Add tst-checks.
41987 * inet/tst-checks.c: New file.
41989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41992 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41995 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41996 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41998 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42000 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42002 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42005 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42007 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42009 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42010 conditional on GCC version.
42011 (__arch_compare_and_exchange_val_8_acq)
42012 (__arch_compare_and_exchange_val_16_acq)
42013 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42014 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42015 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42017 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42019 * sysdeps/sh/backtrace.c: New file.
42021 2011-12-02 Andreas Schwab <schwab@redhat.com>
42023 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42026 2011-12-01 Andreas Schwab <schwab@redhat.com>
42028 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42029 falling back to utime.
42031 2011-11-30 Andreas Schwab <schwab@redhat.com>
42033 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42034 expectations for float.
42036 2011-11-29 Andreas Schwab <schwab@redhat.com>
42038 * locale/weight.h (findidx): Add parameter len.
42039 * locale/weightwc.h (findidx): Likewise.
42040 * posix/fnmatch_loop.c (FCT): Adjust caller.
42041 * posix/regcomp.c (build_equiv_class): Likewise.
42042 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42043 * posix/regexec.c (check_node_accept_bytes): Likewise.
42044 * string/strcoll_l.c (STRCOLL): Likewise.
42045 * string/strxfrm_l.c (STRXFRM): Likewise.
42047 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42049 * Makefile.in: Remove CVSOPT handling.
42050 * configure.in: Remove use of AC_REVISION.
42051 * iconvdata/Makefile (distribute): No need to filter out CVS.
42052 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42055 2011-11-16 Andreas Schwab <schwab@redhat.com>
42057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42058 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42059 [USE_AS_STRNCASECMP_L]: Likewise.
42060 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42061 NO_TLS_DIRECT_SEG_REFS.
42062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42063 Fix argument offsets for non-PIC.
42064 [USE_AS_STRNCASECMP_L]: Likewise.
42065 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42066 NO_TLS_DIRECT_SEG_REFS.
42068 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42070 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42072 * locale/loadlocale.c (_nl_load_locale): Likewise.
42074 2011-11-15 Andreas Schwab <schwab@redhat.com>
42076 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42077 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42079 (SYSCALL_GETTIME): Set errno on error.
42081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42082 count references to noai6ai_cached.
42084 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42086 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42088 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42089 FD_CLOEXEC for /proc/self/maps.
42091 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42092 FD_CLOEXEC for /proc/meminfo.
42094 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42097 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42098 FD_CLOEXEC for given file.
42100 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42102 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42103 FD_CLOEXEC for /etc/hosts.
42104 (_gethtent): Likewise.
42106 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42108 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42109 cancellation and set FD_CLOEXEC for /etc/netgroup.
42111 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42112 reading /etc/publickey.
42114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42115 allow cancellation when reading /etc/group.
42117 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42119 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42121 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42122 when using data file.
42124 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42126 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42127 (write_nis_obj): Use "c" and "e" in fopen.
42129 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42131 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42133 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42135 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42137 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42140 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42142 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42144 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42146 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42147 file parsing and set FD_CLOEXEC.
42149 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42151 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42153 2011-11-14 Andreas Schwab <schwab@redhat.com>
42155 * malloc/arena.c (arena_get2): Don't call reused_arena when
42156 _int_new_arena failed.
42158 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42160 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42161 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42166 to compile strcasecmp and strncasecmp.
42167 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42168 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42172 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42174 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42175 locale-defines.sym to gen-as-const-headers.
42176 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42177 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42179 to compile strcasecmp and strncasecmp.
42180 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42181 strcasecmp_l and strncasecmp_l.
42182 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42183 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42184 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42186 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42188 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42189 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42190 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42191 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42192 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42194 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42196 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42197 result of SYSDEP_GETTIME_CPU to retval.
42198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42199 parameter list to macro. Remove trailing semicolon. Adjust users.
42201 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42204 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42206 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42208 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42209 from unused variable.
42211 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42213 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42216 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42219 * sunrpc/rpc_prot.c (rejected): Fix case value.
42221 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42222 unsigned long long int to avoid warnings in shift.
42224 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42226 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42230 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42233 * nis/nis_table.c (nis_list): Use variable of correct type for
42234 result of __follow_path call.
42236 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42238 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42239 of math functions ceil, trunc, floor, round, and sqrt, when
42240 avaliable on the platform.
42241 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42244 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42245 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42247 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42249 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42252 2011-11-11 Roland McGrath <roland@hack.frob.com>
42254 * include/unistd.h: Fix __readlink return type.
42255 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42257 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42259 * stdlib/ucontext.h: Undo last change for makecontext.
42261 2011-11-11 Andreas Schwab <schwab@redhat.com>
42263 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42265 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42266 * setjmp/setjmp.h: Mark functions as non-leaf.
42267 * setjmp/bits/setjmp2.h: Likewise.
42268 * stdlib/ucontext.h: Likewise.
42270 2011-11-10 Andreas Schwab <schwab@redhat.com>
42272 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42273 (reused_arena): Don't check arena limit.
42274 (arena_get2): Atomically check arena limit.
42276 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42278 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42279 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42284 2011-11-07 Andreas Schwab <schwab@redhat.com>
42286 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42287 handler when locking.
42289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42290 Fix size of allocated buffer.
42292 2011-11-04 Andreas Schwab <schwab@redhat.com>
42295 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42296 declarations for long double functions.
42297 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42299 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42301 2011-11-03 Andreas Schwab <schwab@redhat.com>
42303 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42306 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42309 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42311 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42313 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42315 * include/alloca.h (stackinfo_alloca_round): Define.
42316 (extend_alloca): Use it.
42317 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42318 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42321 * scripts/check-local-headers.sh: Ignore libaudit.h.
42323 * nscd/Makefile (extra-objs): Make recursively expanded.
42325 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42327 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42330 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42331 * posix/tst-rfc3484-2.c: Likewise.
42332 * posix/tst-rfc3484-3.c: Likewise.
42334 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42336 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42338 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42339 process_vm_writev from libc using GLIBC_2.15 version.
42341 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42343 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42345 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42348 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42351 * nss/getent.c (initgroups_keys): Show error message in case no group
42354 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42355 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42356 __bump_nl_timestamp.
42357 * nscd/connections (nscd_init): When host database is served open
42358 netlink socket and request notification about configuration changes.
42359 (main_loop_poll): Track netlink file descriptor and bump timestamp
42360 in case data becomes available.
42361 (main_loop_epoll): Likewise.
42362 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42363 (database_pers_head): Add extra_data fileds.
42364 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42366 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42369 in6ai data, call __free_in6ai.
42370 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42371 Add -DHAVE_NETLINK.
42372 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42373 interface information. Reuse previous data if netlink timestamp
42375 (__bump_nl_timestamp): New function.
42376 (__free_in6ai): New function.
42378 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42381 close_not_cancel_no_status here.
42382 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42384 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42387 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42390 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42391 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42392 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42394 2011-07-03 Andreas Jaeger <aj@suse.de>
42397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42398 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42399 * math/libm-test.inc (sin_test): Add test case.
42401 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42404 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42405 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42407 * elf/chroot_canon.c (chroot_canon): Cleanups.
42409 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42412 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42413 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42415 * string/test-strchr.c: Make usable for strchrnul testing.
42416 * string/test-strchrnul.c: New file.
42417 * string/Makefile (strop-tests): Add strchrnul.
42419 * po/it.po: Update from translation team.
42420 * po/es.po: Likewise.
42422 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42425 the three constants needed as parameters. Drop the others.
42426 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42427 __m128i_strloadu_tolower.
42428 Create and initialize variable zero and use it in all the places
42429 where _mm_setzero_si128 was used.
42431 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42432 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42433 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42436 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42437 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42438 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42439 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42440 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42441 __mpranred, __mptan.
42442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42449 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42452 2011-10-28 Andreas Schwab <schwab@redhat.com>
42454 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42455 redefine if SHARED.
42456 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42459 wide char related routines to wcsmbs subdir.
42461 2011-10-27 Andreas Schwab <schwab@redhat.com>
42464 * misc/sys/cdefs.h (__THROWNL): Define.
42465 * posix/unistd.h: Use __THREADNL instead of __THREAD
42466 for memory synchronization functions.
42468 2011-10-26 Roland McGrath <roland@hack.frob.com>
42471 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42473 * manual/stdio.texi (Obstack Streams): Node removed.
42475 2011-10-26 Andreas Schwab <schwab@redhat.com>
42477 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42479 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42481 * math/math_private.h (math_force_eval): Allow non-addressable
42483 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42485 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42487 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42488 file is not needed.
42490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42497 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42503 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42504 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42505 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42506 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42507 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42508 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42509 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42510 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42512 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42513 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42514 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42516 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42517 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42519 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42520 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42523 place. Use VEX encoding when compiling for AVX.
42525 2011-10-25 Andreas Schwab <schwab@redhat.com>
42527 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42528 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42530 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42532 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42534 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42535 useless if() expression.
42536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42542 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42546 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42547 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42552 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42554 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42556 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42558 2011-10-25 Andreas Schwab <schwab@redhat.com>
42560 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42564 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42566 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42567 .text section. Avoid duplicate constants.
42568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42576 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42577 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42578 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42579 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42582 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42585 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42596 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42597 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42614 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42616 * sysdeps/x86_64/dla.h: Move to ...
42617 * sysdeps/x86_64/fpu/dla.h: ...here.
42618 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42619 situations. Use __builtin_fma only for gcc 4.6 and up.
42621 * config.make.in: Add have-mfma4 entry.
42622 * configure.in: Substitute libc_cv_cc_fma4.
42623 * math/Makefile (dbl-only-routines): Add sincostab.
42624 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42625 Use __sincostab not sincos.
42626 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42633 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42634 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42635 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42636 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42639 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42641 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42642 define aliases when function name is a macro.
42643 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42644 sysdeps/ieee754/dbl-64/sincos.tbl.
42645 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42646 fma4-enabled routines.
42647 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42648 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42649 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42650 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42651 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42654 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42657 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42659 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42660 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42661 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42662 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42663 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42664 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42665 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42667 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42668 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42678 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42689 2011-10-24 Andreas Schwab <schwab@redhat.com>
42691 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42693 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42701 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42702 Remove unused variable magic_bits.
42703 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42705 * string/strnlen.c: Define and use STRNLEN macro.
42706 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42707 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42709 * wcsmbs/wcslen.c: Define and use WCSLEN.
42710 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42711 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42712 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42713 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42714 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42715 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42716 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42718 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42721 strnlen-sse2-no-bsf.
42722 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42723 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42724 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42725 Add strnlen support.
42726 (USE_AS_STRNLEN): New macro.
42727 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42729 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42730 * sysdeps/x86_64/wcslen.S: New file.
42732 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42735 XMM-moves are used for copying on small sizes.
42737 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42739 * wcsmbs/Makefile (strop-tests): Add wcschr.
42740 * wcsmbs/test-wcschr.c: New file.
42741 * string/test-strchr.c: Update.
42742 Add wcschr support.
42745 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42747 * wcsmbs/Makefile (strop-tests): Add wcslen.
42748 * wcsmbs/test-wcslen.c: New file.
42749 * string/test-strlen.c: Update.
42750 Add wcslen support.
42753 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42755 * po/it.po: Update from translation team.
42757 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42759 * sysdeps/x86_64/wcscmp.S: Update.
42760 Fix wrong comparison semantics.
42761 wcscmp shall use signed comparison not unsigned.
42762 Don't use substraction to avoid overflow bug.
42763 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42764 * wcsmbc/wcscmp.c: Likewise.
42765 * string/test-strcmp.c: Likewise.
42766 Add new tests to check cases with negative values.
42768 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42770 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42771 * sysdeps/x86_64/dla.h: ...here. New file.
42772 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42782 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42785 __ynl_finite aliases.
42787 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42791 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42793 [DLA_FMA] (EMULV): Use DLA_FMA.
42794 [DLA_FMA] (MUL12): Use EMULV.
42795 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42796 that are not needed.
42797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42805 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42807 * math/s_nan.c: Undef __nan.
42808 * math/s_nanf.c: Undef __nanf.
42809 * math/s_nanl.c: Undef __nanl.
42810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42813 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42815 * math/s_catan.c: Add branch predictions.
42816 * math/s_catanf.c: Likewise.
42817 * math/s_catanh.c: Likewise.
42818 * math/s_catanhf.c: Likewise.
42819 * math/s_catanhl.c: Likewise.
42820 * math/s_catanl.c: Likewise.
42821 * math/s_cexp.c: Likewise.
42822 * math/s_cexpf.c: Likewise.
42823 * math/s_cexpl.c: Likewise.
42824 * math/s_clog.c: Likewise.
42825 * math/s_clog10.c: Likewise.
42826 * math/s_clog10f.c: Likewise.
42827 * math/s_clog10l.c: Likewise.
42828 * math/s_clogf.c: Likewise.
42829 * math/s_clogl.c: Likewise.
42830 * math/s_csqrt.c: Likewise.
42831 * math/s_csqrtf.c: Likewise.
42832 * math/s_csqrtl.c: Likewise.
42833 * math/s_ctanf.c: Likewise.
42834 * math/s_ctanh.c: Likewise.
42835 * math/s_ctanhf.c: Likewise.
42836 * math/s_ctanhl.c: Likewise.
42837 * math/s_ctanl.c: Likewise.
42839 * math/math_private.h: Define __nan, __nanf, __nanl.
42840 * math/s_cacosh.c: Include <math_private.h>.
42841 * math/s_cacoshl.c: Likewise.
42842 * math/s_casinh.c: Likewise.
42843 * math/s_casinhf.c: Likewise.
42844 * math/s_casinhl.c: Likewise.
42845 * math/s_ccos.c: Rely entire on ccosh.
42846 * math/s_ccosf.c: Rely entire on ccoshf.
42847 * math/s_ccosl.c: Rely entirely on ccoshl.
42848 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42849 Remove tests for FE_INVALID.
42850 * math/s_ccoshf.c: Likewise.
42851 * math/s_ccoshl.c: Likewise.
42852 * math/s_csin.c: Likewise.
42853 * math/s_csinf.c: Likewise.
42854 * math/s_csinh.c Likewise.
42855 * math/s_csinhf.c: Likewise.
42856 * math/s_csinhl.c: Likewise.
42857 * math/s_csinl.c: Likewise.
42858 * math/s_ctan.c: Likewise.
42859 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42860 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42863 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42866 compilation problems.
42868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42871 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42873 * sysdeps/i386/configure.in: Test for -mfma4 option.
42874 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42875 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42876 COMMON_CPUID_INDEX_80000001.
42877 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42878 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42879 use it if FMA3 is not supported.
42880 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42882 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42883 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42885 2011-10-20 Andreas Schwab <schwab@redhat.com>
42888 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42889 it would create a cycle with a link time dependency.
42891 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42893 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42895 * string/Makefile (strop-tests): Add rawmemchr.
42896 * string/test-rawmemchr.c: New file.
42898 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42900 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42901 when compiling str{,n}casecmp and when AVX is available. Hook up
42902 new optimized code in initializers.
42904 2011-10-19 Andreas Schwab <schwab@redhat.com>
42906 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42907 __feraiseexcept instead of feraiseexcept.
42909 2011-10-18 Ulrich Drepper <drepper@gmail.com>
42911 * math/math_private.h: Define defaults for libc_fetestexcept and
42913 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42914 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42916 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42917 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42918 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42919 libc_fetestexcept and libc_feupdateenv.
42921 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42922 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42923 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42924 * sysdeps/x86_64/fpu/math_private.h: Define special version of
42925 libc_feholdexcept_setround.
42927 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42928 Add s_nearbyint-c and s_nearbyintf-c.
42929 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42930 nearbyintf inlines.
42931 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42933 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42936 * math/math_private.h: Define defaults for libc_fegetround,
42937 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42938 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42939 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42941 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42942 standard functions.
42943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42944 Remove comments and hacks for old compiler versions.
42945 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42946 libc_fegetround, libc_fesetround, libc_feholdexcept, and
42947 libc_feholdexceptl.
42949 2011-10-18 Andreas Schwab <schwab@redhat.com>
42951 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42952 (__feraiseexcept_renamed): Add __NTH.
42953 (feraiseexcept): Add __NTH. Rename local variables to fix
42954 namespace violations.
42956 2011-10-17 Ulrich Drepper <drepper@gmail.com>
42958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42960 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42962 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42963 recently added interfaces.
42964 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42966 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42967 about macro parameter expansion.
42969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42970 __NO_MATH_INLINES is defined. Cleanups.
42972 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42973 and __floorf is target has SSE4.1.
42974 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42975 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42976 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42977 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42979 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42981 (floorf): Likewise.
42983 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42985 2011-10-17 Andreas Schwab <schwab@redhat.com>
42987 * misc/sys/cdefs.h: Fix last change.
42989 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42992 2011-10-16 Ulrich Drepper <drepper@gmail.com>
42994 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42996 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43005 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43006 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43007 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43008 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43009 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43011 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43013 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43014 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43015 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43016 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43017 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43020 ceil, ceilf, floor, floorf.
43022 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43023 Perform IRELATIVE relocations last.
43025 * elf/do-rel.h: Add another parameter nrelative, replacing the
43026 local variable with the same name. Change name of the function
43027 to end in Rel or Rela (uppercase).
43028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43029 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43030 elf_dynamic_do_##reloc function.
43032 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43034 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43035 is sufficient, at least on modern CPUs.
43037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43039 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43042 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43044 * math/bits/math-finite.h: Add entries for exp.
43045 * math/e_expl.c: Add __*_finite alias.
43046 * sysdeps/i386/fpu/e_exp.S: Likewise.
43047 * sysdeps/i386/fpu/e_expf.S: Likewise.
43048 * sysdeps/i386/fpu/e_expl.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43050 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43057 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43058 is sufficient, at least on modern CPUs.
43060 * ctype/ctype-info.c (__ctype_init): Define.
43061 * include/ctype.h (__ctype_init): Declare.
43062 (__ctype_b_loc): The variable is always initialized.
43063 (__ctype_toupper_loc): Likewise.
43064 (__ctype_tolower_loc): Likewise.
43065 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43066 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43068 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43070 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43072 * configure.in: Also look in $cxxmachine/include for C++ system
43075 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43077 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43078 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43079 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43080 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43082 (USE_AS_WMEMCMP): New macro.
43084 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43085 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43086 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43087 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43089 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43090 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43091 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43092 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43093 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43095 (USE_AS_WMEMCMP): New macro.
43096 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43097 * sysdeps/string/test-memcmp.c: Update.
43098 Fix simple_wmemcmp.
43100 * wcsmbs/wmemcmp.c: Update.
43101 (WMEMCMP): New macro.
43104 2011-10-12 Andreas Jaeger <aj@suse.de>
43107 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43109 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43111 * libio/iofwide.c (do_length): Avoid warning.
43113 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43115 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43117 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43119 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43120 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43121 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43122 * sysdeps/i386/i686/fpu/e_log.S: New file.
43123 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43124 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43126 * ctype/ctype.h: Add support for inlined isXXX functions when
43127 compiling C++ code.
43129 2011-10-14 Andreas Schwab <schwab@redhat.com>
43131 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43135 2011-10-13 Roland McGrath <roland@hack.frob.com>
43138 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43140 2011-10-13 Andreas Schwab <schwab@redhat.com>
43142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43143 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43146 * sysdeps/x86_64/memrchr.S: Check for zero size.
43148 * string/stratcliff.c: Add memrchr tests.
43150 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43153 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43154 rawmemchr-sse2 rawmemchr-sse2-bsf.
43155 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43156 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43157 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43158 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43159 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43160 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43161 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43162 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43163 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43165 * string/memrchr.c (MEMRCHR): New macro.
43167 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43169 Add integration with gcc's -ffinite-math-only and optimize wrapper
43171 * Versions.def: Define GLIBC_2.15 version for libm.
43172 * math/Makefile (headers): Add bits/math-finite.h.
43173 * math/bits/math-finite.h: New file.
43174 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43175 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43176 * math/e_acoshl.c: Add __*_finite alias.
43177 * math/e_acosl.c: Likewise.
43178 * math/e_asinl.c: Likewise.
43179 * math/e_atan2l.c: Likewise.
43180 * math/e_atanhl.c: Likewise.
43181 * math/e_coshl.c: Likewise.
43182 * math/e_exp10.c: Likewise.
43183 * math/e_exp10f.c: Likewise.
43184 * math/e_exp10l.c: Likewise.
43185 * math/e_exp2l.c: Likewise.
43186 * math/e_fmodl.c: Likewise.
43187 * math/e_gammal_r.c: Likewise.
43188 * math/e_hypotl.c: Likewise.
43189 * math/e_j0l.c: Likewise.
43190 * math/e_j1l.c: Likewise.
43191 * math/e_jnl.c: Likewise.
43192 * math/e_lgammal_r.c: Likewise.
43193 * math/e_log10l.c: Likewise.
43194 * math/e_log2l.c: Likewise.
43195 * math/e_logl.c: Likewise.
43196 * math/e_powl.c: Likewise.
43197 * math/e_sinhl.c: Likewise.
43198 * math/e_sqrtl.c: Likewise.
43199 * math/e_scalb.c: Completely rewritten and optimized.
43200 * math/e_scalbf.c: Likewise.
43201 * math/e_scalbl.c: Likewise.
43202 * math/w_acos.c: Likewise.
43203 * math/w_acosf.c: Likewise.
43204 * math/w_acosl.c: Likewise.
43205 * math/w_acosh.c: Likewise.
43206 * math/w_acoshf.c: Likewise.
43207 * math/w_acoshl.c: Likewise.
43208 * math/w_asin.c: Likewise.
43209 * math/w_asinf.c: Likewise.
43210 * math/w_asinl.c: Likewise.
43211 * math/w_atan2.c: Likewise.
43212 * math/w_atan2f.c: Likewise.
43213 * math/w_atan2l.c: Likewise.
43214 * math/w_atanh.c: Likewise.
43215 * math/w_atanhf.c: Likewise.
43216 * math/w_atanhl.c: Likewise.
43217 * math/w_exp10.c: Likewise.
43218 * math/w_exp10f.c: Likewise.
43219 * math/w_exp10l.c: Likewise.
43220 * math/w_fmod.c: Likewise.
43221 * math/w_fmodf.c: Likewise.
43222 * math/w_fmodl.c: Likewise.
43223 * math/w_j0.c: Likewise.
43224 * math/w_j0f.c: Likewise.
43225 * math/w_j0l.c: Likewise.
43226 * math/w_j1.c: Likewise.
43227 * math/w_j1f.c: Likewise.
43228 * math/w_j1l.c: Likewise.
43229 * math/w_jn.c: Likewise.
43230 * math/w_jnf.c: Likewise.
43231 * math/w_log.c: Likewise.
43232 * math/w_logf.c: Likewise.
43233 * math/w_logl.c: Likewise.
43234 * math/w_log10.c: Likewise.
43235 * math/w_log10f.c: Likewise.
43236 * math/w_log10l.c: Likewise.
43237 * math/w_log2.c: Likewise.
43238 * math/w_log2f.c: Likewise.
43239 * math/w_log2l.c: Likewise.
43240 * math/w_pow.c: Likewise.
43241 * math/w_powf.c: Likewise.
43242 * math/w_powl.c: Likewise.
43243 * math/w_remainder.c: Likewise.
43244 * math/w_remainderf.c: Likewise.
43245 * math/w_remainderl.c: Likewise.
43246 * math/w_scalb.c: Likewise.
43247 * math/w_scalbf.c: Likewise.
43248 * math/w_scalbl.c: Likewise.
43249 * math/w_sqrt.c: Likewise.
43250 * math/w_sqrtf.c: Likewise.
43251 * math/w_sqrtl.c: Likewise.
43252 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43253 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43255 * math/math_private.h: Declare __kernel_standard_f.
43256 * math/w_cosh.c: Remove cruft and optimize a bit.
43257 * math/w_coshf.c: Likewise.
43258 * math/w_coshl.c: Likewise.
43259 * math/w_exp2.c: Likewise.
43260 * math/w_exp2f.c: Likewise.
43261 * math/w_exp2l.c: Likewise.
43262 * math/w_hypot.c: Likewise.
43263 * math/w_hypotf.c: Likewise.
43264 * math/w_hypotl.c: Likewise.
43265 * math/w_lgamma.c: Likewise.
43266 * math/w_lgamma_r.c: Likewise.
43267 * math/w_lgammaf.c: Likewise.
43268 * math/w_lgammaf_r.c: Likewise.
43269 * math/w_lgammal.c: Likewise.
43270 * math/w_lgammal_r.c: Likewise.
43271 * math/w_sinh.c: Likewise.
43272 * math/w_sinhf.c: Likewise.
43273 * math/w_sinhl.c: Likewise.
43274 * math/w_tgamma.c: Likewise.
43275 * math/w_tgammaf.c: Likewise.
43276 * math/w_tgammal.c: Likewise.
43277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43279 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43280 Minor optimizations. Pretty printing. Remove cruft.
43281 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43284 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43285 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43286 * sysdeps/i386/fpu/e_asin.S: Likewise.
43287 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43288 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43289 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43290 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43292 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43294 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43295 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43296 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43297 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43298 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43299 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43300 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43301 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43302 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43303 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43304 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43305 * sysdeps/i386/fpu/e_log.S: Likewise.
43306 * sysdeps/i386/fpu/e_log10.S: Likewise.
43307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43309 * sysdeps/i386/fpu/e_log2.S: Likewise.
43310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43311 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43312 * sysdeps/i386/fpu/e_logf.S: Likewise.
43313 * sysdeps/i386/fpu/e_logl.S: Likewise.
43314 * sysdeps/i386/fpu/e_pow.S: Likewise.
43315 * sysdeps/i386/fpu/e_powf.S: Likewise.
43316 * sysdeps/i386/fpu/e_powl.S: Likewise.
43317 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43318 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43319 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43323 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43324 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43325 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43326 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43333 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43336 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43347 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43350 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43351 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43352 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43353 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43354 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43355 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43360 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43361 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43362 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43363 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43364 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43365 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43366 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43368 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43369 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43370 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43371 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43372 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43373 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43374 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43385 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43386 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43411 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43413 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43414 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43415 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43423 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43424 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43425 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43426 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43427 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43428 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43429 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43434 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43436 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43437 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43438 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43439 (__isnanf): Likewise.
43440 (__isinf_ns): Likewise.
43441 (__isinf_nsf): Likewise.
43442 (__finite): Likewise.
43443 (__finitef): Likewise.
43444 (__ieee754_sqrt): Define as macro.
43445 (__ieee754_sqrtf): Define as macro.
43446 (__ieee754_sqrtl): Define as macro.
43447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43449 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43450 __FINITE_MATH_ONLY__ consistent.
43451 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43453 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43455 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43460 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43462 * po/ja.po: Update from translation team.
43464 2011-10-08 Roland McGrath <roland@hack.frob.com>
43466 * locale/programs/locarchive.c (prepare_address_space): New function.
43467 (create_archive, enlarge_archive, open_archive): Use it.
43469 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43470 inside [SHARED], where it is used.
43472 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43474 * nss/getent.c (netgroup_keys): Remove unused variable.
43475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43477 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43479 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43485 * math/Makefile (libm-calls): Add s_isinf_ns.
43486 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43487 * math/multc3.c: Likewise.
43488 * math/s_casin.c: Likewise.
43489 * math/s_casinf.c: Likewise.
43490 * math/s_casinl.c: Likewise.
43491 * math/s_ccos.c: Likewise.
43492 * math/s_ccosf.c: Likewise.
43493 * math/s_ccosl.c: Likewise.
43494 * math/s_ctan.c: Likewise.
43495 * math/s_ctanf.c: Likewise.
43496 * math/s_ctanh.c: Likewise.
43497 * math/s_ctanhf.c: Likewise.
43498 * math/s_ctanhl.c: Likewise.
43499 * math/s_ctanl.c: Likewise.
43500 * math/w_fmod.c: Likewise.
43501 * math/w_fmodf.c: Likewise.
43502 * math/w_fmodl.c: Likewise.
43503 * math/w_remainder.c: Likewise.
43504 * math/w_remainderf.c: Likewise.
43505 * math/w_remainderl.c: Likewise.
43506 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43507 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43510 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43511 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43512 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43513 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43515 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43517 * stdio-common/printf_fphex.c: Likewise.
43518 * stdio-common/printf_size.c: Likewise.
43520 * math/e_exp10.c: Include math_private.h using <...> not "...".
43521 * math/e_exp10f.c: Likewise.
43522 * math/e_exp10l.c: Likewise.
43523 * math/e_exp2l.c: Likewise.
43524 * math/e_j0l.c: Likewise.
43525 * math/e_j1l.c: Likewise.
43526 * math/e_jnl.c: Likewise.
43527 * math/e_lgammal_r.c: Likewise.
43528 * math/e_rem_pio2l.c: Likewise.
43529 * math/e_scalb.c: Likewise.
43530 * math/e_scalbf.c: Likewise.
43531 * math/e_scalbl.c: Likewise.
43532 * math/k_cosl.c: Likewise.
43533 * math/k_sinl.c: Likewise.
43534 * math/k_tanl.c: Likewise.
43535 * math/s_cacoshf.c: Likewise.
43536 * math/s_catan.c: Likewise.
43537 * math/s_catanf.c: Likewise.
43538 * math/s_catanh.c: Likewise.
43539 * math/s_catanhf.c: Likewise.
43540 * math/s_catanhl.c: Likewise.
43541 * math/s_catanl.c: Likewise.
43542 * math/s_ccosh.c: Likewise.
43543 * math/s_ccoshf.c: Likewise.
43544 * math/s_ccoshl.c: Likewise.
43545 * math/s_cexp.c: Likewise.
43546 * math/s_cexpf.c: Likewise.
43547 * math/s_cexpl.c: Likewise.
43548 * math/s_clog.c: Likewise.
43549 * math/s_clog10.c: Likewise.
43550 * math/s_clog10f.c: Likewise.
43551 * math/s_clog10l.c: Likewise.
43552 * math/s_clogf.c: Likewise.
43553 * math/s_clogl.c: Likewise.
43554 * math/s_csin.c: Likewise.
43555 * math/s_csinf.c: Likewise.
43556 * math/s_csinh.c: Likewise.
43557 * math/s_csinhf.c: Likewise.
43558 * math/s_csinhl.c: Likewise.
43559 * math/s_csinl.c: Likewise.
43560 * math/s_csqrt.c: Likewise.
43561 * math/s_csqrtf.c: Likewise.
43562 * math/s_csqrtl.c: Likewise.
43563 * math/s_ctan.c: Likewise.
43564 * math/s_ctanf.c: Likewise.
43565 * math/s_ctanh.c: Likewise.
43566 * math/s_ctanhf.c: Likewise.
43567 * math/s_ctanhl.c: Likewise.
43568 * math/s_ctanl.c: Likewise.
43569 * math/s_ldexp.c: Likewise.
43570 * math/s_ldexpf.c: Likewise.
43571 * math/s_ldexpl.c: Likewise.
43572 * math/s_significand.c: Likewise.
43573 * math/s_significandf.c: Likewise.
43574 * math/s_significandl.c: Likewise.
43575 * math/w_acos.c: Likewise.
43576 * math/w_acosf.c: Likewise.
43577 * math/w_acosh.c: Likewise.
43578 * math/w_acoshf.c: Likewise.
43579 * math/w_acoshl.c: Likewise.
43580 * math/w_acosl.c: Likewise.
43581 * math/w_asin.c: Likewise.
43582 * math/w_asinf.c: Likewise.
43583 * math/w_asinl.c: Likewise.
43584 * math/w_atan2.c: Likewise.
43585 * math/w_atan2f.c: Likewise.
43586 * math/w_atan2l.c: Likewise.
43587 * math/w_atanh.c: Likewise.
43588 * math/w_atanhf.c: Likewise.
43589 * math/w_atanhl.c: Likewise.
43590 * math/w_cosh.c: Likewise.
43591 * math/w_coshf.c: Likewise.
43592 * math/w_coshl.c: Likewise.
43593 * math/w_dremf.c: Likewise.
43594 * math/w_exp10.c: Likewise.
43595 * math/w_exp10f.c: Likewise.
43596 * math/w_exp10l.c: Likewise.
43597 * math/w_exp2.c: Likewise.
43598 * math/w_exp2f.c: Likewise.
43599 * math/w_fmod.c: Likewise.
43600 * math/w_fmodf.c: Likewise.
43601 * math/w_fmodl.c: Likewise.
43602 * math/w_hypot.c: Likewise.
43603 * math/w_hypotf.c: Likewise.
43604 * math/w_hypotl.c: Likewise.
43605 * math/w_j0.c: Likewise.
43606 * math/w_j0f.c: Likewise.
43607 * math/w_j0l.c: Likewise.
43608 * math/w_j1.c: Likewise.
43609 * math/w_j1f.c: Likewise.
43610 * math/w_j1l.c: Likewise.
43611 * math/w_jn.c: Likewise.
43612 * math/w_jnf.c: Likewise.
43613 * math/w_jnl.c: Likewise.
43614 * math/w_lgamma.c: Likewise.
43615 * math/w_lgamma_r.c: Likewise.
43616 * math/w_lgammaf.c: Likewise.
43617 * math/w_lgammaf_r.c: Likewise.
43618 * math/w_lgammal.c: Likewise.
43619 * math/w_lgammal_r.c: Likewise.
43620 * math/w_log.c: Likewise.
43621 * math/w_log10.c: Likewise.
43622 * math/w_log10f.c: Likewise.
43623 * math/w_log10l.c: Likewise.
43624 * math/w_log2.c: Likewise.
43625 * math/w_log2f.c: Likewise.
43626 * math/w_log2l.c: Likewise.
43627 * math/w_logf.c: Likewise.
43628 * math/w_logl.c: Likewise.
43629 * math/w_pow.c: Likewise.
43630 * math/w_powf.c: Likewise.
43631 * math/w_powl.c: Likewise.
43632 * math/w_remainder.c: Likewise.
43633 * math/w_remainderf.c: Likewise.
43634 * math/w_remainderl.c: Likewise.
43635 * math/w_scalb.c: Likewise.
43636 * math/w_scalbf.c: Likewise.
43637 * math/w_scalbl.c: Likewise.
43638 * math/w_sinh.c: Likewise.
43639 * math/w_sinhf.c: Likewise.
43640 * math/w_sinhl.c: Likewise.
43641 * math/w_sqrt.c: Likewise.
43642 * math/w_sqrtf.c: Likewise.
43643 * math/w_sqrtl.c: Likewise.
43644 * math/w_tgamma.c: Likewise.
43645 * math/w_tgammaf.c: Likewise.
43646 * math/w_tgammal.c: Likewise.
43648 * po/ja.po: Update from translation team.
43650 2011-09-29 Andreas Jaeger <aj@suse.de>
43653 * sunrpc/netname.c (netname2host): Fix logic.
43657 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43659 * math/w_remainder.c (__remainder): Likewise.
43660 * math/w_remainderf.c (__remainderf): Likewise.
43661 * math/libm-test.inc (remainder_test): Add test cases.
43663 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43665 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43668 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43670 * string/test-memcmp.c: Avoid unncessary #defines.
43671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43673 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43675 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43676 Use new sse2 version for core i3 - i7 as it's faster
43677 than sse42 version.
43678 (bit_Prefer_PMINUB_for_stringop): New.
43679 * sysdeps/x86_64/rawmemchr.S: Update.
43680 Replace with faster SSE2 version.
43681 * sysdeps/x86_64/memrchr.S: New file.
43682 * sysdeps/x86_64/memchr.S: Update.
43683 Replace with faster SSE2 version.
43685 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43687 * elf/dl-load.c (lose): Add cast to avoid warning.
43689 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43691 * po/ca.po: Update from translation team.
43693 * inet/getnetgrent_r.c: Hook up nscd.
43694 * nscd/Makefile (routines): Add nscd_netgroup.
43695 (nscd-modules): Add netgroupcache.
43696 (CFLAGS-netgroupcache.c): Define.
43697 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43698 (cache_search): Add const to second parameter.
43699 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43701 (dbs): Add netgrdb entry.
43702 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43703 (verify_persistent_db): Handle netgrdb.
43704 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43705 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43707 (netgroup_response_header): Define.
43708 (innetgroup_response_header): Define.
43709 (datahead): Add netgroup_response_header and innetgroup_response_header
43711 * nscd/nscd.conf: Add entries for netgroup cache.
43712 * nscd/nscd.h (dbtype): Add netgrdb.
43713 (_PATH_NSCD_NETGROUP_DB): Define.
43714 (netgroup_iov_disabled): Declare.
43715 (xmalloc, xcalloc, xrealloc): Move declarations here.
43716 (cache_search): Adjust prototype.
43717 Add netgroup-related prototypes.
43718 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43719 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43720 (__nscd_innetgr): Declare.
43721 * nscd/selinux.c (perms): Use access_vector_t as element type and
43722 add netgroup-related initializers.
43723 * nscd/netgroupcache.c: New file.
43724 * nscd/nscd_netgroup.c: New file.
43725 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43726 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43727 For four parameters use innetgr.
43728 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43729 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43730 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43731 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43733 * nscd/connections.c (register_traced_file): Don't register file
43734 for disabled databases.
43736 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43738 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43740 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43741 from tree and freeing node.
43743 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43745 * nss/nsswitch.c (__nss_database_lookup): Handle
43746 nss_parse_service_list out of memory case.
43748 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43750 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43751 out of memory case.
43753 2011-10-04 Andreas Schwab <schwab@redhat.com>
43755 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43756 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43758 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43759 elf_machine_rela, elf_machine_lazy_rel.
43760 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43761 (ELF_DYNAMIC_DO_REL): Likewise.
43762 (ELF_DYNAMIC_DO_RELA): Likewise.
43763 (ELF_DYNAMIC_RELOCATE): Likewise.
43764 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43765 to ELF_DYNAMIC_DO_REL.
43766 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43767 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43768 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43771 skip_ifunc, don't call ifunc function if non-zero.
43772 (elf_machine_rela): Likewise.
43773 (elf_machine_lazy_rel): Likewise.
43774 (elf_machine_lazy_rela): Likewise.
43775 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43776 (elf_machine_lazy_rel): Likewise.
43777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43779 (elf_machine_lazy_rel): Likewise.
43780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43782 (elf_machine_lazy_rel): Likewise.
43783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43784 (elf_machine_lazy_rel): Likewise.
43785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43786 (elf_machine_lazy_rel): Likewise.
43787 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43788 (elf_machine_lazy_rel): Likewise.
43789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43790 (elf_machine_lazy_rel): Likewise.
43791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43792 (elf_machine_lazy_rel): Likewise.
43793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43794 (elf_machine_lazy_rel): Likewise.
43796 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43798 * nss/nss_files/files-init.c (_nss_files_init): Use static
43799 initialization for all the *_traced_file variables.
43801 2011-09-28 Andreas Schwab <schwab@redhat.com>
43803 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43805 2011-09-27 Roland McGrath <roland@hack.frob.com>
43808 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43810 2011-09-27 Andreas Schwab <schwab@redhat.com>
43812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43813 Reread the line before reparsing it.
43815 2011-09-26 Andreas Schwab <schwab@redhat.com>
43817 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43819 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43820 Maxim Kuvyrkov <maxim@codesourcery.com>
43821 Joseph Myers <joseph@codesourcery.com>
43823 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43824 if needed for __stack_chk_guard.
43826 2011-09-19 Roland McGrath <roland@hack.frob.com>
43828 * sysdeps/posix/spawni.c (script_execute): Always define it.
43829 It will be optimized away if unused.
43830 (maybe_script_execute): New function.
43831 (__spawni): Call it.
43833 * Makerules: Don't include tls.make.
43834 (config-tls): Always set to thread.
43835 * tls.make.c: File removed.
43837 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43839 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43840 * config.make.in (CPPFLAGS-config): New substituted variable.
43842 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43847 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43848 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43850 2011-09-15 Roland McGrath <roland@hack.frob.com>
43852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43853 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43855 (CALL_FAIL): Likewise.
43856 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43857 (CALL_FAIL): Macro removed.
43858 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43860 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43863 for __FINITE_MATH_ONLY__ == 1.
43865 2011-09-15 Andreas Schwab <schwab@redhat.com>
43867 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43868 __ieee754_sqrt instead of sqrt.
43869 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43870 __ieee754_sqrtf instead of sqrtf.
43871 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43872 __floorf instead of floorf.
43873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43874 __floorf, __truncf instead of floorf, truncf.
43876 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43878 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43880 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43881 __extern_always_inline.
43882 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43885 2011-09-14 Andreas Schwab <schwab@redhat.com>
43887 * elf/rtld.c (dl_main): Also relocate in dependency order when
43888 doing symbol dependency testing.
43890 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43893 Always define `refsym'.
43895 2011-09-13 Andreas Schwab <schwab@redhat.com>
43897 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43898 (__FD_ELT): Renamed from __FDELT.
43899 * misc/bits/select2.h (__FD_ELT): Likewise.
43900 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43901 __FD_MASK instead of __FDELT, __FDMASK.
43902 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43904 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43907 * elf/Makefile (gen-ldd): Fix pattern.
43909 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43910 (init_tls): Likewise.
43912 2011-09-12 Ulrich Drepper <drepper@gmail.com>
43914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43916 2011-09-12 Andreas Schwab <schwab@redhat.com>
43918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43919 `struct cmsghdr *' instead of `void *'.
43920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43923 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
43925 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43927 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43928 ldd_rewrite_script.
43930 2011-09-11 Ulrich Drepper <drepper@gmail.com>
43932 * configure.in: Remove --with-tls option.
43933 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43934 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43935 out in case it is missing.
43936 * sysdeps/ia64/elf/configure.in: Likewise.
43937 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43938 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43939 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43940 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43941 * sysdeps/sh/elf/configure.in: Likewise.
43942 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43943 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43944 * sysdeps/x86_64/elf/configure.in: Likewise.
43945 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43946 * sysdeps/mach/hurd/tls.h: Likewise.
43949 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43952 * configure.in: Fix use of AC_INIT.
43954 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43956 2011-09-10 Ulrich Drepper <drepper@gmail.com>
43958 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43960 * malloc/hooks.c: Likewise.
43963 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
43964 variables statically.
43965 (narenas): Initialize.
43966 (list_lock): Initialize.
43967 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
43968 initializtion of main_arena and list_lock. Small cleanups.
43969 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43970 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
43971 Add initializers to main_arena and mp_.
43972 (malloc_state): Remove pagesize member. Change all users to use
43975 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43976 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
43977 is always initialized.
43979 * malloc/malloc.c: Removed unused configurations and dead code.
43980 * malloc/arena.c: Likewise.
43981 * malloc/hooks.c: Likewise.
43982 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43984 * include/tls.h: Removed. USE___THREAD must always be defined.
43985 * bits/libc-tsd.h: Don't handle !USE___THREAD.
43986 * elf/dl-libc.c: Likewise.
43987 * elf/dl-tsd.c: Likewise.
43988 * include/errno.h: Likewise.
43989 * include/netdb.h: Likewise.
43990 * include/resolv.h: Likewise.
43991 * inet/herrno-loc.c: Likewise.
43992 * inet/herrno.c: Likewise.
43993 * malloc/arena.c: Likewise.
43994 * malloc/hooks.c: Likewise.
43995 * malloc/malloc.c: Likewise.
43996 * resolv/res-state.c: Likewise.
43997 * resolv/res_libc.c: Likewise.
43998 * sysdeps/i386/dl-machine.h: Likewise.
43999 * sysdeps/ia64/dl-machine.h: Likewise.
44000 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44001 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44002 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44003 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44004 * sysdeps/sh/dl-machine.h: Likewise.
44005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44007 * sysdeps/unix/i386/sysdep.S: Likewise.
44008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44009 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44014 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44018 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44019 * sysdeps/x86_64/dl-machine.h: Likewise.
44020 * tls.make.c: Likewise.
44022 * configure.in: Remove --with-__thread option. Make tests for
44023 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44024 tls_model attribute fail if no support is available. Remove
44026 * Makeconfig: Adjust for dropped configure option. All features are
44028 * Makerules: Likewise.
44029 * Versions.def: Likewise.
44030 * argp/argp-fmtstream.c: Likewise.
44031 * argp/argp-fmtstream.h: Likewise.
44032 * argp/argp-help.c: Likewise.
44033 * assert/assert.c: Likewise.
44034 * config.h.in: Likewise.
44035 * config.make.in: Likewise.
44036 * configure: Likewise.
44037 * configure.in: Likewise.
44038 * csu/Versions: Likewise.
44039 * csu/init.c: Likewise.
44040 * elf/tst-audit2.c: Likewise.
44041 * elf/tst-tls10.c: Likewise.
44042 * elf/tst-tls10.h: Likewise.
44043 * elf/tst-tls11.c: Likewise.
44044 * elf/tst-tls12.c: Likewise.
44045 * elf/tst-tls14.c: Likewise.
44046 * elf/tst-tlsmod11.c: Likewise.
44047 * elf/tst-tlsmod12.c: Likewise.
44048 * elf/tst-tlsmod13.c: Likewise.
44049 * elf/tst-tlsmod13a.c: Likewise.
44050 * elf/tst-tlsmod14a.c: Likewise.
44051 * elf/tst-tlsmod15b.c: Likewise.
44052 * elf/tst-tlsmod16a.c: Likewise.
44053 * elf/tst-tlsmod16b.c: Likewise.
44054 * elf/tst-tlsmod7.c: Likewise.
44055 * elf/tst-tlsmod8.c: Likewise.
44056 * elf/tst-tlsmod9.c: Likewise.
44057 * gmon/gmon.c: Likewise.
44058 * grp/fgetgrent_r.c: Likewise.
44059 * grp/putgrent.c: Likewise.
44060 * hurd/fopenport.c: Likewise.
44061 * include/libc-symbols.h: Likewise.
44062 * include/tls.h: Likewise.
44063 * intl/gettextP.h: Likewise.
44064 * intl/loadinfo.h: Likewise.
44065 * locale/global-locale.c: Likewise.
44066 * locale/localeinfo.h: Likewise.
44067 * mach/devstream.c: Likewise.
44068 * malloc/arena.c: Likewise.
44069 * malloc/set-freeres.c: Likewise.
44070 * misc/err.c: Likewise.
44071 * misc/getttyent.c: Likewise.
44072 * misc/mntent_r.c: Likewise.
44073 * posix/getopt.c: Likewise.
44074 * posix/wordexp.c: Likewise.
44075 * pwd/fgetpwent_r.c: Likewise.
44076 * resolv/Versions: Likewise.
44077 * resolv/res_hconf.c: Likewise.
44078 * shadow/fgetspent_r.c: Likewise.
44079 * shadow/putspent.c: Likewise.
44080 * stdio-common/printf_fphex.c: Likewise.
44081 * stdio-common/tmpfile.c: Likewise.
44082 * stdlib/abort.c: Likewise.
44083 * stdlib/fmtmsg.c: Likewise.
44084 * sunrpc/auth_unix.c: Likewise.
44085 * sunrpc/clnt_perr.c: Likewise.
44086 * sunrpc/clnt_tcp.c: Likewise.
44087 * sunrpc/clnt_udp.c: Likewise.
44088 * sunrpc/clnt_unix.c: Likewise.
44089 * sunrpc/openchild.c: Likewise.
44090 * sunrpc/svc_simple.c: Likewise.
44091 * sunrpc/svc_tcp.c: Likewise.
44092 * sunrpc/svc_udp.c: Likewise.
44093 * sunrpc/svc_unix.c: Likewise.
44094 * sunrpc/xdr.c: Likewise.
44095 * sunrpc/xdr_array.c: Likewise.
44096 * sunrpc/xdr_rec.c: Likewise.
44097 * sunrpc/xdr_ref.c: Likewise.
44098 * sunrpc/xdr_stdio.c: Likewise.
44100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44102 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44104 2011-07-03 Andreas Jaeger <aj@suse.de>
44106 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44107 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44108 regenerate with gen-libm-tests.pl.
44110 2010-05-12 Petr Baudis <pasky@suse.cz>
44113 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44114 around j0() zero points by switching to j1().
44115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44120 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44122 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44127 Patch in part by Pavel Roskin <proski@gnu.org>.
44130 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44132 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44133 Free memory block if necessary.
44136 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44137 be NULL. Don't lock in this case.
44139 2011-09-09 Roland McGrath <roland@hack.frob.com>
44141 * elf/elf.h (ELFOSABI_GNU): New macro.
44142 (ELFOSABI_LINUX): Define to that.
44144 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44146 * string/strncat.c (strncat): Undef the symbol in case it has been
44147 defined in bits/string.h.
44149 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44151 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44156 2011-08-17 Andreas Jaeger <aj@suse.de>
44158 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44160 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44161 Ian Lance Taylor <iant@google.com>
44163 * math/libm-test.inc (lround_test): New testcase.
44164 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44166 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44168 * Makefile: Remove support for automatic cvs check-ins.
44169 * Makerules: Likewise.
44170 * config.make.in: Likewise.
44171 * configure.in: Likewise.
44172 * intl/Makefile: Likewise.
44173 * locale/Makefile: Likewise.
44174 * po/Makefile: Likewise.
44175 * posix/Makefile: Likewise.
44176 * sysdeps/gnu/Makefile: Likewise.
44177 * sysdeps/mach/hurd/Makefile: Likewise.
44178 * sysdeps/sparc/sparc32/Makefile: Likewise.
44181 * posix/Makefile (bug-regex32-ENV): Define.
44182 Patch by John Stanley <jpsinthemix@verizon.net>.
44184 * misc/Makefile (headers): Add bits/select2.h.
44185 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44186 * misc/bits/select2.h: New file.
44187 * include/bits/select2.h: New file.
44188 * debug/Makefile (routines): Add fdelt_chk.
44189 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44190 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44192 * debug/fdelt_chk.c: New file.
44194 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44195 * wcsmbs/test-wmemcmp.c: Likewise.
44196 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44197 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44199 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44201 * string/Makefile (strop-tests): Add memcmp.
44202 * string/test-wmemcmp.c: New file.
44203 * string/test-memcmp.c: Add wmemcmp support.
44205 2011-09-08 Roland McGrath <roland@hack.frob.com>
44208 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44211 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44212 garbage value in a __mach_port_mod_refs call in the cases of the
44213 task-self and thread-self ports.
44215 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44217 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44219 2011-09-08 Andreas Schwab <schwab@redhat.com>
44221 * elf/dl-load.c (lose): Check for non-null L.
44223 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44225 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44227 * elf/dl-libc.c (dlerror_run): Pass back error code from
44231 * elf/dl-load.c (lose): Free l_origin if it is valid.
44233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44239 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44240 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44242 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44244 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44245 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44248 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44249 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44250 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44251 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44252 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44253 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44255 2011-08-15 Alan Modra <amodra@gmail.com>
44258 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44259 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44260 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44261 ppc_mcount to static-only-routines.
44262 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44264 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44265 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44267 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44270 for finite and infinity parameters.
44272 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44275 and add nop instructions for throughput optimization.
44276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44278 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44281 aligned copy for power7 with vector-scalar instructions.
44282 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44284 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44289 2011-09-07 Andreas Schwab <schwab@redhat.com>
44292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44295 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44297 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44298 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44299 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44303 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44306 Forgot to demangle the pointer.
44308 * sysdeps/i386/sysdep.h: Define atom_text_section.
44309 * sysdeps/x86_64/sysdep.h: Likewise.
44310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44311 section with atom_text_section.
44312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44319 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44320 already be defined. Change to take two parameters and don't assign
44321 result to variable. Adjust all users.
44322 Define INTERNAL_GETTIME if not already defined.
44323 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44326 HAVE_CLOCK_GETTIME_VSYSCALL.
44327 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44330 gettimeofday vsyscall, just use time.
44332 2011-09-06 Andreas Schwab <schwab@redhat.com>
44334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44337 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44339 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44343 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44345 syscall if possible.
44347 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44349 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44350 e_ident. Don't pass to find_mapsXX.
44351 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44353 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44356 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44357 * sysdeps/x86_64/multiarch/strchr.S: Update.
44358 Check bit_slow_BSF bit.
44359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44361 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44363 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44366 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44368 (tryshell): Define.
44369 (__spawni): Change last parameter to be flag. Test
44370 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44371 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44372 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44373 * posix/spawni.c: Likewise.
44374 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44375 * posix/spawnp.c: Likewise. Change normal version to use
44376 SPAWN_XFLAGS_USE_PATH.
44377 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44378 SPAWN_XFLAGS_TRY_SHELL.
44381 * posix/glob.h: Remove gcc 1.x support.
44384 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44386 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44389 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44391 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44392 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44398 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44400 * sysdeps/x86_64/wcscmp.S: New file.
44402 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44403 wcscmp-c wcscmp-sse2
44404 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44405 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44406 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44407 * wcsmbs/wcscmp.c: Allow renaming.
44409 2011-09-05 David S. Miller <davem@davemloft.net>
44411 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44412 stack slot, rather than the struct return pointer slot.
44413 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44414 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44416 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44418 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44420 * po/ja.po: Update from translation team.
44423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44424 kernel in 64-bit binaries.
44426 2011-09-01 David S. Miller <davem@davemloft.net>
44428 * elf/elf.h (HWCAP_SPARC_*): Move to..
44429 * sysdeps/sparc/sysdep.h: this new file and add new values.
44430 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44431 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44432 _DL_HWCAP_COUNT to 24.
44433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44435 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44436 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44437 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44439 instead of magic constants.
44440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44442 2011-08-31 David S. Miller <davem@davemloft.net>
44444 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44446 Reimplement to do errno handling inline.
44447 (SYSCALL_ERROR_HANDLER): New macro.
44448 (__SYSCALL_STRING): Do not do errno handling in asm.
44449 (__CLONE_SYSCALL_STRING): Delete.
44450 (__INTERNAL_SYSCALL_STRING): Delete.
44451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44452 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44453 (PSEUDO): Reimplement to do errno handling inline.
44454 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44455 (SYSCALL_ERROR_HANDLER): New macro.
44456 (__SYSCALL_STRING): Do not do errno handling in asm.
44457 (__CLONE_SYSCALL_STRING): Delete.
44458 (__INTERNAL_SYSCALL_STRING): Delete.
44459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44460 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44462 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44463 (inline_syscall*): Add 'err' argument.
44464 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44465 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44466 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44467 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44469 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44470 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44472 2011-08-30 Andreas Schwab <schwab@redhat.com>
44474 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44476 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44478 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44481 2011-08-24 David S. Miller <davem@davemloft.net>
44483 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44485 2011-08-24 Andreas Schwab <schwab@redhat.com>
44487 * elf/Makefile: Add rules to build and run unload8 test.
44488 * elf/unload8.c: New file.
44489 * elf/unload8mod1.c: New file.
44490 * elf/unload8mod1x.c: New file.
44491 * elf/unload8mod2.c: New file.
44492 * elf/unload8mod3.c: New file.
44494 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44497 2011-08-23 David S. Miller <davem@davemloft.net>
44499 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44500 subtract stack bias.
44501 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44502 %sp not %fp in calculations.
44503 (_JMPBUF_UNWINDS_ADJ): Likewise.
44505 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44506 (aio_suspend): Call it to force an exception region around the
44507 AIO_MISC_WAIT() invocation.
44509 2011-08-23 Andreas Schwab <schwab@redhat.com>
44511 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44514 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44516 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44518 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44519 and <dl-machine.h>.
44520 (Elf64_FuncDesc): Remove.
44522 2011-08-22 David S. Miller <davem@davemloft.net>
44524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44525 sigaltstack check, add missing cfi directives.
44526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44527 missing cfi directives, and sigaltstack handling.
44529 2011-08-16 Andreas Schwab <schwab@redhat.com>
44532 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44533 object is seen twice.
44534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44536 * elf/Makefile (distribute): Add tst-initorder2.c.
44537 (tests): Add tst-initorder2.
44538 (modules-names): Add tst-initorder2a tst-initorder2b
44539 tst-initorder2c tst-initorder2d. Add rules to build them.
44540 ($(objpfx)tst-initorder2.out): New rule.
44541 * elf/tst-initorder2.c: New file.
44542 * elf/tst-initorder2.exp: New file.
44544 2011-08-22 Andreas Schwab <schwab@redhat.com>
44546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44548 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44549 dependencies back to end of function.
44551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44552 $(elfobjdir)/ld.so.
44554 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44557 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44559 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44560 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44561 of __vdso_gettimeofday.
44562 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44563 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44565 (_libc_vdso_platform_setup): Remove initialization of
44566 __vdso_gettimeofday and __vdso_time.
44568 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44570 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44571 and fgetc_unlocked.
44572 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44575 * elf/dl-open.c (add_to_global): Report additions to the global scope
44576 for LD_DEBUG=scopes.
44577 (dl_open_worker): Also print scope of newly loaded dependencies.
44578 (_dl_show_scope): Indicate if there is no scope.
44581 * stdio-common/Makefile (tests): Add bug24.
44582 * stdio-common/bug24.c: New file.
44584 2011-08-19 Andreas Jaeger <aj@suse.de>
44587 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44588 non-existant file when using close-on-exec mode.
44590 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44593 the very first instruction.
44595 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44596 the CFI state in the end.
44597 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44598 inclusion of dl-trampoline.h.
44599 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44601 2011-08-19 Andreas Schwab <schwab@redhat.com>
44603 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44604 expectations for long double.
44606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44607 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44609 2011-08-14 David S. Miller <davem@davemloft.net>
44611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44612 artificual limit depends upon the system page size.
44614 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44616 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44617 * resolv/Makefile: Define CFLAGS-libresolv.
44619 2011-08-17 Andreas Schwab <schwab@redhat.com>
44621 * nss/makedb.c (compute_tables): Make variables used in nested
44624 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44626 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44627 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44628 if buffer was too small.
44630 * elf/pldd.c (main): Attach to all threads in the process.
44631 Rewrite /proc handling to use *at functions.
44633 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44635 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44636 specifies first scope to show.
44637 (dl_open_worker): Update callers. Move printing scope of new
44638 object to before the relocation.
44639 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44640 * sysdeps/generic/ldsodefs.h: Update declaration.
44642 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44643 string for the scope number.
44645 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44647 * nscd/servicescache.c (cache_addserv): Make sure written is always
44650 2011-08-14 Roland McGrath <roland@hack.frob.com>
44652 * sysdeps/i386/i486/bits/atomic.h
44653 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44654 statement expression, so as to suppress "set but not used" warning.
44655 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44657 * string/strncat.c (STRNCAT): Use prototype definition.
44659 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44660 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44662 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44663 (localedef-modules): Add localedef.
44664 (locale-modules): Add locale.
44666 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44667 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44668 to avoid a warning.
44670 2011-08-14 David S. Miller <davem@davemloft.net>
44672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44673 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44675 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44677 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44678 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44679 * elf/rtld.c (dl_main): Set l_name of vDSO.
44680 Call _dl_show_scope when DL_DEBUG_SCOPES.
44681 (process_dl_debug): Recognize scopes flag and also set it for all.
44682 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44683 Declare _dl_show_scope.
44685 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44686 (do_dlopen): Pass caller_dlopen to dl_open.
44687 (__libc_dlopen_mode): Initialize caller_dlopen.
44689 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44690 of libc. Make tolower call locale-independent. Optimize a bit by
44691 using isdigit instead of isalnum.
44692 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44694 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44696 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44697 was a dependency or dynamically loaded.
44699 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44701 * intl/l10nflist.c: Allow architecture-specific pop function.
44702 * sysdeps/x86_64/l10nflist.c: New file.
44704 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44707 2011-08-10 Andreas Schwab <schwab@redhat.com>
44709 * include/dirent.h: Add libc_hidden_proto for scandirat and
44710 scandirat64. Don't declare __scandirat64.
44711 * dirent/scandirat.c: Add libc_hidden_def.
44712 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44713 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44715 2011-08-10 David S. Miller <davem@davemloft.net>
44717 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44723 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44725 * Versions.def [libc]: Add GLIBC_2.15.
44726 * dirent/Makefile (routines): Add scandirat and scandirat64.
44727 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44729 * dirent/dirent.h: Declare scandirat and scandirat64.
44730 * dirent/scandirat.c: New file.
44731 * dirent/scandirat64.c: New file.
44732 * sysdeps/wordsize-64/scandirat.c: New file.
44733 * sysdeps/wordsize-64/scandirat64.c: New file.
44734 * dirent/opendir.c: Define opendirat.
44735 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44737 * dirent/scandir64.c: Adjust for scandir.c change.
44738 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44739 __scandirat64, and __scandir_cancel_handler.
44740 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44741 additional parameter and use openat instead of open (outside of ld.so).
44742 Add new __opendir as wrapper around __opendirat.
44743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44744 here without requiring old scandirat implementation.
44746 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44748 * dirent/scandir.c (cancel_handler): Renamed to
44749 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44750 defined. Adjust users.
44751 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44754 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44756 * string/test-string.h (IMPL): Use __STRING to expand name and then
44759 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44762 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44764 * string/Makefile: Update.
44765 (strop-tests): Append strncat.
44766 * string/test-wcscmp.c: New file.
44767 New comprehensive test for wcscmp.
44768 * string/test-strcmp.c: Update.
44769 (WIDE): New define.
44771 2011-07-22 Andreas Schwab <schwab@redhat.com>
44773 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44776 2011-07-26 Andreas Schwab <schwab@redhat.com>
44778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44779 encoding to ACE if AI_IDN.
44781 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44784 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44786 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44789 Fix overflow bug in strncat.
44790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44792 * string/test-strncat.c: Update.
44793 Add new tests for checking overflow bugs.
44795 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44798 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44799 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44800 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44802 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44803 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44804 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44805 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44808 (USE_AS_STRCAT): Define.
44809 Add strcat and strncat support.
44810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44812 2011-07-25 Andreas Schwab <schwab@redhat.com>
44814 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44815 __n bigger than INT_MAX+1.
44816 (__strncmp_g): Likewise.
44818 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44820 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44821 * libio/stido.h: Likewise.
44823 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44828 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44835 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44840 (_dl_x86_64_save_sse): Likewise.
44842 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44846 (_dl_x86_64_save_sse): Likewise.
44848 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44850 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44852 2011-07-21 Andreas Schwab <schwab@redhat.com>
44854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44856 (_dl_x86_64_save_sse): Use correct AVX check.
44858 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44861 bug in strncpy/strncat.
44862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44864 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44866 * string/tester.c (test_strcat): Add tests for different alignments
44867 of source and destination.
44868 (test_strncat): Likewise.
44870 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44873 * posix/glob.c (glob): Check passed in values before using them in
44874 expressions to avoid some overflows.
44875 (glob_in_dir): Likewise.
44878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44879 check for AVX enablement so that we don't crash with old kernels and
44881 * elf/tst-audit4.c: Add same checks here.
44882 * elf/tst-audit6.c: Likewise.
44884 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44886 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44888 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44890 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44892 * po/cs.po: Update from translation team.
44893 * po/bg.po: Likewise.
44895 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44897 * misc/sys/cdefs.h: Add support for const attribute.
44898 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44899 to gnu_dev_{major,minor,makedev} functions.
44901 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44903 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44905 2011-07-20 Andreas Schwab <schwab@redhat.com>
44907 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44910 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44913 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44914 register in order to avoid conflicts with the soft frame pointer
44915 being held in r11 when necessary.
44916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44917 (INTERNAL_VSYSCALL_NCS): Likewise.
44919 2011-07-14 Marek Polacek <mpolacek@redhat.com>
44921 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44922 * elf/dl-fini.c (_dl_fini): Adjust caller.
44923 * elf/dl-close.c (_dl_close_worker): Likewise.
44924 * sysdeps/generic/ldsodefs.h: Adjust declaration.
44926 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44928 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44929 "aux_cache->nlibs < 0".
44931 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44932 in the reload-count case.
44934 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44937 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44938 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44939 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44940 * sysdeps/x86_64/multiarch/strcat.S: New file.
44941 * sysdeps/x86_64/multiarch/strncat.S: New file.
44942 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44944 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44945 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44947 (USE_AS_STRCAT): Define.
44948 Add strcat and strncat support.
44949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44952 * string/strncat.c: Update.
44953 (USE_AS_STRNCAT): Define.
44954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44955 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44957 * sysdeps/x86_64/multiarch/init-arch.h
44958 (bit_Prefer_PMINUB_for_stringop): New.
44959 (index_Prefer_PMINUB_for_stringop): Likewise.
44960 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44961 bit_Prefer_PMINUB_for_stringop.
44963 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44965 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44967 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44968 of casting of buffer.
44969 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44970 buffer32 and buffer64.
44971 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44972 writes instead of casting of buffer.
44973 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44975 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44978 2011-07-19 Andreas Schwab <schwab@redhat.com>
44980 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44982 2011-07-19 Ulrich Drepper <drepper@gmail.com>
44984 * nscd/nscd.c (termination_handler): Don't do anything for a database
44985 if it has not yet been initialized.
44987 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44989 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44991 2011-07-15 Marek Polacek <mpolacek@redhat.com>
44993 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44995 2011-07-18 Ulrich Drepper <drepper@gmail.com>
44997 * po/nl.po: Update from translation team.
44998 * po/sv.po: Likewise.
45000 2011-07-16 Roland McGrath <roland@hack.frob.com>
45002 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45003 now disallowed by GCC.
45005 * configure.in (use-default-link): Default to yes if a test -shared
45006 link meets our qualifications.
45007 * configure: Regenerated.
45009 * config.make.in (output-format): New variable.
45010 * configure.in: Check for ld --print-output-format support.
45011 * configure: Regenerated.
45012 * Makerules ($(common-objpfx)format.lds)
45013 [$(output-format) != unknown]: Just use $(output-format),
45014 instead of the linker-script munging.
45016 2011-07-14 Roland McGrath <roland@hack.frob.com>
45018 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45019 of $(common-objpfx)shlib.lds.
45020 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45022 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45023 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45025 * configure.in (-z relro check): Adjust test code to add a large
45026 writable data section after it.
45027 * configure: Regenerated.
45029 2011-07-11 Roland McGrath <roland@hack.frob.com>
45031 * configure.in (-z relro check): Fix test code to make the variable
45033 * configure: Regenerated.
45035 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45037 * nscd/nscd.h (struct traced_file): Define.
45038 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45039 elements. Add traced_files.
45040 (inotify_fd): Declare.
45041 (register_traced_file): Declare.
45042 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45043 (inotify_fd): Export.
45044 (resolv_conf_descr): Remove.
45045 (nscd_init): Move inotify descriptor creation to main.
45046 Don't register files for notification here.
45047 (register_traced_file): New function.
45048 (invalidate_cache): Don't use reset_res to determine whether to call
45049 res_init, go through the list of registered files.
45050 (main_loop_poll): The inotify descriptors are now stored in the
45051 structures for the traced files.
45052 (main_loop_epoll): Likewise
45053 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45054 to __nss_disable_nscd.
45055 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45056 for a database anymore. Check the records for all the registered
45058 * nss/Makefile (libnss_files-routines): Add files-init.
45059 (libnss_db-routines): Add db-init.
45060 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45061 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45062 * nss/nss_db/db-init.c: New file.
45063 * nss/nss_files/files-init.c: New file.
45064 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45065 __nss_lookup_function.
45066 (__nss_lookup_function): Call nss_load_library.
45067 (nss_load_all_libraries): New function.
45068 (__nss_disable_nscd): Take parameter with callback function for files
45069 to register. Set is_nscd. Load all the DSOs for the NSS modules
45070 used for the cached services.
45071 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45073 options for features to all the files in nscd.
45075 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45077 2011-07-10 Roland McGrath <roland@hack.frob.com>
45079 * csu/elf-init.c (__libc_csu_init): Comment typo.
45081 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45083 * po/pl.po: Update from translation team.
45084 * po/ja.po: Likewise.
45085 * po/ru.po: Likewise.
45086 * po/ko.po: Likewise.
45087 * po/fr.po: Likewise.
45089 2011-07-09 Roland McGrath <roland@hack.frob.com>
45091 * configure.in (.ctors/.dtors header and trailer check):
45092 Use an empirical test on a built program.
45093 * configure: Regenerated.
45095 * configure.in (-z relro check): Use an empirical test on a built DSO.
45096 Detect, but do not require, on ia64.
45097 * configure: Regenerated.
45099 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45100 Update tests that use readelf to use $READELF instead.
45101 * configure: Regenerated.
45103 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45105 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45106 if the result is not used.
45108 2011-07-05 Andreas Jaeger <aj@suse.de>
45111 * stdlib/tst-strtod.c: Add testcase.
45113 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45115 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45116 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45117 The latter has a higher limit. Take additional parameter to pass to
45119 (__pathconf): Pass file to __statfs_link_max.
45120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45122 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45126 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45130 (__statfs_filesize_max): Likewise.
45131 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45133 2011-07-05 Andreas Jaeger <aj@suse.de>
45135 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45137 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45139 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45141 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45144 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45146 * Makefile (strop-tests): Add strncat.
45147 * string/test-strncat.c: New file.
45149 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45151 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45153 2011-06-21 Andreas Jaeger <aj@suse.de>
45155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45156 Copy rule from iconvdata/Makefile.
45158 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45161 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45162 but no long options are defined, just return 'W'.
45164 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45167 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45169 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45171 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45173 (innetgr): Likewise.
45175 2011-07-05 Roland McGrath <roland@hack.frob.com>
45177 * config.make.in (install_root): Default to $(DESTDIR).
45179 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45183 2011-07-02 Roland McGrath <roland@hack.frob.com>
45185 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45187 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45188 containing directory rather than embedding absolute directory names.
45190 * scripts/check-local-headers.sh: Rewritten using awk.
45191 Match by word, not by line. Print error messages for matches.
45192 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45194 * Makerules [shlib-lds-flags empty]:
45195 ($(common-objpfx)libc_pic.opts): New target.
45196 ($(common-objpfx)libc_pic.os.clean): New target.
45197 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45199 * config.make.in (OBJCOPY): New variable.
45200 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45201 * configure: Regenerated.
45203 * config.make.in (use-default-link): New variable.
45204 * configure.in (use_default_link): Grok --with-default-link to set it.
45205 * configure: Regenerated.
45206 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45207 (shlib-lds, shlib-lds-flags): Define to empty.
45209 * Makerules (shlib-lds): New variable.
45210 (shlib-lds-flags): New variable.
45211 (build-shlib, build-moduile, build-module-asneeded): Use it.
45212 ($(common-objpfx)libc.so): Use $(shlib-lds).
45213 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45214 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45216 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45217 DT_FLAGS/DT_FLAGS_1 with zero flags.
45219 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45220 linker script munging.
45222 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45224 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45226 * crypt/sha512.c (sha512_process_block): Perform total addition using
45227 128-bit if possible.
45228 (__sha512_finish_ctx): Likewise.
45229 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45231 * crypt/sha256.c (SWAP64): Define.
45232 (sha256_process_block): Perform total addition using 64-bit if
45234 (__sha256_finish_ctx): Likewise.
45236 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45238 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45240 * nscd/hstcache.c (cache_addhst): Likewise.
45241 * nscd/grpcache.c (cache_addgr): Likewise.
45242 * nscd/aicache.c (addhstaiX): Likewise
45243 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45245 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45247 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45249 * nscd/hstcache.c (cache_addhst): Likewise.
45250 * nscd/grpcache.c (cache_addgr): Likewise.
45251 * nscd/aicache.c (addhstaiX): Likewise
45253 2011-07-01 Andreas Schwab <schwab@redhat.com>
45255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45256 domain only when needed.
45258 2011-06-30 Andreas Schwab <schwab@redhat.com>
45260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45261 is always restored.
45263 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45265 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45266 are re-adding the entry.
45267 * nscd/servicescache.c (cache_addserv): Likewise.
45269 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45271 * sysdeps/generic/dl-irel.h: fix protection against multiple
45273 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45275 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45278 * malloc/memusage.sh: Fix quoting in message.
45279 * debug/xtrace.sh: Likewise.
45281 * configure.in: Remove support for --experimental-malloc option, make
45283 * config.make.in: Likewise.
45284 * malloc/Makefile: Likewise.
45286 2011-06-27 Andreas Schwab <schwab@redhat.com>
45288 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45289 two-byte characters.
45291 2011-06-27 Roland McGrath <roland@hack.frob.com>
45293 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45294 AC_CACHE_CHECK invocation.
45295 * configure: Regenerated.
45297 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45299 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45302 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45303 bit from old_res_options.
45305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45307 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45308 value type for setfct.
45310 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45313 __gettimeofday instead of gettimeofday.
45315 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45317 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45319 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45326 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45329 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45330 strcpy-sse2-unaligned strncpy-sse2-unaligned
45331 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45332 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45333 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45334 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45335 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45338 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45339 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45340 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45341 (STRCPY): Support SSE2 and SSSE3 versions.
45343 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45347 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45348 kernels which artificially limit size of requests.
45350 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45353 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45354 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45355 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45356 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45357 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45358 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45359 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45362 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45363 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45364 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45365 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45366 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45368 Enable unaligned load optimization for Intel Core i3, i5 and i7
45370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45372 (index_Fast_Unaligned_Load): Define.
45373 (HAS_FAST_UNALIGNED_LOAD): Define.
45375 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45377 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45379 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45383 until it is clear that the information is realy needed.
45384 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45386 2011-06-22 Andreas Schwab <schwab@redhat.com>
45388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45390 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45393 /sys/devices/system/cpu/online if it is usable.
45395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45396 reading the information from the /proc filesystem to once a second.
45398 2011-06-21 Andreas Jaeger <aj@suse.de>
45400 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45401 NULL after inclusion of kernel headers.
45403 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45405 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45406 calls to internal_setent.
45409 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45410 addresses using gethostbyname4_r ignore IPv4 addresses.
45412 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45413 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45415 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45417 2011-06-20 David S. Miller <davem@davemloft.net>
45419 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45421 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45423 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45424 (elf_irel): Use it.
45425 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45426 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45427 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45428 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45429 * sysdeps/x86_64/dl-irel.h: Likewise.
45431 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45432 * elf/dl-sym.c: Likewise.
45434 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45436 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45437 need to dereference resplen2.
45439 2011-06-14 Andreas Schwab <schwab@redhat.com>
45441 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45443 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45445 * Makeconfig: Define vardbdir and inst_vardbdir.
45446 * nss/Makefile: Add rules to install db-Makefile.
45448 * nss/nss_db/db-XXX.c: Cleanup.
45450 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45451 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45453 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45454 * nss/makedb.c: Implement -g option to specify that value strings
45455 are generated and should not be added to table iterated over for
45457 * nss/nss_db/db-initgroups.c: New file.
45459 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45462 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45463 (internal_getgrouplist): Adjust to name change.
45464 Update use_initgroups_entry if this is not the first call.
45465 * nss/databases.def: Add initgroups entry.
45467 * nss/makedb.c (compute_tables): Check result of multiple hash table
45468 sizes to minimize maximum chain length.
45470 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45472 * Versions.def: Add entry for libnss_db.
45473 * shlib-versions: Likewise.
45474 * nss/Makefile: Add rules to build libnss_db.
45475 * nss/Versions: Add libnss_db information. Organize libnss_files
45477 * nss/db-Makefile: Add gshadow support. Change rules for the new
45478 makedb progra. Some minor improvements to generate smaller files.
45479 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45481 * nss/makedb.c: ...here.
45482 Improve database format to be smaller and require less memory at
45484 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45486 * nss/nss_db/db-netgrp.c: Likewise.
45487 * nss/nss_db/db-open.c: Likewise.
45488 * nss/nss_files/flies-XXX.x: Adjust comments.
45489 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45490 * nss/nss_files/files-grp.c: Likewise.
45491 * nss/nss_files/files-hosts.c: Likewise.
45492 * nss/nss_files/files-network.c: Likewise.
45493 * nss/nss_files/files-proto.c: Likewise.
45494 * nss/nss_files/files-pwd.c: Likewise.
45495 * nss/nss_files/files-rpc.c: Likewise.
45496 * nss/nss_files/files-service.c: Likewise.
45497 * nss/nss_files/files-sgrp.c: Likewise.
45498 * nss/nss_files/files-spwd.c: Likewise.
45499 * nss/nss_db/db-alias.c: Removed.
45500 * nss/nss_db/dummy-db.h: Removed.
45502 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45504 * nss/makedb.c: Rewritten to not use database library.
45505 * nss/Makefile: Update to build new makedb program.
45507 2011-06-14 Andreas Jaeger <aj@suse.de>
45509 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45510 memset declaration.
45512 2011-06-10 Andreas Schwab <schwab@redhat.com>
45514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45517 2011-06-10 Roland McGrath <roland@hack.frob.com>
45519 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45520 * elf/Makefile ($(objpfx)ld.so): Likewise.
45522 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45523 Don't list ld.so twice in dependencies.
45525 * posix/bug-regex31.c: Include <stdlib.h>.
45527 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45529 * nis/nss_compat/compat-spwd.c
45530 (getspent_next_nss_netgr): Remove unused variable.
45531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45533 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45534 nonmembers" output to use the right array.
45536 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45538 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45540 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45541 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45542 * catgets/gencat.c (read_input_file): Likewise.
45543 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45546 variable definition inside #if's controlling its use.
45548 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45550 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45552 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45554 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45557 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45559 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45560 * configure: Regenerated.
45562 * Makerules: Revert last change.
45563 * elf/Makefile: Likewise.
45565 2011-06-09 Roland McGrath <roland@hack.frob.com>
45567 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45568 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45569 (reloc-link): Likewise.
45571 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45573 * elf/Makefile: Add rules to build pldd.
45574 * elf/pldd.c: New file.
45575 * elf/pldd-xx.c: New file.
45577 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45579 * version.h: Update for 2.15 development version.
45581 2011-06-07 David S. Miller <davem@davemloft.net>
45583 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45586 elf_machine_lazy_rel): Likewise.
45587 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45588 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45589 elf_machine_lazy_rel): Likewise.
45590 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45591 dl_hwcap via passed in argument.
45592 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45595 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45597 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45599 2011-06-06 Roland McGrath <roland@hack.frob.com>
45602 * manual/fdl-1.1.texi: New file, verbatim from:
45603 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45604 * manual/lgpl-2.1.texi: New file, verbatim from:
45605 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45606 * manual/Makefile (licenses): New variable, list those new file names.
45608 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45610 * manual/fdl.texi: File removed.
45611 * manual/lesser.texi: File removed.
45612 * manual/libc.texinfo (Copying, Documentation License):
45613 Use new @include file names, put @appendix directive before @include.
45615 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45618 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45619 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45620 (mq_open): Add __NTH.
45622 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45625 Assume Intel Core i3/i5/i7 processor if AVX is available.
45627 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45632 2011-05-31 Andreas Schwab <schwab@redhat.com>
45634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45635 memory. Use alloca_account. Fix memory leak when retrying.
45637 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45639 * version.h (RELEASE): Bump for 2.14 release.
45640 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45642 * config.make.in (RANLIB): Remove entry.
45644 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45646 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45647 (libc.pot): Work around missing support for .ksh extension in xgettext.
45650 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45651 if both request failed.
45652 (send_dg): In case of server errors clear resplen or *resplen2.
45655 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45656 when there are multiple maps.
45657 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45658 (_dl_fini): Remove test here.
45660 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45662 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45665 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45666 bit from old_res_options.
45667 (gaih_inet): Likewise.
45670 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45673 * resolv/res_init.c (res_setoptions): Make the code more compact.
45676 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45680 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45682 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45685 * malloc/malloc.h: Declare malloc hook variables as volatile.
45687 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45691 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45692 raise in the comment.
45693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45697 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45700 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45701 grow the buffers more if it already has to be sufficient.
45702 (build_wcs_upper_buffer): Likewise.
45703 * posix/regexec.c (check_matching): Likewise.
45704 (clean_state_log_if_needed): Likewise.
45705 (extend_buffers): Don't enlarge buffers beyond size of the input
45707 Patches mostly by Emil Wojak <emil@wojak.eu>.
45708 * posix/bug-regex32.c: New file.
45709 * posix/Makefile (tests): Add bug-regex32.
45711 * locale/findlocale.c (_nl_find_locale): Return right away if
45712 _nl_explode_name failed.
45713 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45715 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45717 * debug/xtrace.sh: Unify messages.
45718 * malloc/memusage.sh: Likewise.
45721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45722 time symbol from vDSO. Substitute with vsyscall if not available.
45723 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45727 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45728 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45729 Add sendmmsg and internal_sendmmsg.
45730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45734 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45735 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45738 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45741 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45742 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45748 * iconvdata/Makefile (tests): Add bug-iconv9.
45749 * iconvdata/bug-iconv9.c: New file.
45751 2011-05-27 Andreas Schwab <schwab@redhat.com>
45754 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45756 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45759 (struct user_regs_struct): Change intcs field back to cs.
45761 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45763 * po/ja.po: Update from translation team.
45765 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45768 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45771 2011-05-20 Andreas Schwab <schwab@redhat.com>
45773 * stdlib/longlong.h: Update from GCC.
45775 2011-05-23 Andreas Schwab <schwab@redhat.com>
45777 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45779 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45780 Add parameter name.
45781 (__sysconf): Pass it down.
45783 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45786 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45789 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45790 add in in __libc_use_alloca calls. Adjust callers.
45791 (glob): Use malloc in some situations.
45793 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45794 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45797 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45799 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45800 and CLOCK_BOOTTIME_ALARM.
45803 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45806 * string/_strerror.c (__strerror_r): Print negative errors as signed
45810 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45811 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45812 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45814 * configure.in: Fix typo in redirection and correct removal of test
45815 files in two cases.
45818 * locale/setlocale.c (new_composite_name): Fix test to check for
45819 identical name of all categories.
45822 * libio/filedoalloc.c (local_isatty): New function.
45823 (_IO_file_doallocate): Use local_isatty.
45824 * stdio-common/perror.c (perror): In case a new stream is used
45825 forward the stream error.
45826 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45829 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45834 * include/alloca.h (extend_alloca_account): Define.
45837 * posix/regex.h: Fix comments with documentation of user-accessible
45838 fields after compilation and describe correct free'ing of pattern
45839 after re_compile_pattern.
45840 Patch by Reuben Thomas <rrt@sc3d.org>.
45842 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45844 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45845 and -mno-altivec to prevent the compiler from using Altivec and/or
45846 VSX instructions when the corresponding registers are not available.
45848 2011-05-19 Andreas Schwab <schwab@redhat.com>
45850 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45852 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45854 * libio/freopen.c (freopen): Use __dup2, not dup2.
45855 * libio/freopen64.c (freopen64): Likewise.
45857 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45860 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45861 * math/Makefile (tests): Add test-powl.
45862 (CFLAGS-test-powl.c): Define.
45863 * math/test-powl.c: New file.
45865 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45867 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45869 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45872 * iconvdata/gb18030.c: Update to GB18020-2005.
45874 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45876 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45877 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45878 Patch by Aharon Robbins <arnold@skeeve.com>.
45881 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45885 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45886 through underflows.
45889 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45890 point to strings before performing equality test for error_one_per_line
45894 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45898 (struct user_fpregs_struct): Avoid __uint*_t types.
45901 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45902 symbol info. Use it instead of calling _dl_addr locally.
45903 (lock_and_info): New function.
45904 (tr_freehook): Call lock_and_info and pass symbol info as additional
45905 parameter to tr_where.
45906 (tr_mallochook): Likewise.
45907 (tr_reallochook): Likewise.
45908 (tr_memalignhook): Likewise.
45910 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
45911 used and couldn't be at all thread-safe.
45913 2011-05-15 Ulrich Drepper <drepper@gmail.com>
45915 * libio/freopen.c (freopen): Don't close old file descriptor
45916 before the new one is opened. Instead dup the new file descriptor
45917 to the old one after the new stream is created.
45918 * libio/freopen64.c (freopen64): Likewise.
45919 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45920 * libio/fileops.c (_IO_new_file_close_it): Handle new
45921 _IO_FLAGS2_NOCLOSE flag.
45922 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45923 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45924 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45925 _IO_FLAGS2_NOCLOSE flag.
45926 * include/unistd.h: Add hidden_proto for dup3.
45927 Define __have_dup3.
45928 * io/dup3.c: Define hidden symbol.
45929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45932 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45933 when an incomplete long option is used.
45934 * posix/tst-getopt_long1.c: New file.
45935 * posix/Makefile (tests): Add tst-getopt_long1.
45938 * scripts/config.guess: Update from autoconf-2.68.
45939 * scripts/config.sub: Likewise.
45942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45944 (has_cpuclock): ...this. New function.
45945 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45946 macro here based on has_cpuclock code.
45949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45950 First byte (not low byte) is now always NUL.
45951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45954 Use non-cancelable interfaces.
45957 * locale/iso-639.def: Add entry for Sorani.
45960 * include/stdlib.h: Move include protection to the right place.
45961 Define abort_msg_s. Declare __abort_msg with it.
45962 * stdlib/abort.c (__abort_msg): Adjust type.
45963 * assert/assert.c (__assert_fail_base): New function. Majority
45964 of code from __assert_fail. Allocate memory for __abort_msg with
45966 (__assert_fail): Now call __assert_fail_base.
45967 * assert/assert-perr.c: Remove bulk of implementation. Use
45968 __assert_fail_base.
45969 * include/assert.hL Declare __assert_fail_base.
45970 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45972 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45974 2011-05-14 Ulrich Drepper <drepper@gmail.com>
45978 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45979 until all modules are registered in the DTV.
45980 * elf/Makefile: Add rules to build and run tst-tls19.
45981 * elf/tst-tls19.c: New file.
45982 * elf/tst-tls19mod1.c: New file.
45983 * elf/tst-tls19mod2.c: New file.
45984 * elf/tst-tls19mod3.c: New file.
45985 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45988 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45992 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45993 two-byte sequence errors.
45994 * iconvdata/Makefile (tests): Add bug-iconv8.
45995 * iconvdata/bug-iconv8.c: New file.
45998 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46001 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46004 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46005 (dummy_getcfa): New function.
46006 (init): Get _Unwind_GetCFA address, use dummy if not found.
46007 (backtrace_helper): In recursion check, also check whether CFA changes.
46008 (__backtrace): Completely initialize arg.
46010 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46011 storing incomplete byte sequence in state object. Avoid testing for
46012 guaranteed too small input if we know there is enough data available.
46014 2011-05-11 Andreas Schwab <schwab@redhat.com>
46016 * Makeconfig (+link-pie): Indent.
46017 * Rules (binaries-pie): Define if $(have-fpie) and
46019 (binaries-shared): Also filter out $(binaries-pie).
46020 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46021 * nscd/Makefile (others-pie): Add nscd.
46022 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46023 ($(objpfx)nscd): Remove command override.
46024 * login/Makefile (others-pie): Add pt_chown.
46025 ($(objpfx)pt_chown): Remove command override.
46026 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46027 remove command overrides.
46029 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46031 * libio/tst_putwc.c: Fix error messages.
46034 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46035 currently writing and seek to current position when not.
46036 * libio/Makefile (tests): Add bug-fclose1.
46037 * libio/bug-fclose1.c: New file.
46039 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46042 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46043 don't set DF_1_NODELETE here.
46044 (do_lookup_x): When entering new entry test for copy relocation
46045 and if necessary set DF_1_NODELETE flag.
46046 * elf/tst-unique4.cc: New file.
46047 * elf/tst-unique4.h: New file.
46048 * elf/tst-unique4lib.cc: New file.
46049 * elf/Makefile: Add rules to build and run tst-unique4.
46050 Patch by Piotr Bury <pbury@goahead.com>.
46052 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46055 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46058 * misc/mntent_r.c (addmntent): Flush the stream after the output
46061 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46062 (is_trusted_path_normalize): Skip initial colon. Append slash
46063 to empty buffer. Duplicate is_trusted_path code but allow
46064 constructed patch to be prefix.
46065 (is_dst): Allow $ORIGIN followed by /.
46066 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46067 Correct testing of result of is_trusted_path_normalize
46068 (decompose_rpath): Fix warning.
46070 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46073 * grp/initgroups.c (internal_getgrouplist): When we found the service
46074 list through the initgroups entry in nsswitch.conf do not always
46075 continue on a successful lookup. Don't always use the
46076 __nss_group_database value if it is set.
46077 * nss/nsswitch.conf (initgroups): Change action for successful db
46078 lookup to continue for compatibility.
46080 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46083 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46085 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46087 * iconvdata/tst-tables.sh: Likewise.
46088 * iconvdata/cp770.c: New file.
46089 * iconvdata/cp771.c: New file.
46090 * iconvdata/cp772.c: New file.
46091 * iconvdata/cp773.c: New file.
46092 * iconvdata/cp774.c: New file.
46093 * iconvdata/testdata/CP770: New file.
46094 * iconvdata/testdata/CP770..UTF8: New file.
46095 * iconvdata/testdata/CP771: New file.
46096 * iconvdata/testdata/CP771..UTF8: New file.
46097 * iconvdata/testdata/CP772: New file.
46098 * iconvdata/testdata/CP772..UTF8: New file.
46099 * iconvdata/testdata/CP773: New file.
46100 * iconvdata/testdata/CP773..UTF8: New file.
46101 * iconvdata/testdata/CP774: New file.
46102 * iconvdata/testdata/CP774..UTF8: New file.
46104 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46106 * iconvdata/gen-8bit-gap.sh: Likewise.
46107 * iconvdata/gen-8bit.sh: Likewise.
46109 * locale/iso-639.def: Add ary entry.
46112 * locale/C-translit.h.in: Add U20A1 transliteration.
46115 * locale/iso-639.def: Add wae entry.
46116 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46119 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46123 * locale/C-translit.h.in: Add entry for U20B9.
46124 Patch by pravin.d.s@gmail.com.
46126 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46129 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46130 ENAMETOOLONG use generic getcwd.
46131 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46132 in rtld. Use *stat64.
46133 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46134 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46135 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46136 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46137 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46138 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46139 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46140 __fstatat64 macros.
46141 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46142 * dirent/rewinddir.c: Add libc_hidden_def.
46143 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46144 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46146 * include/dirent.h (__alloc_dir): Add flags parameter.
46147 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46148 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46150 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46151 from fdopendir if O_CLOEXEC is already set.
46153 2011-03-15 Alan Modra <amodra@gmail.com>
46155 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46156 l_tls_firstbyte_offset non-zero. Save padding offset in
46157 l_tls_firstbyte_offset for later use.
46158 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46159 freeing static tls block.
46161 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46163 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46164 where #ifdef was intended. The intent is to prevent ARG_MAX from
46165 being defined by the kernel headers.
46167 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46170 * resolv/resolv.h: Define RES_NOTLDQUERY.
46171 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46172 no-tld-query and set RES_NOTLDQUERY.
46173 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46174 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46175 modern BIND to search name as TLD unless forbidden.
46177 2011-05-07 Petr Baudis <pasky@suse.cz>
46178 Ulrich Drepper <drepper@gmail.com>
46181 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46182 (is_trusted_path): ...to here.
46183 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46184 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46185 using is_trusted_path_normalize() in setuid scripts.
46187 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46190 __BEGIN/__END_DECLS.
46192 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46195 NSS_STATUS_NOTFOUND if no record was found.
46197 2011-05-05 Andreas Schwab <schwab@redhat.com>
46199 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46200 (headers-not-in-tirpc): Remove rpc/netdb.h
46201 * resolv/netdb.h: Revert last change.
46203 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46205 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46206 circular dependency between libgcc.a and libc.a.
46208 2011-05-05 Andreas Schwab <schwab@redhat.com>
46210 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46211 * nis/Makefile: Don't install rpcsvc/*.
46212 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46213 instead of <rpc/types.h>.
46214 (MAXHOSTNAMELEN): Define.
46216 2011-05-03 Andreas Schwab <schwab@redhat.com>
46218 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46220 2011-04-28 Maciej Babinski <mbabinski@google.com>
46223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46224 gethostbyname4_r when IPv6 results are possible.
46226 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46229 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46230 _PC_PIPE_BUF handling.
46232 2011-04-30 Bruno Haible <bruno@clisp.org>
46235 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46236 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46238 * inet/getnameinfo.c (getnameinfo): Likewise.
46240 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46242 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46243 to groups setting in database lookup.
46244 * nss/nsswitch.conf: Add initgroups entry.
46246 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46249 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46251 Patch by Eric Blake <eblake@redhat.com>.
46253 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46255 * sunrpc/Makefile (need-export-routines): Add svc_run.
46256 (routines): Remove svc_run.
46257 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46258 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46259 * sunrpc/svc_run.c (svc_run): Likewise.
46260 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46262 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46265 problem in reallocation in last patch.
46267 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46269 * sunrpc/Makefile: Move inclusion of Rules.
46271 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46273 * nss/nss_files/files-initgroups.c: New file.
46274 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46275 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46276 _nss_files_initgroups_dyn.
46278 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46280 * elf/elf.h (R_ARM_IRELATIVE): Define.
46282 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46284 * po/ru.po: Update from translation team.
46286 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46288 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46291 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46294 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46295 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46300 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46308 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46311 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46313 * stdlib/bug-getcontext.c: New file.
46314 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46316 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46318 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46319 instructions into .machine "z9-109".
46320 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46321 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46323 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46325 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46326 between environment variables and auxiliary vector.
46328 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46330 * Makefile: Add rules to build linkobj/libc.so.
46331 * include/libc-symbols.h: Define libc_hidden_nolink.
46332 * include/rpc/auth.h: Mark functions which are to be hidden.
46333 * include/rpc/auth_des.h: Likewise.
46334 * include/rpc/auth_unix.h: Likewise.
46335 * include/rpc/clnt.h: Likewise.
46336 * include/rpc/des_crypt.h: Likewise.
46337 * include/rpc/key_prot.h: Likewise.
46338 * include/rpc/pmap_clnt.h: Likewise.
46339 * include/rpc/pmap_prot.h: Likewise.
46340 * include/rpc/pmap_rmt.h: Likewise.
46341 * include/rpc/rpc_msg.h: Likewise.
46342 * include/rpc/svc.h: Likewise.
46343 * include/rpc/svc_auth.h: Likewise.
46344 * include/rpc/xdr.h: Likewise.
46345 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46346 * nss/Makefile: Likewise.
46347 * sunrpc/Makefile: Don't install headers. Build library with normal
46348 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46349 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46350 for the compat linking library. Remove use of INTDEF/INTUSE.
46351 * sunrpc/auth_none.c: Likewise.
46352 * sunrpc/auth_unix.c: Likewise.
46353 * sunrpc/authdes_prot.c: Likewise.
46354 * sunrpc/authuxprot.c: Likewise.
46355 * sunrpc/clnt_gen.c: Likewise.
46356 * sunrpc/clnt_perr.c: Likewise.
46357 * sunrpc/clnt_raw.c: Likewise.
46358 * sunrpc/clnt_simp.c: Likewise.
46359 * sunrpc/clnt_tcp.c: Likewise.
46360 * sunrpc/clnt_udp.c: Likewise.
46361 * sunrpc/clnt_unix.c: Likewise.
46362 * sunrpc/des_crypt.c: Likewise.
46363 * sunrpc/des_soft.c: Likewise.
46364 * sunrpc/get_myaddr.c: Likewise.
46365 * sunrpc/key_call.c: Likewise.
46366 * sunrpc/key_prot.c: Likewise.
46367 * sunrpc/netname.c: Likewise.
46368 * sunrpc/pm_getmaps.c: Likewise.
46369 * sunrpc/pm_getport.c: Likewise.
46370 * sunrpc/pmap_clnt.c: Likewise.
46371 * sunrpc/pmap_prot.c: Likewise.
46372 * sunrpc/pmap_prot2.c: Likewise.
46373 * sunrpc/pmap_rmt.c: Likewise.
46374 * sunrpc/publickey.c: Likewise.
46375 * sunrpc/rpc_cmsg.c: Likewise.
46376 * sunrpc/rpc_common.c: Likewise.
46377 * sunrpc/rpc_dtable.c: Likewise.
46378 * sunrpc/rpc_prot.c: Likewise.
46379 * sunrpc/rpc_thread.c: Likewise.
46380 * sunrpc/rtime.c: Likewise.
46381 * sunrpc/svc.c: Likewise.
46382 * sunrpc/svc_auth.c: Likewise.
46383 * sunrpc/svc_authux.c: Likewise.
46384 * sunrpc/svc_raw.c: Likewise.
46385 * sunrpc/svc_run.c: Likewise.
46386 * sunrpc/svc_simple.c: Likewise.
46387 * sunrpc/svc_tcp.c: Likewise.
46388 * sunrpc/svc_udp.c: Likewise.
46389 * sunrpc/svc_unix.c: Likewise.
46390 * sunrpc/svcauth_des.c: Likewise.
46391 * sunrpc/xcrypt.c: Likewise.
46392 * sunrpc/xdr.c: Likewise.
46393 * sunrpc/xdr_array.c: Likewise.
46394 * sunrpc/xdr_float.c: Likewise.
46395 * sunrpc/xdr_intXX_t.c: Likewise.
46396 * sunrpc/xdr_mem.c: Likewise.
46397 * sunrpc/xdr_rec.c: Likewise.
46398 * sunrpc/xdr_ref.c: Likewise.
46399 * sunrpc/xdr_sizeof.c: Likewise.
46400 * sunrpc/xdr_stdio.c: Likewise.
46402 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46405 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46406 * sysdeps/ia64/dl-tls.h: Likewise.
46407 * sysdeps/powerpc/dl-tls.h: Likewise.
46408 * sysdeps/s390/dl-tls.h: Likewise.
46409 * sysdeps/sh/dl-tls.h: Likewise.
46410 * sysdeps/sparc/dl-tls.h: Likewise.
46411 * sysdeps/x86_64/dl-tls.h: Likewise.
46412 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46414 2011-03-14 Andreas Schwab <schwab@redhat.com>
46416 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46417 rpath element also skip the following colon.
46418 (expand_dynamic_string_token): Add is_path parameter and pass
46419 down to DL_DST_REQUIRED and _dl_dst_substitute.
46420 (decompose_rpath): Call expand_dynamic_string_token with
46421 non-zero is_path. Ignore empty rpaths.
46422 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46425 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46430 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46433 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46434 Patch by Filipe David Manana <fdmanana@apache.org>.
46436 2011-04-07 Andreas Schwab <schwab@redhat.com>
46438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46439 Maintain aligned stack.
46440 (CHECK_RSP): Remove unused macro.
46442 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46444 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46447 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46449 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46451 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46453 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46456 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46457 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46458 * sysdeps/x86_64/memmove.c: New file.
46459 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46460 (memcpy): Renamed to ...
46461 (__new_memcpy): This.
46462 (memcpy): Provide GLIBC_2_14 memcpy.
46463 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46464 (memcpy): Provide GLIBC_2_2_5 memcpy.
46466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46469 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46471 2011-03-30 Andreas Schwab <schwab@redhat.com>
46473 * misc/syncfs.c: New file.
46474 * misc/Makefile (routines): Add syncfs.
46475 * posix/unistd.h: Declare syncfs.
46476 * sysdeps/unix/syscalls.list: Add syncfs.
46478 2011-04-01 Andreas Schwab <schwab@redhat.com>
46480 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46487 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46490 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46500 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46501 sync_file_range.c with -fexceptions.
46502 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46503 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46504 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46505 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46506 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46509 sync_file_range as cancellation point
46510 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46511 now a wrapper around __call_sync_file_range with cancellation handling.
46512 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46513 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46514 function name to __call_sync_file_range.
46515 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46516 Add call_sync_file_range.
46518 2011-04-01 Andreas Schwab <schwab@redhat.com>
46520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46523 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46525 * iconv/iconv.h: Fix typo in comment.
46526 * io/fcntl.h: Likewise.
46527 * libio/stdio.h: Likewise.
46528 * posix/spawn.h: Likewise.
46529 * posix/unistd.h: Likewise.
46530 * stdlib/stdlib.h: Likewise.
46531 * time/time.h: Likewise.
46532 * wcsmbs/wchar.h: Likewise.
46534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46535 open_by_handle): Add.
46536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46537 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46538 Augment a few comments.
46539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46544 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46547 * io/fcntl.h (AT_EMPTY_PATH): Define.
46549 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46551 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46552 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46553 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46555 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46556 * Versions.def: Add GLIBC_2.14.
46557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46560 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46562 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46564 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46566 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46569 * string/test-strncmp.c (do_page_test): New function.
46570 (check2): Likewise.
46571 (test_main): Call check2.
46572 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46574 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46578 Handle cache information in CPU leaf 4.
46579 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46581 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46584 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46585 character representation.
46586 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46588 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46590 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46591 END(__isnan) to END(__isnanf) to match function entry point/label
46592 EALIGN(__isnanf,...).
46594 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46596 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46598 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46601 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46602 copy from the symbol referenced in the relocation to initialize the
46604 Patch by Piotr Bury <pbury@goahead.com>.
46605 * elf/Makefile: Add rules to build and tst-unique3.
46606 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46607 * elf/tst-unique3.cc: New file.
46608 * elf/tst-unique3.h: New file.
46609 * elf/tst-unique3lib.cc: New file.
46610 * elf/tst-unique3lib2.cc: New file.
46612 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46614 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46616 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46617 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46620 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46622 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46623 to-be-loaded object along a path to loader is ld.so.
46625 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46626 Ulrich Drepper <drepper@gmail.com>
46628 * sysdeps/x86_64/memset.S: After aligning destination, code
46629 branches to different locations depending on the value of
46630 misalignment, when multiarch is enabled. Fix this.
46632 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46634 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46635 Set _x86_64_preferred_memory_instruction for AMD processsors.
46636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46637 Set bit_Prefer_SSE_for_memop for AMD processors.
46639 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46641 * libio/fmemopen.c (fmemopen): Optimize a bit.
46643 2011-03-03 Andreas Schwab <schwab@redhat.com>
46645 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46647 2011-03-03 Roland McGrath <roland@redhat.com>
46649 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46651 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46653 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46654 __bzero_ultra1 instead of __memset_ultra1.
46656 2011-02-23 Andreas Schwab <schwab@redhat.com>
46657 Ulrich Drepper <drepper@gmail.com>
46660 * include/link.h (struct link_map): Add l_orig_initfini.
46661 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46662 returning unsuccessfully.
46663 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46664 close of a file loaded at startup, restore the original l_initfini
46666 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46667 list, store the pointer.
46668 * elf/Makefile ($(objpfx)noload-mem): New rule.
46669 (noload-ENV): Define.
46670 (tests): Add $(objpfx)noload-mem.
46671 * elf/noload.c: Include <memcheck.h>.
46672 (main): Call mtrace. Close all opened handles.
46674 2011-02-17 Andreas Schwab <schwab@redhat.com>
46677 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46678 dependencies are missing.
46680 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46682 Fix __if_freereq crash: Unlike the generic version which uses free,
46684 * sysdeps/mach/hurd/ifreq.h: New file.
46686 2011-01-27 Petr Baudis <pasky@suse.cz>
46687 Ulrich Drepper <drepper@gmail.com>
46690 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46691 to extend_alloca().
46692 * stdio-common/bug23.c: New file.
46693 * stdio-common/Makefile (tests): Add bug23.
46695 2010-09-28 Andreas Schwab <schwab@redhat.com>
46696 Ulrich Drepper <drepper@gmail.com>
46699 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46700 before performing relro protection. At old place add assertion
46701 to make sure nothing changed.
46703 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46704 Glauber de Oliveira Costa <glommer@gmail.com>
46706 * elf/elf.h: Add new ARM TLS relocs.
46708 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46711 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46713 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46715 * sysdeps/wordsize-64/tst-writev.c: New file.
46717 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46719 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46720 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46721 insns in _dl_start to prevent a TOC reference before relocs are
46724 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46727 * Makeconfig: Remove RANLIB definition.
46728 * Makerules: Don't use RANLIB.
46729 * aclocal.m4: Remove ranlib test.
46730 * configure.in: No need to check for ranlib.
46731 * elf/rtld-Rules: Don't use RANLIB.
46733 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46735 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46737 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46738 inclusion protection macro.
46740 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46741 SIGRTMIN and SIGRTMAX and print information in that case only when
46742 SIGRTMIN is defined.
46744 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46746 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46747 arginfo fn returning -1.
46749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46750 and thousands string is zero terminated.
46752 2011-02-03 Andreas Schwab <schwab@redhat.com>
46754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46755 sysdeps/unix/sysv/linux/bits/socket.h.
46757 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46759 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46760 (__CPU_COUNT): Remove old macros.
46761 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46762 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46763 (__CPU_ALLOC, __CPU_FREE): Add macros.
46764 (__sched_cpualloc, __sched_cpufree): Add declarations.
46766 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46768 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46769 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46770 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46771 (readdhstai): Return value of addhstaiX call.
46772 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46773 (addgrbyX): Return value returned by cache_addgr.
46774 (readdgrbyname): Return value returned by addgrbyX.
46775 (readdgrbygid): Likewise.
46776 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46777 (addpwbyX): Return value returned by cache_addpw.
46778 (readdpwbyname): Return value returned by addhstbyX.
46779 (readdpwbyuid): Likewise.
46780 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46781 (addservbyX): Return value returned by cache_addserv.
46782 (readdservbyname): Return value returned by addservbyX:
46783 (readdservbyport): Likewise.
46784 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46785 (addhstbyX): Return value returned by cache_addhst.
46786 (readdhstbyname): Return value returned by addhstbyX.
46787 (readdhstbyaddr): Likewise.
46788 (readdhstbynamev6): Likewise.
46789 (readdhstbyaddrv6): Likewise.
46790 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46791 (readdinitgroups): Return value returned by addinitgroupsX.
46792 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46793 (prune_cache): Keep track of timeout value of re-added entries.
46794 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46795 * nscd/nscd.h: Adjust prototypes of readd* functions.
46797 2011-02-04 Roland McGrath <roland@redhat.com>
46799 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46800 (nis_stats): Likewise.
46801 * nis/nis_modify.c (nis_modify): Likewise.
46802 * nis/nis_remove.c (nis_remove): Likewise.
46803 * nis/nis_add.c (nis_add): Likewise.
46805 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46807 * posix/fnmatch_loop.c: Add some consts.
46809 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46811 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46814 * config.make.in (config-cflags-novzeroupper): Define.
46815 * configure.in: Substitute libc_cv_cc_novzeroupper.
46816 * elf/Makefile (AVX-CFLAGS): Define.
46817 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46818 (CFLAGS-tst-auditmod4a.c): Likewise.
46819 (CFLAGS-tst-auditmod4b.c): Likewise.
46820 (CFLAGS-tst-auditmod6b.c): Likewise.
46821 (CFLAGS-tst-auditmod6c.c): Likewise.
46822 (CFLAGS-tst-auditmod7b.c): Likewise.
46823 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46825 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46827 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46828 function to the callback.
46829 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46831 2011-02-02 Andreas Schwab <schwab@redhat.com>
46833 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46836 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46839 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46841 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46843 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46846 * elf/Makefile: Add rules to build and run new test.
46847 * elf/tst-initorder.c: New file.
46848 * elf/tst-initorder.exp: New file.
46849 * elf/tst-initordera1.c: New file.
46850 * elf/tst-initordera2.c: New file.
46851 * elf/tst-initordera3.c: New file.
46852 * elf/tst-initordera4.c: New file.
46853 * elf/tst-initorderb1.c: New file.
46854 * elf/tst-initorderb2.c: New file.
46855 * elf/tst-order-a1.c: New file.
46856 * elf/tst-order-a2.c: New file.
46857 * elf/tst-order-a3.c: New file.
46858 * elf/tst-order-a4.c: New file.
46859 * elf/tst-order-b1.c: New file.
46860 * elf/tst-order-b2.c: New file.
46861 * elf/tst-order-main.c: New file.
46862 New test case by George Gensure <werkt0@gmail.com>.
46864 2010-10-01 Andreas Schwab <schwab@redhat.com>
46866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46867 decoding ACE if AI_CANONIDN.
46869 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46871 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46873 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46875 * version.h (RELEASE): Bump for 2.13 release.
46876 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46878 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46880 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46889 * posix/getconf.c: Update copyright year.
46890 * catgets/gencat.c: Likewise.
46891 * csu/version.c: Likewise.
46892 * debug/catchsegv.sh: Likewise.
46893 * debug/xtrace.sh: Likewise.
46894 * elf/ldconfig.c: Likewise.
46895 * elf/ldd.bash.in: Likewise.
46896 * elf/sprof.c (print_version): Likewise.
46897 * iconv/iconv_prog.c: Likewise.
46898 * iconv/iconvconfig.c: Likewise.
46899 * locale/programs/locale.c: Likewise.
46900 * locale/programs/localedef.c: Likewise.
46901 * malloc/memusage.sh: Likewise.
46902 * malloc/mtrace.pl: Likewise.
46903 * nscd/nscd.c (print_version): Likewise.
46904 * nss/getent.c: Likewise.
46906 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46907 PF_CAIF, and PF_ALG.
46908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46910 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
46912 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46913 (modules-names): Use them.
46914 (ifunc-test-modules, ifunc-pie-tests): Define.
46915 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46916 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46917 (test-extras): Likewise.
46918 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46919 $(compile-command.c).
46920 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46921 (all-built-dso): Define.
46922 (check-textrel.out, check-execstack.out): Depend on it.
46924 * configure.in: Don't override --enable-multi-arch.
46926 2011-01-15 Ulrich Drepper <drepper@gmail.com>
46929 * nscd/hstcache.c (tryagain): Define.
46930 (cache_addhst): Return tryagain not notfound for temporary errors.
46931 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46934 2011-01-14 Ulrich Drepper <drepper@gmail.com>
46937 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46938 to make the syscall.
46939 * sysdeps/unix/sysv/linux/setgroups.c: New file.
46942 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46943 and fall back to matching as normal character if the string ends before
46944 the matching ']' is found. This is what POSIX requires.
46945 * posix/testfnm.c: Adjust test result.
46946 * posix/globtest.sh: Adjust test result. Add new test.
46947 * posix/tst-fnmatch.input: Likewise.
46948 * posix/tst-fnmatch2.c: Add new test.
46950 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
46952 * elf/Makefile (check-execstack): Revert last change. Depend on
46954 (check-execstack.h): New target.
46955 (generated): Add check-execstack.h.
46956 * elf/check-execstack.c: Include "check-execstack.h".
46957 (main): Revert last change.
46958 (handle_file): Return zero if GNU_STACK is absent and
46959 DEFAULT_STACK_PERMS doesn't include PF_X.
46961 2011-01-13 Ulrich Drepper <drepper@gmail.com>
46963 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46964 in child fails because the descriptor is already closed.
46965 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46966 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46970 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46974 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46975 temporary buffer used to handle multi lookups locally.
46976 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46978 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46980 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46983 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
46985 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46986 alignment for SSE2.
46988 2011-01-12 Ulrich Drepper <drepper@gmail.com>
46991 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46992 characters. When rounding increased number of integer digits recompute
46994 * stdio-common/tst-grouping.c: New file.
46995 * stdio-common/Makefile: Add rules to build and run tst-grouping.
46997 2011-01-09 Ulrich Drepper <drepper@gmail.com>
46999 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47000 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47002 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47004 * bits/select.h: Likewise.
47006 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47008 * po/ja.po: Update from translation team.
47010 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47013 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47014 implementation just like for lxstat, fxstatat, et al.
47016 2010-12-27 Jim Meyering <meyering@redhat.com>
47019 * posix/regexec.c (build_trtable): Return failure indication upon
47020 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47022 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47025 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47026 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47031 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47034 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47035 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47037 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47039 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47040 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47041 script has SORT_BY_INIT_PRIORITY.
47042 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47043 NO_CTORS_DTORS_SECTIONS is defined.
47044 * elf/soinit.c: Likewise.
47045 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47046 NO_CTORS_DTORS_SECTIONS is defined.
47047 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47048 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47049 * sysdeps/sh/init-first.c: Likewise.
47050 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47052 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47054 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47055 always use the slow path.
47057 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47059 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47060 similar rule which adds the sysdep directories to the header search in
47061 order to pick up the correct platform stackinfo.h.
47062 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47063 perform test if it is, otherwise return successfully without testing.
47064 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47065 DEFAULT_STACK_PERMS define in stackinfo.h.
47066 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47067 defined in stackinfo.h.
47068 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47069 DEFAULT_STACK_PERMS defined in stackinfo.h.
47070 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47071 * sysdeps/ia64/stackinfo.h: Likewise.
47072 * sysdeps/s390/stackinfo.h: Likewise.
47073 * sysdeps/sh/stackinfo.h: Likewise.
47074 * sysdeps/sparc/stackinfo.h: Likewise.
47075 * sysdeps/x86_64/stackinfo.h: Likewise.
47076 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47077 PF_X for powerpc64. Retain PF_X for powerpc32.
47079 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47081 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47083 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47084 GETDENTS_64BIT_ALIGNED.
47086 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47088 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47090 2010-12-10 Andreas Schwab <schwab@redhat.com>
47092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47095 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47096 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47098 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47099 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47101 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47104 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47107 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47109 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47111 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47113 * po/it.po: Update from translation team.
47115 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47120 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47122 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47124 2010-11-24 Andreas Schwab <schwab@redhat.com>
47126 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47128 (gaih_getanswer_slice): Likewise.
47130 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47134 2010-05-31 Petr Baudis <pasky@suse.cz>
47137 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47138 silently even in the chroot mode.
47140 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47142 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47143 last patch a bit. Pretty printing
47145 2010-05-31 Petr Baudis <pasky@suse.cz>
47148 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47149 initialization of skip_initgroups_dyn.
47151 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47156 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47158 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47160 2010-11-11 Andreas Schwab <schwab@redhat.com>
47162 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47163 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47164 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47165 ($(objpfx)tst-fnmatch-mem): New rule.
47166 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47167 * posix/tst-fnmatch.c (main): Call mtrace.
47169 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47172 Support Intel processor model 6 and model 0x2c.
47174 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47179 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47182 * string/test-strncasecmp.c (check_result): New function.
47183 (do_one_test): Use it.
47184 (check1): New function.
47185 (test_main): Use it.
47186 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47187 Support strcasecmp and strncasecmp.
47189 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47192 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47195 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47197 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47201 * sysdeps/x86_64/multiarch/bzero.S: New file.
47202 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47203 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47204 * sysdeps/x86_64/multiarch/memset.S: New file.
47205 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47207 Set bit_Prefer_SSE_for_memop for Intel processors.
47208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47210 (index_Prefer_SSE_for_memop): Define.
47211 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47213 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47218 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47221 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47222 (__x86_64_raw_data_cache_size_half): Likewise.
47223 (__x86_64_raw_shared_cache_size): Likewise.
47224 (__x86_64_raw_shared_cache_size_half): Likewise.
47226 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47227 (__x86_64_raw_data_cache_size_half): Likewise.
47228 (__x86_64_raw_shared_cache_size): Likewise.
47229 (__x86_64_raw_shared_cache_size_half): Likewise.
47230 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47231 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47232 and __x86_64_raw_shared_cache_size_half. Round
47233 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47234 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47235 to multiple of 256 bytes.
47237 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47241 of inacessible symlinks. Verify result of symlink before returning it.
47242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47243 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47245 2010-10-28 Erich Ritz <erichritz@gmail.com>
47247 * math/math.h (isinf): Fix typo in comment.
47249 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47251 * po/da.po: Update from translation team.
47253 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47255 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47256 is added to the list.
47258 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47259 Ulrich Drepper <drepper@gmail.com>
47261 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47262 the global list here. Move code to...
47263 (_dl_add_to_namespace_list): ...here. New function.
47264 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47265 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47266 * elf/dl-load.c (lose): Don't remove the element from the list.
47267 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47268 (_dl_map_object): Likewise.
47270 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47273 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47274 into all bytes of SSE register.
47275 Patch by Richard Li <richardpku@gmail.com>.
47277 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47280 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47283 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47285 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47286 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47288 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47293 2010-10-22 Andreas Schwab <schwab@redhat.com>
47295 * include/dlfcn.h (__RTLD_SECURE): Define.
47296 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47297 mode & __RTLD_SECURE instead.
47298 (open_path): Rename preloaded parameter to secure.
47299 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47300 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47301 * elf/dl-deps.c (openaux): Likewise.
47302 * elf/rtld.c (struct map_args): Remove is_preloaded.
47303 (map_doit): Don't use it.
47304 (dl_main): Likewise.
47305 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47306 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47308 2010-09-09 Andreas Schwab <schwab@redhat.com>
47310 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47311 (sysd-rules-targets): Remove duplicates.
47312 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47313 rtld-%.$o dependency.
47315 2010-10-18 Andreas Schwab <schwab@redhat.com>
47317 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47318 _dl_map_object do it.
47320 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47322 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47323 fast fma builtins, define the macros in the C99 standard.
47324 (FP_FAST_FMAF): Likewise.
47325 (FP_FAST_FMAL): Likewise.
47326 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47328 * bits/mathdef.h: Update copyright year.
47329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47331 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47333 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47334 builtins, define the macros in the C99 standard.
47335 (FP_FAST_FMAF): Likewise.
47336 (FP_FAST_FMAL): Likewise.
47337 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47339 (FP_FAST_FMAF): Likewise.
47341 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47344 * math/libm-test.inc (fma_test): Some new testcases.
47345 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47347 y and infinite z. Do multiplication by C already in long double.
47348 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47350 y and infinite z. Do bitwise or of inexact bit into u.d.
47351 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47352 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47353 * sysdeps/i386/fpu/s_fma.S: Removed.
47354 * sysdeps/i386/fpu/s_fmal.S: Removed.
47356 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47359 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47361 computation is not scheduled after fetestexcept. Fix value
47362 of minimum denormal long double.
47364 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47367 * math/libm-test.inc (fma_test): Add some more tests.
47368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47371 2010-10-15 Andreas Schwab <schwab@redhat.com>
47373 * scripts/data/localplt-s390-linux-gnu.data: New file.
47374 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47376 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47379 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47380 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47382 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47384 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47386 if one of x and y is very large and the other is subnormal.
47387 * sysdeps/s390/fpu/s_fmaf.c: New file.
47388 * sysdeps/s390/fpu/s_fma.c: New file.
47389 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47390 * sysdeps/powerpc/fpu/s_fma.S: New file.
47391 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47392 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47393 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47395 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47398 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47401 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47402 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47403 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47404 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47405 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47406 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47408 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47411 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47412 * posix/bug-regex31.input: Add test case.
47414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47416 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47417 * posix/bug-regex31.input: New file.
47420 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47421 (parse_sub_exp): Fix last change, use postorder.
47423 * posix/bug-regex31.c: New file.
47424 * posix/Makefile: Add rules to build and run bug-regex31.
47426 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47429 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47432 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47433 to have entries in sys_siglist.
47436 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47439 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47442 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47443 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47444 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47445 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47447 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47448 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47449 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47450 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47451 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47452 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47453 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47455 * math/ftestexcept.c (fetestexcept): Likewise.
47456 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47457 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47458 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47460 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47461 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47467 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47470 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47472 * string/bug-strstr1.c: New file.
47473 * string/Makefile: Add rules to build and run bug-strstr1.
47475 2010-10-05 Eric Blake <eblake@redhat.com>
47478 * string/str-two-way.h (two_way_long_needle): Always clear memory
47479 when skipping input due to the shift table.
47481 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47484 * malloc/mcheck.c: Handle large requests.
47487 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47488 for strncmp and strncasecmp.
47489 * string/stratcliff.c: Add tests for strcmp and strncmp.
47490 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47492 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47494 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47497 2010-09-30 Andreas Jaeger <aj@suse.de>
47499 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47500 (CGROUP_SUPER_MAGIC): Define.
47501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47502 Handle btrfs and cgroup file systems.
47503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47506 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47508 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47509 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47511 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47514 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47515 trying to locate the ELF header.
47517 2010-09-27 Andreas Schwab <schwab@redhat.com>
47520 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47521 Mask out sign-bit copies when constructing f_fsid.
47523 2010-09-24 Petr Baudis <pasky@suse.cz>
47525 * debug/stack_chk_fail_local.c: Add missing licence exception.
47526 * debug/warning-nop.c: Likewise.
47528 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47531 implementing getdents64 using getdents syscall, set d_type if
47532 __ASSUME_GETDENTS32_D_TYPE.
47534 2010-09-16 Andreas Schwab <schwab@redhat.com>
47536 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47537 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47539 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47542 * posix/unistd.h: Undo change of feature selection for ftruncate from
47545 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47547 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47550 2010-09-20 Andreas Schwab <schwab@redhat.com>
47552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47556 2010-09-14 Andreas Schwab <schwab@redhat.com>
47558 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47559 variables after CHECK_SP call.
47560 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47562 2010-09-13 Andreas Schwab <schwab@redhat.com>
47563 Ulrich Drepper <drepper@redhat.com>
47565 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47566 re-relocationg ld.so.
47567 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47568 _dl_init_paths call.
47569 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47572 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47574 * resolv/res_init.c (__res_vinit): Count the default server we added.
47576 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47577 Ulrich Drepper <drepper@redhat.com>
47580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47581 (____longjmp_chk): Use %ebx for saving value across system call.
47584 2010-09-06 Andreas Schwab <schwab@redhat.com>
47586 * manual/Makefile: Don't mix pattern rules with normal rules.
47588 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47590 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47592 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47593 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47594 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47595 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47599 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47602 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47603 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47605 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47607 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47608 * sysdeps/x86_64/addmul_1.S: Likewise.
47609 * sysdeps/x86_64/lshift.S: Likewise.
47610 * sysdeps/x86_64/mul_1.S: Likewise.
47611 * sysdeps/x86_64/rshift.S: Likewise.
47612 * sysdeps/x86_64/sub_n.S: Likewise.
47613 * sysdeps/x86_64/submul_1.S: Likewise.
47615 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47617 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47618 Define __sched_param instead of SCHED_* and sched_param when
47619 <bits/sched.h> is included with __need_schedparam defined.
47620 * bits/sched.h [__need_schedparam]
47621 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47622 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47623 (__defined_schedparam): Define to 1.
47624 (__sched_param): New structure, identical to sched_param.
47625 (__need_schedparam): Undefine.
47627 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47630 (epoll_create1): Declare.
47632 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47634 2010-08-31 Andreas Schwab <schwab@redhat.com>
47637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47638 shifting retval into place.
47640 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47642 * nis/rpcsvc/nis.h: Update copyright notice.
47643 * nis/rpcsvc/nis.x: Likewise.
47644 * nis/rpcsvc/nis_callback.h: Likewise.
47645 * nis/rpcsvc/nis_callback.x: Likewise.
47646 * nis/rpcsvc/nis_object.x: Likewise.
47647 * nis/rpcsvc/nis_tags.h: Likewise.
47648 * nis/rpcsvc/yp.h: Likewise.
47649 * nis/rpcsvc/yp.x: Likewise.
47650 * nis/rpcsvc/ypupd.h: Likewise.
47651 * nis/yp_xdr.c: Likewise.
47652 * nis/ypupdate_xdr.c: Likewise.
47654 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47655 mainly the body of pmap_getport. Add parameters to specify timeouts.
47656 (pmap_getport): Use __libc_rpc_getport.
47657 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47658 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47659 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47661 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47666 2010-08-27 Roland McGrath <roland@redhat.com>
47668 * sysdeps/i386/i686/multiarch/Makefile
47669 (CFLAGS-varshift.c): New variable.
47671 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47673 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47674 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47678 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47680 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47682 * sysdeps/x86_64/strlen.S: Unroll the loop.
47683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47684 strlen-sse2 strlen-sse2-bsf.
47685 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47686 __strlen_no_bsf if bit_Slow_BSF is set.
47687 (__strlen_sse42): Removed.
47688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47689 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47691 2010-08-25 Roland McGrath <roland@redhat.com>
47693 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47694 * sysdeps/x86_64/multiarch/varshift.c: New file.
47695 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47696 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47697 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47700 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47703 strlen-sse2 strlen-sse2-bsf.
47704 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47705 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47706 (__strlen_sse2): Removed.
47707 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47710 bit_Slow_BSF for Atom.
47711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47712 (index_Slow_BSF): Define.
47713 (HAS_SLOW_BSF): Define.
47715 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47718 * resolv/res_init.c (__res_vinit): When no server address at all
47719 is given default to loopback.
47721 2010-08-24 Roland McGrath <roland@redhat.com>
47723 * configure.in: Remove config-name.h generation.
47724 * configure: Regenerated.
47725 * config-name.in: File removed.
47726 * scripts/config-uname.sh: New file.
47727 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47728 ($(objdir)config-name.h): New target.
47730 * sunrpc/rpc_parse.h: Avoid nested comment.
47732 2010-08-24 Richard Henderson <rth@redhat.com>
47733 Ulrich Drepper <drepper@redhat.com>
47734 H.J. Lu <hongjiu.lu@intel.com>
47736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47738 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47739 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47740 _mm_alignr_epi8 with _mm_loadu_si128.
47741 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47742 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47743 (__m128i_shift_right): Removed.
47744 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47745 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47746 * sysdeps/x86_64/multiarch/varshift.h: New file.
47747 * sysdeps/x86_64/multiarch/varshift.S: New file.
47749 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47751 * configure.in: Move assembler checks to before sysdep dir checking.
47753 2010-08-20 Petr Baudis <pasky@suse.cz>
47755 * LICENSES: Sync the sunrpc license.
47757 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47759 * sunrpc/auth_des.c: Update copyright notice once again.
47760 * sunrpc/auth_none.c: Likewise.
47761 * sunrpc/auth_unix.c: Likewise.
47762 * sunrpc/authdes_prot.c: Likewise.
47763 * sunrpc/authuxprot.c: Likewise.
47764 * sunrpc/bindrsvprt.c: Likewise.
47765 * sunrpc/clnt_gen.c: Likewise.
47766 * sunrpc/clnt_perr.c: Likewise.
47767 * sunrpc/clnt_raw.c: Likewise.
47768 * sunrpc/clnt_simp.c: Likewise.
47769 * sunrpc/clnt_tcp.c: Likewise.
47770 * sunrpc/clnt_udp.c: Likewise.
47771 * sunrpc/clnt_unix.c: Likewise.
47772 * sunrpc/des_crypt.c: Likewise.
47773 * sunrpc/des_soft.c: Likewise.
47774 * sunrpc/get_myaddr.c: Likewise.
47775 * sunrpc/getrpcport.c: Likewise.
47776 * sunrpc/key_call.c: Likewise.
47777 * sunrpc/key_prot.c: Likewise.
47778 * sunrpc/openchild.c: Likewise.
47779 * sunrpc/pm_getmaps.c: Likewise.
47780 * sunrpc/pm_getport.c: Likewise.
47781 * sunrpc/pmap_clnt.c: Likewise.
47782 * sunrpc/pmap_prot.c: Likewise.
47783 * sunrpc/pmap_prot2.c: Likewise.
47784 * sunrpc/pmap_rmt.c: Likewise.
47785 * sunrpc/rpc/auth.h: Likewise.
47786 * sunrpc/rpc/auth_unix.h: Likewise.
47787 * sunrpc/rpc/clnt.h: Likewise.
47788 * sunrpc/rpc/des_crypt.h: Likewise.
47789 * sunrpc/rpc/key_prot.h: Likewise.
47790 * sunrpc/rpc/netdb.h: Likewise.
47791 * sunrpc/rpc/pmap_clnt.h: Likewise.
47792 * sunrpc/rpc/pmap_prot.h: Likewise.
47793 * sunrpc/rpc/pmap_rmt.h: Likewise.
47794 * sunrpc/rpc/rpc.h: Likewise.
47795 * sunrpc/rpc/rpc_des.h: Likewise.
47796 * sunrpc/rpc/rpc_msg.h: Likewise.
47797 * sunrpc/rpc/svc.h: Likewise.
47798 * sunrpc/rpc/svc_auth.h: Likewise.
47799 * sunrpc/rpc/types.h: Likewise.
47800 * sunrpc/rpc/xdr.h: Likewise.
47801 * sunrpc/rpc_clntout.c: Likewise.
47802 * sunrpc/rpc_cmsg.c: Likewise.
47803 * sunrpc/rpc_common.c: Likewise.
47804 * sunrpc/rpc_cout.c: Likewise.
47805 * sunrpc/rpc_dtable.c: Likewise.
47806 * sunrpc/rpc_hout.c: Likewise.
47807 * sunrpc/rpc_main.c: Likewise.
47808 * sunrpc/rpc_parse.c: Likewise.
47809 * sunrpc/rpc_parse.h: Likewise.
47810 * sunrpc/rpc_prot.c: Likewise.
47811 * sunrpc/rpc_sample.c: Likewise.
47812 * sunrpc/rpc_scan.c: Likewise.
47813 * sunrpc/rpc_scan.h: Likewise.
47814 * sunrpc/rpc_svcout.c: Likewise.
47815 * sunrpc/rpc_tblout.c: Likewise.
47816 * sunrpc/rpc_util.c: Likewise.
47817 * sunrpc/rpc_util.h: Likewise.
47818 * sunrpc/rpcinfo.c: Likewise.
47819 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47820 * sunrpc/rpcsvc/key_prot.x: Likewise.
47821 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47822 * sunrpc/rpcsvc/mount.x: Likewise.
47823 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47824 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47825 * sunrpc/rpcsvc/rex.x: Likewise.
47826 * sunrpc/rpcsvc/rstat.x: Likewise.
47827 * sunrpc/rpcsvc/rusers.x: Likewise.
47828 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47829 * sunrpc/rpcsvc/spray.x: Likewise.
47830 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47831 * sunrpc/rtime.c: Likewise.
47832 * sunrpc/svc.c: Likewise.
47833 * sunrpc/svc_auth.c: Likewise.
47834 * sunrpc/svc_authux.c: Likewise.
47835 * sunrpc/svc_raw.c: Likewise.
47836 * sunrpc/svc_run.c: Likewise.
47837 * sunrpc/svc_simple.c: Likewise.
47838 * sunrpc/svc_tcp.c: Likewise.
47839 * sunrpc/svc_udp.c: Likewise.
47840 * sunrpc/svc_unix.c: Likewise.
47841 * sunrpc/svcauth_des.c: Likewise.
47842 * sunrpc/xcrypt.c: Likewise.
47843 * sunrpc/xdr.c: Likewise.
47844 * sunrpc/xdr_array.c: Likewise.
47845 * sunrpc/xdr_float.c: Likewise.
47846 * sunrpc/xdr_mem.c: Likewise.
47847 * sunrpc/xdr_rec.c: Likewise.
47848 * sunrpc/xdr_ref.c: Likewise.
47849 * sunrpc/xdr_sizeof.c: Likewise.
47850 * sunrpc/xdr_stdio.c: Likewise.
47852 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47855 2010-08-19 Andreas Schwab <schwab@redhat.com>
47857 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47859 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47861 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47863 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47864 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47866 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47868 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47870 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47871 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47872 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47873 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47874 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47876 2010-07-26 Anton Blanchard <anton@samba.org>
47878 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47879 * malloc/arena.c (heap_trim): Likewise.
47881 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47883 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47886 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47888 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47890 * sysdeps/i386/elf/Makefile: New file.
47892 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47894 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47895 from fanotify_init.
47896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47899 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47901 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47903 * sysdeps/multiarch/strcmp.S: Likewise.
47905 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47908 strncase_l-nonascii.
47909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47910 Add strncase_l-ssse3.
47911 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47912 * sysdeps/x86_64/strcmp.S: Likewise.
47913 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47914 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47915 * sysdeps/x86_64/strncase.S: New file.
47916 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47917 * sysdeps/x86_64/strncase_l.S: New file.
47918 * string/Makefile (strop-tests): Add strncasecmp.
47919 * string/test-strncasecmp.c: New file.
47921 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47924 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47927 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47929 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47931 2010-08-12 Ulrich Drepper <drepper@redhat.com>
47933 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47937 2010-05-01 Alan Modra <amodra@gmail.com>
47939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47940 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47941 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47942 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47943 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47944 tidying. Don't tail-call __sigjmp_save for static lib.
47945 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47947 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47948 (CALL_MCOUNT): Add eh info, and nop after bl.
47949 (TAIL_CALL_SYSCALL_ERROR): New macro.
47950 (PSEUDO_RET): Use it.
47951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47952 Correct save location of integer regs and cr.
47953 (_dl_profile_resolve): Correct cr save location. Delete nops
47954 after bl when SHARED. Reduce cfi size a little by better
47955 placement of cfi directives.
47956 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47957 make a stack frame. Instead use parm save area as a temp.
47958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47959 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
47960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47961 Don't make a stack frame for parent, use parm save area.
47962 Increase child stack frame to 112 bytes. Don't save unused reg,
47963 and adjust reg usage. Set up cfi on error recovery and
47964 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47966 (__makecontext): Add dummy nop after jump to exit.
47967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47968 Use correct parm save area and cr save, reduce stack frame.
47969 Correct cfi for possible PSEUDO_RET frame setup.
47970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47971 Branch to local label emitted by PSEUDO_RET rather than
47974 2010-08-12 Andreas Schwab <schwab@redhat.com>
47977 * locale/programs/locale.c (print_assignment): New function.
47978 (show_locale_vars): Use it.
47980 2010-08-11 Ulrich Drepper <drepper@redhat.com>
47982 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47984 (struct statfs64): Likewise.
47985 (_STATFS_F_FLAGS): Define.
47986 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47988 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47989 (ST_VALID): Define locally.
47990 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47991 __statvfs_getflags, use the provided value.
47992 * sysdeps/unix/sysv/linux/kernel-features.h: Define
47993 __ASSUME_STATFS_F_FLAGS.
47995 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47998 Add sys/fanotify.h.
47999 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48000 fanotify_mask for GLIBC_2.13.
48001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48002 fanotify_init and fanotify_mark.
48003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48004 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48008 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48009 prlimit64 for GLIBC_2.13.
48010 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48020 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48023 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48024 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48026 * nss/Makefile: Add rules to build and run tst-nss-test1.
48027 * shlib-versions: Add entry for libnss_test1.
48028 * nss/nss_test1.c: New file.
48029 * nss/tst-nss-test1.c: New file.
48031 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48032 (__nss_configure_lookup): Set appropriate entry in
48033 __nss_configure_lookup to true.
48034 * nss/nsswitch.h: Define enum with indeces of databases in
48035 databases and __nss_database_custom arrays. Declare
48036 __nss_database_custom.
48037 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48038 to avoid using nscd when custom rules are installed.
48039 * nss/getXXbyYY_r.c: Likewise.
48040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48042 * nss/nss_files/files-parse.c: Whitespace fixes.
48044 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48047 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48048 * posix/fnmatch_loop.c: Likewise.
48050 2010-07-17 Andi Kleen <ak@linux.intel.com>
48052 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48053 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48054 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48055 * Versions.def [GLIBC_2.13]: Add.
48057 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48060 Also fail if tpwd after pwuid call is NULL.
48062 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48064 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48065 when converting to ms.
48067 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48069 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48070 EOPNOTSUPP errors with ENOTTY.
48071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48072 EOPNOTSUPP errors with ENOTTY.
48074 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48077 Add strcasecmp_l-ssse3.
48078 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48080 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48081 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48084 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48086 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48088 * string/Makefile (strop-tests): Add strcasecmp.
48089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48090 strcasecmp_l-nonascii.
48091 (gen-as-const-headers): Add locale-defines.sym.
48092 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48093 * sysdeps/x86_64/strcasecmp.S: New file.
48094 * sysdeps/x86_64/strcasecmp_l.S: New file.
48095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48096 * sysdeps/x86_64/locale-defines.sym: New file.
48097 * string/test-strcasecmp.c: New file.
48099 * string/test-strcasestr.c: Test both ends of the range of characters.
48100 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48102 2010-07-29 Roland McGrath <roland@redhat.com>
48105 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48107 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48109 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48112 2010-07-27 Andreas Schwab <schwab@redhat.com>
48114 * manual/memory.texi (Malloc Tunable Parameters): Document
48117 2010-07-26 Roland McGrath <roland@redhat.com>
48120 * configure.in (-fgnu89-inline check): Set and substitute
48121 gnu89_inline, not libc_cv_gnu89_inline.
48122 * configure: Regenerated.
48123 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48125 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48127 * string/test-strnlen.c: New file.
48128 * string/Makefile (strop-tests): Add strnlen.
48129 * string/tester.c (test_strnlen): Add a few more test cases.
48130 * string/tst-strlen.c: Better error reporting.
48132 * sysdeps/x86_64/strnlen.S: New file.
48134 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48137 lower-latency instructions.
48139 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48141 * string/test-strcasestr.c: New file.
48142 * string/test-strstr.c: New file.
48143 * string/Makefile (strop-tests): Add strstr and strcasestr.
48144 * string/str-two-way.h: Don't undefine MAX.
48145 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48147 2010-07-21 Andreas Schwab <schwab@redhat.com>
48149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48150 strcasestr-nonascii.
48151 (CFLAGS-strcasestr-nonascii.c): Define.
48152 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48154 Remove unused attribute.
48156 2010-07-20 Roland McGrath <roland@redhat.com>
48158 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48159 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48160 ld.so.cache was broken. With it, there is no way to disable dsocaps
48161 like LD_HWCAP_MASK can disable hwcaps.
48163 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48165 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48167 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48169 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48170 call in strcasestr.
48171 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48172 __strcasestr_sse42_nonascii.
48173 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48174 strcasestr-nonascii.c.
48175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48177 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48184 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48186 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48189 2010-07-06 Andreas Schwab <schwab@redhat.com>
48192 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48195 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48198 _PC_PIPE_BUF using F_GETPIPE_SZ.
48200 2010-07-05 Roland McGrath <roland@redhat.com>
48202 * manual/arith.texi (Rounding Functions): Fix rint description
48203 implicit in round description.
48205 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48207 * elf/Makefile: Fix linking for a few tests to make recent linker
48210 2010-06-30 Andreas Schwab <schwab@redhat.com>
48212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48213 $(common-objpfx)libc_nonshared.a.
48215 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48217 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48218 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48219 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48220 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48221 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48222 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48223 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48224 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48239 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48240 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48241 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48242 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48243 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48244 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48245 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48246 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48247 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48248 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48249 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48250 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48266 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48268 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48269 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48270 * string/memmove.c (memmove): Renamed to ...
48271 (MEMMOVE): ...this. Default to memmove.
48272 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48273 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48276 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48277 mempcpy-ssse3-back memmove-ssse3-back.
48278 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48281 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48282 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48283 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48284 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48285 * sysdeps/x86_64/multiarch/memmove.c: New file.
48286 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48287 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48288 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48289 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48293 (index_Fast_Copy_Backward): Define.
48294 (HAS_ARCH_FEATURE): Define.
48295 (HAS_FAST_REP_STRING): Define.
48296 (HAS_FAST_COPY_BACKWARD): Define.
48298 2010-06-21 Andreas Schwab <schwab@redhat.com>
48300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48301 Restore proper fallback handling.
48303 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48306 * posix/group_member.c (__group_member): Correct checking loop.
48308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48309 OOM in getpwuid_r correctly. Return error number when the caller
48310 should return, otherwise -1.
48311 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48312 call returning > 0 value.
48313 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48315 2010-06-07 Andreas Schwab <schwab@redhat.com>
48317 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48318 libc_nonshared.a from targets in modules-names.
48320 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48322 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48325 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48332 2010-06-02 Andreas Schwab <schwab@redhat.com>
48334 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48336 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48347 2010-06-14 Roland McGrath <roland@redhat.com>
48349 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48351 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48353 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48354 __REDIRECT followed by __THROW.
48355 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48356 * posix/getopt.h (getopt): Likewise.
48358 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48360 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48361 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48362 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48364 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48365 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48367 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48371 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48375 Properly check family and model.
48377 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48379 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48381 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48383 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48385 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48387 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48390 2010-05-19 Andreas Schwab <schwab@redhat.com>
48392 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48395 2010-05-21 Andreas Schwab <schwab@redhat.com>
48397 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48398 and internal_recvmmsg.
48399 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48400 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48401 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48402 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48404 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48405 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48406 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48408 2010-05-20 Andreas Schwab <schwab@redhat.com>
48410 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48412 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48414 POWER7 optimizations.
48415 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48416 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48418 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48420 * version.h: Update for 2.13 development version.
48422 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48425 exceptions. Return 0.
48427 2010-05-07 Roland McGrath <roland@redhat.com>
48429 * elf/ldconfig.c (main): Add a const.
48431 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48433 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48434 (args_options): Add no-idn option.
48435 (ahosts_keys_int): Add idn_flags to ai_flags.
48436 (parse_option): Handle 'i' option to clear idn_flags.
48438 * malloc/malloc.c (_int_free): Possible race in the most recently
48439 added check. Only act on the data if no current modification
48442 See ChangeLog.17 for earlier changes.