1 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8 (__libc_ifunc_impl_list): Likewise.
9 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10 multiarch strcat for PPC64.
11 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
14 2014-07-02 Roland McGrath <roland@hack.frob.com>
16 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20 * intl/loadmsgcat.c: Remove declaration of
21 get_sysdep_segment_value.
22 (get_sysdep_segment_value): Use ISO C style.
23 (_nl_load_domain): Use ISO C style. Get rid of redundant
24 semicolon. Fix typo and formatting in comment.
25 (_nl_unload_domain): Use ISO C style.
27 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
29 2014-07-02 Will Newton <will.newton@linaro.org>
31 * malloc/obstack.c: Merge from gnulib master.
32 [HAVE_CONFIG_H]: Remove conditional code.
33 [!_LIBC]: Include config.h.
34 [!ELIDE_CODE]: Don't include inttypes.h, include
35 stdint.h unconditionally.
36 (print_and_abort): Mark as _Noreturn.
37 (_obstack_allocated_p): Mark as __attribute_pure__.
38 (obstack_free): Rename to __obstack_free.
39 [!__attribute__]: Remove conditional code.
40 * malloc/obstack.h: Merge from gnulib master.
41 [__cplusplus]: Move conditional down.
42 [!__attribute_pure__]: Define __attribute_pure__ here
43 if it is not already defined.
44 (_obstack_memory_used): Mark as __attribute_pure__.
45 [!__obstack_free]: Define as obstack_free.
46 [__GNUC__]: Remove check for ancient NeXT gcc.
48 2014-07-02 Will Newton <will.newton@linaro.org>
49 Paul Eggert <eggert@cs.ucla.edu>
51 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
53 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
55 * resolv/gethnamaddr.c: Add comment warning that the file is
58 2014-07-01 Carlos O'Donell <carlos@redhat.com>
60 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
63 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
64 entry for aio_cancel and aio_cancel64.
65 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
66 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
67 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
68 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
69 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
70 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
71 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
72 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
73 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
74 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
75 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
76 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
77 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
79 2014-07-01 Roland McGrath <roland@hack.frob.com>
81 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
82 * nptl/pthread_mutex_lock.c: Likewise.
83 * nptl/pthread_mutex_timedlock.c: Likewise.
84 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
86 2014-07-01 Richard henderson <rth@redhat.com>
88 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
89 (__isnan, __isnanl): Remove.
90 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
92 * sysdeps/alpha/fpu/libm-test-ulps: Update.
94 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
96 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
98 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
100 * resolv/nss_dns/dns-host.c (getanswer_r)
101 [MULTI_PTRS_ARE_ALIASES]: Remove code.
103 2014-07-01 Joseph Myers <joseph@codesourcery.com>
105 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
106 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
108 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
109 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
111 2014-07-01 Roland McGrath <roland@hack.frob.com>
113 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
114 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
116 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
117 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
119 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
120 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
122 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
123 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
125 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
126 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
127 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
128 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
130 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
131 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
132 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
133 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
134 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
136 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
138 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
139 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
140 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
141 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
142 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
143 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
144 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
145 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
146 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
147 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
148 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
149 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
150 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
151 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
152 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
153 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
154 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
155 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
156 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
157 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
159 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
160 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
161 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
162 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
163 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
164 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
165 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
166 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
168 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
170 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
171 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
172 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
175 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
179 2014-06-30 Joseph Myers <joseph@codesourcery.com>
181 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
182 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
184 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
186 * sysdeps/arm/libm-test-ulps: Regenerated.
188 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
189 Roland McGrath <roland@hack.frob.com>
191 * test-skeleton.c (signal_handler): Kill the whole process group
192 before killing the child individually.
193 (main): Report any failure on `setpgid'.
195 2014-06-30 Roland McGrath <roland@hack.frob.com>
197 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
198 from _TLS_H to _ARM_NPTL_TLS_H.
199 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
200 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
202 2014-06-30 Joseph Myers <joseph@codesourcery.com>
205 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
206 (__expm1l): Return argument unchanged when small but not
209 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
211 (_FP_UNPACK_RAW_1_P): Likewise.
212 (_FP_PACK_RAW_1): Likewise.
213 (_FP_PACK_RAW_1_P): Likewise.
214 (_FP_MUL_MEAT_1_wide): Likewise.
215 (_FP_MUL_MEAT_DW_1_hard): Likewise.
216 (_FP_MUL_MEAT_1_hard): Likewise.
217 (_FP_DIV_MEAT_1_imm): Likewise.
218 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
219 (_FP_DIV_MEAT_1_udiv): Likewise.
220 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
221 (_FP_UNPACK_RAW_2): Likewise.
222 (_FP_UNPACK_RAW_2_P): Likewise.
223 (_FP_PACK_RAW_2): Likewise.
224 (_FP_PACK_RAW_2_P): Likewise.
225 (_FP_MUL_MEAT_DW_2_wide): Likewise.
226 (_FP_MUL_MEAT_2_wide): Likewise.
227 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
228 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
229 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
230 (_FP_MUL_MEAT_2_gmp): Likewise.
231 (_FP_DIV_MEAT_2_udiv): Likewise.
232 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
233 (_FP_FRAC_SRL_4): Likewise.
234 (_FP_FRAC_SRST_4): Likewise.
235 (_FP_FRAC_SRS_4): Likewise.
236 (_FP_UNPACK_RAW_4): Likewise.
237 (_FP_UNPACK_RAW_4_P): Likewise.
238 (_FP_PACK_RAW_4): Likewise.
239 (_FP_PACK_RAW_4_P): Likewise.
240 (_FP_MUL_MEAT_DW_4_wide): Likewise.
241 (_FP_MUL_MEAT_4_wide): Likewise.
242 (_FP_MUL_MEAT_4_gmp): Likewise.
243 (umul_ppppmnnn): Likewise.
244 (_FP_DIV_MEAT_4_udiv): Likewise.
245 (__FP_FRAC_ADD_4): Likewise.
246 (__FP_FRAC_SUB_3): Likewise.
247 (__FP_FRAC_SUB_4): Likewise.
248 (__FP_FRAC_DEC_3): Likewise.
249 (__FP_FRAC_DEC_4): Likewise.
250 (__FP_FRAC_ADDI_4): Likewise.
251 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
252 (_FP_FRAC_SRL_8): Likewise.
253 (_FP_FRAC_SRS_8): Likewise.
255 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
257 (FP_UNPACK_RAW_EP): Likewise.
258 (FP_PACK_RAW_E): Likewise.
259 (FP_PACK_RAW_EP): Likewise.
260 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
261 (_FP_ISSIGNAN): Likewise.
262 (_FP_ADD_INTERNAL): Likewise.
265 (_FP_SQRT): Likewise.
266 (_FP_TO_INT): Likewise.
267 (_FP_FROM_INT): Likewise.
268 (FP_EXTEND): Likewise.
269 (_FP_DIV_MEAT_N_loop): Likewise.
271 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
273 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
276 2014-06-29 Joseph Myers <joseph@codesourcery.com>
279 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
280 result with correct sign in case of exponents that produce
281 overflow except for X very close to 1.
283 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
285 mktime: merge #if/#ifdef usage from glibc
286 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
287 as that works with both Glibc's and Gnulib's style.
288 See thread starting at Siddhesh Poyarekar's bug report at:
289 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
291 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
293 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
294 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
295 * sysdeps/tile/tilegx/memmove.c: Remove file.
297 2014-06-27 Joseph Myers <joseph@codesourcery.com>
299 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
301 * scripts/soversions.awk: Do not handle or generate ABI lines.
302 * shlib-versions: Remove ABI entries.
303 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
304 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
306 2014-06-27 Roland McGrath <roland@hack.frob.com>
308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
309 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
310 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
311 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
313 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
316 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
318 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
319 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
320 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
321 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
323 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
324 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
325 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
327 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
328 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
329 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
330 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
332 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
334 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
335 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
336 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
339 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
342 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
344 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
345 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
347 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
349 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
352 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
353 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
356 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
357 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
358 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
359 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
361 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
364 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
365 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
366 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
367 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
369 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
371 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
372 Identical file removed.
373 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
375 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
376 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
377 Identical file removed.
378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
379 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
382 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
384 Identical file removed.
385 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
388 Identical file removed.
389 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
390 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
391 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
392 Identical file removed.
393 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
394 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
395 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
396 Identical file removed.
397 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
399 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
400 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
401 Identical file removed.
402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
404 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
405 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
406 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
408 Identical file removed.
409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
411 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
414 Identical file removed.
415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
417 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
419 Identical file removed.
420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
422 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
423 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
424 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
425 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
426 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
429 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
430 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
431 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
433 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
434 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
435 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
436 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
437 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
439 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
442 * nscd/nscd.c (monitor_child): Return exit status of child
443 instead of return value from wait syscall.
445 2014-06-27 Joseph Myers <joseph@codesourcery.com>
447 * configure.ac (libc_commonpagesize): Remove variable.
448 (libc_relro_required): Likewise.
449 (libc_cv_z_relro): Remove configure test.
450 * configure: Regenerated.
451 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
453 (libc_relro_required): Likewise.
454 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
455 (libc_relro_required): Likewise.
456 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
457 (libc_relro_required): Likewise.
458 * sysdeps/arm/preconfigure: Regenerated.
459 * sysdeps/ia64/preconfigure: Remove file.
460 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
462 (libc_relro_required): Likewise.
466 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
467 (__ieee754_yn): Set FE_TONEAREST mode internally and then
468 recompute overflowing results in original rounding mode.
469 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
470 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
471 recompute overflowing results in original rounding mode.
472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
473 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
474 recompute overflowing results in original rounding mode.
475 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
476 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
477 recompute overflowing results in original rounding mode.
478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
479 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
480 recompute overflowing results in original rounding mode.
481 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
482 (libc_feholdsetround_ctx): New macro.
483 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
484 * sysdeps/i386/fpu/libm-test-ulps: Update.
485 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
487 2014-06-26 Joseph Myers <joseph@codesourcery.com>
489 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
490 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
491 corresponding .cpsetup call.
493 2014-06-26 Roland McGrath <roland@hack.frob.com>
495 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
496 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
497 * sysdeps/arm/Makefile [$(subdir) = csu]
498 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
499 (static-only-routines): Add aeabi_read_tp here.
500 (shared-only-routines): Add libc-aeabi_read_tp here.
501 (CFLAGS-libc-start.c): Add -fexceptions here.
502 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
503 (sysdep_routines, static-only-routines, shared-only-routines):
504 Don't add to these here.
505 (CFLAGS-libc-start.c): Likewise.
507 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
508 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
509 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
510 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
511 * sysdeps/arm/Makefile [$(subdir) = rt]
512 (librt-sysdep_routines, librt-shared-only-routines):
513 Append rt-aeabi_unwind_cpp_pr1 here.
514 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
515 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
516 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
517 (libpthread-sysdep_routines, libpthread-shared-only-routines):
518 Append nptl-aeabi_unwind_cpp_pr1 here.
519 (tests): Filter out tst-cleanupx4 here.
520 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
521 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
524 2014-06-26 Joseph Myers <joseph@codesourcery.com>
526 * scripts/list-sources.sh: Do not handle ports specially.
528 2014-06-26 Roland McGrath <roland@hack.frob.com>
530 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
531 * sysdeps/arm/feupdateenv.c: Likewise.
533 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
535 2014-06-26 Joseph Myers <joseph@codesourcery.com>
537 * manual/texinfo.tex: Update to version 2014-05-05.10 with
538 trailing whitespace removed.
539 * scripts/config.guess: Update to version 2014-03-23.
540 * scripts/config.sub: Update to version 2014-05-01
541 * scripts/install-sh: Update to version 2013-12-25.23.
542 * scripts/move-if-change: Update from gnulib.
544 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
546 * debug/memmove_chk.c: Remove pagecopy.h include.
548 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
550 * time/mktime.c (leapyear): Remove inline keyword. The code is now
551 identical to gnulib mktime.
553 2014-06-26 Joseph Myers <joseph@codesourcery.com>
555 * configure.ac: Do not test for machine being rs6000. Do not test
557 * configure: Regenerated.
559 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
561 * configure: Regenerated.
562 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
563 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
564 Remove configure test.
565 * sysdeps/arm/configure: Regenerated.
566 * sysdeps/nptl/configure.ac: Do not check
567 libc_cv_asm_cfi_directives.
568 * sysdeps/nptl/configure: Regenerated.
569 * sysdeps/x86_64/nptl/configure.ac: Remove file.
570 * sysdeps/x86_64/nptl/configure: Remove generated file.
571 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
573 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
575 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
577 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
578 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
579 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
582 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
583 instead of whether it is defined.
584 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
585 * sysdeps/hppa/dl-machine.h: Likewise.
586 * sysdeps/ia64/dl-machine.h: Likewise.
587 * sysdeps/m68k/dl-machine.h: Likewise.
588 * sysdeps/microblaze/dl-machine.h: Likewise.
589 * sysdeps/mips/dl-machine.: Likewise.
590 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
591 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
592 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
593 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
594 * sysdeps/sh/dl-machine.h: Likewise.
595 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
596 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
597 * sysdeps/tile/dl-machine.h: Likewise.
598 * sysdeps/x86_64/dl-machine.h: Likewise.
600 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
602 (verify_persistent_db): Likewise.
604 2014-06-26 Roland McGrath <roland@hack.frob.com>
606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
607 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
609 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
612 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
617 Identical file removed.
618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
619 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
621 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
623 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
625 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
627 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
630 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
632 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
634 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
637 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
639 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
641 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
643 Identical file removed.
644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
645 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
647 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
650 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
653 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
655 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
657 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
659 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
661 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
664 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
667 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
669 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
672 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
674 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
676 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
678 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
679 * sysdeps/unix/sysv/linux/s390/Versions
680 (libpthread: GLIBC_2.19): New version set.
681 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
682 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
683 (librt: GLIBC_2.3.3): New version set.
684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
685 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
686 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
687 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
688 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
689 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
690 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
691 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
692 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
693 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
694 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
695 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
696 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
697 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
698 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
699 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
700 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
701 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
702 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
703 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
704 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
705 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
706 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
707 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
708 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
709 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
710 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
711 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
712 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
713 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
714 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
715 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
717 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
718 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
719 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
720 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
721 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
722 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
723 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
724 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
725 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
726 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
728 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
730 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
731 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
732 (__libc_vfork): Define the function under this name.
733 [!NOT_IN_libc] (__vfork): Make this an alias.
734 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
735 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
736 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
737 (__libc_vfork): Define the function under this name.
738 [!NOT_IN_libc] (__vfork): Make this an alias.
739 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
740 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
741 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
743 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
744 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
746 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
747 code that was previously under [RESET_PID].
748 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
749 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
750 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
752 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
753 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
754 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
755 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
756 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
757 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
758 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
759 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
760 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
761 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
762 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
764 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
765 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
766 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
767 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
768 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
769 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
770 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
771 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
772 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
773 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
774 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
775 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
776 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
777 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
778 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
779 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
780 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
781 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
782 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
783 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
784 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
785 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
786 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
787 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
788 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
789 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
790 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
791 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
792 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
794 2014-06-25 Roland McGrath <roland@hack.frob.com>
796 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
797 that was previously under [RESET_PID].
798 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
800 2014-06-25 Joseph Myers <joseph@codesourcery.com>
802 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
803 not undefine and redefine.
804 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
805 [O_CLOEXEC]: Make code unconditional.
806 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
807 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
809 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
810 conditional variable definition.
811 (shm_open) [O_CLOEXEC]: Make code unconditional.
812 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
815 * configure.ac (USE_REGPARMS): Don't define here.
816 * configure: Regenerated.
817 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
818 * sysdeps/i386/configure: Regenerated.
820 * nptl/createthread.c: Don't include kernel-features.h.
821 * nptl/pthread_cancel.c: Likewise.
822 * nptl/pthread_condattr_setclock.c: Likewise.
823 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
824 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
825 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
826 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
827 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
828 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
829 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
830 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
831 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
832 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
833 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
834 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
835 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
836 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
837 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
838 * nscd/gai.c: Likewise.
839 * nss/nss_db/db-open.c: Likewise.
840 * sysdeps/generic/ldsodefs.h: Likewise.
841 * sysdeps/sh/nptl/tls.h: Likewise.
842 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
843 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
844 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
845 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
846 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
847 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
848 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
849 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
850 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
851 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
852 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
853 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
854 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
855 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
856 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
857 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
858 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
859 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
860 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
861 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
863 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
864 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
865 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
867 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
868 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
869 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
870 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
871 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
872 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
873 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
874 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
875 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
876 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
877 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
878 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
879 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
880 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
881 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
882 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
883 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
884 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
885 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
886 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
887 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
888 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
889 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
890 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
891 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
892 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
893 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
894 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
895 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
896 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
897 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
922 * sysdeps/unix/sysv/linux/pread.c: Likewise.
923 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
924 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
925 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
926 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
927 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
928 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
929 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
930 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
931 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
932 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
933 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
934 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
935 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
936 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
937 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
938 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
939 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
940 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
941 * sysdeps/unix/sysv/linux/system.c: Likewise.
942 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
943 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
944 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
945 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
946 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
947 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
948 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
950 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
951 * configure: Regenerated.
952 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
954 * configure.ac (base_machine): Do not set specially for particular
956 * configure: Regenerated.
957 * sysdeps/powerpc/preconfigure: Move machine and base_machine
958 settings from configure.ac.
959 * sysdeps/i386/preconfigure: New file.
960 * sysdeps/s390/preconfigure: Likewise.
961 * sysdeps/sh/preconfigure: Likewise.
962 * sysdeps/sparc/preconfigure: Likewise.
964 2014-06-25 Roland McGrath <roland@hack.frob.com>
966 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
967 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
968 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
969 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
970 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
971 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
972 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
973 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
974 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
975 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
976 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
977 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
978 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
979 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
980 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
981 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
983 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
984 * sysdeps/sparc/sparc64/Makefile: ... appended here.
986 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
987 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
988 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
989 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
990 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
991 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
992 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
993 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
994 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
995 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
996 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
997 * sysdeps/sparc/sparc32/sem_post.c: ... here.
998 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
999 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
1000 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
1001 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
1002 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
1003 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
1004 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
1005 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
1006 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
1007 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
1008 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
1009 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
1010 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
1011 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
1012 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
1013 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
1014 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
1015 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
1016 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
1017 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
1018 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
1019 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
1020 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
1021 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
1022 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
1023 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
1025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
1026 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
1027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
1028 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
1029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
1031 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
1033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
1034 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
1035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
1036 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
1037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
1039 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
1040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
1041 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
1042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
1043 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
1044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
1046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1048 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
1049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
1051 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
1052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
1053 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
1054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
1056 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
1057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
1058 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
1059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
1060 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
1061 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
1062 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
1064 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
1065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
1067 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
1069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
1070 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
1071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
1072 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
1073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
1075 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
1076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
1077 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
1078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
1079 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
1080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
1081 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
1082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1084 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
1085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
1087 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
1088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
1089 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
1090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
1092 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
1093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
1095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
1096 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
1098 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1100 * timezone/checktab.awk: Update from tzcode 2014e.
1101 * timezone/private.h: Likewise.
1102 * timezone/tzfile.h: Likewise.
1103 * timezone/zdump.c: Likewise.
1104 * timezone/zic.c: Likewise.
1106 * sysdeps/unix/sysv/linux/kernel-features.h
1107 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
1108 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
1109 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
1110 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1111 Remove conditional code.
1113 2014-06-25 Will Newton <will.newton@linaro.org>
1115 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1116 (_dl_arm_cap_flags): Add HWCAP2 values.
1117 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
1118 (_DL_HWCAP_COUNT): Increase to 37.
1119 (_DL_HWCAP_LAST): New define.
1120 (_DL_HWCAP2_LAST): New define.
1121 (_dl_procinfo): Add support for printing
1123 (_dl_string_hwcap): Use _dl_hwcap_string.
1125 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1129 2014-06-25 Joseph Myers <joseph@codesourcery.com>
1131 * README: Do not mention ports directory.
1133 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
1135 * sysdeps/unix/sysv/linux/futimes.c: Do not include
1136 <kernel-features.h>.
1137 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
1138 conditional variable definition.
1139 (__futimes): Update comment.
1140 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
1141 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
1144 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
1145 arguments close to 0.
1146 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
1148 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
1150 * math/auto-libm-test-in: Add more tests of exp10.
1151 * math/auto-libm-test-out: Regenerated.
1152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1154 * sysdeps/unix/sysv/linux/kernel-features.h
1155 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
1156 * sysdeps/unix/sysv/linux/readv.c: Do not include
1157 <kernel-features.h>.
1158 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1159 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1160 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1162 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1164 * sysdeps/unix/sysv/linux/writev.c: Do not include
1165 <kernel-features.h>.
1166 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
1167 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
1168 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
1170 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
1173 2014-06-25 Will Newton <will.newton@linaro.org>
1175 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
1176 comment changes throughout the file. Remove checks
1177 for HAVE_*_H definitions that are not required.
1178 (__gen_tempname): Call abort if an unknown kind value is
1181 2014-06-25 Andreas Schwab <schwab@suse.de>
1184 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
1185 scalbln, scalblnf, scalblnl in libc.
1187 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1190 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
1191 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1192 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1194 2014-06-24 Roland McGrath <roland@hack.frob.com>
1196 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
1197 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
1198 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
1199 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
1201 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
1202 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
1204 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
1205 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
1206 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
1207 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
1208 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
1209 * sysdeps/x86/bits/pthreadtypes.h: ... here.
1210 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
1211 * sysdeps/x86/bits/semaphore.h: ... here.
1212 * sysdeps/x86/nptl/elide.h: Moved ...
1213 * sysdeps/x86/elide.h: ... here.
1214 * sysdeps/x86_64/nptl/Implies: File removed.
1215 * sysdeps/i386/nptl/Implies: File removed.
1217 2014-06-24 Joseph Myers <joseph@codesourcery.com>
1220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
1221 return the argument for normal arguments with exponent below -64.
1222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
1224 * math/auto-libm-test-in: Add another test of expm1.
1225 * math/auto-libm-test-out: Regenerated.
1228 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
1229 calling __erfcl for arguments at least 16.
1230 * math/auto-libm-test-in: Add more tests of erf.
1231 * math/auto-libm-test-out: Regenerated.
1233 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
1234 individual architectures.
1235 * sysdeps/unix/sysv/linux/configure: Regenerated.
1236 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
1237 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
1238 * sysdeps/unix/sysv/linux/powerpc/configure.ac
1239 (ldd_rewrite_script): Define variable.
1240 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
1245 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
1246 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
1247 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
1248 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
1249 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
1250 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
1251 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
1252 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
1254 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1257 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
1258 Rename member __data.d to __data.__elision_data.
1260 2014-06-24 Wilco <wdijkstr@arm.com>
1262 * NEWS: Add 16918 to fixed bug list.
1264 2014-06-24 Wilco <wdijkstr@arm.com>
1266 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
1268 2014-06-24 Wilco <wdijkstr@arm.com>
1270 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
1271 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
1272 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
1273 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
1274 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
1275 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
1276 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
1279 2014-06-24 Wilco <wdijkstr@arm.com>
1281 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
1283 2014-06-24 Wilco <wdijkstr@arm.com>
1285 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
1286 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
1287 * sysdeps/arm/fesetround.c (fesetround): Remove space.
1288 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
1290 2014-06-24 Wilco <wdijkstr@arm.com>
1293 * sysdeps/arm/feupdateenv.c (feupdateenv):
1294 Rewrite to reduce FPSCR accesses and fix return value.
1296 2014-06-24 Wilco <wdijkstr@arm.com>
1298 * sysdeps/arm/fclrexcpt.c (feclearexcept):
1299 Optimize to avoid unnecessary FPSCR writes.
1300 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
1301 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
1302 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
1303 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
1305 2014-06-24 Wilco <wdijkstr@arm.com>
1307 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
1308 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
1309 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
1310 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
1311 Call libc_fetestexcept_vfp.
1312 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
1313 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
1314 __SOFTFP__ ifdef so that they can be built for softfp.
1316 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1318 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
1319 argument type signed char.
1321 * Makerules (check-abi): Dump diff of symlist if the test
1324 2014-06-23 Roland McGrath <roland@hack.frob.com>
1326 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
1329 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1330 Remove unused variable ST.
1332 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1336 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
1337 small arguments before calling __expm1.
1338 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
1339 small arguments before calling __expm1f.
1340 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
1341 small arguments before calling __expm1l.
1342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
1344 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
1345 * math/auto-libm-test-in: Add more cosh tests. Do not allow
1346 spurious underflow for some cosh tests.
1347 * math/auto-libm-test-out: Regenerated.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1351 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
1352 (__ieee754_y1): Set errno if return value overflows.
1353 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
1354 (__ieee754_y1f): Set errno if return value overflows.
1355 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
1356 (__ieee754_y1l): Set errno if return value overflows.
1357 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
1358 (__ieee754_y1l): Set errno if return value overflows.
1359 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
1360 * math/auto-libm-test-out: Regenerated.
1362 * math/gen-auto-libm-tests.c: Document use of
1363 ignore-zero-inf-sign.
1364 (input_flag_type): Add value flag_ignore_zero_inf_sign.
1365 (input_flags): Add ignore-zero-inf-sign.
1366 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
1367 * math/gen-libm-test.pl (generate_testfile): Handle
1368 ignore-zero-inf-sign.
1369 * math/auto-libm-test-in: Mark some cpow tests with
1370 ignore-zero-inf-sign and some with xfail-rounding.
1371 * math/auto-libm-test-out: Regenerated.
1372 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
1373 * sysdeps/i386/fpu/libm-test-ulps: Update.
1374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1377 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
1378 overflowing or underflowing operations take place with sign of
1380 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1381 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1382 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
1383 (__ieee754_pow): Recompute overflowing and underflowing results in
1384 original rounding mode.
1385 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
1386 (__powl_helper): Allow negative argument X and scale negated value
1387 as needed. Avoid passing value outside [-1, 1] to f2xm1.
1388 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
1389 overflowing or underflowing operations take place with sign of
1391 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
1393 * math/auto-libm-test-in: Add more tests of pow.
1394 * math/auto-libm-test-out: Regenerated.
1395 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
1396 (pow_tonearest_test_data): Remove.
1397 (pow_test_tonearest): Likewise.
1398 (pow_towardzero_test_data): Likewise.
1399 (pow_test_towardzero): Likewise.
1400 (pow_downward_test_data): Likewise.
1401 (pow_test_downward): Likewise.
1402 (pow_upward_test_data): Likewise.
1403 (pow_test_upward): Likewise.
1404 (main): Don't call removed functions.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1408 2014-06-23 Roland McGrath <roland@hack.frob.com>
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1584 2014-06-23 Will Newton <will.newton@linaro.org>
1585 Wilco <wdijkstr@arm.com>
1587 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1588 implementation. Include get-rounding-mode.h.
1589 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1590 [!libc_feholdsetround_noex_ctx]: Define
1591 libc_feholdsetround_noex_ctx.
1592 [!libc_feholdsetround_noexf_ctx]: Define
1593 libc_feholdsetround_noexf_ctx.
1594 [!libc_feholdsetround_noexl_ctx]: Define
1595 libc_feholdsetround_noexl_ctx.
1596 (libc_feholdsetround_ctx): New function.
1597 (libc_feresetround_ctx): New function.
1598 (libc_feholdsetround_noex_ctx): New function.
1599 (libc_feresetround_noex_ctx): New function.
1601 2014-06-23 Roland McGrath <roland@hack.frob.com>
1603 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1604 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1605 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1606 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1607 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1608 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1610 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1611 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1612 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1613 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1614 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1615 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1616 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1617 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1618 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1619 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1622 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1625 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1626 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1627 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1630 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1634 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1636 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1637 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1639 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1642 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1643 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1644 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1645 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1647 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1651 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1652 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1653 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1654 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1658 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1660 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1661 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1665 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1667 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1668 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1669 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1670 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1671 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1672 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1674 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1676 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1681 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1682 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1683 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1684 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1685 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1687 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1688 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1689 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1690 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1691 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1694 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1695 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1696 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1697 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1698 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1699 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1700 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1701 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1702 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1703 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1704 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1705 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1706 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1707 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1708 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1709 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1710 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1711 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1712 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1713 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1714 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1716 2014-06-23 Joseph Myers <joseph@codesourcery.com>
1718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1719 (FALLOC_FL_COLLAPSE_RANGE): New macro.
1720 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1721 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1722 (IPV6_PMTUDISC_INTERFACE): Likewise.
1723 (IPV6_PMTUDISC_OMIT): Likewise.
1725 2014-06-23 Andreas Schwab <schwab@suse.de>
1727 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1728 Remove unused errout label.
1730 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1733 macro: hardware supports Vector Crypto instructions.
1735 2014-06-23 Will Newton <will.newton@linaro.org>
1737 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1738 rather than __builtin_expect.
1740 * elf/dl-lookup.c (undefined_msg): Remove variable.
1741 (_dl_lookup_symbol_x): Replace undefined_msg with string
1744 * elf/dl-lookup.c (do_lookup_unique): New function.
1745 (do_lookup_x): Move STB_GNU_UNIQUE handling code
1746 to a separate function.
1748 2014-06-23 Andreas Schwab <schwab@suse.de>
1751 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1752 before reading the next line.
1754 2014-06-23 Will Newton <will.newton@linaro.org>
1756 * test-skeleton.c (signal_handler): Use printf and %m
1757 rather than perror. Use printf rather than fprintf to
1758 stderr. Use puts rather than fputs to stderr.
1761 2014-06-22 Ludovic Courtès <ludo@gnu.org>
1763 * nscd/nscd.c (thread_info_t): Remove typedef.
1764 (thread_info): Remove variable.
1766 2014-06-21 Allan McRae <allan@archlinux.org>
1768 * NEWS: Mention CVE-2014-4043.
1770 2014-06-20 Roland McGrath <roland@hack.frob.com>
1772 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1773 * nptl/smp.h: ... here.
1775 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1777 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1778 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1779 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1780 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1782 * nptl/allocatestack.c: Include <stack-aliasing.h>.
1783 * nptl/stack-aliasing.h: New file.
1784 * sysdeps/i386/i686/stack-aliasing.h: New file.
1785 * sysdeps/i386/i686/nptl/Makefile: File removed.
1786 * sysdeps/x86_64/stack-aliasing.h: New file.
1787 * sysdeps/x86_64/nptl/Makefile
1788 (CFLAGS-pthread_create.c): Variable removed.
1790 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1791 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1793 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1794 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1797 2014-06-21 Joseph Myers <joseph@codesourcery.com>
1799 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1800 (__ASSUME_SIGFRAME_V2): Remove macro.
1801 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1802 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1803 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1804 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1805 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1806 Declare as function. Remove conditional macro definitions.
1807 (__default_rt_sa_restorer): Likewise.
1808 (__default_sa_restorer_v1): Remove declaration.
1809 (__default_sa_restorer_v2): Likewise.
1810 (__default_rt_sa_restorer_v1): Likewise.
1811 (__default_rt_sa_restorer_v2): Likewise.
1812 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1813 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1814 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1816 2014-06-20 Roland McGrath <roland@hack.frob.com>
1818 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1819 (libpthread-routines): Add sysdep.
1820 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1821 * sysdeps/unix/sysv/linux/sparc/Versions
1822 (libpthread: GLIBC_2.3.3): New version set.
1823 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1824 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1825 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1827 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
1828 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1830 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1832 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1834 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1836 * sysdeps/sparc/nptl/sem_init.c: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1838 * sysdeps/sparc/nptl/sem_post.c: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1840 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1842 * sysdeps/sparc/nptl/sem_wait.c: ... here.
1843 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1844 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1845 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1846 (libpthread-routines): Add cpu_relax.
1847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1849 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1850 (librt: GLIBC_2.3.3): New version set.
1851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1852 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1854 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1857 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1860 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1862 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1864 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1866 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1868 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1871 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1875 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1879 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1881 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1883 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1887 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1889 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1891 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1894 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1900 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1902 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1905 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1907 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1911 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1913 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1914 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1915 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1916 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1917 * nscd/nscd.c: Likewise.
1918 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1919 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1920 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1921 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1923 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1924 <kernel-features.h>.
1925 (init_mq_netlink): Remove conditional have_sock_cloexec
1926 definitions. Remove code conditional on have_sock_cloexec < 0.
1927 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1928 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1929 * sysdeps/unix/sysv/linux/opensock.c: Do not include
1930 <kernel-features.h>.
1931 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1932 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1934 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
1936 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1937 Add tests for memset_chk and memset.
1939 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1942 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1945 * elf/tst-dl-iter-static.c: New file.
1946 * elf/Makefile (tests-static): Add tst-dl-iter-static.
1948 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1951 2014-06-20 Joseph Myers <joseph@codesourcery.com>
1953 * sysdeps/unix/sysv/linux/kernel-features.h
1954 (__ASSUME_F_GETOWN_EX): Remove macro.
1955 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1956 <kernel-features.h>.
1957 (miss_F_GETOWN_EX): Remove variable or macro.
1958 (do_fcntl): Do not check miss_F_GETOWN_EX.
1959 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1961 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1964 [!__ASSUME_AT_RANDOM]: Remove conditional code.
1965 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1967 * sysdeps/unix/sysv/linux/kernel-features.h
1968 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1969 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1970 [ADJ_OFFSET_SS_READ]: Make code unconditional.
1971 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1973 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
1976 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1977 Fix calculation of the symbol's value.
1978 * sysdeps/arm/tst-armtlsdescloc.c: New file.
1979 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1980 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1981 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1982 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1983 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1984 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1985 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1986 (modules-names): Add `tst-armtlsdescmod',
1987 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1988 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1989 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1990 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1991 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1992 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1993 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1994 ($(objpfx)tst-armtlsdescloc): New dependency.
1995 ($(objpfx)tst-armtlsdescextnow): Likewise.
1996 ($(objpfx)tst-armtlsdescextlazy): Likewise.
1997 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1999 * sysdeps/arm/configure: Regenerate.
2001 2014-06-20 Joseph Myers <joseph@codesourcery.com>
2003 * include/fcntl.h (__atfct_seterrno): Remove prototype.
2004 (__atfct_seterrno_2): Likewise.
2005 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
2006 <kernel-features.h>.
2007 (__ASSUME_ATFCTS): Do not undefine and redefine.
2008 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
2009 (__have_atfcts): Remove conditional definition.
2010 (__fxstatat([__NR_fstatat64]: Make code unconditional.
2011 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
2012 unreachable if [__ASSUME_ATFCTS].
2013 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
2014 not undefine and redefine.
2015 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
2016 <kernel-features.h>.
2017 (faccessat) [__NR_faccessat]: Make code unconditional.
2018 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
2019 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
2020 <kernel-features.h>.
2021 (fchmodat) [__NR_fchmodat]: Make code unconditional.
2022 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2023 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
2024 <kernel-features.h>.
2025 (fchownat) [__NR_fchownat]: Make code unconditional.
2026 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
2027 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
2028 <kernel-features.h>.
2029 (futimesat) [__NR_futimesat]: Make code unconditional.
2030 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
2031 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2032 <kernel-features.h>.
2033 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2034 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2035 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2036 <kernel-features.h>.
2037 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
2038 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2039 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
2040 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2041 <kernel-features.h>.
2042 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
2043 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2044 * sysdeps/unix/sysv/linux/linkat.c: Do not include
2045 <kernel-features.h>.
2046 (linkat) [__NR_linkat]: Make code unconditional.
2047 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2048 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
2049 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
2050 <kernel-features.h>.
2051 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
2052 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
2053 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
2054 <kernel-features.h>.
2055 (mkdirat) [__NR_mkdirat]: Make code unconditional.
2056 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
2057 * sysdeps/unix/sysv/linux/openat.c: Do not include
2058 <kernel-features.h>.
2059 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
2060 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
2061 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
2062 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
2063 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
2064 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
2065 <kernel-features.h>.
2066 (readlinkat) [__NR_readlinkat]: Make code unconditional.
2067 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
2068 result of INLINE_SYSCALL directly, not via int variable.
2069 * sysdeps/unix/sysv/linux/renameat.c: Do not include
2070 <kernel-features.h>.
2071 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
2072 (renameat) [__NR_renameat]: Make code unconditional.
2073 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
2075 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
2076 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
2078 (__ASSUME_ATFCTS): Do not undefine and redefine.
2079 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
2080 <kernel-features.h>.
2081 (symlinkat) [__NR_symlinkat]: Make code unconditional.
2082 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2083 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
2084 <kernel-features.h>.
2085 (unlinkat) [__NR_unlinkat]: Make code unconditional.
2086 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
2087 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
2088 (__ASSUME_ATFCTS): Do not undefine and redefine.
2089 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2090 <kernel-features.h>.
2091 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
2092 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
2093 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2094 <kernel-features.h>.
2095 (__xmknodat) [__NR_mknodat]: Make code unconditional.
2096 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
2098 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
2100 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
2102 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
2105 * posix/regcomp.c (parse_reg_exp): Deallocate partially
2106 constructed tree before returning error.
2107 * posix/bug-regexp36.c: Expand test case.
2109 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2112 * math/libm-test.inc (scalbln_test_date):
2113 Add errno expectations.
2114 * math/w_scalblnf.c: New File.
2115 Add wrapper which checks for setting errno to ERANGE.
2116 Add weak_alias for corresponding scalbln function.
2117 * math/w_scalbln.c: Likewise.
2118 * math/w_scalblnl.c: Likewise.
2119 * math/Makefile (libm-calls): Add w_scalbln.
2120 * sysdeps/ieee754/flt-32/s_scalblnf.c:
2121 Remove weak_alias for corresponding scalbln function.
2122 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2124 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2126 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
2127 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2128 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
2129 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2130 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
2131 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
2132 Remove long_double_symbol for scalblnl function in libm, libc.
2133 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
2134 Add wrapper which checks for setting errno to ERANGE.
2135 Add long_double_symbol for scalblnl function in libm, libc.
2136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
2137 Remove long_double_symbol for scalblnl in libm.
2138 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
2139 Add wrapper which checks for setting errno to ERANGE.
2140 Add long_double_symbol for scalblnl function in libm.
2141 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
2142 Do not use wrapper because of own implementation.
2144 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
2146 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
2147 3 bytes for __pad1 for x32.
2148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
2150 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
2151 H.J. Lu <hongjiu.lu@intel.com>
2153 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
2154 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
2155 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2156 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2157 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
2159 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
2162 * posix/regcomp.c (parse_expression): Deallocate partially
2163 constructed tree before returning error.
2164 * posix/Makefile.c (tests): Add bug-regex36.
2165 (generated): Add bug-regex36.mtrace.
2166 (tests-special): Add $(objpfx)bug-regex36-mem.out
2167 (bug-regex36-ENV): New variable.
2168 ($(objpfx)bug-regex36-mem.out): New rule.
2169 * posix/bug-regex36.c: New file.
2171 2014-06-19 Will Newton <will.newton@linaro.org>
2173 * malloc/malloc.c (systrim): If extra is zero then return
2176 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2178 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
2180 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
2182 * sysdeps/aarch64/strchr.S: New file.
2184 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2187 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
2188 from arguments -2 or below.
2189 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2190 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2192 2014-06-18 Andreas Schwab <schwab@suse.de>
2195 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
2196 of a bracket expr not to run off the end of the string.
2197 * posix/Makefile (tests): Add tst-fnmatch3.
2198 * posix/tst-fnmatch3.c: New file.
2200 2014-06-18 Joseph Myers <joseph@codesourcery.com>
2202 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
2203 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2204 [$(cross-compiling) = no]: Likewise.
2205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2206 [$(cross-compiling) = no]: Likewise.
2208 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2211 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
2212 double, adjusted for any remainder from the high double.
2213 * math/libm-test.inc (nearbyint): Add tests.
2216 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2218 * nptl/sysdeps/powerpc/Makefile: Moved ...
2219 * sysdeps/powerpc/nptl/Makefile: ... here.
2220 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
2221 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
2222 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
2223 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
2224 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
2225 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
2226 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
2227 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
2228 * nptl/sysdeps/powerpc/tls.h: Moved ...
2229 * sysdeps/powerpc/nptl/tls.h: ... here.
2231 2014-06-16 Joseph Myers <joseph@codesourcery.com>
2234 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
2235 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2236 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
2237 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
2238 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2239 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
2240 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
2241 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2242 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
2244 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
2246 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2248 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
2250 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
2253 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
2256 2014-06-16 Florian Weimer <fweimer@redhat.com>
2259 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
2260 non-executed part of the test.
2262 2014-06-16 Andreas Schwab <schwab@suse.de>
2264 * string/bits/string2.h (strdup, strndup): Update feature guard.
2266 2014-06-14 David S. Miller <davem@davemloft.net>
2268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2270 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
2272 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
2273 that was previously under [RESET_PID].
2274 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
2276 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
2277 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
2278 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
2279 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2280 (__libc_vfork): New strong alias.
2281 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
2283 2014-06-14 Andi Kleen <ak@linux.intel.com>
2285 * sysdeps/generic/elide.h: New file.
2287 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2289 * Makefile (installed-headers): Adjust path of pthread.h header.
2291 2014-06-13 Roland McGrath <roland@hack.frob.com>
2293 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
2294 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
2295 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
2296 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
2298 * nptl/sysdeps/s390/Makefile: Moved ...
2299 * sysdeps/s390/nptl/Makefile: ... here.
2300 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
2301 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
2302 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
2303 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
2304 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
2305 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
2306 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
2307 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
2308 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
2309 * sysdeps/s390/nptl/pthreaddef.h: ... here.
2310 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
2311 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
2312 * nptl/sysdeps/s390/tls.h: Moved ...
2313 * sysdeps/s390/nptl/tls.h: ... here.
2315 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
2316 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
2318 2014-06-13 David S. Miller <davem@davemloft.net>
2320 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
2321 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
2322 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
2323 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
2324 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
2325 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
2326 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
2327 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
2328 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
2329 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
2330 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
2331 Remove RESET_PID cpp guards.
2332 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
2333 Remove RESET_PID cpp guards.
2334 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
2336 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2338 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
2341 2014-06-13 Andi Kleen <ak@linux.intel.com>
2343 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
2344 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
2345 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
2346 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
2347 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
2348 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
2349 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
2350 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
2351 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
2352 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
2353 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
2354 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
2355 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
2356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
2357 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
2358 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
2359 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
2360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
2361 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
2362 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
2364 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
2365 (pthread_rwlock_rdlock): Add elision.
2366 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
2367 (pthread_rwlock_wrlock): Add elision.
2368 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
2369 (pthread_rwlock_trywrlock): Add elision.
2370 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
2371 (pthread_rwlock_tryrdlock): Add elision.
2372 * nptl/pthread_rwlock_unlock.c: Include elide.h.
2373 (pthread_rwlock_tryrdlock): Add elision unlock.
2374 * nptl/sysdeps/pthread/pthread.h:
2375 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
2376 (PTHREAD_RWLOCK_INITIALIZER,
2377 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
2378 Handle new elision field.
2379 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
2380 * sysdeps/arm/nptl/bits/pthreadtypes.h
2381 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2382 * sysdeps/sh/nptl/bits/pthreadtypes.h
2383 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2384 * sysdeps/tile/nptl/bits/pthreadtypes.h
2385 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2386 * sysdeps/a/nptl/bits/pthreadtypes.h
2387 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2388 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2389 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2390 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2391 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2392 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
2393 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2394 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2396 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2397 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2398 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2399 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2400 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2401 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2402 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
2403 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2404 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
2405 (elision_init): Set try_xbegin to zero when no RTM.
2406 * sysdeps/x86/nptl/bits/pthreadtypes.h
2407 (pthread_rwlock_t): Change __pad1 to __rwelision.
2408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
2410 2014-06-13 Andi Kleen <ak@linux.intel.com>
2412 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
2413 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
2414 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
2415 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
2417 2014-06-13 Meador Inge <meadori@codesourcery.com>
2420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
2421 that the cached result has been set before returning it.
2423 2014-06-12 Roland McGrath <roland@hack.frob.com>
2425 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
2426 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
2427 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
2428 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
2429 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2430 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2432 * nptl/sysdeps/sparc/Makefile: Moved ...
2433 * sysdeps/sparc/nptl/Makefile: ... here.
2434 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2435 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2436 * nptl/sysdeps/sparc/tls.h: Moved ...
2437 * sysdeps/sparc/nptl/tls.h: ... here.
2438 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2439 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2440 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2441 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2442 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2443 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2444 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2445 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2446 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2447 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2448 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2449 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2450 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2451 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2452 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2453 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2454 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2455 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2457 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2458 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2460 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2461 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2463 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2464 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2467 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2469 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2470 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2472 * sysdeps/pthread/posix-timer.h: Include <list.h>.
2473 (struct list_links): Type removed.
2474 (struct thread_node, struct timer_node): Replace struct list_links
2475 with struct list_head.
2476 (list_unlink_ip): Likewise.
2477 * sysdeps/pthread/timer_routines.c
2478 (timer_free_list, thread_free_list, thread_active_list): Likewise.
2479 (list_append, list_insbefore): Likewise.
2480 (list_init): Function removed.
2481 (thread_init, init_module): Use INIT_LIST_HEAD instead.
2482 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2483 * sysdeps/pthread/Makefile: ... here, new file.
2485 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2486 * sysdeps/nptl/Implies: ... here.
2487 * sysdeps/unix/sysv/linux/Implies: Add nptl.
2488 * nptl/sysdeps/pthread/list.h: Moved ...
2489 * include/list.h: ... here.
2490 * nptl/sysdeps/pthread/createthread.c: Moved ...
2491 * nptl/createthread.c: ... here.
2492 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2493 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2494 * nptl/pt-longjmp.c: ... here.
2495 * nptl/sysdeps/pthread/Makefile: Moved ...
2496 * sysdeps/nptl/Makefile: ... here.
2497 * nptl/sysdeps/pthread/Subdirs: Moved ...
2498 * sysdeps/nptl/Subdirs: ... here.
2499 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2500 * sysdeps/nptl/aio_misc.h: ... here.
2501 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2502 * sysdeps/nptl/bits/libc-lock.h: ... here.
2503 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2504 * sysdeps/nptl/bits/libc-lockP.h: ... here.
2505 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2506 * sysdeps/nptl/bits/stdio-lock.h: ... here.
2507 * nptl/sysdeps/pthread/configure: Moved ...
2508 * sysdeps/nptl/configure: ... here.
2509 * nptl/sysdeps/pthread/configure.ac: Moved ...
2510 * sysdeps/nptl/configure.ac: ... here.
2511 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2512 * sysdeps/nptl/gai_misc.h: ... here.
2513 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2514 * sysdeps/nptl/librt-cancellation.c: ... here.
2515 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2516 * sysdeps/nptl/malloc-machine.h: ... here.
2517 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2518 * sysdeps/nptl/pthread-functions.h: ... here.
2519 * nptl/sysdeps/pthread/pthread.h: Moved ...
2520 * sysdeps/nptl/pthread.h: ... here.
2521 * nptl/sysdeps/pthread/setxid.h: Moved ...
2522 * sysdeps/nptl/setxid.h: ... here.
2523 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2524 * sysdeps/nptl/sigfillset.c: ... here.
2525 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2526 * sysdeps/nptl/tcb-offsets.h: ... here.
2527 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2528 * sysdeps/nptl/tst-mqueue8x.c: ... here.
2529 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2530 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2531 * nptl/sysdeps/pthread/allocalim.h: Moved ...
2532 * sysdeps/pthread/allocalim.h: ... here.
2533 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2534 * sysdeps/pthread/bits/sigthread.h: ... here.
2535 * nptl/sysdeps/pthread/flockfile.c: Moved ...
2536 * sysdeps/pthread/flockfile.c: ... here.
2537 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2538 * sysdeps/pthread/ftrylockfile.c: ... here.
2539 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2540 * sysdeps/pthread/funlockfile.c: ... here.
2541 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2542 * sysdeps/pthread/posix-timer.h: ... here.
2543 * nptl/sysdeps/pthread/timer_create.c: Moved ...
2544 * sysdeps/pthread/timer_create.c: ... here.
2545 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2546 * sysdeps/pthread/timer_delete.c: ... here.
2547 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2548 * sysdeps/pthread/timer_getoverr.c: ... here.
2549 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2550 * sysdeps/pthread/timer_gettime.c: ... here.
2551 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2552 * sysdeps/pthread/timer_routines.c: ... here.
2553 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2554 * sysdeps/pthread/timer_settime.c: ... here.
2555 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2556 * sysdeps/pthread/tst-timer.c: ... here.
2557 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2558 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2560 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2561 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2563 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2564 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2565 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2566 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2567 Update #include target.
2568 * nptl/sysdeps/i386/i686/Makefile: Moved ...
2569 * sysdeps/i386/i686/nptl/Makefile: ... here.
2570 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2571 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2572 Update #include target.
2573 * nptl/sysdeps/i386/i686/tls.h: Moved ...
2574 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
2575 * nptl/sysdeps/i386/Makefile: Moved ...
2576 * sysdeps/i386/nptl/Makefile: ... here.
2577 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2578 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2579 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2580 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2581 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2582 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2583 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2584 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2585 * sysdeps/i386/nptl/pthreaddef.h: ... here.
2586 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2587 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2588 * nptl/sysdeps/i386/tls.h: Moved ...
2589 * sysdeps/i386/nptl/tls.h: ... here.
2591 * sysdeps/sh/Makefile [$(subdir) = csu]
2592 (gen-as-const-headers): Add tcb-offsets.sym.
2593 * nptl/sysdeps/sh/Makefile: File removed.
2594 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2595 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2596 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2597 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2598 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2599 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2600 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2601 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2602 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2603 * sysdeps/sh/nptl/pthreaddef.h: ... here.
2604 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2605 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2606 * nptl/sysdeps/sh/tls.h: Moved ...
2607 * sysdeps/sh/nptl/tls.h: ... here.
2608 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2609 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2610 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2611 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2612 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2613 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2614 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2615 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2616 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2617 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2618 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2619 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2620 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2621 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2623 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2624 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2625 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2626 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2627 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2628 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2629 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2630 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2631 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2632 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2634 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2635 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2637 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2638 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2639 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2640 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2641 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2642 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2643 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2644 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2645 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2646 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2647 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2648 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2649 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2650 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2651 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2652 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2653 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2654 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2655 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2657 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2659 * posix/spawn_faction_addopen.c: Include string.h.
2661 2014-06-11 Roland McGrath <roland@hack.frob.com>
2663 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2664 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2665 * nptl/sysdeps/x86_64/Makefile: Moved ...
2666 * sysdeps/x86_64/nptl/Makefile: ... here.
2667 * nptl/sysdeps/x86_64/configure: Moved ...
2668 * sysdeps/x86_64/nptl/configure: ... here.
2669 * nptl/sysdeps/x86_64/configure.ac: Moved ...
2670 * sysdeps/x86_64/nptl/configure.ac: ... here.
2671 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2672 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2673 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2674 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2675 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2676 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2677 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2678 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2679 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2680 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2681 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2682 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2683 * nptl/sysdeps/x86_64/tls.h: Moved ...
2684 * sysdeps/x86_64/nptl/tls.h: ... here.
2685 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2686 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2687 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2688 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2690 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2692 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2696 2014-06-11 Joseph Myers <joseph@codesourcery.com>
2698 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2700 [POSIX] (off_t): Likewise.
2701 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2702 [POSIX] (S_ISBLK): Require macro.
2703 [POSIX] (S_ISCHR): Likewise.
2704 [POSIX] (S_ISDIR): Likewise.
2705 [POSIX] (S_ISFIFO): Likewise.
2706 [POSIX] (S_ISREG): Likewise.
2707 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2709 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2711 [POSIX] (time_t): Likewise.
2712 [POSIX] (timer_t): Likewise.
2714 2014-06-11 Florian Weimer <fweimer@redhat.com>
2717 * posix/spawn_int.h (struct __spawn_action): Make the path string
2718 non-const to support deallocation.
2719 * posix/spawn_faction_addopen.c
2720 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2721 * posix/spawn_faction_destroy.c
2722 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
2723 path in all spawn_do_open actions.
2724 * posix/tst-spawn.c (do_test): Exercise the copy operation in
2725 posix_spawn_file_actions_addopen.
2727 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
2729 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2730 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2731 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2732 conditional code always true.
2733 (__libc_vfork): New alias.
2735 2014-06-11 Roland McGrath <roland@hack.frob.com>
2737 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2738 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2740 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2742 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2743 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2745 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2746 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2748 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2749 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2751 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2753 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2754 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2755 multiarch strcmp for PPC64.
2756 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2757 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2759 multiarch optimizations.
2760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2761 (__libc_ifunc_impl_list): Likewise.
2763 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2765 * benchtests/scripts/validate_benchout.py: New script.
2766 * benchtests/Makefile (bench-func): Call it.
2767 * benchtests/scripts/benchout.schema.json: New file.
2769 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
2771 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2772 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2773 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2774 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2775 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2776 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2777 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2778 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2779 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2780 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2781 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2782 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2783 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2784 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2785 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2786 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2890 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2891 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2892 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2893 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2894 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2896 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2898 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2899 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2903 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2905 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2907 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2909 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2910 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2912 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2913 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2915 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2918 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2920 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2922 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2923 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2924 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2925 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2926 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2928 2014-06-10 Wilco <wdijkstr@arm.com>
2930 * math/test-fenv-return.c: New file.
2931 * math/Makefile: Add new test test-fenv-return.
2933 2014-06-10 Joseph Myers <joseph@codesourcery.com>
2936 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2938 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2939 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2940 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2941 0.0L for an argument of 1.0L.
2942 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2944 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2945 value when x - 1 is zero.
2946 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2947 * sysdeps/i386/fpu/libm-test-ulps: Update.
2948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2950 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
2953 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2955 2014-06-09 Roland McGrath <roland@hack.frob.com>
2957 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2958 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2960 2014-06-09 Roland McGrath <roland@hack.frob.com>
2962 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2963 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2965 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2966 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2968 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2969 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2971 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2972 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2974 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2975 if not already defined.
2976 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2977 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2978 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2979 (TLS_INIT_TP): Use it.
2980 (TLS_DEFINE_INIT_TP): New macro.
2981 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2983 2014-06-09 Joseph Myers <joseph@codesourcery.com>
2985 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2987 [POSIX] (IXANY): Likewise.
2988 [POSIX] (OLCUC): Likewise.
2989 [POSIX || POSIX2008] (CBAUD): Do not allow.
2990 [POSIX || POSIX2008] (DEFECHO): Likewise.
2991 [POSIX || POSIX2008] (ECHOCTL): Likewise.
2992 [POSIX || POSIX2008] (ECHOKE): Likewise.
2993 [POSIX || POSIX2008] (ECHOPRT): Likewise.
2994 [POSIX || POSIX2008] (EXTA): Likewise.
2995 [POSIX || POSIX2008] (EXTB): Likewise.
2996 [POSIX || POSIX2008] (FLUSHO): Likewise.
2997 [POSIX || POSIX2008] (LOBLK): Likewise.
2998 [POSIX || POSIX2008] (PENDIN): Likewise.
2999 [POSIX || POSIX2008] (SWTCH): Likewise.
3000 [POSIX || POSIX2008] (VDISCARD): Likewise.
3001 [POSIX || POSIX2008] (VDSUSP): Likewise.
3002 [POSIX || POSIX2008] (VLNEXT): Likewise.
3003 [POSIX || POSIX2008] (VREPRINT): Likewise.
3004 [POSIX || POSIX2008] (VSTATUS): Likewise.
3005 [POSIX || POSIX2008] (VWERASE): Likewise.
3006 (B*): Change to B[0123456789]*.
3007 * conform/data/time.h-data [POSIX || UNIX98]
3008 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
3009 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
3010 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
3011 [POSIX] (tm_*): Do not allow.
3013 2014-06-07 Joseph Myers <joseph@codesourcery.com>
3015 * Makefile (install): Don't set LANGUAGE.
3016 * Makefile.in (install): Likewise.
3017 * assert/Makefile (test-assert-ENV): Remove variable.
3018 (test-assert-perr-ENV): Likewise.
3019 * elf/Makefile (neededtest4-ENV): Likewise.
3020 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3021 [$(cross-compiling) = no]: Don't set LANGUAGE.
3022 * io/ftwtest-sh (LANG): Remove variable.
3023 * libio/Makefile (tst-widetext-ENV): Likewise.
3024 * manual/install.texi (Running make install): Don't refer to
3025 environment settings for make install.
3026 * INSTALL: Regenerated.
3027 * nptl/tst-tls6.sh: Don't set LANG.
3028 * posix/globtest.sh (LANG): Remove variable.
3029 * string/Makefile (tester-ENV): Likewise.
3030 (inl-tester-ENV): Likewise.
3031 (noinl-tester-ENV): Likewise.
3032 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3033 [$(cross-compiling) = no]: Don't set LANGUAGE.
3034 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
3035 without explicit environment settings.
3037 2014-06-06 Roland McGrath <roland@hack.frob.com>
3039 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
3040 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
3042 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
3044 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
3046 * crypt/crypt-private.h [DOS]: Add some includes taken from the
3047 other files in the crypt directory.
3048 * crypt/crypt.c: Remove duplicate includes.
3049 * crypt/crypt-entry.c: Likewise.
3050 * crypt/crypt_util.c: Likewise.
3052 2014-06-06 Joseph Myers <joseph@codesourcery.com>
3054 * Makeconfig (run-program-env): New variable.
3055 (run-program-prefix-before-env): Likewise.
3056 (run-program-prefix-after-env): Likewise.
3057 (run-program-prefix): Define in terms of new variables.
3058 (built-program-cmd-before-env): New variable.
3059 (built-program-cmd-after-env): Likewise.
3060 (built-program-cmd): Define in terms of new variables.
3061 (test-program-prefix-before-env): New variable.
3062 (test-program-prefix-after-env): Likewise.
3063 (test-program-prefix): Define in terms of new variables.
3064 (test-program-cmd-before-env): New variable.
3065 (test-program-cmd-after-env): Likewise.
3066 (test-program-cmd): Define in terms of new variables.
3067 * Rules (make-test-out): Use $(run-program-env).
3068 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
3069 (help): Do not mention environment variables. Mention
3070 --timeoutfactor option.
3071 (timeoutfactor): New variable.
3072 (blacklist_exports): Remove function.
3073 (exports): Remove variable.
3074 (command): Do not include ${exports}.
3075 * manual/install.texi (Configuring and compiling): Do not mention
3076 test wrappers preserving environment variables. Mention that last
3077 assignment to a variable must take precedence.
3078 * INSTALL: Regenerated.
3079 * benchtests/Makefile (run-bench): Use $(run-program-env).
3080 * catgets/Makefile ($(objpfx)test1.cat): Use
3081 $(built-program-cmd-before-env), $(run-program-env) and
3082 $(built-program-cmd-after-env).
3083 ($(objpfx)test2.cat): Do not specify environment variables
3085 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
3086 $(run-program-env) and $(built-program-cmd-after-env).
3087 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
3088 $(run-program-env) and $(test-program-cmd-after-env).
3089 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
3091 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
3092 run_program_env and test_program_cmd_after_env arguments.
3093 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
3094 * elf/tst-pathopt.sh: Use run_program_env argument.
3095 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
3096 $(test-wrapper-env) and $(run-program-env).
3097 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
3098 run_program_env arguments.
3099 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
3100 * intl/Makefile ($(objpfx)tst-gettext.out): Use
3101 $(test-program-prefix-before-env), $(run-program-env) and
3102 $(test-program-prefix-after-env).
3103 ($(objpfx)tst-gettext2.out): Likewise.
3104 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
3105 run_program_env and test_program_prefix_after_env arguments.
3106 * intl/tst-gettext2.sh: Likewise.
3107 * intl/tst-gettext4.sh: Do not set environment variables
3109 * intl/tst-gettext6.sh: Likewise.
3110 * intl/tst-translit.sh: Likewise.
3111 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
3112 $(test-program-prefix-before-env), $(run-program-env) and
3113 $(test-program-prefix-after-env).
3114 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
3115 run_program_env and test_program_prefix_after_env arguments.
3116 * math/Makefile (run-regen-ulps): Use $(run-program-env).
3117 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
3118 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
3119 explicitly with each use of ${test_wrapper_env}.
3120 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
3121 $(test-program-prefix-before-env), $(run-program-env) and
3122 $(test-program-prefix-after-env).
3123 * posix/tst-getconf.sh: Do not set environment variables
3125 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
3126 run_program_env and test_program_prefix_after_env arguments.
3127 * stdio-common/tst-printf.sh: Do not set environment variables
3129 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
3130 $(test-program-prefix-before-env), $(run-program-env) and
3131 $(test-program-prefix-after-env).
3132 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
3133 run_program_env and test_program_prefix_after_env arguments.
3134 Split $test calls into $test_pre and $test.
3135 * timezone/Makefile (build-testdata): Use
3136 $(built-program-cmd-before-env), $(run-program-env) and
3137 $(built-program-cmd-after-env).
3139 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
3142 strlen for non SHARED builds.
3144 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3146 * nptl/allocatestack.c (check_list): Inlined function...
3147 (__reclaim_stacks): ... here.
3149 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3152 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3155 2014-06-05 Joseph Myers <joseph@codesourcery.com>
3157 * Rules (make-test-out): Include
3158 LOCPATH=$(common-objpfx)localedata in default environment.
3159 * debug/Makefile (tst-chk1-ENV): Remove variable.
3160 (tst-chk2-ENV): Likewise.
3161 (tst-chk3-ENV): Likewise.
3162 (tst-chk4-ENV): Likewise.
3163 (tst-chk5-ENV): Likewise.
3164 (tst-chk6-ENV): Likewise.
3165 (tst-lfschk1-ENV): Likewise.
3166 (tst-lfschk2-ENV): Likewise.
3167 (tst-lfschk3-ENV): Likewise.
3168 (tst-lfschk4-ENV): Likewise.
3169 (tst-lfschk5-ENV): Likewise.
3170 (tst-lfschk6-ENV): Likewise.
3171 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
3172 (tst-iconv7-ENV): Likewise.
3173 * intl/Makefile (LOCPATH-ENV): Likewise.
3174 (tst-codeset-ENV): Likewise.
3175 (tst-gettext3-ENV): Likewise.
3176 (tst-gettext5-ENV): Likewise.
3177 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
3178 (tst-fopenloc-ENV): Likewise.
3179 (tst-fgetws-ENV): Remove variable.
3180 (tst-ungetwc1-ENV): Likewise.
3181 (tst-ungetwc2-ENV): Likewise.
3182 (bug-ungetwc2-ENV): Likewise.
3183 (tst-swscanf-ENV): Likewise.
3184 (bug-ftell-ENV): Likewise.
3185 (tst-fgetwc-ENV): Likewise.
3186 (tst-fseek-ENV): Likewise.
3187 (tst-ftell-partial-wide-ENV): Likewise.
3188 (tst-ftell-active-handler-ENV): Likewise.
3189 (tst-ftell-append-ENV): Likewise.
3190 * posix/Makefile (tst-fnmatch-ENV): Likewise.
3191 (tst-regexloc-ENV): Likewise.
3192 (bug-regex1-ENV): Likewise.
3193 (tst-regex-ENV): Likewise.
3194 (tst-regex2-ENV): Likewise.
3195 (bug-regex5-ENV): Likewise.
3196 (bug-regex6-ENV): Likewise.
3197 (bug-regex17-ENV): Likewise.
3198 (bug-regex18-ENV): Likewise.
3199 (bug-regex19-ENV): Likewise.
3200 (bug-regex20-ENV): Likewise.
3201 (bug-regex22-ENV): Likewise.
3202 (bug-regex23-ENV): Likewise.
3203 (bug-regex25-ENV): Likewise.
3204 (bug-regex26-ENV): Likewise.
3205 (bug-regex30-ENV): Likewise.
3206 (bug-regex32-ENV): Likewise.
3207 (bug-regex33-ENV): Likewise.
3208 (bug-regex34-ENV): Likewise.
3209 (bug-regex35-ENV): Likewise.
3210 (tst-rxspencer-ENV): Likewise.
3211 (tst-rxspencer-no-utf8-ENV): Likewise.
3212 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
3213 (tst-sscanf-ENV): Likewise.
3214 (tst-swprintf-ENV): Likewise.
3215 (tst-swscanf-ENV): Likewise.
3216 (test-vfprintf-ENV): Likewise.
3217 (scanf13-ENV): Likewise.
3218 (bug14-ENV): Likewise.
3219 (tst-grouping-ENV): Likewise.
3220 * stdlib/Makefile (tst-strtod-ENV): Likewise.
3221 (tst-strtod3-ENV): Likewise.
3222 (tst-strtod4-ENV): Likewise.
3223 (tst-strtod5-ENV): Likewise.
3224 (testmb2-ENV): Likewise./
3225 * string/Makefile (tst-strxfrm-ENV): Likewise.
3226 (tst-strxfrm2-ENV): Likewise.
3227 (bug-strcoll1-ENV): Likewise.
3228 (test-strcasecmp-ENV): Likewise.
3229 (test-strncasecmp-ENV): Likewise.
3230 * time/Makefile (tst-strptime-ENV): Likewise.
3231 (tst-ftime_l-ENV): Likewise.
3232 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
3233 (tst-mbrtowc-ENV): Likewise.
3234 (tst-wcrtomb-ENV): Likewise.
3235 (tst-mbrtowc2-ENV): Likewise.
3236 (tst-c16c32-1-ENV): Likewise.
3237 (tst-mbsnrtowcs-ENV): Likewise.
3239 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
3241 * manual/resource.texi (How to get information about the memory
3242 subsystem?): Fix typo.
3243 Reported by Peon de la Parra Ivan <peon@keba.com>
3245 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
3248 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
3249 (pthread_spin_lock): Branch out of spin loop to proper location.
3250 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
3251 (pthread_spin_lock): Likewise.
3253 * nptl/tst-spin4.c: New test.
3254 * nptl/Makefile (tests): Add tst-spin4.
3256 2014-06-03 Andreas Schwab <schwab@suse.de>
3259 * resolv/res_send.c (send_dg): Reload file descriptor after
3262 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
3264 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3266 2014-06-03 Richard Henderson <rth@redhat.com>
3268 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
3269 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
3270 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
3271 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
3272 in the SAVE_PID block.
3273 (__libc_vfork): New alias.
3274 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
3276 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
3277 child in registers, not on the stack. Remove RESET_PID conditionals.
3278 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
3280 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
3282 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3284 2014-06-03 Wilco <wdijkstr@arm.com>
3286 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
3287 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
3288 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3289 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
3290 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
3293 2014-06-03 Wilco <wdijkstr@arm.com>
3295 * sysdeps/aarch64/fpu/math_private.h
3296 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
3297 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
3298 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
3299 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
3302 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3304 * crypt/crypt-private.h: Include ufc-crypt.h.
3305 (__b64_from_24bit): Declare extern.
3306 * crypt/crypt_util.c(__b64_from_24bit): New function.
3307 (b64t): New static const variable.
3308 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
3309 (b64t): Remove variable.
3310 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
3311 * crypt/sha256-crypt.c: Include crypt-private.h.
3312 (b64t): Remove variable.
3313 (__sha256_crypt_r): Remove b64_from_24bit and replace
3314 with __b64_from_24bit.
3315 * crypt/sha512-crypt.c: Likewise.
3317 2014-06-02 Roland McGrath <roland@hack.frob.com>
3319 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
3320 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
3321 Label the code __libc_vfork rather than __vfork.
3322 [!NOT_IN_libc] (vfork): Define as weak alias.
3323 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
3324 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
3325 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
3327 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3329 * malloc/malloc.c (malloc_info): Fix format specifier for
3332 2014-06-02 Wilco <wdijkstr@arm.com>
3334 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
3337 2014-06-02 Wilco <wdijkstr@arm.com>
3340 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
3341 Rewrite to reduce FPCR/FPSR accesses.
3343 2014-06-01 David S. Miller <davem@davemloft.net>
3345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3347 2014-05-31 David S. Miller <davem@davemloft.net>
3349 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
3350 to occur in round to nearest mode when |x| >= 2.0
3352 2014-05-30 Richard Henderson <rth@twiddle.net>
3354 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
3355 (PSEUDO_RET_NOERRNO): Remove.
3356 (ret): Don't redefine.
3357 (ret_NOERRNO): Define in terms of ret.
3358 (ret_ERRVAL): Likewise.
3360 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
3361 use of PSEUDO_RET; perform the error check directly.
3363 2014-05-30 Marko Myllynen <myllynen@redhat.com>
3365 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
3368 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3370 * malloc/malloc (malloc_info): Fix formatting.
3372 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3373 Roland McGrath <roland@hack.frob.com>
3375 * malloc/malloc (malloc_info): Also print mmapped statistics.
3377 2014-05-30 Roland McGrath <roland@hack.frob.com>
3379 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
3380 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
3382 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
3384 * malloc/malloc.c (malloc_info): Inline mi_arena.
3386 2014-05-29 Richard Henderson <rth@twiddle.net>
3388 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
3389 Remove comma before expanding ASM_ARGS_##nr.
3390 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
3391 Make _x0 a strict output; make _x8 a strict input; adjust expansion
3393 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
3394 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
3395 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
3396 (ASM_ARGS_1): Add leading comma.
3398 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
3399 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
3400 to __errno_location.
3401 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
3402 Remove the expected plt for __errno_location.
3404 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3405 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
3408 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3409 Always allocate 64 bytes of stack frame. Use ldp/stp to create
3410 it and break it down.
3411 (DOCARGS_0, DOCARGS_1): Do nothing.
3412 (DOCARGS_2): Update to store into the new stack frame.
3413 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
3414 (UNDOCARGS_1): Update to restore from the new stack frame.
3415 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
3416 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
3418 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3419 (SINGLE_THREAD_P): New parameter for result regno.
3420 (PSEUDO): Update to match; use cbz instead of beq.
3422 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3423 Use ENTRY to define the _nocancel entry point. Share the syscall
3424 and syscall error check paths with the cancel path.
3427 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
3428 whitespace; tabs before and after asm mnemonics.
3430 2014-05-29 Eric Wong <normalperson@yhbt.net>
3433 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3434 Call fstat64 or stat64 internally, depending on arguments passed.
3435 Replace stat buffer argument with file descriptor argument.
3436 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3437 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3438 Pass fd to __internal_statvfs instead of calling fstat64.
3439 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3440 Pass fd to __internal_statvfs64 instead of calling fstat64.
3441 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3442 Pass -1 to __internal_statvfs instead of calling stat64.
3443 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3444 Pass -1 to __internal_statvfs64 instead of calling stat64.
3446 2014-05-28 Roland McGrath <roland@hack.frob.com>
3448 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3449 that was previously under [RESET_PID].
3450 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3452 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3453 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3455 2014-05-27 Roland McGrath <roland@hack.frob.com>
3457 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3459 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3460 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3462 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
3464 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3466 2014-05-27 Andreas Schwab <schwab@suse.de>
3468 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3470 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3471 * elf/rtld.c (init_tls, dl_main): Likewise.
3472 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3473 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3474 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3475 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3476 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3477 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3478 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3479 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3480 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3481 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3482 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3483 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3484 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3485 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3486 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3487 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3488 * sysdeps/generic/tls.h: Update description.
3490 2014-05-27 Will Newton <will.newton@linaro.org>
3493 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3494 and restore r2 rather than just restoring.
3496 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3499 * libio/tst-ftell-append.c: New test case.
3500 * libio/Makefile (tests): Add test case.
3501 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3503 * libio/wfileops.c (do_ftell_wide): Likewise.
3505 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3509 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3513 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3514 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3515 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3516 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3517 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3518 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3519 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3525 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3526 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3527 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3528 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3529 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3531 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3532 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3534 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3536 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3538 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3539 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3540 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3542 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3543 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3544 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3545 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3556 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3560 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3563 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3568 conditional [RESET_PID].
3569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3570 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3572 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3577 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3578 (__libc_vfork): New strong alias.
3579 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3586 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3587 (__libc_vfork): New strong alias.
3588 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3593 2014-05-26 Carlos O'Donell <carlos@redhat.com>
3595 * malloc/malloc.c (mi_arena): New function.
3596 (malloc_info): Remove nested function mi_arena. Call non-nosted
3599 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3601 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3603 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3604 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3605 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3606 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3607 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3608 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3609 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3611 2014-05-26 Andreas Schwab <schwab@suse.de>
3614 * locale/programs/repertoire.c (repertoire_read): Add slash
3615 between I18NPATH element and file name.
3616 * locale/programs/locfile.c (locfile_read): Likewise.
3618 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3620 * nptl/pthread_mutexattr_settype.c
3621 (__pthread_mutexattr_settype):
3622 Disable lock elision for PTHREAD_MUTEX_NORMAL.
3624 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
3626 * nptl/tst-mutex5 (do_test):
3627 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3629 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3631 * benchtests/README: Document 'init' directive.
3632 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3634 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3635 (parse_file): Recognize 'init' directive.
3637 2014-05-26 Kyle McMartin <kyle@redhat.com>
3640 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3641 alignment of struct pthread.
3643 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3646 * nscd/netgroupcache.c (addgetnetgrentX): Look for
3647 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3648 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3649 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3651 2014-05-25 Richard Henderson <rth@twiddle.net>
3653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3654 (SINGLE_THREAD_P_PIC): Remove.
3655 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3656 (SINGLE_THREAD_P_PIC): Remove.
3658 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3659 branch to syscall error ...
3661 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3662 from __local_syscall_error to .Lsyscall_error.
3663 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3664 (SYSCALL_ERROR): Update label name.
3666 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3667 Do not use DOARGS/UNDOARGS.
3668 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3669 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3670 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3671 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3672 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3677 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3678 define if !NOT_IN_libc.
3679 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3680 define with non-default symbol versions.
3682 2014-05-23 Richard Henderson <rth@twiddle.net>
3684 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3685 (vfork, __vfork): Define via compat_symbol.
3687 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3688 [!HAVE_IFUNC] (vfork_compat): Remove.
3689 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3691 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3694 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3695 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3698 2014-05-23 Richard Henderson <rth@twiddle.net>
3700 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3701 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3702 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3703 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3705 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3706 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3707 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3708 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3709 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3710 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3711 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3712 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3713 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3714 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3715 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3716 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3717 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3718 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3719 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3720 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3721 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3722 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3723 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3724 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3725 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3726 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3727 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3728 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3729 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3730 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3731 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3732 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3736 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3737 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3738 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3740 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3741 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3742 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3744 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3745 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3746 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3747 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3748 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3749 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3750 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3751 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3752 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3753 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3754 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3755 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3756 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3757 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3758 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3760 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3762 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3763 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3764 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
3765 before exiting on error.
3766 (__libc_vfork): New strong alias.
3767 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3768 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3770 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3771 that was previously under [RESET_PID].
3772 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3774 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3776 2014-05-23 Joseph Myers <joseph@codesourcery.com>
3779 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3780 value when x - 1 is zero.
3781 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3782 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3783 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3784 0.0L for an argument of 1.0L.
3785 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3787 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3788 value when x - 1 is zero.
3789 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3790 * sysdeps/i386/fpu/libm-test-ulps: Update.
3791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3793 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
3795 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3796 alphasort and versionsort.
3798 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3802 [copysignf]: Likewise.
3804 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3806 * crypt/md5-crypt.c: Fix formatting.
3808 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3810 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3811 (b64_from_24bit): New function.
3813 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3815 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3816 libc_hidden_builtin_def to ifunc.
3817 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3818 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3820 2014-05-21 Roland McGrath <roland@hack.frob.com>
3822 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3823 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3825 2014-05-21 Joseph Myers <joseph@codesourcery.com>
3827 * nscd/Depend (linuxthreads): Remove.
3829 * resolv/Depend (linuxthreads): Remove.
3830 * rt/Depend (linuxthreads): Remove.
3832 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3833 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3834 $(common-objpfx)elf/.
3835 (link-libc-before-gnulib): Likewise.
3836 (elfobjdir): Remove variable.
3837 * Makefile (install): Use $(elf-objpfx) instead of
3838 $(common-objpfx)elf/.
3839 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3841 (link-libc-deps): Likewise.
3842 ($(common-objpfx)libc.so): Likewise.
3843 ($(common-objpfx)linkobj/libc.so): Likewise.
3844 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3845 instead of $(common-objpfx)elf/.
3846 (symbolic-link-list): Likewise.
3847 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3848 [$(cross-compiling) = no]: Likewise.
3849 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3851 (static-gnulib-arch): Likewise.
3852 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3853 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3854 $(common-objpfx)elf/.
3856 2014-05-21 Richard Henderson <rth@redhat.com>
3858 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3859 (SINGLE_THREAD_P): Use the correct width load. Fold
3860 into the ldr offset.
3862 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3863 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3865 2014-05-20 Joseph Myers <joseph@codesourcery.com>
3867 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3868 (libgcc_s_resume): Use __attribute_used__.
3869 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3872 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3874 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3875 optimization when used with float constants.
3877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3879 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
3882 * locale/nl_langinfo_l.c: Make direct reference to every
3883 _nl_current_CATEGORY symbol.
3884 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3885 (tests-static): Add tst-langinfo-static.
3886 (tests-special): Add tst-langinfo-static.out.
3887 ($(objpfx)tst-langinfo.out): Redirect output.
3888 ($(objpfx)tst-langinfo-static.out): New.
3889 * localedata/tst-langinfo.sh: Send output to stdout.
3890 * localedata/tst-langinfo-static.c: New file.
3893 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3894 when the shift amount is modulo the limb size.
3896 2014-05-20 Richard Henderson <rth@redhat.com>
3899 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3900 Change type of sa_flags from unsigned int to int.
3903 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3905 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3907 2014-05-20 Will Newton <will.newton@linaro.org>
3909 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3910 Test the return value of the system call in the nocancel case.
3912 2014-05-20 Will Newton <will.newton@linaro.org>
3913 Yvan Roux <yvan.roux@linaro.org>
3915 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3916 #include of asm/ptrace.h.
3917 (PTRACE_GET_THREAD_AREA): Remove #undef.
3918 (PTRACE_GETHBPREGS): Likewise.
3919 (PTRACE_SETHBPREGS): Likewise.
3920 (struct user_regs_struct): New structure.
3921 (struct user_fpsimd_struct): New structure.
3922 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3923 #include of asm/ptrace.h and second #include of sys/user.h.
3924 (PTRACE_GET_THREAD_AREA): Remove #undef.
3925 (PTRACE_GETHBPREGS): Likewise.
3926 (PTRACE_SETHBPREGS): Likewise.
3927 (ELF_NGREG): Use new struct user_regs_struct.
3928 (elf_fpregset_t): Use new struct user_fpsimd_struct.
3930 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3933 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3935 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3939 membar to avoid block loads/stores to overlap previous stores.
3941 2014-05-17 Richard Henderson <rth@redhat.com>
3943 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3944 Create the __##syscall_name##_nocancel entry point.
3945 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3946 Remove; let the sysdep-cancel.h code create it.
3948 2014-05-17 David S. Miller <davem@davemloft.net>
3950 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3951 Protect with __USE_GNU.
3952 (TIOCSET_TEMPT): Likewise.
3953 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3954 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3955 these are already provided in bits/ioctl-types.h
3957 2014-05-16 Roland McGrath <roland@hack.frob.com>
3959 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3960 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3962 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3963 Use wait4 regardless of [__NR_waitpid].
3965 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3968 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3969 (_FP_NANSIGN_Q): Set the quiet bit.
3971 2014-05-16 Joseph Myers <joseph@codesourcery.com>
3973 * benchtests/Makefile
3974 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3975 not $(common-objpfx)math/libm.so.
3976 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3977 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3978 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3979 $(common-objpfx)dlfcn/libdl.so.
3980 ($(objpfx)tst-audit8): Depend on $(libm), not
3981 $(common-objpfx)math/libm.so.
3982 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3983 not $(common-objpfx)dlfcn/libdl.so.
3985 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3986 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
3987 [$(build-shared) = yes].
3988 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3989 $(common-objpfx)nptl/libpthread.so.
3990 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3991 $(common-objpfx)math/libm.so$(libm.so-version) or
3992 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3993 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3994 $(common-objpfx)dlfcn/libdl.so.
3995 * setjmp/Makefile (link-libm): Remove variable.
3996 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3997 * stdio-common/Makefile (link-libm): Remove variable.
3998 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3999 * stdlib/Makefile (link-libm): Remove variable.
4000 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
4001 ($(objpfx)tst-strtod-round): Likewise.
4002 ($(objpfx)tst-tininess): Likewise.
4003 ($(objpfx)tst-strtod-underflow): Likewise.
4004 ($(objpfx)tst-strtod6): Likewise.
4005 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
4006 $(libdl), not $(common-objpfx)nptl/libpthread.so and
4007 $(common-objpfx)dlfcn/libdl.so.
4009 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4011 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
4012 BSD terminal modes definitions.
4014 2014-05-16 Roland McGrath <roland@hack.frob.com>
4016 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
4017 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
4019 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
4020 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
4021 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
4022 Don't do #include_next.
4023 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
4024 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
4025 Don't do #include_next.
4026 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
4027 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
4028 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
4029 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
4031 2014-05-16 Allan McRae <allan@archlinux.org>
4033 * po/sv.po: Update Swedish translation from translation project.
4035 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
4038 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
4041 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
4042 errno if the TIOCGPTN ioctl fails with an error different than
4044 * login/tst-ptsname.c: New file.
4045 * login/Makefile (tests): Add tst-ptsname.
4048 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
4051 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
4055 herrno to return EAI_AGAIN.
4057 2014-05-14 Roland McGrath <roland@hack.frob.com>
4059 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
4060 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
4061 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
4062 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
4063 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
4066 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
4067 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
4068 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
4076 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
4077 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
4078 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
4082 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
4084 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
4085 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
4088 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
4089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
4090 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
4091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
4092 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
4093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4095 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
4096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
4097 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
4098 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
4099 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
4100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
4101 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
4102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
4103 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
4104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
4105 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
4106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
4107 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
4108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
4109 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
4110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
4111 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
4112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
4113 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
4114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
4115 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
4116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
4117 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
4118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
4119 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
4120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
4121 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
4122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
4124 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
4125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
4126 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
4127 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
4128 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
4129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
4130 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
4131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
4132 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
4133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
4134 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
4135 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
4136 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
4140 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
4142 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
4143 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
4145 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
4147 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
4149 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
4150 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
4151 (libpthread-sysdep_routines): Add elision-related stuff here instead.
4152 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
4153 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
4154 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
4155 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
4156 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
4157 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
4158 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
4159 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
4160 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
4161 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
4162 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
4163 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
4164 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
4165 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
4166 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
4167 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
4168 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
4169 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
4170 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
4171 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
4172 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
4173 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
4174 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
4175 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
4176 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
4177 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
4178 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
4179 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
4181 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
4182 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
4184 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
4185 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
4186 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
4187 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
4188 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
4189 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
4191 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
4192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
4194 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
4195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
4197 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
4198 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
4200 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
4201 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
4202 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
4203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
4205 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
4206 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
4207 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
4208 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
4209 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
4210 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
4211 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
4212 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
4214 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
4215 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4217 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
4219 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
4220 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
4221 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
4222 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
4223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4225 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
4227 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
4229 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
4230 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
4231 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
4232 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
4233 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
4234 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
4236 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
4237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
4239 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
4240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
4242 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
4243 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
4245 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
4246 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
4247 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
4248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
4250 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
4251 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
4252 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
4253 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
4254 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
4255 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
4256 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
4257 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
4259 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
4260 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4262 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
4264 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
4265 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
4266 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
4267 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
4268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4270 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
4272 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
4274 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
4275 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
4276 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
4277 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
4278 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
4279 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
4280 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
4281 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
4282 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
4283 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
4285 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
4286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
4288 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
4289 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
4291 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
4292 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
4294 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
4295 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
4296 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
4297 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
4298 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
4299 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
4301 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
4302 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
4303 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
4304 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
4305 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
4306 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
4307 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
4308 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
4310 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
4311 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4313 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
4315 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
4316 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
4317 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
4318 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
4319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
4323 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
4325 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
4326 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
4327 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
4328 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
4329 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
4330 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
4331 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
4332 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
4333 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
4334 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
4335 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
4337 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
4338 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
4340 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
4341 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
4343 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
4344 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
4345 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
4346 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
4347 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
4348 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
4349 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
4350 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
4351 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
4352 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
4353 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
4354 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
4355 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
4356 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
4357 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
4358 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
4359 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
4360 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
4362 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
4363 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
4364 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
4365 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
4367 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
4368 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
4369 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
4370 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
4371 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
4372 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
4373 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
4374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
4376 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
4377 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
4379 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
4380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
4381 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
4382 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
4383 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
4384 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
4385 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
4386 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
4387 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
4388 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
4389 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
4390 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
4391 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
4392 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
4393 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
4394 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
4395 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
4397 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
4398 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
4399 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
4400 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
4401 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
4403 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
4404 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
4405 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
4406 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
4407 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
4408 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
4409 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
4410 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
4411 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
4412 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
4414 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
4415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
4417 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
4418 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
4419 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
4420 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
4421 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
4422 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
4423 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
4424 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
4425 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
4426 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
4427 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
4428 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
4429 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4430 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4433 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4435 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4437 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4439 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4445 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4447 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4449 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4451 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4452 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4453 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4454 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4455 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4456 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4457 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4458 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4459 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4460 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4462 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4463 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4464 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
4465 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
4467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4468 that was previously under [RESET_PID].
4469 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4470 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4471 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4473 * sysdeps/i386/nptl/Implies: New file.
4474 * sysdeps/x86_64/nptl/Implies: New file.
4475 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4476 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4477 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4478 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4480 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4481 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4482 (__libc_vfork): New strong alias.
4483 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4484 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4486 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4487 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4488 (__libc_vfork): New strong alias.
4489 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4490 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4492 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4493 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4494 (__libc_vfork): New strong alias.
4495 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4496 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4497 * nptl/pt-vfork.c: New file.
4498 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4499 (libpthread: GLIBC_2.20): New version set (empty).
4501 2014-05-14 Will Newton <will.newton@linaro.org>
4503 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4506 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4509 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4510 arguments with exponent 65 or above.
4511 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4512 arguments 0x1p113L or above.
4513 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4514 to arguments 0x1p107L or above.
4515 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4516 positive arguments with exponent 65 or above.
4517 * math/auto-libm-test-in: Add more tests of log1p.
4518 * math/auto-libm-test-out: Regenerated.
4521 * math/s_cacos.c (__cacos): Ensure zero real part of result from
4522 non-finite arguments is +0.
4523 * math/s_cacosf.c (__cacosf): Likewise.
4524 * math/s_cacosl.c (__cacosl): Likewise.
4525 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4526 * sysdeps/i386/fpu/libm-test-ulps: Update.
4527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4530 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4532 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4533 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4534 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4535 for explicit high bit of mantissa when testing for argument equal
4537 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4538 * sysdeps/i386/fpu/libm-test-ulps: Update.
4539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4542 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4543 (__erf): Scale by 16 instead of 8 in potentially underflowing
4544 case. Ensure exception if result actually underflows.
4545 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4546 (__erff): Scale by 16 instead of 8 in potentially underflowing
4547 case. Ensure exception if result actually underflows.
4548 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4549 (efx8): Remove variable.
4550 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4551 case. Ensure exception if result actually underflows.
4552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4553 (efx8): Remove variable.
4554 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4555 case. Ensure exception if result actually underflows.
4556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4557 (efx8): Remove variable.
4558 (__erfl): Scale by 16 instead of 8 in potentially underflowing
4559 case. Ensure exception if result actually underflows.
4560 * math/auto-libm-test-in: Add more tests of erf.
4561 * math/auto-libm-test-out: Regenerated.
4563 2014-05-14 Andreas Schwab <schwab@suse.de>
4565 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4566 Remove code conditionalized on USE___THREAD.
4568 * config.h.in (HAVE_PT_CHOWN): Define as 0.
4569 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4572 2014-05-14 Joseph Myers <joseph@codesourcery.com>
4574 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4575 Define unconditionally.
4576 (__ASSUME_O_CLOEXEC): Likewise.
4577 (__ASSUME_SOCK_CLOEXEC): Likewise.
4578 (__ASSUME_IN_NONBLOCK): Likewise.
4579 (__ASSUME_PIPE2): Likewise.
4580 (__ASSUME_EVENTFD2): Likewise.
4581 (__ASSUME_SIGNALFD4): Likewise.
4582 (__ASSUME_DUP3): Likewise.
4583 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4584 (__ASSUME_DUP3): Do not define.
4585 (__ASSUME_EVENTFD2): Likewise.
4586 (__ASSUME_IN_NONBLOCK): Likewise.
4587 (__ASSUME_O_CLOEXEC): Likewise.
4588 (__ASSUME_PIPE2): Likewise.
4589 (__ASSUME_SIGNALFD4): Likewise.
4590 (__ASSUME_SOCK_CLOEXEC): Likewise.
4591 (__ASSUME_UTIMES): Undefine.
4592 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4593 (__ASSUME_UTIMES): Do not define.
4594 (__ASSUME_O_CLOEXEC): Likewise.
4595 (__ASSUME_SOCK_CLOEXEC): Likewise.
4596 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4597 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4599 (__ASSUME_PIPE2): Likewise.
4600 (__ASSUME_EVENTFD2): Likewise.
4601 (__ASSUME_SIGNALFD4): Likewise.
4602 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4603 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4605 (__ASSUME_EVENTFD2): Likewise.
4606 (__ASSUME_SIGNALFD4): Likewise.
4607 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4608 (__ASSUME_32BITUIDS): Likewise.
4609 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4610 (__ASSUME_IPC64): Likewise.
4611 (__ASSUME_ST_INO_64_BIT): Likewise.
4612 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4613 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4614 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4615 (__ASSUME_UTIMES): Do not define.
4616 (__ASSUME_PSELECT): Likewise.
4617 (__ASSUME_PPOLL): Likewise.
4618 (__ASSUME_O_CLOEXEC): Likewise.
4619 (__ASSUME_SOCK_CLOEXEC): Likewise.
4620 (__ASSUME_IN_NONBLOCK): Likewise.
4621 (__ASSUME_PIPE2): Likewise.
4622 (__ASSUME_EVENTFD2): Likewise.
4623 (__ASSUME_SIGNALFD4): Likewise.
4624 (__ASSUME_DUP3): Likewise.
4625 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4626 (__ASSUME_UTIMES): Likewise.
4627 (__ASSUME_O_CLOEXEC): Likewise.
4628 (__ASSUME_SOCK_CLOEXEC): Likewise.
4629 (__ASSUME_IN_NONBLOCK): Likewise.
4630 (__ASSUME_PIPE2): Likewise.
4631 (__ASSUME_EVENTFD2): Likewise.
4632 (__ASSUME_SIGNALFD4): Likewise.
4633 (__ASSUME_DUP3): Likewise.
4634 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4635 (__ASSUME_UTIMES): Likewise.
4636 (__ASSUME_O_CLOEXEC): Likewise.
4637 (__ASSUME_SOCK_CLOEXEC): Likewise.
4638 (__ASSUME_IN_NONBLOCK): Likewise.
4639 (__ASSUME_PIPE2): Likewise.
4640 (__ASSUME_EVENTFD2): Likewise.
4641 (__ASSUME_SIGNALFD4): Likewise.
4642 (__ASSUME_DUP3): Likewise.
4643 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4645 (__ASSUME_UTIMES): Likewise.
4646 (__ASSUME_EVENTFD2): Likewise.
4647 (__ASSUME_SIGNALFD4): Likewise.
4648 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4649 (__ASSUME_O_CLOEXEC): Likewise.
4650 (__ASSUME_SOCK_CLOEXEC): Likewise.
4651 (__ASSUME_IN_NONBLOCK): Likewise.
4652 (__ASSUME_PIPE2): Likewise.
4653 (__ASSUME_EVENTFD2): Likewise.
4654 (__ASSUME_SIGNALFD4): Likewise.
4655 (__ASSUME_DUP3): Likewise.
4656 (__ASSUME_UTIMES): Undefine.
4658 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4659 feclearexcept. Remove symbol versioning code.
4660 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
4661 symbol versioning code.
4662 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
4663 symbol versioning code.
4664 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4665 feupdateenv. Remove symbol versioning code.
4666 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4667 fegetexceptflag. Remove symbol versioning code.
4668 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4669 fesetexceptflag. Remove symbol versioning code.
4670 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4671 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
4672 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4673 (__posix_fadvise64_l32): Remove prototype.
4674 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4677 2014-05-13 Roland McGrath <roland@hack.frob.com>
4679 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4680 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4681 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4682 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4684 2014-05-13 Sami Kerola <kerolasa@iki.fi>
4686 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4687 current working directory
4689 2014-05-13 Roland McGrath <roland@hack.frob.com>
4691 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4692 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4693 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4694 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4695 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4696 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4697 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4698 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4699 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4714 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4715 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4716 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4717 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4718 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4720 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4724 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4725 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4726 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4727 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4728 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4729 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4730 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4731 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4732 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4734 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4735 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4737 * sysdeps/unix/sysv/linux/arm/Makefile
4738 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4739 Add rt-aeabi_unwind_cpp_pr1.
4740 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4741 Add nptl-aeabi_unwind_cpp_pr1.
4742 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4743 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4744 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4745 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4746 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4747 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4749 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4750 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4751 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4752 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4754 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4755 Deconditionalize the code that was previously under [RESET_PID].
4756 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4758 * sysdeps/generic/exit-thread.h: New file.
4759 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4760 * include/unistd.h (__exit_thread): Remove declaration.
4761 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4762 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4763 * csu/libc-start.c: Include <exit-thread.h>.
4764 (LIBC_START_MAIN): Pass no argument to __exit_thread.
4765 * nptl/pthread_create.c: Include <exit-thread.h>.
4766 (start_thread): Call __exit_thread in place of __exit_thread_inline.
4767 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4768 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4769 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4770 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4771 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4772 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4773 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4774 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4775 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4776 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4777 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4778 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4779 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4780 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4781 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4782 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4784 2014-05-13 Andreas Schwab <schwab@suse.de>
4786 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4788 2014-05-12 Joseph Myers <joseph@codesourcery.com>
4790 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4791 (__ASSUME_UTIMES): Do not condition on kernel version.
4792 (__ASSUME_PSELECT): Define unconditionally.
4793 (__ASSUME_PPOLL): Likewise.
4794 (__ASSUME_ATFCTS): Likewise.
4795 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4796 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4797 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4798 (__ASSUME_UTIMENSAT): Define unconditionally.
4799 (__ASSUME_PRIVATE_FUTEX): Likewise.
4800 (__ASSUME_FALLOCATE): Likewise.
4801 (__ASSUME_O_CLOEXEC): Likewise.
4802 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4803 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4804 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4805 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4806 (__ASSUME_IN_NONBLOCK): Likewise.
4807 (__ASSUME_PIPE2): Likewise.
4808 (__ASSUME_EVENTFD2): Likewise.
4809 (__ASSUME_SIGNALFD4): Likewise.
4810 (__ASSUME_DUP3): Likewise.
4811 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4812 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4813 (__ASSUME_AT_RANDOM): Likewise.
4814 (__ASSUME_PREADV): Likewise.
4815 (__ASSUME_PWRITEV): Likewise.
4816 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4817 (__ASSUME_F_GETOWN_EX): Define unconditionally.
4818 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4819 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4820 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4821 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4822 (__ASSUME_O_CLOEXEC): Define unconditionally.
4823 (__ASSUME_PSELECT): Do not undefine conditionally.
4824 (__ASSUME_PPOLL): Likewise.
4825 (__ASSUME_ATFCTS): Likewise.
4826 (__ASSUME_SET_ROBUST_LIST): Likewise.
4827 (__ASSUME_UTIMENSAT): Likewise.
4828 (__ASSUME_FDATASYNC): Define unconditionally.
4829 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4830 (__ASSUME_SIGFRAME_V2): Likewise.
4831 )__ASSUME_EVENTFD2): Likewise.
4832 (__ASSUME_SIGNALFD4): Likewise.
4833 (__ASSUME_PSELECT): Do not undefine conditionally.
4834 (__ASSUME_PPOLL): Likewise.
4835 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4836 (__ASSUME_PSELECT): Define unconditionally.
4837 (__ASSUME_PPOLL): Likewise.
4838 (__ASSUME_O_CLOEXEC): Likewise.
4839 (__ASSUME_SOCK_CLOEXEC): Likewise.
4840 (__ASSUME_IN_NONBLOCK): Likewise.
4841 (__ASSUME_PIPE2): Likewise.
4842 (__ASSUME_EVENTFD2): Likewise.
4843 (__ASSUME_SIGNALFD4): Likewise.
4844 (__ASSUME_DUP3): Likewise.
4845 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4846 (__ASSUME_O_CLOEXEC): Likewise.
4847 (__ASSUME_SOCK_CLOEXEC): Likewise.
4848 (__ASSUME_IN_NONBLOCK): Likewise.
4849 (__ASSUME_PIPE2): Likewise.
4850 (__ASSUME_EVENTFD2): Likewise.
4851 (__ASSUME_SIGNALFD4): Likewise.
4852 (__ASSUME_DUP3): Likewise.
4853 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4854 (__ASSUME_EVENTFD2): Likewise.
4855 (__ASSUME_SIGNALFD4): Likewise.
4856 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4858 2014-05-12 Andreas Schwab <schwab@suse.de>
4861 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4862 (_nss_nis_gethostbyname4_r): Return error if item length is larger
4863 than maximum RPC packet size.
4864 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4865 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4866 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4867 (_nss_nis_getservbyport_r): Likewise.
4869 2014-05-12 Will Newton <will.newton@linaro.org>
4871 * malloc/Makefile (tests): Add tst-mallopt.
4872 * malloc/tst-mallopt.c: New file.
4874 2014-05-09 Roland McGrath <roland@hack.frob.com>
4876 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4877 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4879 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4881 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4882 (tst-tlsmod6.so): Likewise.
4884 2014-05-09 Roland McGrath <roland@hack.frob.com>
4886 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4888 2014-05-09 Joseph Myers <joseph@codesourcery.com>
4891 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4892 and <dl-procinfo.h>.
4893 (__fegetenv): Save SSE state in envp->__eip if supported.
4894 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4895 envp->__eip if supported.
4896 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4897 and <dl-procinfo.h>.
4898 (__fesetenv): Always set __eip, __cs_selector, __opcode,
4899 __data_offset and __data_selector in environment to 0. Set SSE
4901 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4903 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4905 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4907 2014-05-09 Will Newton <will.newton@linaro.org>
4909 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4910 and libc_relro_required for ARM.
4911 * sysdeps/arm/preconfigure: Regenerate.
4913 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
4914 Stefan Liebler <stli@linux.vnet.ibm.com>
4916 * config.make.in (enable-lock-elision): New Makefile variable.
4917 * configure.ac: Likewise.
4918 * configure: Regenerate.
4919 * sysdeps/s390/configure.ac:
4920 Add check for gcc transactions support.
4921 * sysdeps/s390/configure: Regenerate.
4922 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4923 Build elision files if enabled.
4924 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4925 Add lock elision support for s390.
4926 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4927 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4928 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4929 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4930 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4931 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4932 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4934 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4936 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4938 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4940 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4941 (__lll_timedlock_elision, __lll_lock_elision)
4942 (__lll_unlock_elision, __lll_trylock_elision)
4943 (lll_timedlock_elision, lll_lock_elision)
4944 (lll_unlock_elision, lll_trylock_elision): Add.
4945 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4946 (pthread_mutex_t): Add lock elision support for s390.
4948 2014-05-14 Wilco <wdijkstr@arm.com>
4950 * sysdeps/arm/fclrexcpt.c: Cleanup.
4951 * sysdeps/arm/fedisblxcpt.c: Cleanup.
4952 * sysdeps/arm/feenablxcpt.c: Cleanup.
4953 * sysdeps/arm/fegetenv.c: Cleanup.
4954 * sysdeps/arm/fegetexcept.c: Cleanup.
4955 * sysdeps/arm/fegetround.c: Cleanup.
4956 * sysdeps/arm/feholdexcpt.c: Cleanup.
4957 * sysdeps/arm/fesetenv.c: Cleanup.
4958 * sysdeps/arm/fesetround.c: Cleanup.
4959 * sysdeps/arm/feupdateenv.c: Cleanup.
4960 * sysdeps/arm/fgetexcptflg.c: Cleanup.
4961 * sysdeps/arm/fraiseexcpt.c: Cleanup.
4962 * sysdeps/arm/fsetexcptflg.c: Cleanup.
4963 * sysdeps/arm/ftestexcept.c: Cleanup.
4964 * sysdeps/arm/get-rounding-mode.h: Cleanup.
4965 * sysdeps/arm/setfpucw.c: Cleanup.
4967 2014-05-09 Will Newton <will.newton@linaro.org>
4969 * sysdeps/arm/armv7/strcmp.S: New file.
4970 * NEWS: Mention addition of ARMv7 optimized strcmp.
4972 2014-05-08 Roland McGrath <roland@hack.frob.com>
4974 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4975 look for %.ac rather than %.in.
4977 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4978 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4979 * sysdeps/mach/hurd/configure: Regenerated.
4980 * sysdeps/unix/sysv/linux/configure: Regenerated.
4982 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4984 2014-05-07 Steve Ellcey <sellcey@mips.com>
4987 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4991 2014-05-07 Andreas Schwab <schwab@suse.de>
4993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4994 when skipping over non-matching result from nscd.
4996 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
4999 * nptl/sockperf.c (client): Check socket return value.
5002 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
5003 nscd security class.
5005 2014-05-06 Roland McGrath <roland@hack.frob.com>
5007 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
5008 * sysdeps/arm/unwind.h: ... here.
5010 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
5013 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
5016 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5018 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
5019 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
5020 multiarch strncpy for PPC64.
5021 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
5022 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
5023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
5024 multiarch optimizations.
5025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5026 (__libc_ifunc_impl_list): Likewise.
5027 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
5028 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
5029 multiarch stpncpy for PPC64.
5030 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
5031 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
5033 2014-05-06 Andreas Schwab <schwab@suse.de>
5036 * gmon/mcount.c (_MCOUNT_DECL): Use
5037 atomic_compare_and_exchange_bool_acq instead of
5038 catomic_compare_and_exchange_bool_acq.
5040 2014-05-05 Roland McGrath <roland@hack.frob.com>
5042 * elf/Makefile (others, install-bin): Remove pldd.
5043 (pldd-modules): Variable removed.
5044 ($(objpfx)pldd): Target removed.
5045 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
5046 (others, install-bin): Append pldd here.
5047 ($(objpfx)pldd): New target.
5049 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
5050 to 0, so the first #if test emitted later doesn't see it undefined.
5051 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
5052 * sysdeps/gnu/errlist.c: Regenerated.
5054 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5057 [libc_hidden_builtin_def]: Define to empty value.
5058 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
5059 [libc_hidden_builtin_def]: Likewise.
5060 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
5061 [libc_hidden_builtin_def]: Likewise.
5062 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
5063 [libc_hidden_builtin_def]: Likewise.
5064 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
5065 __redirect_memcpy and define ifunc as default hidden symbol.
5066 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
5067 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
5069 2014-05-04 Adam Conrad <adconrad@0c3.net>
5071 * locale/iso-4217.def: Reintroduce XDR currency.
5073 2014-05-04 Allan McRae <allan@archlinux.org>
5075 * po/eo.po: Update Esperanto translation from translation project.
5077 2014-05-02 Carlos O'Donell <carlos@redhat.com>
5079 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
5080 and FEATURE_INDEX_MAX to 1.
5081 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
5083 2014-05-01 Steve Ellcey <sellcey@mips.com>
5085 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
5086 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
5087 * iconvdata/big5.c (ONE_DIRECTION): Define.
5088 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
5089 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
5090 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
5091 * iconvdata/cp932.c (ONE_DIRECTION): Define.
5092 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
5093 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
5094 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
5095 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
5096 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
5097 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
5098 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
5099 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
5100 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
5101 * iconvdata/gbk.c (ONE_DIRECTION): Define.
5102 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
5103 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
5104 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
5105 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
5106 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
5107 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
5108 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
5109 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
5110 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
5111 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
5112 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
5113 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
5114 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
5115 * iconvdata/iso646.c (ONE_DIRECTION): Define.
5116 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
5117 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
5118 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
5119 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
5120 * iconvdata/johab.c (ONE_DIRECTION): Define.
5121 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
5122 * iconvdata/sjis.c (ONE_DIRECTION): Define.
5123 * iconvdata/t.61.c (ONE_DIRECTION): Define.
5124 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
5125 * iconvdata/tscii.c (ONE_DIRECTION): Define.
5126 * iconvdata/uhc.c (ONE_DIRECTION): Define.
5127 * iconvdata/unicode.c (ONE_DIRECTION): Define.
5128 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
5129 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
5130 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
5132 2014-05-01 Roland McGrath <roland@hack.frob.com>
5134 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
5135 (_IO_JUMPS_OFFSET): Define to 0.
5137 * nptl/sysdeps/pthread/bits/libc-lock.h
5138 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5139 (__libc_lock_define_initialized_recursive): Always define using
5140 initializer. Modern compilers treat uninitialized (implicit zero) and
5141 explicit zero initializers the same (i.e. put the datum in bss).
5143 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5145 * nscd/nscd-client.h: Include <string.h>.
5147 2014-05-01 David S. Miller <davem@davemloft.net>
5150 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
5151 multiple zero bytes exist at the end of a string.
5152 Reported by Aurelien Jarno <aurelien@aurel32.net>
5154 * string/test-strcmp.c (check): Add explicit test for situations where
5155 there are multiple zero bytes after the first.
5157 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
5160 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
5161 when compiling wprintf.
5162 * stdio-common/tstdiomisc.c (t3): New function.
5165 2014-05-01 Steve Ellcey <sellcey@mips.com>
5167 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
5168 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
5169 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
5170 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
5172 2014-05-01 Steve Ellcey <sellcey@mips.com>
5174 * stdlib/longlong.h: Updated from GCC.
5176 2014-05-01 Will Newton <will.newton@linaro.org>
5177 Bernard Ogden <bernie.ogden@linaro.org>
5179 * NEWS: Update fixed bug list.
5182 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
5184 2014-04-30 David S. Miller <davem@davemloft.net>
5186 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
5187 (libc_feholdexcept_setround_sparc_ctx): New function.
5188 (libc_fesetenv_sparc_ctx): Likewise.
5189 (libc_feupdateenv_sparc_ctx): Likewise.
5190 (libc_feholdsetround_sparc_ctx): Likewise.
5191 (libc_feholdexcept_setround_ctx): Define.
5192 (libc_feholdexcept_setroundf_ctx): Likewise.
5193 (libc_feholdexcept_setroundl_ctx): Likewise.
5194 (libc_fesetenv_ctx): Likewise.
5195 (libc_fesetenvf_ctx): Likewise.
5196 (libc_fesetenvl_ctx): Likewise.
5197 (libc_feupdateenv_ctx): Likewise.
5198 (libc_feupdateenvf_ctx): Likewise.
5199 (libc_feupdateenvl_ctx): Likewise.
5200 (libc_feresetround_ctx): Likewise.
5201 (libc_feresetroundf_ctx): Likewise.
5202 (libc_feresetroundl_ctx): Likewise.
5203 (libc_feholdsetround_ctx): Likewise.
5204 (libc_feholdsetroundf_ctx): Likewise.
5205 (libc_feholdsetroundl_ctx): Likewise.
5207 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5208 with __USE_GNU instead of XOPEN cpp guards.
5210 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
5213 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
5214 with XOPEN cpp guards.
5216 2014-04-30 Julian Brown <julian@codesourcery.com>
5219 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
5222 2014-04-30 Joseph Myers <joseph@codesourcery.com>
5225 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
5227 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
5228 * sysdeps/unix/sysv/linux/configure: Regenerated.
5229 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
5230 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
5231 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
5232 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
5233 * README: Update reference to required Linux kernel version.
5234 * manual/install.texi (Linux): Update reference to required Linux
5235 kernel headers version.
5236 * INSTALL: Regenerated.
5238 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
5240 [POSIX] (limits.h): Likewise.
5241 [POSIX] (math.h): Likewise.
5242 [POSIX] (sys/wait.h): Likewise.
5243 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
5245 [POSIX] (stddef.h): Do not allow header inclusion.
5247 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5249 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
5251 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
5253 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5254 Return immediately after lll_futex_wake.
5256 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5259 * nscd/nscd-client.h (datahead_init_common): Initialize entire
5261 (datahead_init_pos): Call datahead_init_common early.
5262 (datahead_init_neg): Likewise.
5264 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
5265 datahead_init_neg): New functions.
5266 * nscd/aicache.c (addhstaiX): Use them.
5267 * nscd/grpcache.c (cache_addgr): Likewise.
5268 * nscd/hstcache.c (cache_addhst): Likewise.
5269 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5270 * nscd/netgroupcache.c (do_notfound): Likewise.
5271 (addgetnetgrentX): Likewise.
5272 (addinnetgrX): Likewise.
5273 * nscd/pwdcache.c (cache_addpw): Likewise.
5274 * nscd/servicescache.c (cache_addserv): Likewise.
5276 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5277 Atsushi Onoe <atsushi@onoe.org>
5282 * resolv/res_query.c (__libc_res_nsearch): Return if at least
5283 one response is valid.
5284 * resolv/res_send.c (send_dg): Check for validity of other
5285 response if the current response is a referral.
5287 2014-04-29 Steve Ellcey <sellcey@mips.com>
5289 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
5291 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
5294 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
5295 Always divide by positive zero when computing -Inf result.
5296 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5297 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5299 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5301 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
5302 FPSCR if value do not change.
5303 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
5304 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
5305 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5306 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5307 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
5308 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
5311 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
5313 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
5314 * sysdeps/unix/sysv/linux/hppa: Move directory from
5315 ports/systeps/unix/sysv/linux/hppa.
5316 * README: Update listing for hppa-*-linux-gnu.
5318 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
5321 * manual/stdio.texi (Hook functions): Fix types of stream hook
5324 * socket/sys/socket.h: Fix typo in comment.
5326 2014-04-28 Wilco <wdijkstr@arm.com>
5328 * sysdeps/arm/fenv_private.h: New file.
5329 * sysdeps/arm/math_private.h: New file.
5330 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
5332 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
5334 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
5336 (La_x86_64_retval): Likewise.
5338 2014-04-24 Ian Bolton <ian.bolton@arm.com>
5340 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
5341 fpsr if value didn't change.
5342 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
5343 to fpcr if value didn't change.
5344 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
5345 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
5346 fpsr or fpcr if value didn't change.
5347 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5348 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
5349 fpcr if value didn't change.
5350 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
5351 to fpsr if value didn't change.
5353 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5355 * nptl/tst-sem3.c: Use test-skeleton.c
5356 (main): Rename to do_test. Use return instead of
5358 * nptl/tst-sem4.c: Use test-skeleton.c
5359 (main): Rename to do_test.
5361 2014-04-22 David S. Miller <davem@davemloft.net>
5363 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
5364 (struct sigaction): New struct member __glibc_reserved0, change
5365 type of sa_flags to int.
5367 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
5369 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
5370 (COUNT_LEADING_ZEROS_0): Define for AArch64.
5372 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5374 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
5375 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
5377 2014-04-22 Will Newton <will.newton@linaro.org>
5378 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
5380 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
5381 (__longjmp): Add longjmp and longjmp_target SystemTap
5383 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
5384 (__sigsetjmp): Add setjmp SystemTap probe.
5386 2014-04-17 Carlos O'Donell <carlos@redhat.com>
5388 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
5391 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5393 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
5395 * sysdeps/powerpc/fpu/fenv_private.h
5396 (libc_feholdexcept_setroundl_ctx): Define to
5397 libc_feholdexcept_setround_ppc_ctx.
5398 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
5399 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
5400 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
5401 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
5403 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5405 * sysdeps/aarch64/math-tests.h: New file.
5407 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
5409 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
5411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5412 Check and set bit_AVX2_Usable.
5413 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
5415 (bit_AVX2): Likewise.
5416 (index_AVX2_Usable): Likewise.
5417 (CPUID_AVX2): Likewise.
5418 (HAS_AVX2): Likewise.
5420 2014-04-17 Will Newton <will.newton@linaro.org>
5422 * manual/setjmp.texi (System V contexts): Add note that
5423 calling setcontext on a context created by a call to a
5424 signal handler is undefined. Update text to note that
5425 setcontext from a signal handler is possible but not
5429 * stdlib/tst-setcontext.c: Include signal.h.
5430 (main): Check that the signal stack before and
5431 after swapcontext is the same.
5433 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5434 Re-implement to restore registers in user code and avoid
5435 rt_sigreturn system call.
5437 2014-04-17 Wilco <wdijkstr@arm.com>
5439 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5440 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5441 * math/test-fenv.c: Skip exception trap tests on targets which only
5442 support non-stop mode.
5444 2014-04-17 Ian Bolton <ian.bolton@arm.com>
5445 Wilco Dijkstra <wilco.dijkstra@arm.com>
5447 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5448 (libc_feholdsetround_aarch64_ctx)
5449 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5450 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5451 (libc_feresetround_ctx, libc_feresetroundf_ctx)
5452 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5453 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5454 (libc_feresetround_noexl_ctx): Define.
5456 2014-04-16 Richard Henderson <rth@redhat.com>
5458 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5460 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5463 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5464 const from the non-libc, non-ldso copy.
5466 * sysdeps/alpha/libm-test-ulps: Regenerate.
5468 2014-04-16 Ian Bolton <ian.bolton@arm.com>
5469 Wilco Dijkstra <wilco.dijkstra@arm.com>
5471 * sysdeps/aarch64/fpu/math_private.h: New file.
5473 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
5475 * sysdeps/aarch64/libm-test-ulps: Regenerate.
5477 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
5479 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5480 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5482 Intel MPX bound registers before _dl_profile_fixup.
5483 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5484 registers after _dl_profile_fixup. Save and restore bound
5485 registers bnd0/bnd1 when calling _dl_call_pltexit.
5486 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5487 (LR_BND_OFFSET): Likewise.
5488 (LRV_BND0_OFFSET): Likewise.
5489 (LRV_BND1_OFFSET): Likewise.
5491 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5493 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5495 * sysdeps/mach/hurd/i386/tls.h: ... here.
5496 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5497 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5500 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
5502 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5504 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5506 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5508 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
5511 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5512 * sysdeps/s390/configure: Regenerate.
5515 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5516 Set round-to-nearest internally to reduce error accumulation.
5518 2014-04-16 Alan Modra <amodra@gmail.com>
5522 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5523 * math/libm-test.inc (frexp_test_data): Add tests.
5524 * NEWS: Update fixed bug list.
5526 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5528 * benchtests/Makefile: Depend on libraries in build directory.
5529 (bench-math): Separate out math tests.
5530 (bench-pthread): Separate out pthread tests.
5531 (bench): Include math and pthread tests.
5533 2014-04-14 Carlos O'Donell <carlos@redhat.com>
5536 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5537 _dl_debug_initialize.
5539 * configure.ac: Remove SELinux header check.
5540 * configure: Regenerate.
5541 * nscd/selinux.c (perms): Array of const char* to permission names.
5542 (nscd_request_avc_has_perm): Call security_deny_unknown to find
5543 default policy. Call string_to_security_class and string_to_av_perm to
5544 translate strings. Enforce default policy and call avs_has_perm with
5545 results of translated strings.
5547 2014-04-13 David S. Miller <davem@davemloft.net>
5549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5551 2014-04-12 Allan McRae <allan@archlinux.org>
5554 * manual/string.texi (Collation Functions): Fix qsort argument
5556 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5558 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
5560 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5561 Make the test a no-op if there are no exceptions defined.
5563 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
5565 * elf/Makefile (tests): make tst-dlopen-aout conditional on
5566 enable-hardcoded-path-in-tests
5568 2014-04-11 Will Newton <will.newton@linaro.org>
5570 * benchtests/Makefile (extra-objs): Add json-lib.o.
5571 (bench-func): Tidy up JSON output.
5572 * benchtests/bench-skeleton.c: Include json-lib.h.
5573 (main): Use JSON library functions to do output of
5575 * benchtests/bench-timing-type.c (main): Output the
5576 timing type simply, leaving formatting to the user.
5577 * benchtests/json-lib.c: New file.
5578 * benchtests/json-lib.h: Likewise.
5580 2014-04-11 Torvald Riegel <triegel@redhat.com>
5583 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5584 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
5585 memory barriers. Add comments.
5586 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5587 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5588 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5589 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5590 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5591 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5593 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
5595 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5596 * sysdeps/s390/s390-64/configure.ac: ... this ...
5597 * sysdeps/s390/configure.ac: ... to here.
5598 * sysdeps/s390/s390-32/configure: Delete file.
5599 * sysdeps/s390/s390-64/configure: Delete file.
5600 * sysdeps/s390/configure: Regenerate.
5602 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
5604 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5606 2014-04-11 Will Newton <will.newton@linaro.org>
5608 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5609 to zero if it is not defined elsewhere. (mtrim): Test
5610 the value of MALLOC_DEBUG with #if rather than #ifdef.
5612 2014-04-10 Torvald Riegel <triegel@redhat.com>
5614 * benchtests/pthread_once-inputs: New file.
5615 * benchtests/pthread_once-source.c: New file.
5616 * benchtests/README: Update documentation.
5618 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
5619 H.J. Lu <hongjiu.lu@intel.com>
5621 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5622 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5623 * sysdeps/x86_64/configure: Regenerated.
5624 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5626 (REGISTER_SAVE_RAX): Likewise.
5627 (REGISTER_SAVE_RCX): Likewise.
5628 (REGISTER_SAVE_RDX): Likewise.
5629 (REGISTER_SAVE_RSI): Likewise.
5630 (REGISTER_SAVE_RDI): Likewise.
5631 (REGISTER_SAVE_R8): Likewise.
5632 (REGISTER_SAVE_R9): Likewise.
5633 (REGISTER_SAVE_BND0): Likewise.
5634 (REGISTER_SAVE_BND1): Likewise.
5635 (REGISTER_SAVE_BND2): Likewise.
5636 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
5637 bound registers when calling _dl_fixup.
5639 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5641 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5642 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5644 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5645 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5646 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5647 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5648 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5649 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5650 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5652 2014-04-09 Peter Brett <peter@peter-b.co.uk>
5655 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5656 pathconf(_PC_NAME_MAX).
5658 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5660 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5662 (__PTHREAD_SPINS): Move definition to ...
5663 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5664 (__PTHREAD_SPINS): ... here.
5665 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5666 (__PTHREAD_SPIN): Likewise.
5667 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5668 (__PTHREAD_SPIN): Likewise.
5669 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5670 (__PTHREAD_SPIN): Likewise.
5671 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5672 (__PTHREAD_SPIN): Likewise.
5673 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5674 (__PTHREAD_SPIN): Likewise.
5675 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5676 (__PTHREAD_SPIN): Likewise.
5677 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5678 (__PTHREAD_SPIN): Likewise.
5679 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5680 (__PTHREAD_SPIN): Likewise.
5681 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5682 (__PTHREAD_SPIN): Likewise.
5683 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5684 (__PTHREAD_SPIN): Likewise.
5685 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5686 (__PTHREAD_SPIN): Likewise.
5687 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5688 (__PTHREAD_SPIN): Likewise.
5690 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5691 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5692 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5693 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5695 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5696 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5697 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5698 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5700 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5701 strlen symbol for non multi-arch builds.
5702 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5703 missing hidden_def and weak_alias.
5705 2014-04-08 Carlos O'Donell <carlos@redhat.com>
5707 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5709 2014-04-07 Will Newton <will.newton@linaro.org>
5711 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5712 and contents. [!_LIBC] Remove #ifndef and contents.
5713 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
5714 * string/memccpy.c (__memccpy): Use ANSI prototype.
5715 * string/memfrob.c (memfrob): Likewise.
5716 * string/strcoll.c (STRCOLL): Likewise.
5717 * string/strlen.c (strlen): Likewise.
5718 * string/strtok.c (STRTOK): Likewise.
5719 * string/strcat.c: Remove unused #include of memcopy.h.
5720 (strcat): Use ANSI prototype.
5721 * string/strchr.c: Remove unused #include of memcopy.h.
5722 (strchr): Use ANSI prototype.
5723 * string/strcmp.c: Remove unused #include of memcopy.h.
5724 (strcmp): Use ANSI prototype.
5725 * string/strcpy.c: Remove unused #include of memcopy.h.
5726 (strcpy): Use ANSI prototype.
5728 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5730 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5731 * config.make.in (config-extra-cppflags): Set it from
5732 libc_extra_cppflags.
5733 * configure.ac (libc_extra_cflags): Make it accumulate over
5734 configure fragments.
5735 (libc_extra_cppflags): New flag.
5736 * configure. Regenerate.
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5738 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5739 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5743 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5744 result for FE_DOWNWARD rounding mode.
5745 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5749 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
5751 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5752 in function argument name.
5754 2014-04-03 David Svoboda <svoboda@cert.org>
5757 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5760 2014-04-03 Roland McGrath <roland@hack.frob.com>
5762 * elf/dl-unmap-segments.h: New file.
5763 * sysdeps/generic/ldsodefs.h
5764 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5765 * elf/dl-close.c: Include <dl-unmap-segments.h>.
5766 * elf/dl-fptr.c: Likewise.
5767 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5768 * sysdeps/aarch64/tlsdesc.c: Likewise.
5769 * sysdeps/arm/tlsdesc.c: Likewise.
5770 * sysdeps/i386/tlsdesc.c: Likewise.
5771 * sysdeps/tile/dl-runtime.c: Likewise.
5772 * sysdeps/x86_64/tlsdesc.c: Likewise.
5773 * elf/dl-load.h: New file.
5774 * elf/dl-load.c: Include it.
5775 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5776 Macros moved to dl-load.h.
5777 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5778 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5779 Use _dl_unmap_segments in place of __munmap.
5780 Break out segment-mapping loop into ...
5781 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5783 2014-04-03 Will Newton <will.newton@linaro.org>
5785 * elf/dl-lookup.c (do_lookup_x): Remove comment
5786 referring to nested function and move variable
5787 declarations down to before first use.
5789 2014-04-02 Joseph Myers <joseph@codesourcery.com>
5793 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5795 * math/s_catanf.c (__catanf): Likewise.
5796 * math/s_catanh.c (__catanh): Likewise.
5797 * math/s_catanhf.c (__catanhf): Likewise.
5798 * math/s_catanhl.c (__catanhl): Likewise.
5799 * math/s_catanl.c (__catanl): Likewise.
5800 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5801 by positive zero when computing -Inf result.
5802 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5803 (catanh_test): Likewise.
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5808 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5809 instead of using underflowing value in computing result.
5810 * math/s_clog10.c (__clog10): Likewise.
5811 * math/s_clog10f.c (__clog10f): Likewise.
5812 * math/s_clog10l.c (__clog10l): Likewise.
5813 * math/s_clogf.c (__clogf): Likewise.
5814 * math/s_clogl.c (__clogl): Likewise.
5815 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5816 (clog10_test): Likewise.
5817 * sysdeps/i386/fpu/libm-test-ulps: Update.
5818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5820 2014-04-02 Alan Modra <amodra@gmail.com>
5823 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5824 output when value is near a power of two. Use int64_t for lx and
5825 remove casts. Use decimal rather than hex exponent constants.
5826 Don't use long double multiplication when double will suffice.
5827 * math/libm-test.inc (nextafter_test_data): Add tests.
5828 * NEWS: Add 16739 and 16786 to bug list.
5830 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5832 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5834 2014-04-01 Will Newton <will.newton@linaro.org>
5836 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5837 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
5839 2014-04-01 Florian Weimer <fweimer@redhat.com>
5842 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5843 * nptl/tst-setuid2.c: New file.
5844 * nptl/Makefile (xtests): Add tst-setuid2.
5846 2014-04-01 Alan Modra <amodra@gmail.com>
5849 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5851 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5855 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5856 set errno as appropriate.
5857 * math/w_scalbf.c (__scalbf): Likewise.
5858 * math/w_scalbl.c (__scalbl): Likewise.
5859 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5860 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5861 * math/libm-test.inc (scalb_test_data): Add errno expectations.
5865 * math/w_atan2.c: Include <errno.h>.
5866 (__atan2): Set errno for result underflowing to zero.
5867 * math/w_atan2f.c: Include <errno.h>.
5868 (__atan2f): Set errno for result underflowing to zero.
5869 * math/w_atan2l.c: Include <errno.h>.
5870 (__atan2l): Set errno for result underflowing to zero.
5871 * math/auto-libm-test-in: Don't allow missing errno for some atan2
5873 * math/auto-libm-test-out: Regenerated.
5875 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5877 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5878 Encode instruction correctly in little endian.
5879 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5883 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5885 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5888 2014-03-31 Joseph Myers <joseph@codesourcery.com>
5891 * sysdeps/unix/sysv/linux/kernel-features.h
5892 [__sparc__ && !__arch64__ && !__sparc_v9__]
5893 (__ASSUME_SET_ROBUST_LIST): Do not define.
5894 [__sparc__ && !__arch64__ && !__sparc_v9__]
5895 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5896 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5898 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5899 (__ASSUME_FUTEX_LOCK_PI): Undefine.
5900 (__ASSUME_REQUEUE_PI): Likewise.
5901 (__ASSUME_SET_ROBUST_LIST): Likewise.
5902 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5903 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5905 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5906 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5908 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5910 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5912 * sysdeps/unix/sysv/linux/mips/kernel-features.h
5913 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5915 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5916 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5920 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5921 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5922 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5924 2014-03-31 Will Newton <will.newton@linaro.org>
5926 * benchtests/Makefile (bench): Add ffs and ffsll to list
5928 * benchtests/ffs-inputs: New file.
5929 * benchtests/ffsll-inputs: Likewise.
5931 2014-03-29 Joseph Myers <joseph@codesourcery.com>
5934 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5935 too large before casting to int.
5936 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5937 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5938 * math/libm-test.inc (scalb_test_data): Add more tests.
5940 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5942 * benchtests/Makefile (DETAILED_OPT): New make option.
5943 (bench-func): Run benchmark program with -d if DETAILED_OPT is
5945 * benchtests/bench-skeleton.c: Include stdbool.h.
5946 (main): Store and print timings per input.
5947 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5948 member to each argument value.
5949 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5950 (_print_arg_data): Initialize per-input timing to 0.
5952 * benchtests/Makefile (timing-type): New binary.
5953 (bench-clean): Also remove bench-timing-type.
5954 (bench): New target for timing-type.
5955 (bench-func): Print output in JSON format.
5956 * benchtests/bench-skeleton.c (main): Print output in JSON
5958 * benchtests/bench-timing-type.c: New file.
5959 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5960 (TIMING_PRINT_STATS): Remove.
5961 * benchtests/scripts/bench.py (_print_arg_data): Store variant
5964 * benchtests/bench-modf.c: Remove.
5965 * benchtests/modf-inputs: New inputs file.
5967 2014-03-28 Joseph Myers <joseph@codesourcery.com>
5970 * math/s_clog10.c (M_PI_LOG10E): New macro.
5971 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5972 imaginary parts are 0.
5973 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5974 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5975 imaginary parts are 0.
5976 * math/s_clog10l.c (M_PI_LOG10El): New macro.
5977 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5978 imaginary parts are 0.
5979 * math/libm-test.inc (clog10_test_data): Update expected results
5980 for when real and imaginary parts are 0.
5982 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
5984 * elf/dl-load.c: Finish conversion of __builtin_expect into
5987 2014-03-27 Joseph Myers <joseph@codesourcery.com>
5990 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5991 1+x for argument with exponent below -67.
5992 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5994 * math/auto-libm-test-in: Add more tests of exp.
5995 * math/auto-libm-test-out: Regenerated.
5997 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6000 * inet/getnetgrent_r.c (get_nonempty_val): New function.
6001 (nscd_getnetgrent): Use it.
6004 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
6007 2014-03-27 Andi Kleen <ak@linux.intel.com>
6009 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
6010 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6011 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6012 (lll_robust_unlock): Remove out of line section. Use cfi
6014 (LLL_STUB_UNWIND_INFO*): Remove.
6015 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
6016 (lll_robust_lock, lll_cond_lock, lll_timedlock)
6017 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
6018 (lll_robust_unlock): Remove out of line section. Use cfi
6020 (LLL_STUB_UNWIND_INFO*): Remove.
6022 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6025 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
6028 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
6030 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
6032 2014-03-26 Joseph Myers <joseph@codesourcery.com>
6035 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
6037 * math/test-fenv-preserve.c: New file.
6038 * math/Makefile (tests): Add test-fenv-preserve.
6040 2014-03-26 Will Newton <will.newton@linaro.org>
6042 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
6044 2014-03-25 Roland McGrath <roland@hack.frob.com>
6046 * scripts/versionlist.awk: Partition the version sets and emit all
6047 GLIBC_* (sorted) before all others (sorted).
6049 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6051 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
6052 GLIBC_2.2.5 version.
6054 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6056 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
6059 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
6062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6064 2014-03-25 Andreas Schwab <schwab@suse.de>
6066 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
6067 label to be used after in6ailist is initialized.
6069 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6071 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6072 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6074 2014-03-25 Joseph Myers <joseph@codesourcery.com>
6078 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
6080 (fp_formats): Update initializers.
6081 (init_fp_formats): Initialize new field.
6082 (output_for_one_input_case): Allow underflow for results up to
6084 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
6085 * math/auto-libm-test-in: Don't mark some underflows from asin and
6087 * math/auto-libm-test-out: Regenerated.
6088 * sysdeps/i386/fpu/libm-test-ulps: Update.
6089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6091 2014-03-25 Andreas Schwab <schwab@suse.de>
6093 * libio/Makefile (tst-ftell-partial-wide-ENV)
6094 (tst-ftell-active-handler-ENV): Define.
6096 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
6098 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
6100 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6102 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
6104 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6106 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
6107 * sysdeps/x86_64/fpu/multiarch/e_exp.c
6108 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6110 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
6113 * elf/dl-load.c (open_verify): Add mode parameter.
6114 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
6115 (open_path): Change from boolean 'secure' to complete flag 'mode'
6116 (_dl_map_object): Adjust.
6117 * elf/Makefile (tests): Add tst-dlopen-aout.
6118 * elf/tst-dlopen-aout.c: New test.
6120 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6123 * sysdeps/unix/sysv/linux/s390/bits/stat.h
6124 (struct stat): Rename member pad0 to __glibc_reserved0.
6127 * sysdeps/s390/s390-32/bits/wordsize.h
6128 (__WORDSIZE32_SIZE_ULONG): New define.
6129 * sysdeps/s390/s390-64/bits/wordsize.h
6130 (__WORDSIZE32_SIZE_ULONG): Likewise.
6131 * sysdeps/generic/stdint.h (SIZE_MAX):
6132 Define as UL if __WORDSIZE32_SIZE_ULONG.
6135 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
6136 (__glibc_reserved0): New variable.
6137 (sa_flags): Change type to int.
6139 * posix/Makefile (before-compile): Use += before-compile instead
6142 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6143 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
6145 2014-03-20 Andreas Schwab <schwab@suse.de>
6148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
6149 non-matching result from nscd.
6151 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6153 * scripts/bench.py: Moved to ...
6154 * benchtests/scripts/bench.py: ... here.
6155 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
6157 2014-03-24 Andreas Schwab <schwab@suse.de>
6160 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
6161 alloca_account and account alloca use for struct in6ailist.
6163 2014-03-24 Joseph Myers <joseph@codesourcery.com>
6166 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
6167 rounding mode to recompute results that overflow to infinity or
6169 * math/auto-libm-test-in: Don't mark tests as expected to fail for
6171 * math/auto-libm-test-out: Regenerated.
6172 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
6173 (ccosh_test): Likewise.
6174 (csin_test_data): Use plus_oflow.
6175 (csin_test): Use ALL_RM_TEST.
6176 (csinh_test_data): Use plus_oflow.
6177 (csinh_test): Use ALL_RM_TEST.
6178 * sysdeps/i386/fpu/libm-test-ulps: Update.
6179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6181 2014-03-21 Joseph Myers <joseph@codesourcery.com>
6183 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
6184 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
6185 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
6188 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
6190 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
6191 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
6192 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
6195 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
6196 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
6198 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
6199 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6202 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6204 * scripts/bench.pl: Remove file.
6205 * scripts/bench.py: New benchmark script.
6206 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
6207 * benchtests/README: Mention python dependency.
6208 * scripts/pylintrc: New file.
6209 * scripts/pylint: New file.
6211 * bits/mathdef.h: Use #ifdef instead of #if.
6212 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
6213 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6214 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
6215 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6216 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
6217 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
6219 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6222 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
6223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
6224 and strpbrk-ppc64 objects.
6225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6226 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
6227 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
6228 multiarch strpbrk for POWER7.
6229 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
6230 multiarch strpbrk for PPC64.
6231 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
6233 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
6236 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6238 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
6239 (atan_test): Likewise.
6240 (atanh_test_data): Use NO_TEST_INLINE for two tests.
6241 (atanh_test): Use ALL_RM_TEST.
6242 (atan2_test_data): Likewise.
6243 (cabs_test): Likewise.
6244 (cacosh_test): Likewise.
6245 (carg_test): Likewise.
6246 (casin_test): Likewise.
6247 (casinh_test): Likewise.
6248 (cbrt_test): Likewise.
6249 (csqrt_test): Likewise.
6250 (erf_test): Likewise.
6251 (erfc_test): Likewise.
6252 (pow10_test): Likewise.
6253 (exp2_test): Likewise.
6254 (hypot_test): Likewise.
6255 (j0_test): Likewise.
6256 (j1_test): Likewise.
6257 (lgamma_test): Likewise.
6258 (gamma_test): Likewise.
6259 (sincos_test): Likewise.
6260 (tanh_test): Likewise.
6261 (y0_test): Likewise.
6262 (y1_test): Likewise.
6263 * sysdeps/i386/fpu/libm-test-ulps: Update.
6264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6268 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
6269 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6270 and strcspn-ppc64 objects.
6271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6272 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
6273 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
6274 multiarch strcspn for POWER7.
6275 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
6276 multiarch strcspn for PPC64.
6277 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
6279 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
6282 2014-03-20 Joseph Myers <joseph@codesourcery.com>
6284 * math/gen-libm-test.pl (generate_testfile): Expect only function
6285 name as argument to AUTO_TESTS_* and pass results for all rounding
6286 modes to parse_args.
6287 (parse_auto_input): Separate inputs of automatic tests from
6288 outputs before storing in %auto_tests.
6289 * math/libm-test.inc (acos_test_data): Update call to
6291 (acos_test): Use ALL_RM_TEST.
6292 (acos_tonearest_test_data): Remove.
6293 (acos_test_tonearest): Likewise.
6294 (acos_towardzero_test_data): Likewise.
6295 (acos_test_towardzero): Likewise.
6296 (acos_downward_test_data): Likewise.
6297 (acos_test_downward): Likewise.
6298 (acos_upward_test_data): Likewise.
6299 (acos_test_upward): Likewise.
6300 (acosh_test_data): Update call to AUTO_TESTS_f_f.
6301 (asin_test_data): Likewise.
6302 (asin_test): Use ALL_RM_TEST.
6303 (asin_tonearest_test_data): Remove.
6304 (asin_test_tonearest): Likewise.
6305 (asin_towardzero_test_data): Likewise.
6306 (asin_test_towardzero): Likewise.
6307 (asin_downward_test_data): Likewise.
6308 (asin_test_downward): Likewise.
6309 (asin_upward_test_data): Likewise.
6310 (asin_test_upward): Likewise.
6311 (asinh_test_data): Update call to AUTO_TESTS_f_f.
6312 (atan_test_data): Likewise.
6313 (atanh_test_data): Likewise.
6314 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
6315 (cabs_test_data): Update call to AUTO_TESTS_c_f.
6316 (carg_test_data): Likewise.
6317 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
6318 (ccos_test_data): Update call to AUTO_TESTS_c_c.
6319 (ccosh_test_data): Likewise.
6320 (cexp_test_data): Likewise.
6321 (clog_test_data): Likewise.
6322 (clog10_test_data): Likewise.
6323 (cos_test_data): Update call to AUTO_TESTS_f_f.
6324 (cos_test): Use ALL_RM_TEST.
6325 (cos_tonearest_test_data): Remove.
6326 (cos_test_tonearest): Likewise.
6327 (cos_towardzero_test_data): Likewise.
6328 (cos_test_towardzero): Likewise.
6329 (cos_downward_test_data): Likewise.
6330 (cos_test_downward): Likewise.
6331 (cos_upward_test_data): Likewise.
6332 (cos_test_upward): Likewise.
6333 (cosh_test_data): Update call to AUTO_TESTS_f_f.
6334 (cosh_test): Use ALL_RM_TEST.
6335 (cosh_tonearest_test_data): Remove.
6336 (cosh_test_tonearest): Likewise.
6337 (cosh_towardzero_test_data): Likewise.
6338 (cosh_test_towardzero): Likewise.
6339 (cosh_downward_test_data): Likewise.
6340 (cosh_test_downward): Likewise.
6341 (cosh_upward_test_data): Likewise.
6342 (cosh_test_upward): Likewise.
6343 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
6344 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
6345 (ctan_test_data): Likewise.
6346 (ctan_test): Use ALL_RM_TEST.
6347 (ctan_tonearest_test_data): Remove.
6348 (ctan_test_tonearest): Likewise.
6349 (ctan_towardzero_test_data): Likewise.
6350 (ctan_test_towardzero): Likewise.
6351 (ctan_downward_test_data): Likewise.
6352 (ctan_test_downward): Likewise.
6353 (ctan_upward_test_data): Likewise.
6354 (ctan_test_upward): Likewise.
6355 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
6356 (ctanh_test): Use ALL_RM_TEST.
6357 (ctanh_tonearest_test_data): Remove.
6358 (ctanh_test_tonearest): Likewise.
6359 (ctanh_towardzero_test_data): Likewise.
6360 (ctanh_test_towardzero): Likewise.
6361 (ctanh_downward_test_data): Likewise.
6362 (ctanh_test_downward): Likewise.
6363 (ctanh_upward_test_data): Likewise.
6364 (ctanh_test_upward): Likewise.
6365 (erf_test_data): Update call to AUTO_TESTS_f_f.
6366 (erfc_test_data): Likewise.
6367 (exp_test_data): Likewise.
6368 (exp_test): Use ALL_RM_TEST.
6369 (exp_tonearest_test_data): Remove.
6370 (exp_test_tonearest): Likewise.
6371 (exp_towardzero_test_data): Likewise.
6372 (exp_test_towardzero): Likewise.
6373 (exp_downward_test_data): Likewise.
6374 (exp_test_downward): Likewise.
6375 (exp_upward_test_data): Likewise.
6376 (exp_test_upward): Likewise.
6377 (exp10_test_data): Update call to AUTO_TESTS_f_f.
6378 (exp10_test): Use ALL_RM_TEST.
6379 (exp10_tonearest_test_data): Remove.
6380 (exp10_test_tonearest): Likewise.
6381 (exp10_towardzero_test_data): Likewise.
6382 (exp10_test_towardzero): Likewise.
6383 (exp10_downward_test_data): Likewise.
6384 (exp10_test_downward): Likewise.
6385 (exp10_upward_test_data): Likewise.
6386 (exp10_test_upward): Likewise.
6387 (exp2_test_data): Update call to AUTO_TESTS_f_f.
6388 (expm1_test_data): Likewise.
6389 (expm1_test): Use ALL_RM_TEST.
6390 (expm1_tonearest_test_data): Remove.
6391 (expm1_test_tonearest): Likewise.
6392 (expm1_towardzero_test_data): Likewise.
6393 (expm1_test_towardzero): Likewise.
6394 (expm1_downward_test_data): Likewise.
6395 (expm1_test_downward): Likewise.
6396 (expm1_upward_test_data): Likewise.
6397 (expm1_test_upward): Likewise.
6398 (fma_test_data): Update call to AUTO_TESTS_fff_f.
6399 (fma_test): Use ALL_RM_TEST.
6400 (fma_towardzero_test_data): Remove.
6401 (fma_test_towardzero): Likewise.
6402 (fma_downward_test_data): Likewise.
6403 (fma_test_downward): Likewise.
6404 (fma_upward_test_data): Likewise.
6405 (fma_test_upward): Likewise.
6406 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
6407 (j0_test_data): Update call to AUTO_TESTS_f_f.
6408 (j1_test_data): Likewise.
6409 (jn_test_data): Update call to AUTO_TESTS_if_f.
6410 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
6411 (log_test_data): Update call to AUTO_TESTS_f_f.
6412 (log10_test_data): Likewise.
6413 (log1p_test_data): Likewise.
6414 (log2_test_data): Likewise.
6415 (pow_test_data): Update call to AUTO_TESTS_ff_f.
6416 (pow_tonearest_test_data): Likewise.
6417 (sin_test_data): Update call to AUTO_TESTS_f_f.
6418 (sin_test): Use ALL_RM_TEST.
6419 (sin_tonearest_test_data): Remove.
6420 (sin_test_tonearest): Likewise.
6421 (sin_towardzero_test_data): Likewise.
6422 (sin_test_towardzero): Likewise.
6423 (sin_downward_test_data): Likewise.
6424 (sin_test_downward): Likewise.
6425 (sin_upward_test_data): Likewise.
6426 (sin_test_upward): Likewise.
6427 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
6428 (sinh_test_data): Update call to AUTO_TESTS_f_f.
6429 (sinh_test): Use ALL_RM_TEST.
6430 (sinh_tonearest_test_data): Remove.
6431 (sinh_test_tonearest): Likewise.
6432 (sinh_towardzero_test_data): Likewise.
6433 (sinh_test_towardzero): Likewise.
6434 (sinh_downward_test_data): Likewise.
6435 (sinh_test_downward): Likewise.
6436 (sinh_upward_test_data): Likewise.
6437 (sinh_test_upward): Likewise.
6438 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6439 (sqrt_test): Use ALL_RM_TEST.
6440 (sqrt_tonearest_test_data): Remove.
6441 (sqrt_test_tonearest): Likewise.
6442 (sqrt_towardzero_test_data): Likewise.
6443 (sqrt_test_towardzero): Likewise.
6444 (sqrt_downward_test_data): Likewise.
6445 (sqrt_test_downward): Likewise.
6446 (sqrt_upward_test_data): Likewise.
6447 (sqrt_test_upward): Likewise.
6448 (tan_test_data): Update call to AUTO_TESTS_f_f.
6449 (tan_test): Use ALL_RM_TEST.
6450 (tan_tonearest_test_data): Remove.
6451 (tan_test_tonearest): Likewise.
6452 (tan_towardzero_test_data): Likewise.
6453 (tan_test_towardzero): Likewise.
6454 (tan_downward_test_data): Likewise.
6455 (tan_test_downward): Likewise.
6456 (tan_upward_test_data): Likewise.
6457 (tan_test_upward): Likewise.
6458 (tanh_test_data): Update call to AUTO_TESTS_f_f.
6459 (tgamma_test_data): Likewise.
6460 (y0_test_data): Likewise.
6461 (y1_test_data): Likewise.
6462 (yn_test_data): Update call to AUTO_TESTS_if_f.
6463 (main): Do not call removed functions.
6465 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6467 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6468 (ldexp_test_data): Remove.
6469 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
6471 (scalb_test): Use ALL_RM_TEST.
6473 2014-03-19 Andreas Schwab <schwab@suse.de>
6475 * nscd/nscd.service: Also invalidate netgroup cache on reload.
6477 2014-03-19 Joseph Myers <joseph@codesourcery.com>
6480 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6481 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6482 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6483 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6484 (__ASSUME_PREADV): Undefine.
6485 (__ASSUME_PWRITEV): Likewise.
6487 2014-03-18 Roland McGrath <roland@hack.frob.com>
6489 * bits/mman-linux.h: Add comment about non-Linux use.
6490 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6491 bits/mman-linux.h resting place.
6493 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6494 * bits/mman-linux.h: ... here.
6496 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6498 * conform/conformtest.pl: Add standard definition when calling C
6499 preprocessor on data files.
6500 (checknamespace): Remove unused variable.
6502 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6504 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6505 minus_oflow, plus_uflow and minus_uflow in expected results.
6506 * math/libm-test.inc (scalbn_test_data): Add more tests of
6507 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
6509 (scalbn_test): Use ALL_RM_TEST.
6510 (scalbln_test_data): Add more tests of negative arguments. Use
6511 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6512 (scalbln_test): Use ALL_RM_TEST.
6514 2014-03-18 Roland McGrath <roland@hack.frob.com>
6516 * scripts/abilist.awk: Ignore symbols marked with .hidden.
6518 2014-03-18 Will Newton <will.newton@linaro.org>
6520 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6523 2014-03-18 Joseph Myers <joseph@codesourcery.com>
6525 * Makerules [!subdir] (check-abi): Exit with error status if a
6528 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6530 * math/libm-test.inc (nearbyint_test_data): Include all tests used
6531 for rint. Include results for all rounding modes.
6532 (nearbyint_test): Use ALL_RM_TEST.
6533 (rint_test_data): Include all tests used for nearbyint.
6535 2014-03-17 Will Newton <will.newton@linaro.org>
6537 * nptl/sysdeps/pthread/pthread.h: Revert previous
6540 * sysdeps/generic/ldsodefs.h: Revert previous
6543 * libio/genops.c: Revert previous change.
6544 * libio/libioP.h: Likewise.
6545 * stdio-common/vfprintf.c: Likewise.
6547 * sysdeps/generic/math_private.h: Revert previous
6550 * sysdeps/generic/math_private.h: Check whether
6551 HAVE_RM_CTX is defined with #ifdef rather
6554 * argp/argp-fmtstream.h: Check whether
6555 __STRICT_ANSI__ is defined with #ifdef rather
6557 * argp/argp.h: Likewise.
6559 * libio/genops.c: Check whether
6560 _IO_JUMPS_OFFSET is defined with #ifdef rather
6562 * libio/libioP.h: Likewise.
6563 * stdio-common/vfprintf.c: Likewise.
6565 * sysdeps/generic/ldsodefs.h: Check whether
6566 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6569 * nptl/sysdeps/pthread/pthread.h: Check
6570 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6573 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6575 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6577 * libio/tst-ftell-active-handler.c (do_append_test): Add a
6581 * libio/fileops.c (_IO_file_open): Seek to end of file but
6582 don't cache the offset.
6583 (get_file_offset): Remove function.
6584 (do_ftell): Use cached offset when available.
6585 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6586 don't cache the offset.
6587 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6589 (do_one_test): Call it.
6590 (do_ftell_test): Fix up expected old offset for a+ mode.
6591 * libio/wfileops.c (do_ftell_wide): Used cached offset when
6594 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6595 up test status with function return status.
6596 (do_write_test): Likewise.
6597 (do_append_test): Likewise.
6599 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6600 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6603 2014-03-17 Joseph Myers <joseph@codesourcery.com>
6605 * math/gen-libm-test.pl (parse_args): Handle results specified for
6606 each rounding mode separately.
6607 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6608 tests and results from lrint_tonearest_test_data,
6609 lrint_towardzero_test_data, lrint_downward_test_data and
6610 lrint_upward_test_data.
6611 (lrint_test): Use ALL_RM_TEST.
6612 (lrint_tonearest_test_data): Remove.
6613 (lrint_test_tonearest): Likewise.
6614 (lrint_towardzero_test_data): Likewise.
6615 (lrint_test_towardzero): Likewise.
6616 (lrint_downward_test_data): Likewise.
6617 (lrint_test_downward): Likewise.
6618 (lrint_upward_test_data): Likewise.
6619 (lrint_test_upward): Likewise.
6620 (llrint_test_data): Merge in per-rounding-mode tests and results
6621 from llrint_tonearest_test_data, llrint_towardzero_test_data,
6622 llrint_downward_test_data and llrint_upward_test_data.
6623 (llrint_test): Use ALL_RM_TEST.
6624 (llrint_tonearest_test_data): Remove.
6625 (llrint_test_tonearest): Likewise.
6626 (llrint_towardzero_test_data): Likewise.
6627 (llrint_test_towardzero): Likewise.
6628 (llrint_downward_test_data): Likewise.
6629 (llrint_test_downward): Likewise.
6630 (llrint_upward_test_data): Likewise.
6631 (llrint_test_upward): Likewise.
6632 (rint_test_data): Merge in per-rounding-mode tests and results
6633 from rint_tonearest_test_data, rint_towardzero_test_data,
6634 rint_downward_test_data and rint_upward_test_data. Add
6635 per-rounding-mode results for tests not in those arrays.
6636 (rint_test): Use ALL_RM_TEST.
6637 (rint_tonearest_test_data): Remove.
6638 (rint_test_tonearest): Likewise.
6639 (rint_towardzero_test_data): Likewise.
6640 (rint_test_towardzero): Likewise.
6641 (rint_downward_test_data): Likewise.
6642 (rint_test_downward): Likewise.
6643 (rint_upward_test_data): Likewise.
6644 (rint_test_upward): Likewise.
6645 (main): Don't call removed functions.
6647 2014-03-14 Roland McGrath <roland@hack.frob.com>
6649 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6650 "Compiled on ..." crapola. It is anti-useful.
6652 2014-03-14 Joseph Myers <joseph@codesourcery.com>
6654 * scripts/evaluate-test.sh: Handle fourth argument to determine
6655 whether test run should stop on failure.
6656 * Makeconfig (stop-on-test-failure): New variable.
6657 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6658 $(stop-on-test-failure).
6659 * Makefile (tests): Give a summary of results from testing and
6660 exit with failure status if they include an ERROR or FAIL.
6662 * manual/install.texi (Configuring and compiling): Mention
6663 stop-on-test-failure=y.
6664 * INSTALL: Regenerated.
6666 2014-03-14 Roland McGrath <roland@hack.frob.com>
6668 * scripts/versionlist.awk: New file.
6669 * Makerules [$(build-shared) = yes]
6670 (postclean-generated): Add Versions.def, not Versions.def.v and
6672 ($(common-objpfx)Versions.def.v.i): Target removed.
6673 ($(common-objpfx)Versions.def): New target.
6674 ($(common-objpfx)Versions.all): Depend on that rather that
6675 $(common-objpfx)Versions.def.v.
6676 * Versions.def: File removed.
6678 * Makeconfig (+gccwarn): Add -Wundef.
6679 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6680 a dl-sysdep.h breaking its contract.
6681 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6682 * include/stackinfo.h: New file.
6683 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6684 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6685 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6686 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6687 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6688 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6689 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6690 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6691 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6692 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6693 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6694 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6695 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6696 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6697 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6699 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6702 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6704 * math/libm-test.inc (round_test_data): Add more tests.
6707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6709 * math/libm-test.inc (nearbyint_test_data): Add more tests.
6712 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6714 * math/libm-test.inc (ceil_test_data): Add more tests.
6716 * math/libm-test.inc (trunc_test_data): Add more tests related to
6719 2014-03-14 Roland McGrath <roland@hack.frob.com>
6721 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6722 with #if rather than #ifdef.
6723 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6725 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
6727 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6728 first. Disable AVX-512 GCC support if assembler doesn't support
6730 * sysdeps/x86_64/configure: Regenerated.
6732 2014-03-13 Carlos O'Donell <carlos@redhat.com>
6734 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6735 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6736 (__old_pthread_attr_setstack): Likewise.
6737 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6738 [!_STACK_GROWS_DOWN]: Likewise.
6740 2014-03-13 Mike Frysinger <vapier@gentoo.org>
6742 * config.make.in (have-bash2): Delete.
6743 * configure.ac (libc_cv_have_bash2): Delete.
6744 * configure: Regenerate.
6745 * elf/Makefile (common-ldd-rewrite): Rename to ...
6746 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
6747 (sh-ldd-rewrite): Delete.
6748 (bash-ldd-rewrite): Delete.
6749 (have-bash2): Delete checks.
6750 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6753 * config.make.in (have-ksh): Delete.
6755 * configure.ac (libc_cv_have_ksh): Delete.
6756 * configure: Regenerate.
6758 * elf/Makefile: Delete $(have-ksh) check.
6759 ($(objpfx)sotruss): Change KSH to BASH.
6760 * elf/sotruss.ksh: Rename to ...
6761 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
6762 function style to match POSIX. Drop ksh vim mode setting.
6764 * manual/time.texi (Specifying the Time Zone with TZ): Change
6765 Tuesday to Thursday.
6767 * debug/tst-longjmp_chk2.c: Update header comment.
6768 (stackoverflow_handler): Add comment. Call assert on pass value.
6770 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
6772 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6773 (HAVE_AVX512_ASM_SUPPORT): Likewise.
6774 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6775 (La_x86_64_vector): Add zmm.
6776 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6777 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6778 ($(objpfx)tst-audit10): New target.
6779 ($(objpfx)tst-audit10.out): Likewise.
6780 (tst-audit10-ENV): New.
6781 (AVX512-CFLAGS): Likewise.
6782 (CFLAGS-tst-audit10.c): Likewise.
6783 (CFLAGS-tst-auditmod10a.c): Likewise.
6784 (CFLAGS-tst-auditmod10b.c): Likewise.
6785 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6786 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6787 * sysdeps/x86_64/configure: Regenerated.
6788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6789 AVX-512 zmm register support.
6790 (_dl_x86_64_save_sse): Likewise.
6791 (_dl_x86_64_restore_sse): Likewise.
6792 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6793 size vector registers.
6794 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6795 (ZMM_SIZE): Likewise.
6796 * sysdeps/x86_64/tst-audit10.c: New file.
6797 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6798 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6800 2014-03-13 Roland McGrath <roland@hack.frob.com>
6802 * configure.ac (HAVE_EHDR_START): New check.
6803 * configure: Regenerated.
6804 * config.h.in (HAVE_EHDR_START): New #undef.
6805 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6806 assuming the lowest-addressed segment maps the start of the file.
6808 2014-03-13 Joseph Myers <joseph@codesourcery.com>
6810 * INSTALL: Regenerated.
6812 2014-03-13 Will Newton <will.newton@linaro.org>
6814 * manual/setjmp.texi (System V contexts): Improve
6815 clarity and grammar of documentation.
6817 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
6820 * elf/Makefile (tests): Add tst-pie2.
6821 (tests-pie): Add tst-pie2.
6822 * elf/tst-pie2.c: New file.
6823 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6825 * elf/rtld.c (map_doit): Load executable as lt_executable.
6826 (dl_main): Likewise.
6828 2014-03-12 Joseph Myers <joseph@codesourcery.com>
6831 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6832 (__ASSUME_PSELECT): Undefine.
6834 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6838 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6841 selector for static builds.
6843 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6846 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6849 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6851 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6852 IFUNC selector for static builds.
6854 2014-03-11 Joseph Myers <joseph@codesourcery.com>
6856 * sysdeps/mips/math_private.h [__mips_hard_float]
6857 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6858 libc_feresetround_mips_ctx.
6859 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6860 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6861 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6864 * math/s_nextafter.c (__nextafter): Do not return value from
6865 overflowing computation.
6866 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6867 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6868 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6870 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6872 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6873 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6875 2014-03-11 Roland McGrath <roland@hack.frob.com>
6877 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6878 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6879 Move sfi_sp use from the load-multiple (that no longer sets sp) to
6880 the new mov targetting sp.
6882 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6885 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6886 Define it for static builds as well.
6887 (NO_BZERO_IMPL): Likewise.
6889 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6891 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6892 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6893 multiarch strspn for PPC64.
6894 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6895 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6896 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6897 (__libc_ifunc_impl_list): Likewise.
6898 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6899 multiarch optimizations
6900 * string/strspn.c (strspn): Using macro to redefine symbol name.
6902 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6903 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6905 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6906 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6907 multiarch strncat for PPC64.
6908 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6909 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6911 (__libc_ifunc_impl_list): Likewise.
6912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6913 multiarch optimizations
6915 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6918 * nscd/nscd.service: Make service type forking.
6920 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6922 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6923 sign in non default rounding modes.
6924 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6926 2014-03-08 Joseph Myers <joseph@codesourcery.com>
6928 * math/libm-test.inc (ALL_RM_TEST): New macro.
6929 (ceil_test): Use ALL_RM_TEST.
6930 (cimag_test): Likewise.
6931 (conj_test): Likewise.
6932 (copysign_test): Likewise.
6933 (cproj_test): Likewise.
6934 (creal_test): Likewise.
6935 (fabs_test): Likewise.
6936 (floor_test): Likewise.
6937 (fmax_test): Likewise.
6938 (fmin_test): Likewise.
6939 (fmod_test): Likewise.
6940 (fpclassify_test): Likewise.
6941 (frexp_test): Likewise.
6942 (ilogb_test): Likewise.
6943 (isfinite_test): Likewise.
6944 (finite_test): Likewise.
6945 (isgreater_test): Likewise.
6946 (isgreaterequal_test): Likewise.
6947 (isinf_test): Likewise.
6948 (isless_test): Likewise.
6949 (islessequal_test): Likewise.
6950 (islessgreater_test): Likewise.
6951 (isnan_test): Likewise.
6952 (isnormal_test): Likewise.
6953 (issignaling_test): Likewise.
6954 (isunordered_test): Likewise.
6955 (logb_test): Likewise.
6956 (logb_downward_test_data): Remove.
6957 (logb_test_downward): Likewise.
6958 (lround_test): Use ALL_RM_TEST.
6959 (llround_test): Likewise.
6960 (modf_test): Likewise.
6961 (nexttoward_test): Likewise.
6962 (remainder_test): Likewise.
6963 (drem_test): Likewise.
6964 (remainder_tonearest_test_data): Likewise.
6965 (remainder_test_tonearest): Likewise.
6966 (drem_test_tonearest): Likewise.
6967 (remainder_towardzero_test_data): Likewise.
6968 (remainder_test_towardzero): Likewise.
6969 (drem_test_towardzero): Likewise.
6970 (remainder_downward_test_data): Likewise.
6971 (remainder_test_downward): Likewise.
6972 (drem_test_downward): Likewise.
6973 (remainder_upward_test_data): Likewise.
6974 (remainder_test_upward): Likewise.
6975 (drem_test_upward): Likewise.
6976 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
6977 (round_test): Use ALL_RM_TEST.
6978 (signbit_test): Likewise.
6979 (trunc_test): Likewise.
6980 (significand_test): Likewise.
6981 (main): Don't call removed functions.
6983 2014-03-07 Joseph Myers <joseph@codesourcery.com>
6986 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6988 (ILL_ILLOPN): Likewise.
6989 (ILL_ILLADR): Likewise.
6990 (ILL_ILLTRP): Likewise.
6991 (ILL_PRVOPC): Likewise.
6992 (ILL_PRVREG): Likewise.
6993 (ILL_COPROC): Likewise.
6994 (ILL_BADSTK): Likewise.
6995 (FPE_INTDIV): Likewise.
6996 (FPE_INTOVF): Likewise.
6997 (FPE_FLTDIV): Likewise.
6998 (FPE_FLTOVF): Likewise.
6999 (FPE_FLTUND): Likewise.
7000 (FPE_FLTRES): Likewise.
7001 (FPE_FLTINV): Likewise.
7002 (FPE_FLTSUB): Likewise.
7003 (SEGV_MAPERR): Likewise.
7004 (SEGV_ACCERR): Likewise.
7005 (BUS_ADRALN): Likewise.
7006 (BUS_ADRERR): Likewise.
7007 (BUS_OBJERR): Likewise.
7008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7009 (TRAP_TRACE): Likewise.
7010 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7012 (CLD_KILLED): Likewise.
7013 (CLD_DUMPED): Likewise.
7014 (CLD_TRAPPED): Likewise.
7015 (CLD_STOPPED): Likewise.
7016 (CLD_CONTINUED): Likewise.
7017 (POLL_IN): Likewise.
7018 (POLL_OUT): Likewise.
7019 (POLL_MSG): Likewise.
7020 (POLL_ERR): Likewise.
7021 (POLL_PRI): Likewise.
7022 (POLL_HUP): Likewise.
7023 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
7025 (ILL_ILLOPN): Likewise.
7026 (ILL_ILLADR): Likewise.
7027 (ILL_ILLTRP): Likewise.
7028 (ILL_PRVOPC): Likewise.
7029 (ILL_PRVREG): Likewise.
7030 (ILL_COPROC): Likewise.
7031 (ILL_BADSTK): Likewise.
7032 (FPE_INTDIV): Likewise.
7033 (FPE_INTOVF): Likewise.
7034 (FPE_FLTDIV): Likewise.
7035 (FPE_FLTOVF): Likewise.
7036 (FPE_FLTUND): Likewise.
7037 (FPE_FLTRES): Likewise.
7038 (FPE_FLTINV): Likewise.
7039 (FPE_FLTSUB): Likewise.
7040 (SEGV_MAPERR): Likewise.
7041 (SEGV_ACCERR): Likewise.
7042 (BUS_ADRALN): Likewise.
7043 (BUS_ADRERR): Likewise.
7044 (BUS_OBJERR): Likewise.
7045 (BUS_MCEERR_AR): Likewise.
7046 (BUS_MCEERR_AO): Likewise.
7047 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7048 (TRAP_TRACE): Likewise.
7049 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7051 (CLD_KILLED): Likewise.
7052 (CLD_DUMPED): Likewise.
7053 (CLD_TRAPPED): Likewise.
7054 (CLD_STOPPED): Likewise.
7055 (CLD_CONTINUED): Likewise.
7056 (POLL_IN): Likewise.
7057 (POLL_OUT): Likewise.
7058 (POLL_MSG): Likewise.
7059 (POLL_ERR): Likewise.
7060 (POLL_PRI): Likewise.
7061 (POLL_HUP): Likewise.
7062 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
7063 (ILL_ILLOPN): Likewise.
7064 (ILL_ILLADR): Likewise.
7065 (ILL_ILLTRP): Likewise.
7066 (ILL_PRVOPC): Likewise.
7067 (ILL_PRVREG): Likewise.
7068 (ILL_COPROC): Likewise.
7069 (ILL_BADSTK): Likewise.
7070 (FPE_INTDIV): Likewise.
7071 (FPE_INTOVF): Likewise.
7072 (FPE_FLTDIV): Likewise.
7073 (FPE_FLTOVF): Likewise.
7074 (FPE_FLTUND): Likewise.
7075 (FPE_FLTRES): Likewise.
7076 (FPE_FLTINV): Likewise.
7077 (FPE_FLTSUB): Likewise.
7078 (SEGV_MAPERR): Likewise.
7079 (SEGV_ACCERR): Likewise.
7080 (BUS_ADRALN): Likewise.
7081 (BUS_ADRERR): Likewise.
7082 (BUS_OBJERR): Likewise.
7083 (BUS_MCEERR_AR): Likewise.
7084 (BUS_MCEERR_AO): Likewise.
7085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7086 (TRAP_TRACE): Likewise.
7087 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7089 (CLD_KILLED): Likewise.
7090 (CLD_DUMPED): Likewise.
7091 (CLD_TRAPPED): Likewise.
7092 (CLD_STOPPED): Likewise.
7093 (CLD_CONTINUED): Likewise.
7094 (POLL_IN): Likewise.
7095 (POLL_OUT): Likewise.
7096 (POLL_MSG): Likewise.
7097 (POLL_ERR): Likewise.
7098 (POLL_PRI): Likewise.
7099 (POLL_HUP): Likewise.
7100 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
7102 (ILL_ILLOPN): Likewise.
7103 (ILL_ILLADR): Likewise.
7104 (ILL_ILLTRP): Likewise.
7105 (ILL_PRVOPC): Likewise.
7106 (ILL_PRVREG): Likewise.
7107 (ILL_COPROC): Likewise.
7108 (ILL_BADSTK): Likewise.
7109 (ILL_BADIADDR): Likewise.
7110 (ILL_BREAK): Likewise.
7111 (FPE_INTDIV): Likewise.
7112 (FPE_INTOVF): Likewise.
7113 (FPE_FLTDIV): Likewise.
7114 (FPE_FLTOVF): Likewise.
7115 (FPE_FLTUND): Likewise.
7116 (FPE_FLTRES): Likewise.
7117 (FPE_FLTINV): Likewise.
7118 (FPE_FLTSUB): Likewise.
7119 (FPE_DECOVF): Likewise.
7120 (FPE_DECDIV): Likewise.
7121 (FPE_DECERR): Likewise.
7122 (FPE_INVASC): Likewise.
7123 (FPE_INVDEC): Likewise.
7124 (SEGV_MAPERR): Likewise.
7125 (SEGV_ACCERR): Likewise.
7126 (SEGV_PSTKOVF): Likewise.
7127 (BUS_ADRALN): Likewise.
7128 (BUS_ADRERR): Likewise.
7129 (BUS_OBJERR): Likewise.
7130 (BUS_MCEERR_AR): Likewise.
7131 (BUS_MCEERR_AO): Likewise.
7132 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7133 (TRAP_TRACE): Likewise.
7134 (TRAP_BRANCH): Likewise.
7135 (TRAP_HWBKPT): Likewise.
7136 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7138 (CLD_KILLED): Likewise.
7139 (CLD_DUMPED): Likewise.
7140 (CLD_TRAPPED): Likewise.
7141 (CLD_STOPPED): Likewise.
7142 (CLD_CONTINUED): Likewise.
7143 (POLL_IN): Likewise.
7144 (POLL_OUT): Likewise.
7145 (POLL_MSG): Likewise.
7146 (POLL_ERR): Likewise.
7147 (POLL_PRI): Likewise.
7148 (POLL_HUP): Likewise.
7149 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
7150 (ILL_ILLOPN): Likewise.
7151 (ILL_ILLADR): Likewise.
7152 (ILL_ILLTRP): Likewise.
7153 (ILL_PRVOPC): Likewise.
7154 (ILL_PRVREG): Likewise.
7155 (ILL_COPROC): Likewise.
7156 (ILL_BADSTK): Likewise.
7157 (FPE_INTDIV): Likewise.
7158 (FPE_INTOVF): Likewise.
7159 (FPE_FLTDIV): Likewise.
7160 (FPE_FLTOVF): Likewise.
7161 (FPE_FLTUND): Likewise.
7162 (FPE_FLTRES): Likewise.
7163 (FPE_FLTINV): Likewise.
7164 (FPE_FLTSUB): Likewise.
7165 (SEGV_MAPERR): Likewise.
7166 (SEGV_ACCERR): Likewise.
7167 (BUS_ADRALN): Likewise.
7168 (BUS_ADRERR): Likewise.
7169 (BUS_OBJERR): Likewise.
7170 (BUS_MCEERR_AR): Likewise.
7171 (BUS_MCEERR_AO): Likewise.
7172 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7173 (TRAP_TRACE): Likewise.
7174 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7176 (CLD_KILLED): Likewise.
7177 (CLD_DUMPED): Likewise.
7178 (CLD_TRAPPED): Likewise.
7179 (CLD_STOPPED): Likewise.
7180 (CLD_CONTINUED): Likewise.
7181 (POLL_IN): Likewise.
7182 (POLL_OUT): Likewise.
7183 (POLL_MSG): Likewise.
7184 (POLL_ERR): Likewise.
7185 (POLL_PRI): Likewise.
7186 (POLL_HUP): Likewise.
7187 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
7188 (ILL_ILLOPN): Likewise.
7189 (ILL_ILLADR): Likewise.
7190 (ILL_ILLTRP): Likewise.
7191 (ILL_PRVOPC): Likewise.
7192 (ILL_PRVREG): Likewise.
7193 (ILL_COPROC): Likewise.
7194 (ILL_BADSTK): Likewise.
7195 (FPE_INTDIV): Likewise.
7196 (FPE_INTOVF): Likewise.
7197 (FPE_FLTDIV): Likewise.
7198 (FPE_FLTOVF): Likewise.
7199 (FPE_FLTUND): Likewise.
7200 (FPE_FLTRES): Likewise.
7201 (FPE_FLTINV): Likewise.
7202 (FPE_FLTSUB): Likewise.
7203 (SEGV_MAPERR): Likewise.
7204 (SEGV_ACCERR): Likewise.
7205 (BUS_ADRALN): Likewise.
7206 (BUS_ADRERR): Likewise.
7207 (BUS_OBJERR): Likewise.
7208 (BUS_MCEERR_AR): Likewise.
7209 (BUS_MCEERR_AO): Likewise.
7210 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7211 (TRAP_TRACE): Likewise.
7212 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7214 (CLD_KILLED): Likewise.
7215 (CLD_DUMPED): Likewise.
7216 (CLD_TRAPPED): Likewise.
7217 (CLD_STOPPED): Likewise.
7218 (CLD_CONTINUED): Likewise.
7219 (POLL_IN): Likewise.
7220 (POLL_OUT): Likewise.
7221 (POLL_MSG): Likewise.
7222 (POLL_ERR): Likewise.
7223 (POLL_PRI): Likewise.
7224 (POLL_HUP): Likewise.
7225 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
7226 (ILL_ILLOPN): Likewise.
7227 (ILL_ILLADR): Likewise.
7228 (ILL_ILLTRP): Likewise.
7229 (ILL_PRVOPC): Likewise.
7230 (ILL_PRVREG): Likewise.
7231 (ILL_COPROC): Likewise.
7232 (ILL_BADSTK): Likewise.
7233 (FPE_INTDIV): Likewise.
7234 (FPE_INTOVF): Likewise.
7235 (FPE_FLTDIV): Likewise.
7236 (FPE_FLTOVF): Likewise.
7237 (FPE_FLTUND): Likewise.
7238 (FPE_FLTRES): Likewise.
7239 (FPE_FLTINV): Likewise.
7240 (FPE_FLTSUB): Likewise.
7241 (SEGV_MAPERR): Likewise.
7242 (SEGV_ACCERR): Likewise.
7243 (BUS_ADRALN): Likewise.
7244 (BUS_ADRERR): Likewise.
7245 (BUS_OBJERR): Likewise.
7246 (BUS_MCEERR_AR): Likewise.
7247 (BUS_MCEERR_AO): Likewise.
7248 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7249 (TRAP_TRACE): Likewise.
7250 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7252 (CLD_KILLED): Likewise.
7253 (CLD_DUMPED): Likewise.
7254 (CLD_TRAPPED): Likewise.
7255 (CLD_STOPPED): Likewise.
7256 (CLD_CONTINUED): Likewise.
7257 (POLL_IN): Likewise.
7258 (POLL_OUT): Likewise.
7259 (POLL_MSG): Likewise.
7260 (POLL_ERR): Likewise.
7261 (POLL_PRI): Likewise.
7262 (POLL_HUP): Likewise.
7263 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
7264 (ILL_ILLOPN): Likewise.
7265 (ILL_ILLADR): Likewise.
7266 (ILL_ILLTRP): Likewise.
7267 (ILL_PRVOPC): Likewise.
7268 (ILL_PRVREG): Likewise.
7269 (ILL_COPROC): Likewise.
7270 (ILL_BADSTK): Likewise.
7271 (ILL_DBLFLT): Likewise.
7272 (ILL_HARDWALL): Likewise.
7273 (FPE_INTDIV): Likewise.
7274 (FPE_INTOVF): Likewise.
7275 (FPE_FLTDIV): Likewise.
7276 (FPE_FLTOVF): Likewise.
7277 (FPE_FLTUND): Likewise.
7278 (FPE_FLTRES): Likewise.
7279 (FPE_FLTINV): Likewise.
7280 (FPE_FLTSUB): Likewise.
7281 (SEGV_MAPERR): Likewise.
7282 (SEGV_ACCERR): Likewise.
7283 (BUS_ADRALN): Likewise.
7284 (BUS_ADRERR): Likewise.
7285 (BUS_OBJERR): Likewise.
7286 (BUS_MCEERR_AR): Likewise.
7287 (BUS_MCEERR_AO): Likewise.
7288 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7289 (TRAP_TRACE): Likewise.
7290 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7292 (CLD_KILLED): Likewise.
7293 (CLD_DUMPED): Likewise.
7294 (CLD_TRAPPED): Likewise.
7295 (CLD_STOPPED): Likewise.
7296 (CLD_CONTINUED): Likewise.
7297 (POLL_IN): Likewise.
7298 (POLL_OUT): Likewise.
7299 (POLL_MSG): Likewise.
7300 (POLL_ERR): Likewise.
7301 (POLL_PRI): Likewise.
7302 (POLL_HUP): Likewise.
7303 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
7304 (ILL_ILLOPN): Likewise.
7305 (ILL_ILLADR): Likewise.
7306 (ILL_ILLTRP): Likewise.
7307 (ILL_PRVOPC): Likewise.
7308 (ILL_PRVREG): Likewise.
7309 (ILL_COPROC): Likewise.
7310 (ILL_BADSTK): Likewise.
7311 (FPE_INTDIV): Likewise.
7312 (FPE_INTOVF): Likewise.
7313 (FPE_FLTDIV): Likewise.
7314 (FPE_FLTOVF): Likewise.
7315 (FPE_FLTUND): Likewise.
7316 (FPE_FLTRES): Likewise.
7317 (FPE_FLTINV): Likewise.
7318 (FPE_FLTSUB): Likewise.
7319 (SEGV_MAPERR): Likewise.
7320 (SEGV_ACCERR): Likewise.
7321 (BUS_ADRALN): Likewise.
7322 (BUS_ADRERR): Likewise.
7323 (BUS_OBJERR): Likewise.
7324 (BUS_MCEERR_AR): Likewise.
7325 (BUS_MCEERR_AO): Likewise.
7326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
7327 (TRAP_TRACE): Likewise.
7328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
7330 (CLD_KILLED): Likewise.
7331 (CLD_DUMPED): Likewise.
7332 (CLD_TRAPPED): Likewise.
7333 (CLD_STOPPED): Likewise.
7334 (CLD_CONTINUED): Likewise.
7335 (POLL_IN): Likewise.
7336 (POLL_OUT): Likewise.
7337 (POLL_MSG): Likewise.
7338 (POLL_ERR): Likewise.
7339 (POLL_PRI): Likewise.
7340 (POLL_HUP): Likewise.
7341 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
7342 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7345 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
7346 before #include of <time.h>.
7347 [!__USE_XOPEN2K] (__need_timespec): Likewise.
7348 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
7349 (test-xfail-UNIX98/sched.h/conform): Likewise.
7351 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
7353 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
7354 error absence of trapping exception support.
7355 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
7357 2014-03-07 Joseph Myers <joseph@codesourcery.com>
7359 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
7360 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
7361 * timezone/Makefile (testdata): Move definition above include of
7363 (test-zones): New variable.
7364 (tests-special): Add zone files.
7365 (build-testdata): Use $(evaluate-test).
7367 * elf/Makefile (tests-special): Rename tests to end with .out.
7368 ($(objpfx)noload-mem): Likewise.
7369 ($(objpfx)tst-leaks1-mem): Likewise.
7370 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
7371 * iconv/Makefile (xtests-special): Change test-iconvconfig to
7372 $(objpfx)test-iconvconfig.out.
7373 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
7374 set -e inside subshell and redirect output to file.
7375 * iconvdata/Makefile (generated): Rename tests to end with .out.
7377 (tests-special): Rename tests to end with .out.
7378 ($(objpfx)mtrace-tst-loading): Likewise.
7379 * intl/Makefile (generated): Likewise.
7380 (tests-special): Likewise.
7381 ($(objpfx)mtrace-tst-gettext): Likewise.
7382 * misc/Makefile (generated): Likewise.
7383 (tests-special): Likewise.
7384 ($(objpfx)tst-error1-mem): Likewise.
7385 * nptl/Makefile (tests-special): Likewise.
7386 ($(objpfx)tst-stack3-mem): Likewise.
7387 (generated): Likewise.
7388 * posix/Makefile (generated): Likewise.
7389 (tests-special): Likewise.
7390 (xtests-special): Likewise.
7391 ($(objpfx)tst-fnmatch-mem): Likewise.
7392 ($(objpfx)bug-regex2-mem): Likewise.
7393 ($(objpfx)bug-regex14-mem): Likewise.
7394 ($(objpfx)bug-regex21-mem): Likewise.
7395 ($(objpfx)bug-regex31-mem): Likewise.
7396 ($(objpfx)tst-vfork3-mem): Likewise.
7397 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7398 ($(objpfx)tst-pcre-mem): Likewise.
7399 ($(objpfx)tst-boost-mem): Likewise.
7400 ($(objpfx)bug-ga2-mem): Likewise.
7401 ($(objpfx)bug-glob2-mem): Likewise.
7402 * resolv/Makefile (generate): Likewise.
7403 (tests-special): Likewise.
7404 (xtests-special): Likewise.
7405 (generated): Likewise.
7406 ($(objpfx)mtrace-tst-leaks): Likewise.
7407 ($(objpfx)mtrace-tst-leaks2): Likewise.
7409 * scripts/merge-test-results.sh: New file.
7410 * Makefile (tests-special-notdir): New variable.
7411 (tests): Run merge-test-results.sh.
7413 * Rules (tests-special-notdir): New variable.
7414 (xtests-special-notdir): Likewise.
7415 (tests): Run merge-test-results.sh
7418 * Makeconfig (test-xfail-name): New variable.
7419 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
7420 compute variable name for expected failures.
7421 * conform/Makefile (conformtest-headers-data): New variable.
7422 (conformtest-standards): Likewise.
7423 (conformtest-headers-ISO): Likewise.
7424 (conformtest-headers-ISO99): Likewise.
7425 (conformtest-headers-ISO11): Likewise.
7426 (conformtest-headers-POSIX): Likewise.
7427 (conformtest-headers-XPG3): Likewise.
7428 (conformtest-headers-XPG4): Likewise.
7429 (conformtest-headers-UNIX98): Likewise.
7430 (conformtest-headers-XOPEN2K): Likewise.
7431 (conformtest-headers-POSIX2008): Likewise.
7432 (conformtest-headers-XOPEN2K8): Likewise.
7433 (conformtest-header-list-base): Likewise.
7434 (conformtest-header-list-tests): Likewise.
7435 (conformtest-header-base): Likewise.
7436 (conformtest-header-tests): Likewise.
7437 (tests-special): Add $(conformtest-header-list-tests). If
7438 [$(fast-check) && !$(cross-compiling)], add
7439 $(conformtest-header-tests) instead of
7440 $(objpfx)run-conformtest.out.
7441 (generated): Add $(conformtest-header-list-base). If
7442 [$(fast-check) && !$(cross-compiling)], add
7443 $(conformtest-header-base). Remove previous setting.
7444 ($(conformtest-header-list-tests)): New target.
7445 (test-xfail-run-conformtest): Remove variable.
7446 ($(objpfx)run-conformtest.out): Remove target.
7447 (test-xfail-ISO11/complex.h/conform): New variable.
7448 (test-xfail-ISO11/stdalign.h/conform): Likewise.
7449 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7450 (test-xfail-XPG3/varargs.h/conform): Likewise.
7451 (test-xfail-XPG4/varargs.h/conform): Likewise.
7452 (test-xfail-UNIX98/varargs.h/conform): Likewise.
7453 (test-xfail-XPG4/ndbm.h/conform): Likewise.
7454 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7455 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7456 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7457 (test-xfail-XPG3/fcntl.h/conform): Likewise.
7458 (test-xfail-XPG3/ftw.h/conform): Likewise.
7459 (test-xfail-XPG3/grp.h/conform): Likewise.
7460 (test-xfail-XPG3/langinfo.h/conform): Likewise.
7461 (test-xfail-XPG3/limits.h/conform): Likewise.
7462 (test-xfail-XPG3/pwd.h/conform): Likewise.
7463 (test-xfail-XPG3/search.h/conform): Likewise.
7464 (test-xfail-XPG3/signal.h/conform): Likewise.
7465 (test-xfail-XPG3/stdio.h/conform): Likewise.
7466 (test-xfail-XPG3/stdlib.h/conform): Likewise.
7467 (test-xfail-XPG3/string.h/conform): Likewise.
7468 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7469 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7470 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7471 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7472 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7473 (test-xfail-XPG3/sys/types.h/conform): Likewise.
7474 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7475 (test-xfail-XPG3/termios.h/conform): Likewise.
7476 (test-xfail-XPG3/time.h/conform): Likewise.
7477 (test-xfail-XPG3/unistd.h/conform): Likewise.
7478 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7479 (test-xfail-XPG4/fcntl.h/conform): Likewise.
7480 (test-xfail-XPG4/langinfo.h/conform): Likewise.
7481 (test-xfail-XPG4/netdb.h/conform): Likewise.
7482 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7483 (test-xfail-XPG4/signal.h/conform): Likewise.
7484 (test-xfail-XPG4/stdio.h/conform): Likewise.
7485 (test-xfail-XPG4/stdlib.h/conform): Likewise.
7486 (test-xfail-XPG4/stropts.h/conform): Likewise.
7487 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7488 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7489 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7490 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7491 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7492 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7493 (test-xfail-XPG4/sys/time.h/conform): Likewise.
7494 (test-xfail-XPG4/sys/types.h/conform): Likewise.
7495 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7496 (test-xfail-XPG4/termios.h/conform): Likewise.
7497 (test-xfail-XPG4/ucontext.h/conform): Likewise.
7498 (test-xfail-XPG4/unistd.h/conform): Likewise.
7499 (test-xfail-XPG4/utmpx.h/conform): Likewise.
7500 (test-xfail-POSIX/sched.h/conform): Likewise.
7501 (test-xfail-POSIX/signal.h/conform): Likewise.
7502 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7503 (test-xfail-POSIX/tar.h/conform): Likewise.
7504 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7505 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7506 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7507 (test-xfail-UNIX98/netdb.h/conform): Likewise.
7508 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7509 (test-xfail-UNIX98/sched.h/conform): Likewise.
7510 (test-xfail-UNIX98/signal.h/conform): Likewise.
7511 (test-xfail-UNIX98/stdio.h/conform): Likewise.
7512 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7513 (test-xfail-UNIX98/stropts.h/conform): Likewise.
7514 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7515 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7516 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7517 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7518 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7519 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7520 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7521 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7522 (test-xfail-UNIX98/unistd.h/conform): Likewise.
7523 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7524 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7525 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7526 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7527 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7528 (test-xfail-XOPEN2K/math.h/conform): Likewise.
7529 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7530 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7531 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7532 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7533 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7534 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7535 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7536 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7537 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7538 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7539 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7540 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7541 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7542 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7543 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7544 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7545 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7546 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7547 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7548 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7549 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7550 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7551 (test-xfail-POSIX2008/signal.h/conform): Likewise.
7552 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7553 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7554 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7555 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7556 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7557 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7558 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7559 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7560 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7561 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7562 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7563 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7564 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7565 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7566 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7567 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7568 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7569 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7570 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7571 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7572 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7573 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7574 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7575 (conformtest-cc-flags): Likewise.
7576 ($(conformtest-header-tests): New target.
7577 * conform/check-header-lists.sh: New file.
7578 * conform/run-conformtest.sh: Remove.
7580 * conform/conformtest.pl: Allow ' and \ in values given for
7582 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7584 [POSIX] (sys/types.h): Likewise.
7585 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7587 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7589 * conform/data/signal.h-data (SIGIO): Remove expectation.
7590 [XPG3] (SIGBUS): Do not expect.
7591 [POSIX || XPG3] (SIGPOLL): Likewise.
7592 [POSIX || XPG3] (SIGPROF): Likewise.
7593 [POSIX || XPG3] (SIGSYS): Likewise.
7594 [XPG3] (SIGTRAP): Likewise.
7595 [POSIX || XPG3] (SIGURG): Likewise.
7596 [POSIX || XPG3] (SIGVTALRM): Likewise.
7597 [POSIX || XPG3] (SIGXCPU): Likewise.
7598 [POSIX || XPG3] (SIGXFSZ): Likewise.
7599 [POSIX] (SA_SIGINFO): Expect.
7600 [XPG3] (siginfo_t): Do not expect type or contents.
7601 [POSIX] (si_pid): Do not expect element.
7602 [POSIX] (si_uid): Likewise.
7603 [POSIX] (si_addr): Likewise.
7604 [POSIX] (si_status): Likewise.
7605 [POSIX] (si_band): Likewise.
7606 [XPG4] (si_value): Likewise.
7607 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7608 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7609 [POSIX || XPG3] (ILL_ILLADR): Likewise.
7610 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7611 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7612 [POSIX || XPG3] (ILL_PRVREG): Likewise.
7613 [POSIX || XPG3] (ILL_COPROC): Likewise.
7614 [POSIX || XPG3] (ILL_BADSTK): Likewise.
7615 [POSIX || XPG3] (FPE_INTDIV): Likewise.
7616 [POSIX || XPG3] (FPE_INTOVF): Likewise.
7617 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7618 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7619 [POSIX || XPG3] (FPE_FLTUND): Likewise.
7620 [POSIX || XPG3] (FPE_FLTRES): Likewise.
7621 [POSIX || XPG3] (FPE_FLTINV): Likewise.
7622 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7623 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7624 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7625 [POSIX || XPG3] (BUS_ADRALN): Likewise.
7626 [POSIX || XPG3] (BUS_ADRERR): Likewise.
7627 [POSIX || XPG3] (BUS_OBJERR): Likewise.
7628 [POSIX || XPG3] (CLD_EXITED): Likewise.
7629 [POSIX || XPG3] (CLD_KILLED): Likewise.
7630 [POSIX || XPG3] (CLD_DUMPED): Likewise.
7631 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7632 [POSIX || XPG3] (CLD_STOPPED): Likewise.
7633 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7634 [POSIX || XPG3] (POLL_IN): Likewise.
7635 [POSIX || XPG3] (POLL_OUT): Likewise.
7636 [POSIX || XPG3] (POLL_MSG): Likewise.
7637 [POSIX || XPG3] (POLL_ERR): Likewise.
7638 [POSIX || XPG3] (POLL_PRI): Likewise.
7639 [POSIX || XPG3] (POLL_HUP): Likewise.
7640 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7641 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7642 (SIG*): Do not allow.
7643 [XPG3] (si_*): Likewise.
7644 [XPG3] (SI_*): Likewise.
7645 [XPG3 || XPG4] (sigev_*): Likewise.
7646 [XPG3 || XPG4] (SIGEV_*): Likewise.
7647 [XPG3 || XPG4] (sival_*): Likewise.
7648 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7649 [POSIX || XPG3] (BUS_*): Likewise.
7650 [POSIX || XPG3] (CLD_*): Likewise.
7651 [POSIX || XPG3] (FPE_*): Likewise.
7652 [POSIX || XPG3] (ILL_*): Likewise.
7653 [POSIX || XPG3] (POLL_*): Likewise.
7654 [POSIX || XPG3] (SEGV_*): Likewise.
7655 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7656 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7657 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7658 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7659 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7660 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7661 Specify type and value.
7662 (TVERSLEN): Likewise.
7663 (REGTYPE): Likewise.
7664 (AREGTYPE): Likewise.
7665 (LNKTYPE): Likewise.
7666 (SYMTYPE): Likewise.
7667 (CHRTYPE): Likewise.
7668 (BLKTYPE): Likewise.
7669 (DIRTYPE): Likewise.
7670 (FIFOTYPE): Likewise.
7671 (CONTTYPE): Likewise.
7676 (TUWRITE): Likewise.
7679 (TGWRITE): Likewise.
7682 (TOWRITE): Likewise.
7684 [POSIX] (TSVTX): Expect constant.
7686 2014-03-06 Joseph Myers <joseph@codesourcery.com>
7688 * Makefile (tests): Change dependencies to ....
7689 (tests-special): ... additions to this variable.
7690 (tests): Depend on $(tests-special).
7691 * Makerules (check-abi-list): New variable.
7692 (check-abi): Depend on $(check-abi-list).
7693 [$(subdir) = elf] (tests-special): Add
7694 $(objpfx)check-abi-libc.out.
7695 [$(build-shared) = yes && subdir] (tests-special): Add
7697 [$(build-shared) = yes && subdir] (tests): Do not depend on
7699 * Rules (tests): Depend on $(tests-special).
7700 (xtests): Depend on $(xtests-special).
7701 * catgets/Makefile (tests): Change dependencies to ....
7702 (tests-special): ... additions to this variable.
7703 * conform/Makefile (tests): Change dependencies to ....
7704 (tests-special): ... additions to this variable.
7705 * elf/Makefile (tests): Change dependencies to ....
7706 (tests-special): ... additions to this variable.
7707 * grp/Makefile (tests): Change dependencies to ....
7708 (tests-special): ... additions to this variable.
7709 * iconv/Makefile (xtests): Change dependencies to ....
7710 (xtests-special): ... additions to this variable.
7711 * iconvdata/Makefile (tests): Change dependencies to ....
7712 (tests-special): ... additions to this variable.
7713 * intl/Makefile (tests): Change dependencies to ....
7714 (tests-special): ... additions to this variable. Also add
7715 $(objpfx)tst-gettext.out.
7716 * io/Makefile (tests): Change dependencies to ....
7717 (tests-special): ... additions to this variable.
7718 * libio/Makefile (tests): Change dependencies to ....
7719 (tests-special): ... additions to this variable.
7720 * malloc/Makefile (tests): Change dependencies to ....
7721 (tests-special): ... additions to this variable.
7722 * misc/Makefile (tests): Change dependencies to ....
7723 (tests-special): ... additions to this variable.
7724 * nptl/Makefile (tests): Change dependencies to ....
7725 (tests-special): ... additions to this variable.
7726 * nptl_db/Makefile (tests): Change dependencies to ....
7727 (tests-special): ... additions to this variable.
7728 * posix/Makefile (tests): Change dependencies to ....
7729 (tests-special): ... additions to this variable.
7730 (xtests): Change dependencies to ....
7731 (xtests-special): ... additions to this variable.
7732 * resolv/Makefile (tests): Change dependencies to ....
7733 (tests-special): ... additions to this variable.
7734 (xtests): Change dependencies to ....
7735 (xtests-special): ... additions to this variable.
7736 * stdio-common/Makefile (tests): Change dependencies to ....
7737 (tests-special): ... additions to this variable.
7738 (do-tst-unbputc): Remove target.
7739 (do-tst-printf): Likewise.
7740 * stdlib/Makefile (tests): Change dependencies to ....
7741 (tests-special): ... additions to this variable.
7742 * string/Makefile (tests): Change dependencies to ....
7743 (tests-special): ... additions to this variable.
7744 * sysdeps/x86/Makefile (tests): Change dependencies to ....
7745 (tests-special): ... additions to this variable.
7747 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7749 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7751 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7752 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7754 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7755 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7756 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7757 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7758 * conform/data/libgen.h-data [XPG3]: Likewise.
7759 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7760 * conform/data/ndbm.h-data [XPG3]: Likewise.
7761 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7762 * conform/data/netdb.h-data [XPG3]: Likewise.
7763 * conform/data/netinet/in.h-data [XPG3]: Likewise.
7764 * conform/data/poll.h-data [XPG3]: Likewise.
7765 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7766 * conform/data/strings.h-data [XPG3]: Likewise.
7767 * conform/data/stropts.h-data [XPG3]: Likewise.
7768 * conform/data/sys/mman.h-data [XPG3]: Likewise.
7769 * conform/data/sys/resource.h-data [XPG3]: Likewise.
7770 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7772 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7773 * conform/data/sys/time.h-data [XPG3]: Likewise.
7774 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7775 * conform/data/sys/uio.h-data [XPG3]: Likewise.
7776 * conform/data/sys/un.h-data [XPG3]: Likewise.
7777 * conform/data/syslog.h-data [XPG3]: Likewise.
7778 * conform/data/ucontext.h-data [XPG3]: Likewise.
7779 * conform/data/utmpx.h-data [XPG3]: Likewise.
7780 * conform/data/varargs.h-data [UNIX98]: Enable file.
7782 * manual/Makefile (INSTALL_INFO): Remove variable setting.
7784 * math/libm-test.inc (struct test_f_f_data): Move expected results
7785 into structure for each rounding mode.
7786 (struct test_ff_f_data): Likewise.
7787 (struct test_ff_f_data_nexttoward): Likewise.
7788 (struct test_fi_f_data): Likewise.
7789 (struct test_fl_f_data): Likewise.
7790 (struct test_if_f_data): Likewise.
7791 (struct test_fff_f_data): Likewise.
7792 (struct test_c_f_data): Likewise.
7793 (struct test_f_f1_data): Likewise.
7794 (struct test_fF_f1_data): Likewise.
7795 (struct test_ffI_f1_data): Likewise.
7796 (struct test_c_c_data): Likewise.
7797 (struct test_cc_c_data): Likewise.
7798 (struct test_f_i_data): Likewise.
7799 (struct test_ff_i_data): Likewise.
7800 (struct test_f_l_data): Likewise.
7801 (struct test_f_L_data): Likewise.
7802 (struct test_fFF_11_data): Likewise.
7804 (RM_FE_DOWNWARD): Likewise.
7805 (RM_FE_TONEAREST): Likewise.
7806 (RM_FE_TOWARDZERO): Likewise.
7807 (RM_FE_UPWARD): Likewise.
7808 (RUN_TEST_LOOP_f_f): Update references to expected results.
7809 (RUN_TEST_LOOP_2_f): Likewise.
7810 (RUN_TEST_LOOP_fff_f): Likewise.
7811 (RUN_TEST_LOOP_c_f): Likewise.
7812 (RUN_TEST_LOOP_f_f1): Likewise.
7813 (RUN_TEST_LOOP_fF_f1): Likewise.
7814 (RUN_TEST_LOOP_fI_f1): Likewise.
7815 (RUN_TEST_LOOP_ffI_f1): Likewise.
7816 (RUN_TEST_LOOP_c_c): Likewise.
7817 (RUN_TEST_LOOP_cc_c): Likewise.
7818 (RUN_TEST_LOOP_f_i): Likewise.
7819 (RUN_TEST_LOOP_f_i_tg): Likewise.
7820 (RUN_TEST_LOOP_ff_i_tg): Likewise.
7821 (RUN_TEST_LOOP_f_b): Likewise.
7822 (RUN_TEST_LOOP_f_b_tg): Likewise.
7823 (RUN_TEST_LOOP_f_l): Likewise.
7824 (RUN_TEST_LOOP_f_L): Likewise.
7825 (RUN_TEST_LOOP_fFF_11): Likewise.
7826 * math/gen-libm-test.pl (parse_args): Output four copies of
7827 expected results for each test.
7829 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7830 (__ASSUME_UTIMES): Remove.
7831 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7832 (__ASSUME_UTIMES): Likewise.
7834 * math/gen-auto-libm-tests.c: Update comment on output format.
7835 (output_for_one_input_case): Generate before-rounding and
7836 after-rounding information as conditions on output flags not
7837 floating-point format.
7838 * math/auto-libm-test-out: Regenerated.
7839 * math/gen-libm-test.pl (cond_value): New function.
7840 (or_cond_value): Use cond_value.
7841 (generate_testfile): Handle conditional exceptions.
7843 2014-03-05 Joseph Myers <joseph@codesourcery.com>
7845 * math/libm-test.inc (max_valid_error): New variable.
7846 (init_max_error): Take new argument specifying whether function
7847 results are exactly determined. Set max_valid_error and bound
7848 other variables for errors based on this argument.
7849 (set_max_error): Do not record results above max_valid_error.
7850 (check_float_internal): Only accept errors of up to 0.5ulps if
7851 also at most max_valid_error.
7852 (START): Take new argument EXACT and pass it to init_max_error.
7853 (acos_test): Update call to START.
7854 (acos_test_tonearest): Likewise.
7855 (acos_test_towardzero): Likewise.
7856 (acos_test_downward): Likewise.
7857 (acos_test_upward): Likewise.
7858 (acosh_test): Likewise.
7859 (asin_test): Likewise.
7860 (asin_test_tonearest): Likewise.
7861 (asin_test_towardzero): Likewise.
7862 (asin_test_downward): Likewise.
7863 (asin_test_upward): Likewise.
7864 (asinh_test): Likewise.
7865 (atan_test): Likewise.
7866 (atanh_test): Likewise.
7867 (atan2_test): Likewise.
7868 (cabs_test): Likewise.
7869 (cacos_test): Likewise.
7870 (cacosh_test): Likewise.
7871 (carg_test): Likewise.
7872 (casin_test): Likewise.
7873 (casinh_test): Likewise.
7874 (catan_test): Likewise.
7875 (catanh_test): Likewise.
7876 (cbrt_test): Likewise.
7877 (ccos_test): Likewise.
7878 (ccosh_test): Likewise.
7879 (ceil_test): Likewise.
7880 (cexp_test): Likewise.
7881 (cimag_test): Likewise.
7882 (clog_test): Likewise.
7883 (clog10_test): Likewise.
7884 (conj_test): Likewise.
7885 (copysign_test): Likewise.
7886 (cos_test): Likewise.
7887 (cos_test_tonearest): Likewise.
7888 (cos_test_towardzero): Likewise.
7889 (cos_test_downward): Likewise.
7890 (cos_test_upward): Likewise.
7891 (cosh_test): Likewise.
7892 (cosh_test_tonearest): Likewise.
7893 (cosh_test_towardzero): Likewise.
7894 (cosh_test_downward): Likewise.
7895 (cosh_test_upward): Likewise.
7896 (cpow_test): Likewise.
7897 (cproj_test): Likewise.
7898 (creal_test): Likewise.
7899 (csin_test): Likewise.
7900 (csinh_test): Likewise.
7901 (csqrt_test): Likewise.
7902 (ctan_test): Likewise.
7903 (ctan_test_tonearest): Likewise.
7904 (ctan_test_towardzero): Likewise.
7905 (ctan_test_downward): Likewise.
7906 (ctan_test_upward): Likewise.
7907 (ctanh_test): Likewise.
7908 (ctanh_test_tonearest): Likewise.
7909 (ctanh_test_towardzero): Likewise.
7910 (ctanh_test_downward): Likewise.
7911 (ctanh_test_upward): Likewise.
7912 (erf_test): Likewise.
7913 (erfc_test): Likewise.
7914 (exp_test): Likewise.
7915 (exp_test_tonearest): Likewise.
7916 (exp_test_towardzero): Likewise.
7917 (exp_test_downward): Likewise.
7918 (exp_test_upward): Likewise.
7919 (exp10_test): Likewise.
7920 (exp10_test_tonearest): Likewise.
7921 (exp10_test_towardzero): Likewise.
7922 (exp10_test_downward): Likewise.
7923 (exp10_test_upward): Likewise.
7924 (pow10_test): Likewise.
7925 (exp2_test): Likewise.
7926 (expm1_test): Likewise.
7927 (expm1_test_tonearest): Likewise.
7928 (expm1_test_towardzero): Likewise.
7929 (expm1_test_downward): Likewise.
7930 (expm1_test_upward): Likewise.
7931 (fabs_test): Likewise.
7932 (fdim_test): Likewise.
7933 (floor_test): Likewise.
7934 (fma_test): Likewise.
7935 (fma_test_towardzero): Likewise.
7936 (fma_test_downward): Likewise.
7937 (fma_test_upward): Likewise.
7938 (fmax_test): Likewise.
7939 (fmin_test): Likewise.
7940 (fmod_test): Likewise.
7941 (fpclassify_test): Likewise.
7942 (frexp_test): Likewise.
7943 (hypot_test): Likewise.
7944 (ilogb_test): Likewise.
7945 (isfinite_test): Likewise.
7946 (finite_test): Likewise.
7947 (isgreater_test): Likewise.
7948 (isgreaterequal_test): Likewise.
7949 (isinf_test): Likewise.
7950 (isless_test): Likewise.
7951 (islessequal_test): Likewise.
7952 (islessgreater_test): Likewise.
7953 (isnan_test): Likewise.
7954 (isnormal_test): Likewise.
7955 (issignaling_test): Likewise.
7956 (isunordered_test): Likewise.
7957 (j0_test): Likewise.
7958 (j1_test): Likewise.
7959 (jn_test): Likewise.
7960 (ldexp_test): Likewise.
7961 (lgamma_test): Likewise.
7962 (gamma_test): Likewise.
7963 (lrint_test): Likewise.
7964 (lrint_test_tonearest): Likewise.
7965 (lrint_test_towardzero): Likewise.
7966 (lrint_test_downward): Likewise.
7967 (lrint_test_upward): Likewise.
7968 (llrint_test): Likewise.
7969 (llrint_test_tonearest): Likewise.
7970 (llrint_test_towardzero): Likewise.
7971 (llrint_test_downward): Likewise.
7972 (llrint_test_upward): Likewise.
7973 (log_test): Likewise.
7974 (log10_test): Likewise.
7975 (log1p_test): Likewise.
7976 (log2_test): Likewise.
7977 (logb_test): Likewise.
7978 (logb_test_downward): Likewise.
7979 (lround_test): Likewise.
7980 (llround_test): Likewise.
7981 (modf_test): Likewise.
7982 (nearbyint_test): Likewise.
7983 (nextafter_test): Likewise.
7984 (nexttoward_test): Likewise.
7985 (pow_test): Likewise.
7986 (pow_test_tonearest): Likewise.
7987 (pow_test_towardzero): Likewise.
7988 (pow_test_downward): Likewise.
7989 (pow_test_upward): Likewise.
7990 (remainder_test): Likewise.
7991 (drem_test): Likewise.
7992 (remainder_test_tonearest): Likewise.
7993 (drem_test_tonearest): Likewise.
7994 (remainder_test_towardzero): Likewise.
7995 (drem_test_towardzero): Likewise.
7996 (remainder_test_downward): Likewise.
7997 (drem_test_downward): Likewise.
7998 (remainder_test_upward): Likewise.
7999 (drem_test_upward): Likewise.
8000 (remquo_test): Likewise.
8001 (rint_test): Likewise.
8002 (rint_test_tonearest): Likewise.
8003 (rint_test_towardzero): Likewise.
8004 (rint_test_downward): Likewise.
8005 (rint_test_upward): Likewise.
8006 (round_test): Likewise.
8007 (scalb_test): Likewise.
8008 (scalbn_test): Likewise.
8009 (scalbln_test): Likewise.
8010 (signbit_test): Likewise.
8011 (sin_test): Likewise.
8012 (sin_test_tonearest): Likewise.
8013 (sin_test_towardzero): Likewise.
8014 (sin_test_downward): Likewise.
8015 (sin_test_upward): Likewise.
8016 (sincos_test): Likewise.
8017 (sinh_test): Likewise.
8018 (sinh_test_tonearest): Likewise.
8019 (sinh_test_towardzero): Likewise.
8020 (sinh_test_downward): Likewise.
8021 (sinh_test_upward): Likewise.
8022 (sqrt_test): Likewise.
8023 (sqrt_test_tonearest): Likewise.
8024 (sqrt_test_towardzero): Likewise.
8025 (sqrt_test_downward): Likewise.
8026 (sqrt_test_upward): Likewise.
8027 (tan_test): Likewise.
8028 (tan_test_tonearest): Likewise.
8029 (tan_test_towardzero): Likewise.
8030 (tan_test_downward): Likewise.
8031 (tan_test_upward): Likewise.
8032 (tanh_test): Likewise.
8033 (tgamma_test): Likewise.
8034 (trunc_test): Likewise.
8035 (y0_test): Likewise.
8036 (y1_test): Likewise.
8037 (yn_test): Likewise.
8038 (significand_test): Likewise.
8040 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
8041 individual tests in comment.
8042 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
8043 (prev_max_error): New variable.
8044 (prev_real_max_error): Likewise.
8045 (prev_imag_max_error): Likewise.
8046 (compare_ulp_data): Don't refer to test names in comment.
8047 (find_test_ulps): Remove function.
8048 (find_function_ulps): Likewise.
8049 (find_complex_function_ulps): Likewise.
8050 (init_max_error): Take function name as argument. Look up ulps
8052 (print_ulps): Remove function.
8053 (print_max_error): Use prev_max_error instead of calling
8055 (print_complex_max_error): Use prev_real_max_error and
8056 prev_imag_max_error instead of calling find_complex_function_ulps.
8057 (check_float_internal): Take max_ulp parameter instead of calling
8058 find_test_ulps. Don't call print_ulps.
8059 (check_float): Update call to check_float_internal.
8060 (check_complex): Update calls to check_float_internal.
8061 (START): Pass argument to init_max_error.
8062 * math/gen-libm-test.pl (%results): Don't include "kind"
8064 (parse_ulps): Don't handle ulps of individual tests.
8065 (print_ulps_file): Likewise.
8066 (output_ulps): Likewise.
8067 * math/README.libm-test: Update.
8068 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
8070 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
8071 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
8072 * sysdeps/arm/libm-test-ulps: Likewise.
8073 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
8074 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
8075 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
8076 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
8077 * sysdeps/microblaze/libm-test-ulps: Likewise.
8078 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8079 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8081 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8082 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8083 * sysdeps/sh/libm-test-ulps: Likewise.
8084 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8085 * sysdeps/tile/libm-test-ulps: Likewise.
8086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8088 2014-03-04 Joseph Myers <joseph@codesourcery.com>
8090 * math/libm-test.inc (print_complex_max_error): Check separately
8091 whether real and imaginary errors are within allowed range and
8092 pass 0 to print_complex_function_ulps instead of value within
8095 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8097 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
8099 (get_handles_fopen): Likewise.
8100 (do_write_test): Likewise.
8102 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
8104 * libio/fileops.c (do_ftell): Use cached offset when
8106 * libio/iofwide.c (do_ftell_wide): Likewise.
8107 * libio/iofdopen.c (_IO_new_fdopen): Don't use
8109 * libio/wfileops.c (_IO_fwide): Don't cache offset.
8112 * libio/libioP.h (get_file_offset): New function.
8113 * libio/fileops.c (get_file_offset): Likewise.
8114 (do_ftell): Likewise.
8115 (_IO_new_file_seekoff): Split out ftell logic.
8116 * libio/wfileops.c (do_ftell_wide): Likewise.
8117 (_IO_wfile_seekoff): Split out ftell logic.
8118 * libio/tst-ftell-active-handler.c: New test case.
8119 * libio/Makefile (tests): Add it.
8121 2014-03-03 Roland McGrath <roland@hack.frob.com>
8123 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
8124 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
8126 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8129 * nscd/connections.c (nscd_init): Call do_exit.
8130 (start_threads): Call do_exit and notify_parent.
8131 (begin_drop_privileges): Call do_exit.
8132 (finish_drop_privileges): Likewise.
8133 * nscd/selinux.c (preserve_capabilities): Likewise.
8134 (install_real_capabilities): Likewise.
8135 (nscd_selinux_enabled): Likewise.
8136 (avc_create_thread): Likewise.
8137 (avc_alloc_lock): Likewise.
8138 (nscd_avc_init): Likewise.
8139 * nscd/nscd.c (parent_fd): New static variable.
8140 (main): Create a pipe between parent and child processes.
8141 Skip closing parent_fd.
8142 (monitor_child): New function.
8143 (do_exit): Likewise.
8144 (notify_parent): Likewise.
8145 * nscd/nscd.h (notify_parent): Likewise.
8146 (do_exit): Likewise.
8148 2014-03-03 Carlos O'Donell <carlos@redhat.com>
8150 * malloc/malloc.c (__libc_calloc): Revert last change.
8152 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8156 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8158 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
8159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
8161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8162 (__libc_ifunc_impl_list): Likewise.
8163 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
8164 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
8165 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
8166 * string/strrchr.c: Define STRRCHR.
8168 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
8170 * benchtest/bench-strtok.c (simple_strtok): Delete.
8171 (strtok_string): Use as benchmark.
8172 * string/strtok (STRTOK): New macro.
8174 2014-02-28 Carlos O'Donell <carlos@redhat.com>
8176 * manual/threads.texi: Add header and standard comments to all
8179 * elf/dl-lookup.c (check_match): New function.
8180 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
8181 (do_lookup_x): Remove nested function check_match. Use non-nested
8182 function check_match.
8184 2014-02-28 Roland McGrath <roland@hack.frob.com>
8186 * csu/Makefile (generated, before-compile): Use += rather than =.
8187 * catgets/Makefile (generated, generated-dirs): Likewise.
8188 * debug/Makefile (generated): Likewise.
8189 * dlfcn/Makefile (generated): Likewise.
8190 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8191 * iconvdata/Makefile (before-compile, generated): Likewise.
8192 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
8193 * libio/Makefile (generated): Likewise.
8194 * malloc/Makefile (generated): Likewise.
8195 * manual/Makefile (generated, generated-dirs): Likewise.
8196 * misc/Makefile (generated): Likewise.
8197 * posix/Makefile (generated): Likewise.
8198 * resolv/Makefile (generated): Likewise.
8199 * sunrpc/Makefile (generated, generated-dirs): Likewise.
8200 * timezone/Makefile (generated, generated-dirs): Likewise.
8202 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
8204 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8207 power8 implementation.
8208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
8209 file: POWER8 llround ifunc implementation.
8210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
8211 (__lllround): Add POWER8 implementation.
8212 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
8213 POWER8 llround implementation.
8215 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
8216 power8 implementation.
8217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
8218 file: POWER8 llrint ifunc implementation.
8219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
8220 Add POWER8 implementation.
8221 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
8222 POWER8 llrint implementation.
8224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
8225 power8 implementation.
8226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
8227 file: POWER8 finite ifunc implementation.
8228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
8229 Add POWER8 implementation.
8230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
8232 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
8233 POWER8 finite implementation.
8234 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
8236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
8237 power8 implementation.
8238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
8239 file: POWER8 isinf ifunc implementation.
8240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
8241 POWER8 implementation.
8242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
8244 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
8245 isinf implementation.
8246 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
8248 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
8249 (INIT_ARCH): Add hwcap2 initialization.
8250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8251 power8 implementation.
8252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
8253 file: POWER8 isnan ifunc implementation.
8254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
8255 POWER8 implementation.
8256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
8258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
8259 isnan implementation.
8260 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
8262 2014-02-27 Joey Ye <joey.ye@arm.com>
8264 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8265 (_FP_NANFRAC_Q): Set to zero.
8267 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8270 * math/auto-libm-test-in: New test inputs.
8271 * math/auto-libm-test-out: Regenerate.
8272 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
8275 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8277 2014-02-27 Joseph Myers <joseph@codesourcery.com>
8279 * scripts/evaluate-test.sh: Take new argument indicating whether
8280 failure is expected.
8281 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
8282 indicating whether failure is expected.
8283 * conform/Makefile (test-xfail-run-conformtest): New variable.
8284 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
8286 * posix/Makefile (test-xfail-annexc): New variable.
8287 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
8289 2014-02-26 Joseph Myers <joseph@codesourcery.com>
8291 * argp/Makefile: Include Makeconfig immediately after defining
8293 * assert/Makefile: Likewise.
8294 * benchtests/Makefile: Likewise.
8295 * catgets/Makefile: Likewise.
8296 * conform/Makefile: Likewise.
8297 * crypt/Makefile: Likewise.
8298 * csu/Makefile: Likewise.
8299 (all): Remove target.
8300 * ctype/Makefile: Include Makeconfig immediately after defining
8302 * debug/Makefile: Likewise.
8303 * dirent/Makefile: Likewise.
8304 * dlfcn/Makefile: Likewise.
8305 * gmon/Makefile: Likewise.
8306 * gnulib/Makefile: Likewise.
8307 * grp/Makefile: Likewise.
8308 * gshadow/Makefile: Likewise.
8309 * hesiod/Makefile: Likewise.
8310 * hurd/Makefile: Likewise.
8311 (all): Remove target.
8312 * iconvdata/Makefile: Include Makeconfig immediately after
8314 * inet/Makefile: Likewise.
8315 * intl/Makefile: Likewise.
8316 * io/Makefile: Likewise.
8317 * libio/Makefile: Likewise.
8318 (all): Remove target.
8319 * locale/Makefile: Include Makeconfig immediately after defining
8321 * login/Makefile: Likewise.
8322 * mach/Makefile: Likewise.
8323 (all): Remove target.
8324 * malloc/Makefile: Include Makeconfig immediately after defining
8326 (all): Remove target.
8327 * manual/Makefile: Include Makeconfig immediately after defining
8329 * math/Makefile: Likewise.
8330 * misc/Makefile: Likewise.
8331 * nis/Makefile: Likewise.
8332 * nss/Makefile: Likewise.
8333 * po/Makefile: Likewise.
8334 (all): Remove target.
8335 * posix/Makefile: Include Makeconfig immediately after defining
8337 * pwd/Makefile: Likewise.
8338 * resolv/Makefile: Likewise.
8339 * resource/Makefile: Likewise.
8340 * rt/Makefile: Likewise.
8341 * setjmp/Makefile: Likewise.
8342 * shadow/Makefile: Likewise.
8343 * signal/Makefile: Likewise.
8344 * socket/Makefile: Likewise.
8345 * soft-fp/Makefile: Likewise.
8346 * stdio-common/Makefile: Likewise.
8347 * stdlib/Makefile: Likewise.
8348 * streams/Makefile: Likewise.
8349 * string/Makefile: Likewise.
8350 * sunrpc/Makefile: Likewise.
8351 (all): Remove target.
8352 * sysvipc/Makefile: Include Makeconfig immediately after defining
8354 * termios/Makefile: Likewise.
8355 * time/Makefile: Likewise.
8356 * timezone/Makefile: Likewise.
8357 (all): Remove target.
8358 * wcsmbs/Makefile: Include Makeconfig immediately after defining
8360 * wctype/Makefile: Likewise.
8362 2014-02-26 Steve Ellcey <sellcey@mips.com>
8364 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
8365 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
8366 (libc_feholdexcept_setround_mips): Ditto.
8367 (libc_feholdsetround): New.
8368 (libc_feholdsetroundf): New.
8369 (libc_feholdsetroundl): New.
8370 (libc_feupdateenv_test_mips): New.
8371 (libc_feupdateenv_test): New.
8372 (libc_feupdateenv_testf): New.
8373 (libc_feupdateenv_testl): New.
8374 (libc_feresetround): New.
8375 (libc_feresetroundf): New.
8376 (libc_feresetroundl): New.
8377 (libc_fetestexcept_mips): New.
8378 (libc_fetestexcept): New.
8379 (libc_fetestexceptf): New.
8380 (libc_fetestexceptl): New.
8382 (libc_feholdexcept_setround_mips_ctx): New.
8383 (libc_feholdexcept_setround_ctx): New.
8384 (libc_feholdexcept_setroundf_ctx): New.
8385 (libc_feholdexcept_setroundl_ctx): New.
8386 (libc_fesetenv_mips_ctx): New.
8387 (libc_fesetenv_ctx): New.
8388 (libc_fesetenv_ctxf): New.
8389 (libc_fesetenv_ctxl): New.
8390 (libc_feupdateenv_mips_ctx): New.
8391 (libc_feupdateenv_ctx): New.
8392 (libc_feupdateenvf_ctx): New.
8393 (libc_feupdateenvl_ctx): New.
8394 (libc_feholdsetround_mips_ctx): New.
8395 (libc_feholdsetround_ctx): New.
8396 (libc_feholdsetroundf_ctx): New.
8397 (libc_feholdsetroundl_ctx): New.
8398 (libc_feresetround_mips_ctx): New.
8399 (libc_feresetround_ctx): New.
8400 (libc_feresetroundf_ctx): New.
8401 (libc_feresetroundl_ctx): New.
8403 2014-02-26 Carlos O'Donell <carlos@redhat.com>
8405 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
8407 * manual/ipc.texi: New file.
8408 * manual/Makefile (chapters): Add ipc.
8409 * manual/job.texi: Add "Inter-Process Communication" to next.
8410 * manual/process.texi: Add "Inter-Process Communication" to prev.
8412 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8416 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
8418 * malloc/malloc.c (__libc_calloc): Simplify implementation.
8420 * manual/arith.texi: Fix spaces after sentences.
8421 * manual/charset.texi: Likewise.
8422 * manual/errno.texi: Likewise.
8423 * manual/install.texi: Likewise.
8424 * manual/llio.texi: Likewise.
8425 * manual/locale.texi: Likewise.
8426 * manual/maint.texi: Likewise.
8427 * manual/math.texi: Likewise.
8428 * manual/memory.texi: Likewise.
8429 * manual/message.texi: Likewise.
8430 * manual/probes.texi: Likewise.
8431 * manual/resource.texi: Likewise.
8432 * manual/signal.texi: Likewise.
8433 * manual/socket.texi: Likewise.
8434 * manual/stdio.texi: Likewise.
8435 * manual/string.texi: Likewise.
8436 * manual/time.texi: Likewise.
8437 * manual/users.texi: Likewise.
8439 2014-02-25 Carlos O'Donell <carlos@redhat.com>
8442 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8443 _DEFAULT_SOURCE is defined.
8445 2014-02-25 Ulrich Drepper <drepper@gmail.com>
8446 Carlos O'Donell <carlos@redhat.com>
8449 * elf/dl-tls.c (_dl_count_modids): New function.
8450 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8451 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8452 audit library and increment generation counter.
8453 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8454 * elf/tst-audit9.c: New file.
8455 * elf/tst-auditmod9a.c: New file.
8456 * elf/tst-auditmod9b.c: New file.
8457 * elf/Makefile: Add rules to build and run tst-audit9.
8459 2014-02-25 Florian Weimer <fweimer@redhat.com>
8462 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8464 2014-02-25 Will Newton <will.newton@linaro.org>
8466 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8467 (__longjmp): Restore sp and lr before restoring callee
8468 saved registers. Add longjmp and longjmp_target
8469 SystemTap probe point.
8470 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8471 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8472 Define to zero to match jmpbuf layout.
8473 * sysdeps/arm/setjmp.S: Include stap-probe.h.
8474 (__sigsetjmp): Save sp and lr before saving callee
8475 saved registers. Add setjmp SystemTap probe point.
8477 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8479 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8481 2014-02-24 Andreas Schwab <schwab@suse.de>
8484 * elf/pldd.c (wait_for_ptrace_stop): New function.
8485 (main): Call it after attaching.
8487 2014-02-22 Roland McGrath <roland@hack.frob.com>
8489 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8490 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8491 Versions files is now verboten.
8492 * hurd/Versions (libc: GLIBC_2.0):
8493 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8494 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8495 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8496 * mach/Versions: Likewise.
8498 * csu/Versions: Remove unused %include.
8499 * resolv/Versions: Likewise.
8501 2014-02-21 Joseph Myers <joseph@codesourcery.com>
8503 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8504 ($(objpfx)check-local-headers.out): Likewise.
8505 ($(objpfx)begin-end-check.out): Likewise.
8506 * Makerules (check-abi-%.out): Likewise.
8507 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8508 ($(objpfx)test2.cat): Likewise.
8509 ($(objpfx)de/libc.cat): Likewise.
8510 ($(objpfx)test-gencat.out): Likewise.
8511 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8512 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8513 ($(objpfx)noload-mem): Likewise.
8514 ($(objpfx)tst-pathopt.out): Likewise.
8515 ($(objpfx)tst-rtld-load-self.out): Likewise.
8516 ($(objpfx)tst-array1-cmp.out): Likewise.
8517 ($(objpfx)tst-array1-static-cmp.out): Likewise.
8518 ($(objpfx)tst-array2-cmp.out): Likewise.
8519 ($(objpfx)tst-array3-cmp.out): Likewise.
8520 ($(objpfx)tst-array4-cmp.out): Likewise.
8521 ($(objpfx)tst-array5-cmp.out): Likewise.
8522 ($(objpfx)tst-array5-static-cmp.out): Likewise.
8523 ($(objpfx)check-textrel.out): Likewise.
8524 ($(objpfx)check-execstack.out): Likewise.
8525 ($(objpfx)check-localplt.out): Likewise.
8526 ($(objpfx)order2-cmp.out): Likewise.
8527 ($(objpfx)tst-leaks1-mem): Likewise.
8528 ($(objpfx)tst-leaks1-static-mem): Likewise.
8529 ($(objpfx)tst-initorder-cmp.out): Likewise.
8530 ($(objpfx)tst-initorder2-cmp.out): Likewise.
8531 ($(objpfx)tst-unused-dep.out): Likewise.
8532 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8533 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8534 * iconv/Makefile (test-iconvconfig): Likewise.
8535 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8536 ($(objpfx)iconv-test.out): Likewise.
8537 ($(objpfx)tst-tables.out): Likewise.
8538 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8539 ($(objpfx)tst-gettext.out): Likewise.
8540 ($(objpfx)tst-translit.out): Likewise.
8541 ($(objpfx)tst-gettext2.out): Likewise.
8542 ($(objpfx)tst-gettext4.out): Likewise.
8543 ($(objpfx)tst-gettext6.out): Likewise.
8544 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8545 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8546 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8547 ($(objpfx)tst-fopenloc-mem.out): Likewise.
8548 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8549 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8550 * posix/Makefile ($(objpfx)globtest.out): Likewise.
8551 ($(objpfx)wordexp-tst.out): Likewise.
8552 ($(objpfx)annexc.out): Likewise.
8553 ($(objpfx)tst-fnmatch-mem): Likewise.
8554 ($(objpfx)bug-regex2-mem): Likewise.
8555 ($(objpfx)bug-regex14-mem): Likewise.
8556 ($(objpfx)bug-regex21-mem): Likewise.
8557 ($(objpfx)bug-regex31-mem): Likewise.
8558 ($(objpfx)tst-vfork3-mem): Likewise.
8559 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8560 ($(objpfx)tst-pcre-mem): Likewise.
8561 ($(objpfx)tst-boost-mem): Likewise.
8562 ($(objpfx)tst-getconf.out): Likewise.
8563 ($(objpfx)bug-ga2-mem): Likewise.
8564 ($(objpfx)bug-glob2-mem): Likewise.
8565 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8566 ($(objpfx)mtrace-tst-leaks2): Likewise.
8567 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8568 ($(objpfx)tst-printf.out): Likewise.
8569 ($(objpfx)tst-setvbuf1.out): Likewise.
8570 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8571 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8572 ($(objpfx)tst-fmtmsg.out): Likewise.
8573 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8574 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8576 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8577 * bits/sigaction.h [__USE_MISC]: Likewise.
8578 * bits/waitstatus.h: Update #endif comments.
8579 * ctype/ctype.h: Likewise.
8580 * dirent/dirent.h: Likewise.
8581 [__USE_MISC]: Remove redundant conditionals.
8582 * grp/grp.h: Update #endif comments.
8583 [__USE_GNU]: Remove redundant conditionals.
8584 [__USE_MISC]: Likewise.
8585 * inet/netinet/in.h [__USE_GNU]: Likewise.
8586 * io/sys/stat.h [__USE_MISC]: Likewise.
8587 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8588 * libio/bits/stdio.h: Update #endif comments.
8589 [__USE_MISC]: Remove redundant conditionals.
8590 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8591 * libio/stdio.h: Update #endif comments.
8592 [__USE_MISC]: Remove redundant conditionals.
8593 * math/bits/math-finite.h [__USE_MISC]: Likewise.
8594 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8595 * math/math.h: Update #else and #endif comments.
8596 [__USE_MISC]: Remove redundant conditionals.
8597 * misc/sys/uio.h: Update #endif comments.
8598 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8599 * posix/glob.h [__USE_MISC]: Likewise.
8600 * posix/sys/types.h: Update #endif comments.
8601 [__USE_MISC]: Remove redundant conditionals.
8602 * posix/sys/wait.h: Update #endif comments.
8603 [__USE_MISC]: Remove redundant conditionals.
8604 * posix/unistd.h: Update #endif comments.
8605 [__USE_MISC]: Remove redundant conditionals.
8606 * pwd/pwd.h [__USE_GNU]: Likewise.
8607 [__USE_MISC]: Likewise.
8608 * resolv/netdb.h [__USE_GNU]: Likewise.
8609 * signal/signal.h: Update #endif comments.
8610 [__USE_MISC]: Remove redundant conditionals.
8611 * stdlib/stdlib.h: Update #else and #endif comments.
8612 [__USE_MISC]: Remove redundant conditionals.
8613 [__USE_GNU]: Likewise.
8614 * string/bits/string2.h [__USE_MISC]: Likewise.
8615 * string/string.h: Update #endif comments.
8616 [__USE_MISC]: Remove redundant conditionals.
8617 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8619 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8620 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8621 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8623 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8627 [__USE_MISC]: Remove redundant conditionals.
8628 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8629 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8630 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8631 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8632 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8634 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8635 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8637 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8638 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8640 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8642 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8643 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8645 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8647 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8648 * sysdeps/x86/bits/string.h: Update #endif comments.
8649 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8651 * time/sys/time.h: Update #endif comments.
8652 * time/time.h: Likewise.
8653 [__USE_MISC]: Remove redundant conditionals.
8655 2014-02-21 Yury Gribov <y.gribov@samsung.com>
8658 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8660 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
8662 * Versions.def (librt): Add GLIBC_2.17.
8664 2014-02-21 Adam Conrad <adconrad@0c3.net>
8666 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8667 synonym for _SYS_AUXV_H to allow direct inclusion.
8668 * sysdeps/sparc/bits/hwcap.h: Likewise.
8669 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8670 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8671 * sysdeps/sparc/sysdep.h: Likewise.
8673 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8675 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8677 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8679 * benchtests/bench-strrchr.c: Print length instead of position.
8681 2014-02-20 Joseph Myers <joseph@codesourcery.com>
8684 * sysdeps/unix/sysv/linux/kernel-features.h
8685 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8686 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8687 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8688 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8690 [__i386__ || __powerpc__ || __sh__ || __sparc__]
8691 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8692 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8693 (__ASSUME_SENDMMSG): Define instead of using previous
8694 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8695 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8696 (__ASSUME_SENDMMSG_SYSCALL): Define.
8697 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8698 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8700 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8701 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8703 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8704 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8706 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8707 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8708 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8709 [__ASSUME_SENDMMSG]: Change conditionals to
8710 [__ASSUME_SENDMMSG_SOCKETCALL].
8711 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8712 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8714 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8715 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8717 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8718 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8719 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8720 [!__ASSUME_SENDMMSG]: Change conditional to
8721 [!__ASSUME_SENDMMSG_SOCKETCALL].
8722 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8723 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8727 * sysdeps/unix/sysv/linux/kernel-features.h
8728 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8729 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8730 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8731 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8732 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8733 [__i386__ || __sparc__]
8734 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8735 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8736 (__ASSUME_RECVMMSG): Define instead of using previous
8737 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8738 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8739 (__ASSUME_RECVMMSG_SYSCALL): Define.
8740 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8741 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8743 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8744 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8746 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8747 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8749 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8750 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8751 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8752 [__ASSUME_RECVMMSG]: Change condition to
8753 [__ASSUME_RECVMMSG_SOCKETCALL].
8754 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8755 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8757 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8758 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8759 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8761 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8762 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8763 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8764 [!__ASSUME_RECVMMSG]: Change condition to
8765 [!__ASSUME_RECVMMSG_SOCKETCALL].
8766 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8767 (__ASSUME_RECVMMSG_SYSCALL): Define.
8770 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8771 __powerpc__ || __s390__ || __sh__ || __sparc__]
8772 (__ASSUME_SOCKETCALL): Define.
8773 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8774 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8775 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8776 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8777 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8778 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8779 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8780 (__ASSUME_ACCEPT4): Define instead of using previous
8781 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8782 __powerpc__ || __sparc__ || __s390__)] condition.
8783 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8784 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8785 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8786 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8787 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8788 [!__ASSUME_ACCEPT4]: Change condition to
8789 [!__ASSUME_ACCEPT4_SOCKETCALL].
8790 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8791 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
8792 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8793 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8794 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8795 __ASSUME_ACCEPT4_SYSCALL.
8796 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8797 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8798 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8799 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8800 __ASSUME_ACCEPT4_SYSCALL.
8801 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8802 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8803 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8804 [__ASSUME_ACCEPT4]: Change condition to
8805 [__ASSUME_ACCEPT4_SOCKETCALL].
8806 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8807 (__ASSUME_SOCKETCALL): Define.
8808 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8809 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8810 (__ASSUME_SOCKETCALL): Define.
8811 (__ASSUME_ACCEPT4): Remove.
8812 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8814 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8815 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8817 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8818 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8820 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8822 (HWCAP_ARM_LPAE): Likewise.
8823 (HWCAP_ARM_EVTSTRM): Likewise.
8824 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8825 Add vpfd32, lpae and evtstrm.
8826 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8829 2014-02-19 Joseph Myers <joseph@codesourcery.com>
8831 * math/auto-libm-test-in: Add tests of clog10.
8832 * math/auto-libm-test-out: Regenerated.
8833 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8834 * sysdeps/i386/fpu/libm-test-ulps: Update.
8835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8837 2014-02-18 Andreas Schwab <schwab@suse.de>
8840 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8841 Store non-zero if the second buffer was newly allocated.
8842 (send_dg): Likewise.
8843 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8844 to send_vc and send_dg.
8845 (res_nsend): Pass NULL for ansp2_malloced.
8846 * resolv/res_query.c (__libc_res_nquery): Add parameter
8847 answerp2_malloced and pass it down to __libc_res_nsend.
8848 (res_nquery): Pass additional NULL to __libc_res_nquery.
8849 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8850 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
8851 second answer buffer if answerp2_malloced was set.
8852 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8853 (__libc_res_nquerydomain): Add parameter
8854 answerp2_malloced and pass it down to __libc_res_nquery.
8855 (res_nquerydomain): Pass additional NULL to
8856 __libc_res_nquerydomain.
8857 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8858 additional NULL to __libc_res_nsend and __libc_res_nquery.
8859 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8860 additional NULL to __libc_res_nsearch.
8861 (_nss_dns_gethostbyname4_r): Revert last change. Use new
8862 parameter of __libc_res_nsearch to check for separately allocated
8864 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8866 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8867 additional NULL to __libc_res_nquery.
8868 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8870 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8871 * include/resolv.h: Update prototypes of __libc_res_nquery,
8872 __libc_res_nsearch, __libc_res_nsend.
8874 2014-02-18 Joseph Myers <joseph@codesourcery.com>
8876 * math/auto-libm-test-in: Add tests of fma.
8877 * math/auto-libm-test-out: Regenerated.
8878 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8879 (fma_towardzero_test_data): Likewise.
8880 (fma_downward_test_data): Likewise.
8881 (fma_upward_test_data): Likewise.
8882 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8884 (rounding_modes): Add values for new field.
8885 (func_calc_method): Add value mpfr_fff_f.
8886 (func_calc_desc): Add mpfr_fff_f union field.
8887 (test_function): Add field exact_args.
8888 (FUNC): Add macro argument EXACT_ARGS.
8889 (FUNC_mpfr_f_f): Update call to FUNC.
8890 (FUNC_mpfr_f_f): Likewise.
8891 (FUNC_mpfr_ff_f): Likewise.
8892 (FUNC_mpfr_if_f): Likewise.
8893 (FUNC_mpc_c_f): Likewise.
8894 (FUNC_mpc_c_c): Likewise.
8895 (test_functions): Add fma. Update calls to FUNC.
8896 (handle_input_arg): Add argument exact_args.
8897 (add_test): Update call to handle_input_arg.
8898 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
8899 (output_for_one_input_case): Update call to calc_generic_results.
8900 Recalculate exact zero results in each rounding mode.
8902 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8903 non-negative before setting low bit.
8904 * math/auto-libm-test-in: Mark one asin test possibly having
8906 * math/auto-libm-test-out: Regenerated.
8907 * sysdeps/i386/fpu/libm-test-ulps: Update.
8908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8910 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
8912 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8913 * sysdeps/unix/sysv/linux/microblaze: Move directory from
8914 ports/sysdeps/unix/sysv/linux/microblaze.
8915 * README: Add missing listing for microblaze*-*-linux-gnu.
8917 2014-02-16 Mike Frysinger <vapier@gentoo.org>
8919 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8920 * sysdeps/unix/sysv/linux/ia64: Move directory from
8921 ports/sysdeps/unix/sysv/linux/ia64.
8922 * README: Update listing for ia64-*-linux-gnu.
8924 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
8925 Joseph Myers <joseph@codesourcery.com>
8927 * Makeconfig (test-name): New variable.
8928 (evaluate-test): Likewise.
8929 * Makerules (do-test-clean): Remove .test-result files.
8930 (common-mostlyclean): Likewise.
8931 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8932 * scripts/evaluate-test.sh: New file.
8934 2014-02-14 Joseph Myers <joseph@codesourcery.com>
8936 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8937 separate $(objpfx)tst-fopenloc-cmp.out and
8938 $(objpfx)tst-fopenloc-mem.out targets.
8939 (tests): Update dependencies.
8940 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8941 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8942 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8943 (tst-rxspencer-no-utf8-ARGS): New variable.
8944 (tst-rxspencer-no-utf8-ENV): Likewise.
8945 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8946 instead of $(objpfx)tst-rxspencer-mem.
8947 ($(objpfx)tst-rxspencer-mem): Change target to
8948 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
8949 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8950 * posix/tst-rxspencer-no-utf8.c: New file.
8952 * elf/Makefile ($(objpfx)order.out): Remove rule.
8953 [$(run-built-tests) = yes] (tests): Depend on
8954 $(objpfx)order-cmp.out.
8955 ($(objpfx)order-cmp.out): New rule.
8956 [$(run-built-tests) = yes] (tests): Depend on
8957 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8958 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8959 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8960 $(objpfx)tst-array5-static-cmp.out.
8961 ($(objpfx)tst-array1.out): Remove rule.
8962 ($(objpfx)tst-array1-cmp.out): New rule.
8963 ($(objpfx)tst-array1-static.out): Remove rule.
8964 ($(objpfx)tst-array1-static-cmp.out): New rule.
8965 ($(objpfx)tst-array2.out): Remove rule.
8966 ($(objpfx)tst-array2-cmp.out): New rule.
8967 ($(objpfx)tst-array3.out): Remove rule.
8968 ($(objpfx)tst-array3-cmp.out): New rule.
8969 ($(objpfx)tst-array4.out): Remove rule.
8970 ($(objpfx)tst-array4-cmp.out): New rule.
8971 ($(objpfx)tst-array5.out): Remove rule.
8972 ($(objpfx)tst-array5-cmp.out): New rule.
8973 ($(objpfx)tst-array5-static.out): Remove rule.
8974 ($(objpfx)tst-array5-static-cmp.out): New rule.
8975 [$(run-built-tests) = yes] (tests): Depend on
8976 $(objpfx)order2-cmp.out.
8977 ($(objpfx)order2.out): Remove rule.
8978 ($(objpfx)order2-cmp.out): New rule.
8979 ($(objpfx)tst-initorder.out): Remove rule.
8980 [$(run-built-tests) = yes] (tests): Depend on
8981 $(objpfx)tst-initorder-cmp.out.
8982 ($(objpfx)tst-initorder-cmp.out): New rule.
8983 ($(objpfx)tst-initorder2.out): Remove rule.
8984 [$(run-built-tests) = yes] (tests): Depend on
8985 $(objpfx)tst-initorder2-cmp.out.
8986 ($(objpfx)tst-initorder2-cmp.out): New rule.
8987 [$(run-built-tests) = yes] (tests): Depend on
8988 $(objpfx)tst-unused-dep-cmp.out.
8989 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8990 ($(objpfx)tst-unused-dep-cmp.out): New rule.
8991 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8992 on $(objpfx)tst-setvbuf1-cmp.out.
8993 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8994 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8995 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8996 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8997 ($(objpfx)tst-svc.out): Remove rule.
8998 ($(objpfx)tst-svc-cmp.out): New rule.
9000 2014-02-13 Joseph Myers <joseph@codesourcery.com>
9002 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
9003 * ctype/ctype.h [__USE_MISC]: Likewise.
9004 * dirent/dirent.h [__USE_MISC]: Likewise.
9005 * grp/grp.h [__USE_MISC]: Likewise.
9006 * io/fcntl.h [__USE_MISC]: Likewise.
9007 * io/sys/stat.h [__USE_MISC]: Likewise.
9008 * libio/stdio.h [__USE_MISC]: Likewise.
9009 * posix/unistd.h [__USE_MISC]: Likewise.
9010 * pwd/pwd.h [__USE_MISC]: Likewise.
9011 * stdlib.h [__USE_MISC]: Likewise.
9012 * string/bits/string2.h [__USE_MISC]: Likewise.
9013 * string/string.h [__USE_MISC]: Likewise.
9014 * time/time.h [__USE_MISC]: Likewise.
9016 2014-02-13 Andreas Schwab <schwab@suse.de>
9019 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
9020 second answer buffer if it was separately allocated.
9022 2014-02-12 Joseph Myers <joseph@codesourcery.com>
9024 * sysdeps/mips/math-tests.h: Include <features.h>.
9025 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9026 (ROUNDING_TESTS_long_double): Do not define.
9027 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
9028 (EXCEPTION_TESTS_long_double): Likewise.
9029 * sysdeps/mips/mips64/libm-test-ulps: Update.
9031 * include/features.h (__USE_BSD): Remove macro definitions.
9032 (__USE_SVID): Likewise.
9033 (_BSD_SOURCE): Likewise.
9034 (_SVID_SOURCE): Likewise.
9035 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
9036 from definition of _DEFAULT_SOURCE.
9037 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
9039 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
9040 * bits/mman.h [__USE_BSD]: Likewise.
9041 * bits/termios.h [__USE_BSD]: Likewise.
9042 * bits/waitstatus.h [__USE_BSD]: Likewise.
9043 * ctype/ctype.h [__USE_SVID]: Likewise.
9044 * dirent/dirent.h [__USE_BSD]: Likewise.
9045 * grp/grp.h [__USE_SVID]: Likewise.
9046 [__USE_BSD]: Likewise.
9047 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
9048 * io/fcntl.h [__USE_BSD]: Likewise.
9049 * io/ftw.h [__USE_BSD]: Likewise.
9050 * io/sys/stat.h [__USE_BSD]: Likewise.
9051 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
9052 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
9053 * libio/stdio.h [__USE_SVID]: Likewise.
9054 [__USE_BSD]: Likewise.
9055 * math/math.h [__USE_SVID]: Likewise.
9056 [__USE_BSD]: Likewise.
9057 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
9058 * misc/bits/syslog.h [__USE_BSD]: Likewise.
9059 * misc/search.h [__USE_SVID]: Likewise.
9060 * misc/sys/mman.h [__USE_BSD]: Likewise.
9061 * misc/sys/syslog.h [__USE_BSD]: Likewise.
9062 * misc/sys/uio.h [__USE_BSD]: Likewise.
9063 * posix/bits/unistd.h [__USE_BSD]: Likewise.
9064 * posix/glob.h [__USE_BSD]: Likewise.
9065 * posix/regex.h [__USE_BSD]: Likewise.
9066 * posix/sys/types.h [__USE_BSD]: Likewise.
9067 [__USE_SVID]: Likewise.
9068 * posix/sys/utsname.h [__USE_SVID]: Likewise.
9069 * posix/sys/wait.h [__USE_BSD]: Likewise.
9070 [__USE_SVID]: Likewise.
9071 * posix/unistd.h [__USE_BSD]: Likewise.
9072 [__USE_SVID]: Likewise.
9073 * pwd/pwd.h [__USE_SVID]: Likewise.
9074 * resolv/netdb.h [__USE_BSD]: Likewise.
9075 * setjmp/setjmp.h [__USE_BSD]: Likewise.
9076 * signal/signal.h [__USE_BSD]: Likewise.
9077 [__USE_SVID]: Likewise.
9078 * socket/sys/socket.h [__USE_BSD]: Likewise.
9079 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
9080 * stdlib/stdlib.h [__USE_BSD]: Likewise.
9081 [__USE_SVID]: Likewise.
9082 * string/bits/string2.h [__USE_BSD]: Likewise.
9083 [__USE_SVID]: Likewise.
9084 * string/bits/string3.h [__USE_BSD]: Likewise.
9085 * string/endian.h [__USE_BSD]: Likewise.
9086 * string/string.h [__USE_SVID]: Likewise.
9087 [__USE_BSD]: Likewise.
9088 * string/strings.h [__USE_BSD]: Likewise.
9089 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
9090 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
9091 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
9092 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
9093 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
9094 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
9096 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
9098 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
9099 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
9101 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
9102 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
9104 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
9106 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
9107 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
9108 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
9110 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
9112 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
9113 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
9114 * termios/termios.h [__USE_BSD]: Likewise.
9115 * time/sys/time.h [__USE_BSD]: Likewise.
9116 * time/time.h [__USE_BSD]: Likewise.
9117 [__USE_SVID]: Likewise.
9119 * Makefile (subdir_targets): Remove subdir_lint.out.
9121 * stdio-common/Makefile (do-tst-unbputc): Remove target.
9122 (do-tst-printf): Likewise.
9123 (tests): Depend directly on $(objpfx)tst-unbputc.out and
9124 $(objpfx)tst-printf.out.
9126 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
9128 * Makerules (check-abi-%): Change target to
9129 $(objpfx)check-abi-%.out.
9130 (check-abi target): Update dependencies.
9131 (check-abi-pattern variable): Redirect output of diff to $@.
9132 (check-abi variable): Likewise.
9133 * elf/Makefile (check-abi): Update dependencies.
9135 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
9137 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
9138 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
9140 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
9141 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
9142 value has largest subnormal exponent.
9143 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
9144 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
9145 * sysdeps/aarch64/soft-fp/sfp-machine.h
9146 (_FP_TININESS_AFTER_ROUNDING): New macro.
9147 * sysdeps/alpha/soft-fp/sfp-machine.h
9148 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9149 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9151 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
9152 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9153 * sysdeps/mips/soft-fp/sfp-machine.h
9154 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9155 * sysdeps/powerpc/soft-fp/sfp-machine.h
9156 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9157 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9159 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
9160 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
9162 (_FP_TININESS_AFTER_ROUNDING): Likewise.
9163 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
9166 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
9169 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
9172 2014-02-12 Richard Henderson <rth@redhat.com>
9174 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
9175 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
9176 * sysdeps/unix/sysv/linux/alpha: Move directory from
9177 ports/sysdeps/unix/sysv/linux/alpha.
9178 * README: Update listing for alpha-*-linux-gnu.
9180 2014-02-11 Joseph Myers <joseph@codesourcery.com>
9182 * include/features.h: Update comment documenting feature test
9184 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
9186 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
9187 (_SVID_SOURCE): Likewise.
9188 (_DEFAULT_SOURCE): Update description of default features.
9189 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
9191 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
9192 (S_ISVTX): Likewise.
9193 * manual/math.texi (Mathematical Constants): Likewise.
9194 * manual/signal.texi (Interrupted Primitives): Likewise.
9195 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
9196 * math/test-matherr.c (_SVID_SOURCE): Do not define.
9197 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
9198 Don't refer to _SVID_SOURCE in warning text.
9200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9202 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
9204 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
9205 * sysdeps/mips/dl-lookup.c: Remove.
9206 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
9208 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9211 * math/auto-libm-test-in: Add testcase for expl.
9212 * math/auto-libm-test-out: Regenerate.
9213 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
9214 calculation of unsafe.
9215 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
9217 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
9219 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
9220 * sysdeps/unix/sysv/linux/aarch64: Move directory from
9221 ports/sysdeps/unix/sysv/linux/aarch64.
9222 * README: Update listing for aarch64*-*-linux-gnu.
9224 2014-02-11 Will Newton <will.newton@linaro.org>
9226 * manual/probes.texi (Mathematical Function Probes): Use
9227 "triggered" instead of "hit".
9229 * manual/probes.texi (Internal Probes): Add documentation
9230 of setjmp, longjmp and longjmp_target probes.
9232 * include/stap-probe.h: Add comment about probe argument
9235 * malloc/mtrace.c (attribute_hidden): Remove unused macro
9236 definition. (tr_where, tr_freehook, tr_mallochook,
9237 tr_reallochook, tr_memalignhook): Use ANSI protoype.
9239 2014-02-11 David S. Miller <davem@davemloft.net>
9241 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
9242 processing int_tests.
9244 2014-02-10 Joseph Myers <joseph@codesourcery.com>
9246 * sysdeps/mips: Move directory from ports/sysdeps/mips.
9247 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
9248 * sysdeps/unix/sysv/linux/mips: Move directory from
9249 ports/sysdeps/unix/sysv/linux/mips.
9250 * README: Update listing for mips-*-linux-gnu and
9253 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
9255 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
9256 * sysdeps/unix/sysv/linux/m68k: Move directory from
9257 ports/sysdeps/unix/sysv/linux/m68k.
9258 * README: Update listing for m68k-*-linux-gnu.
9260 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
9262 * sysdeps/tile: Move directory from ports/sysdeps/tile.
9263 * sysdeps/unix/sysv/linux/generic: Move directory from
9264 ports/sysdeps/unix/sysv/linux/generic.
9265 * sysdeps/unix/sysv/linux/tile: Move directory from
9266 ports/sysdeps/unix/sysv/linux/tile.
9267 * README: Update listing for tile*-*-linux-gnu.
9269 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
9271 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
9273 * benchtests/bench-memmem.c (simple_memmem): Likewise.
9274 * catgets/open_catalog.c (__open_catalog): Likewise.
9275 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
9276 * debug/confstr_chk.c: Likewise.
9277 * debug/fread_chk.c (__fread_chk): Likewise.
9278 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
9279 * debug/getgroups_chk.c: Likewise.
9280 * debug/mbsnrtowcs_chk.c: Likewise.
9281 * debug/mbsrtowcs_chk.c: Likewise.
9282 * debug/mbstowcs_chk.c: Likewise.
9283 * debug/memcpy_chk.c: Likewise.
9284 * debug/memmove_chk.c: Likewise.
9285 * debug/mempcpy_chk.c: Likewise.
9286 * debug/memset_chk.c: Likewise.
9287 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9288 * debug/strcat_chk.c (__strcat_chk): Likewise.
9289 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
9290 * debug/strncat_chk.c (__strncat_chk): Likewise.
9291 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
9292 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
9293 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
9294 * debug/wcpncpy_chk.c: Likewise.
9295 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9296 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
9297 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
9298 * debug/wcsncpy_chk.c: Likewise.
9299 * debug/wcsnrtombs_chk.c: Likewise.
9300 * debug/wcsrtombs_chk.c: Likewise.
9301 * debug/wcstombs_chk.c: Likewise.
9302 * debug/wmemcpy_chk.c: Likewise.
9303 * debug/wmemmove_chk.c: Likewise.
9304 * debug/wmempcpy_chk.c: Likewise.
9305 * debug/wmemset_chk.c: Likewise.
9306 * dirent/scandirat.c (SCANDIRAT): Likewise.
9307 * dlfcn/dladdr1.c (dladdr1): Likewise.
9308 * dlfcn/dladdr.c (dladdr): Likewise.
9309 * dlfcn/dlclose.c (dlclose_doit): Likewise.
9310 * dlfcn/dlerror.c (__dlerror): Likewise.
9311 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
9312 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
9313 * dlfcn/dlopen.c (dlopen_doit): Likewise.
9314 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
9315 * dlfcn/dlsym.c (dlsym_doit): Likewise.
9316 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
9317 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
9318 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
9320 * elf/dl-conflict.c: Likewise.
9321 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
9322 * elf/dl-dst.h: Likewise.
9323 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
9324 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
9325 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
9326 * elf/dl-init.c (call_init, _dl_init): Likewise.
9327 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
9328 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
9329 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
9331 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
9333 * elf/dl-minimal.c (__libc_memalign): Likewise.
9334 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
9335 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9336 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
9337 * elf/dl-sym.c (do_sym): Likewise.
9338 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
9339 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
9340 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
9341 * elf/dl-writev.h (_dl_writev): Likewise.
9342 * elf/ldconfig.c (search_dir): Likewise.
9343 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
9344 (dl_main): Likewise.
9345 * elf/setup-vdso.h (setup_vdso): Likewise.
9346 * grp/compat-initgroups.c (compat_call): Likewise.
9347 * grp/fgetgrent.c (fgetgrent): Likewise.
9348 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
9349 * grp/putgrent.c (putgrent): Likewise.
9350 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9352 * hurd/hurdinit.c: Likewise.
9353 * iconvdata/8bit-gap.c (struct): Likewise.
9354 * iconvdata/ansi_x3.110.c : Likewise.
9355 * iconvdata/big5.c : Likewise.
9356 * iconvdata/big5hkscs.c : Likewise.
9357 * iconvdata/cp1255.c: Likewise.
9358 * iconvdata/cp1258.c : Likewise.
9359 * iconvdata/cp932.c : Likewise.
9360 * iconvdata/euc-cn.c: Likewise.
9361 * iconvdata/euc-jisx0213.c : Likewise.
9362 * iconvdata/euc-jp.c: Likewise.
9363 * iconvdata/euc-jp-ms.c : Likewise.
9364 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
9365 * iconvdata/gb18030.c : Likewise.
9366 * iconvdata/gbbig5.c (const): Likewise.
9367 * iconvdata/gbgbk.c: Likewise.
9368 * iconvdata/gbk.c : Likewise.
9369 * iconvdata/ibm1364.c : Likewise.
9370 * iconvdata/ibm930.c : Likewise.
9371 * iconvdata/ibm932.c: Likewise.
9372 * iconvdata/ibm933.c : Likewise.
9373 * iconvdata/ibm935.c : Likewise.
9374 * iconvdata/ibm937.c : Likewise.
9375 * iconvdata/ibm939.c : Likewise.
9376 * iconvdata/ibm943.c: Likewise.
9377 * iconvdata/iso_11548-1.c: Likewise.
9378 * iconvdata/iso-2022-cn.c : Likewise.
9379 * iconvdata/iso-2022-cn-ext.c : Likewise.
9380 * iconvdata/iso-2022-jp-3.c: Likewise.
9381 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
9382 * iconvdata/iso-2022-kr.c : Likewise.
9383 * iconvdata/iso646.c (gconv_end): Likewise.
9384 * iconvdata/iso_6937-2.c : Likewise.
9385 * iconvdata/iso_6937.c : Likewise.
9386 * iconvdata/iso8859-1.c: Likewise.
9387 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
9388 * iconvdata/shift_jisx0213.c : Likewise.
9389 * iconvdata/sjis.c : Likewise.
9390 * iconvdata/t.61.c : Likewise.
9391 * iconvdata/tcvn5712-1.c : Likewise.
9392 * iconvdata/tscii.c: Likewise.
9393 * iconvdata/uhc.c : Likewise.
9394 * iconvdata/unicode.c (gconv_end): Likewise.
9395 * iconvdata/utf-16.c (gconv_end): Likewise.
9396 * iconvdata/utf-32.c (gconv_end): Likewise.
9397 * iconvdata/utf-7.c (base64): Likewise.
9398 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
9399 * iconv/gconv_close.c (__gconv_close): Likewise.
9400 * iconv/gconv_open.c (__gconv_open): Likewise.
9401 * iconv/gconv_simple.c (internal_ucs4_loop_single)
9402 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
9403 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
9404 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
9405 (ucs4le_internal_loop_single): Likewise.
9406 * iconv/iconv.c (iconv): Likewise.
9407 * iconv/iconv_close.c: Likewise.
9408 * iconv/loop.c (SINGLE): Likewise.
9409 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
9410 * include/atomic.h: Likewise.
9411 * inet/inet6_option.c (option_alloc): Likewise.
9412 * intl/bindtextdom.c (set_binding_values): Likewise.
9413 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
9414 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
9415 * intl/localealias.c (read_alias_file): Likewise.
9416 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
9417 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
9418 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
9419 * libio/fmemopen.c (fmemopen): Likewise.
9420 * libio/iofgets.c (_IO_fgets): Likewise.
9421 * libio/iofgets_u.c (fgets_unlocked): Likewise.
9422 * libio/iofgetws.c (fgetws): Likewise.
9423 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
9424 * libio/iogetdelim.c (_IO_getdelim): Likewise.
9425 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
9426 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
9427 * locale/findlocale.c (_nl_find_locale): Likewise.
9428 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
9429 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9431 * locale/setlocale.c (setlocale): Likewise.
9432 * login/programs/pt_chown.c (main): Likewise.
9433 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9434 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9435 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9436 (mmap, mmap64, mremap, munmap): Likewise.
9437 * math/e_exp2l.c: Likewise.
9438 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9439 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9440 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9441 * math/s_catan.c (__catan): Likewise.
9442 * math/s_catanf.c (__catanf): Likewise.
9443 * math/s_catanh.c (__catanh): Likewise.
9444 * math/s_catanhf.c (__catanhf): Likewise.
9445 * math/s_catanhl.c (__catanhl): Likewise.
9446 * math/s_catanl.c (__catanl): Likewise.
9447 * math/s_ccosh.c (__ccosh): Likewise.
9448 * math/s_ccoshf.c (__ccoshf): Likewise.
9449 * math/s_ccoshl.c (__ccoshl): Likewise.
9450 * math/s_cexp.c (__cexp): Likewise.
9451 * math/s_cexpf.c (__cexpf): Likewise.
9452 * math/s_cexpl.c (__cexpl): Likewise.
9453 * math/s_clog10.c (__clog10): Likewise.
9454 * math/s_clog10f.c (__clog10f): Likewise.
9455 * math/s_clog10l.c (__clog10l): Likewise.
9456 * math/s_clog.c (__clog): Likewise.
9457 * math/s_clogf.c (__clogf): Likewise.
9458 * math/s_clogl.c (__clogl): Likewise.
9459 * math/s_csin.c (__csin): Likewise.
9460 * math/s_csinf.c (__csinf): Likewise.
9461 * math/s_csinh.c (__csinh): Likewise.
9462 * math/s_csinhf.c (__csinhf): Likewise.
9463 * math/s_csinhl.c (__csinhl): Likewise.
9464 * math/s_csinl.c (__csinl): Likewise.
9465 * math/s_csqrt.c (__csqrt): Likewise.
9466 * math/s_csqrtf.c (__csqrtf): Likewise.
9467 * math/s_csqrtl.c (__csqrtl): Likewise.
9468 * math/s_ctan.c (__ctan): Likewise.
9469 * math/s_ctanf.c (__ctanf): Likewise.
9470 * math/s_ctanh.c (__ctanh): Likewise.
9471 * math/s_ctanhf.c (__ctanhf): Likewise.
9472 * math/s_ctanhl.c (__ctanhl): Likewise.
9473 * math/s_ctanl.c (__ctanl): Likewise.
9474 * math/w_pow.c: Likewise.
9475 * math/w_powf.c: Likewise.
9476 * math/w_powl.c: Likewise.
9477 * math/w_scalb.c (sysv_scalb): Likewise.
9478 * math/w_scalbf.c (sysv_scalbf): Likewise.
9479 * math/w_scalbl.c (sysv_scalbl): Likewise.
9480 * misc/error.c (error_tail): Likewise.
9481 * misc/pselect.c (__pselect): Likewise.
9482 * nis/nis_callback.c (__nis_create_callback): Likewise.
9483 * nis/nis_call.c (__nisfind_server): Likewise.
9484 * nis/nis_creategroup.c (nis_creategroup): Likewise.
9485 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9486 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9487 * nis/nis_getservlist.c (nis_getservlist): Likewise.
9488 * nis/nis_lookup.c (nis_lookup): Likewise.
9489 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9490 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9491 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9492 * nis/nis_xdr.c (xdr_endpoint): Likewise.
9493 * nis/nss_compat/compat-grp.c (getgrent_next_file)
9494 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9495 * nis/nss_compat/compat-initgroups.c (add_group)
9496 (internal_getgrent_r): Likewise.
9497 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9498 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9499 * nis/nss_compat/compat-spwd.c (getspent_next_file)
9500 (internal_getspnam_r): Likewise.
9501 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9502 (_nss_nis_getaliasbyname_r): Likewise.
9503 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9504 (_nss_nis_getntohost_r): Likewise.
9505 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9506 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9507 (_nss_nis_getgrgid_r): Likewise.
9508 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9509 (internal_nis_gethostent_r, internal_gethostbyname2_r)
9510 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9511 (_nss_nis_gethostbyname4_r): Likewise.
9512 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9513 (initgroups_netid): Likewise.
9514 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9515 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9516 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9517 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9518 (_nss_nis_getprotobynumber_r): Likewise.
9519 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9520 (_nss_nis_getsecretkey): Likewise.
9521 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9522 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9523 (_nss_nis_getpwuid_r): Likewise.
9524 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9525 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9526 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9527 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9528 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9529 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9530 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9532 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9533 (_nss_nisplus_getntohost_r): Likewise.
9534 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9535 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9536 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9537 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9539 * nis/nss_nisplus/nisplus-initgroups.c
9540 (_nss_nisplus_initgroups_dyn): Likewise.
9541 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9542 (_nss_nisplus_getnetbyaddr_r): Likewise.
9543 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9544 (_nss_nisplus_getprotobynumber_r): Likewise.
9545 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9546 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9547 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9549 * nis/nss_nisplus/nisplus-service.c
9550 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9551 (_nss_nisplus_getservbyport_r): Likewise.
9552 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9553 (_nss_nisplus_getspnam_r): Likewise.
9554 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9556 * nscd/aicache.c (addhstaiX): Likewise.
9557 * nscd/cache.c (cache_search, prune_cache): Likewise.
9558 * nscd/connections.c (register_traced_file, send_ro_fd)
9559 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9560 (main_loop_epoll): Likewise.
9561 * nscd/grpcache.c (addgrbyX): Likewise.
9562 * nscd/hstcache.c (addhstbyX): Likewise.
9563 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9564 * nscd/mem.c (gc, mempool_alloc): Likewise.
9565 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9566 (addinnetgrX): Likewise.
9567 * nscd/nscd-client.h (__nscd_acquire_maplock)
9568 (__nscd_drop_map_ref): Likewise.
9569 * nscd/nscd_getai.c (__nscd_getai): Likewise.
9570 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9571 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9573 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9574 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9575 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9576 (__nscd_get_map_ref): Likewise.
9577 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9578 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9580 * nscd/pwdcache.c (addpwbyX): Likewise.
9581 * nscd/selinux.c (preserve_capabilities): Likewise.
9582 * nscd/servicescache.c (addservbyX): Likewise.
9583 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9584 * posix/fnmatch.c (fnmatch): Likewise.
9585 * posix/getopt.c (_getopt_internal_r): Likewise.
9586 * posix/glob.c (glob, glob_in_dir): Likewise.
9587 * posix/wordexp.c (exec_comm_child): Likewise.
9588 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9589 (getanswer_r, gaih_getanswer_slice): Likewise.
9590 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9591 * resolv/res_init.c: Likewise.
9592 * resolv/res_mkquery.c (res_nmkquery): Likewise.
9593 * resolv/res_query.c (__libc_res_nquery): Likewise.
9594 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9596 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9597 * stdio-common/perror.c (perror): Likewise.
9598 * stdio-common/printf_fp.c (___printf_fp): Likewise.
9599 * stdio-common/tmpnam.c (tmpnam): Likewise.
9600 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9601 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9602 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9604 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9605 * stdlib/putenv.c (putenv): Likewise.
9606 * stdlib/setenv.c (__add_to_environ): Likewise.
9607 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9608 * stdlib/strtol_l.c (INTERNAL): Likewise.
9609 * string/memmem.c (memmem): Likewise.
9610 * string/strerror.c (strerror): Likewise.
9611 * string/strnlen.c (__strnlen): Likewise.
9612 * string/test-memmem.c (simple_memmem): Likewise.
9613 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9614 * sunrpc/pm_getport.c (__get_socket): Likewise.
9615 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9616 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9617 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9618 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9620 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9621 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9622 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9623 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9624 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9625 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9627 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9629 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9630 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9631 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9632 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9633 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9635 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9636 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9637 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9638 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9639 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9640 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9642 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9644 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9646 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9647 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9648 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9650 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9651 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9652 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9655 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9656 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9658 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9660 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9661 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9663 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9665 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9667 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9669 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9670 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9671 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9673 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9674 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9675 * sysdeps/posix/opendir.c (__opendirat): Likewise.
9676 * sysdeps/posix/sleep.c: Likewise.
9677 * sysdeps/posix/tempname.c: Likewise.
9678 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9679 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9681 * sysdeps/powerpc/powerpc32/dl-machine.h
9682 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9683 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9685 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9686 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9688 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9689 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9690 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9691 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9692 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9693 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9694 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9695 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9696 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9697 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9699 (elf_machine_lazy_rel): Likewise.
9700 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9702 (elf_machine_lazy_rel): Likewise.
9703 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9704 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9705 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9706 * sysdeps/unix/grantpt.c (grantpt): Likewise.
9707 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9708 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9709 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9712 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9713 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9714 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9715 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9716 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9717 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9718 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9719 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9720 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9721 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9722 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9724 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9725 (__posix_fallocate64_l64): Likewise.
9726 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9727 (posix_fallocate): Likewise.
9728 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9730 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9731 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9732 (getifaddrs_internal): Likewise.
9733 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9734 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9735 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9736 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9737 * sysdeps/unix/sysv/linux/posix_fallocate64.c
9738 (__posix_fallocate64_l64): Likewise.
9739 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9741 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9742 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9743 (__get_clockfreq): Likewise.
9744 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9745 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9746 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9749 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9750 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9751 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9753 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9754 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9755 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9756 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9757 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9758 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9759 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9761 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9762 (posix_fallocate): Likewise.
9763 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9764 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9765 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9766 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9767 (elf_machine_rela, elf_machine_rela_relative)
9768 (elf_machine_lazy_rel): Likewise.
9769 * time/asctime.c (asctime_internal): Likewise.
9770 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9771 * time/tzset.c (__tzset_parse_tz): Likewise.
9772 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9773 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9774 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9775 * wcsmbs/wcsmbsload.h: Likewise.
9778 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9780 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9781 (arena_get2): Remove THREAD_STATS conditionals.
9782 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9783 (__malloc_stats, int): Likewise.
9785 2014-02-08 Mike Frysinger <vapier@gentoo.org>
9787 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9788 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
9790 * manual/setjmp.texi: Fix typos/grammar errors.
9792 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9793 Only return early when n is <= 0. Delete unused return statement.
9795 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9796 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9797 * debug/tst-longjmp_chk3.c: New file.
9799 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9800 (test_main): Replace code with set_fortify_handler call.
9801 * debug/test-strcpy_chk.c: Likewise.
9802 * debug/tst-chk1.c: Likewise.
9803 * debug/tst-longjmp_chk.c: Likewise.
9804 * test-skeleton.c: Include fcntl.h & paths.h
9805 (set_fortify_handler): Define.
9807 * debug/tst-longjmp_chk.c: Add header comment and include
9809 (do_test): Mark static.
9810 (TEST_FUNCTION): Define.
9812 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9813 (IP_PMTUDISC_INTERFACE): Likewise.
9814 (IP_MULTICAST_IF): Likewise.
9815 (IP_MULTICAST_TTL): Likewise.
9816 (IP_MULTICAST_LOOP): Likewise.
9817 (IP_ADD_MEMBERSHIP): Likewise.
9818 (IP_DROP_MEMBERSHIP): Likewise.
9819 (IP_UNBLOCK_SOURCE): Likewise.
9820 (IP_BLOCK_SOURCE): Likewise.
9821 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9822 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9823 (IP_MSFILTER): Likewise.
9824 (MCAST_JOIN_GROUP): Likewise.
9825 (MCAST_BLOCK_SOURCE): Likewise.
9826 (MCAST_UNBLOCK_SOURCE): Likewise.
9827 (MCAST_LEAVE_GROUP): Likewise.
9828 (MCAST_JOIN_SOURCE_GROUP): Likewise.
9829 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9830 (MCAST_MSFILTER): Likewise.
9831 (IP_MULTICAST_ALL): Likewise.
9832 (IP_UNICAST_IF): Likewise.
9834 * timezone/Makefile: Delete $(have-ksh) check.
9835 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9836 * timezone/tzselect.ksh: Add +x mode bits.
9838 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9839 (ANON_INODE_FS_MAGIC): Likewise.
9840 (BDEVFS_MAGIC): Likewise.
9841 (BINFMTFS_MAGIC): Likewise.
9842 (BTRFS_TEST_MAGIC): Likewise.
9843 (CRAMFS_MAGIC_WEND): Likewise.
9844 (DEBUGFS_MAGIC): Likewise.
9845 (ECRYPTFS_SUPER_MAGIC): Likewise.
9846 (EXT3_SUPER_MAGIC): Likewise.
9847 (EXT4_SUPER_MAGIC): Likewise.
9848 (FUTEXFS_SUPER_MAGIC): Likewise.
9849 (HOSTFS_SUPER_MAGIC): Likewise.
9850 (HUGETLBFS_MAGIC): Likewise.
9851 (MINIX3_SUPER_MAGIC): Likewise.
9852 (MTD_INODE_FS_MAGIC): Likewise.
9853 (NILFS_SUPER_MAGIC): Likewise.
9854 (OPENPROM_SUPER_MAGIC): Likewise.
9855 (PIPEFS_MAGIC): Likewise.
9856 (PSTOREFS_MAGIC): Likewise.
9857 (QNX6_SUPER_MAGIC): Likewise.
9858 (RAMFS_MAGIC): Likewise.
9859 (REISERFS_SUPER_MAGIC_STRING): Likewise.
9860 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9861 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9862 (SECURITYFS_MAGIC): Likewise.
9863 (SELINUX_MAGIC): Likewise.
9864 (SMACK_MAGIC): Likewise.
9865 (SOCKFS_MAGIC): Likewise.
9866 (SQUASHFS_MAGIC): Likewise.
9867 (STACK_END_MAGIC): Likewise.
9868 (TMPFS_MAGIC): Likewise.
9869 (USBDEVICE_SUPER_MAGIC): Likewise.
9870 (V9FS_MAGIC): Likewise.
9871 (XENFS_SUPER_MAGIC): Likewise.
9872 (CRAMFS_MAGIC): Fix typo in comment.
9873 (EXT2_SUPER_MAGIC): Update comment.
9874 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9876 2014-02-08 Joseph Myers <joseph@codesourcery.com>
9878 * sysdeps/arm: Move directory from ports/sysdeps/arm.
9879 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9880 * sysdeps/unix/sysv/linux/arm: Move directory from
9881 ports/sysdeps/unix/sysv/linux/arm.
9882 * README: Update listing for arm-*-linux-gnueabi.
9884 * README: Remove mention of am33.
9886 2014-02-07 Roland McGrath <roland@hack.frob.com>
9888 * bits/sigset.h (__sigemptyset): Use a statement expression rather
9889 than the comma operator, to avoid "rhs of comma has no effect"
9891 (__sigfillset, __sigandset, __sigorset): Likewise.
9892 * include/signal.h (__sigemptyset): Likewise.
9893 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9895 2014-02-07 Allan McRae <allan@archlinux.org>
9897 * version.h (RELEASE): Set to "development".
9898 (VERSION): Set to "2.19.90"
9899 * NEWS: Add 2.20 section.
9901 2014-02-06 Carlos O'Donell <carlos@redhat.com>
9904 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9906 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9908 * manual/contrib.texi: Update entry for Carlos O'Donell,
9909 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9911 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
9913 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9915 * sysdeps/unix/sysv/linux/kernel-features.h
9916 [__LINUX_KERNEL_VERSION >= 0x020621]
9917 (__ASSUME_PROC_PID_TASK_COMM): Define.
9919 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9922 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9923 conversion when destination buffer does not have enough space.
9924 * libio/tst-ftell-partial-wide.c: New test case.
9925 * libio/Makefile (tests): Add tst-ftell-partial-wide.
9927 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9928 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
9929 Leonard and Allan McRae.
9931 2014-02-04 David S. Miller <davem@davemloft.net>
9933 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9936 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9965 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9967 * nptl/shlib-versions: Change powerpc*le start to 2.17.
9968 * shlib-versions: Likewise.
9970 2014-02-04 Roland McGrath <roland@hack.frob.com>
9971 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9973 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9974 (abilist-pattern): New variable, set to %-le.abilist.
9976 * Makerules (abilist-pattern): New variable.
9977 (vpath): Use $(abilist-pattern) in place of %.abilist.
9978 (check-abi-% pattern rule): Likewise.
9979 (check-abi, update-abi): Likewise.
9981 2014-02-04 Eric Wong <normalperson@yhbt.net>
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9985 2014-02-03 Carlos O'Donell <carlos@redhat.com>
9987 * manual/startup.texi: Add next, previous, and top entries for
9988 the `Program Arguments' and `Environment Variables' nodes.
9990 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
9992 * manual/macros.texi: Add comments before MTASC-safety macros.
9994 * manual/users.texi: Document MTASC-safety properties.
9996 * manual/threads.texi (pthread_key_create, pthread_key_delete)
9997 (pthread_getspecific, pthread_setspecific): Format with
9998 @deftypefun, and add @safety note.
9999 * manual/signal.texi: Move comments that analyze the above
10000 functions to their home place.
10002 2014-02-03 Allan McRae <allan@archlinux.org>
10004 * po/sl.po: Update Slovenian translation from translation project.
10006 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
10008 * manual/time.texi (timegm): Add missing blank after @c.
10009 Reported by Joseph Myers <joseph@codesourcery.com>.
10011 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
10013 * manual/check-safety.sh: New.
10014 * manual/Makefile ($(objpfx)stamp-summary): Run it.
10016 * manual/terminal.texi: Document MTASC-safety properties.
10018 * manual/filesys.texi: Document MTASC-safety properties.
10020 * manual/errno.texi: Document MTASC-safety properties.
10022 * manual/intro.texi: Document safety identifiers and
10025 * manual/string.texi (wcstok): Fix prototype.
10026 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
10028 * manual/time.texi: Document MTASC-safety properties.
10030 * manual/string.texi: Document MTASC-safety properties.
10032 * manual/threads.texi: Document MTASC-safety properties.
10034 * manual/stdio.texi: Document MTASC-safety properties.
10036 * manual/syslog.texi: Document MTASC-safety properties.
10038 * manual/sysinfo.texi: Document MTASC-safety properties.
10040 * manual/startup.texi: Document MTASC-safety properties.
10042 * manual/socket.texi: Document MTASC-safety properties.
10044 * manual/signal.texi: Document MTASC-safety properties.
10046 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10048 * manual/setjmp.texi: Document MTASC-safety properties.
10050 * manual/search.texi: Document MTASC-safety properties.
10052 * manual/resource.texi: Document MTASC-safety properties.
10054 * manual/process.texi: Document MTASC-safety properties.
10056 * manual/platform.texi: Document MTASC-safety properties.
10058 * manual/pipe.texi: Document MTASC-safety properties.
10060 * manual/pattern.texi: Document MTASC-safety properties.
10062 * manual/message.texi: Document MTASC-safety properties.
10065 * manual/memory.texi: Document MTASC-safety properties.
10067 * manual/math.texi: Document MTASC-safety properties.
10069 * manual/locale.texi: Document MTASC-safety properties.
10071 * manual/llio.texi: Document MTASC-safety properties.
10073 * manual/libdl.texi: New.
10075 * manual/lang.texi: Document MTASC-safety properties.
10077 * manual/job.texi: Document MTASC-safety properties.
10079 * manual/getopt.texi: Document MTASC-safety properties.
10081 * manual/ctype.texi: Document MTASC-safety properties.
10083 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
10086 * csu/libc-tls.c (static_map): Remove variable.
10087 (__libc_setup_tls): Use main executable's link map for TLS data.
10088 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
10089 casing for LM_ID_BASE and GL(dl_nns).
10090 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
10091 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
10092 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
10093 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
10094 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
10096 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
10099 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
10101 * manual/debug.texi: Document MTASC-safety properties.
10103 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
10106 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
10107 of __x86_64__ when disabling x87 inline functions.
10109 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
10111 * manual/charset.texi: Document MTASC-safety properties.
10113 * manual/crypt.texi: Document MTASC-safety properties.
10115 * manual/conf.texi: Document MTASC-safety properties.
10117 * manual/arith.texi: Document MTASC-safety properties.
10119 * manual/argp.texi: Document MTASC-safety properties.
10121 * manual/macros.texi: Introduce macros to document multi
10122 thread, asynchronous signal and asynchronous cancellation
10124 * manual/intro.texi: Introduce the properties themselves.
10126 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10128 * sysdeps/sh/sh4/Makefile: New file.
10130 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
10132 * math/gen-libm-test.pl ($srcdir): New variable.
10133 ($auto_input): Use it.
10135 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10138 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
10139 access beyond array bounds when parsing netgroups file.
10141 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
10142 the old buffer before realloc.
10144 2014-01-27 Allan McRae <allan@archlinux.org>
10146 * po/fr.po: Update French translation from translation project.
10148 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10150 * sysdeps/sh/libm-test-ulps: Regenerate.
10152 2014-01-24 David S. Miller <davem@davemloft.net>
10154 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
10156 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10158 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
10159 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
10161 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10164 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
10165 string pointers after reallocation.
10167 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10169 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
10170 __SH4A__ instead of __SH_FPU_ANY__.
10172 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10174 * sysdeps/sh/fpu_control.h: New file.
10175 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
10176 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
10177 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
10178 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
10179 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
10180 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
10181 * sysdeps/sh/sys/ucontext.h: Remove.
10182 * sysdeps/sh/sys: Remove directory.
10184 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10186 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
10187 s390/sys/ucontext.h.
10188 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
10189 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
10191 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
10194 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
10196 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10200 Adjust the vDSO correctly for internal calls.
10201 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10203 2014-01-20 Allan McRae <allan@archlinux.org>
10205 * po/ca.po: Update Catalan translation from translation project.
10207 2014-01-16 Mike Frysinger <vapier@gentoo.org>
10209 * sysdeps/s390/sotruss-lib.c: New file.
10211 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
10215 (__GI___gettimeofday): Alias for a different internal symbol to avoid
10216 local calls issues by not having a PLT stub required for IFUNC calls.
10217 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
10219 2014-01-16 Joseph Myers <joseph@codesourcery.com>
10221 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
10222 * math/test-fpucw-static.c: Likewise.
10224 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10227 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
10229 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10231 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
10232 implementation for powerpc.
10234 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
10237 * sysdeps/posix/system.c (__libc_system): Do not enable
10238 asynchronous cancellation.
10240 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10243 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
10244 handling only for numbers special also in the IEEE case.
10246 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10248 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10250 2014-01-11 Allan McRae <allan@archlinux.org>
10252 * po/bg.po: Update Bulgarian translation from translation project.
10254 * po/de.po: Update German translation from translation project.
10256 2014-01-10 Roland McGrath <roland@hack.frob.com>
10258 * sysdeps/generic/gcc-compat.h: New file.
10260 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10262 * benchtests/asin-inputs: Correct slow inputs.
10263 * benchtests/acos-inputs: Likewise.
10265 2014-01-10 Allan McRae <allan@archlinux.org>
10267 * po:sv.po: Update Swedish translation from translation project.
10269 * po/vi.po: Update Vietnamese translation from translation project.
10271 * po/eo.po: Update Esperanto translation from translation project.
10273 * po/cs.po: Update Czech translation from translation project.
10275 * po/nl.po: Update Dutch translation from translation project.
10277 * po/pl.po: Update Polish translation from translation project.
10279 * po/ru.po: Update Russian translation from translation project.
10281 * po/uk.po: Update Ukrainian translation from translation project.
10283 2014-01-08 Brooks Moses <bmoses@google.com>
10285 * elf/dl-load.c: Fix comment typo.
10287 2014-01-08 Carlos O'Donell <carlos@redhat.com>
10289 * po/header.pot: Rename to...
10290 * po/pot.header: ... this.
10291 * po/Makefile: Use pot.header.
10293 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
10294 Maxim Kuvyrkov <maxim@kugelworks.com>
10297 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
10298 SRC and DEST against LEN.
10300 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10303 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
10305 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
10307 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10311 2014-01-08 Joseph Myers <joseph@codesourcery.com>
10314 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
10315 for large positive arguments.
10317 2014-01-07 Joseph Myers <joseph@codesourcery.com>
10319 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10321 * math/auto-libm-test-in: Mark various tests with
10322 xfail-rounding:ldbl-128ibm.
10323 * math/auto-libm-test-out: Regenerated.
10326 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10327 Increase overflow threshold.
10329 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
10332 * stdio-common/vfprintf.c: Check for integer overflow.
10334 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10336 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
10337 the first argument and return value of __tls_get_addr_internal.
10339 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10341 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
10342 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
10344 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10346 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
10347 * sysdeps/s390/rtld-global-offsets.sym: New file.
10348 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
10350 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
10351 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
10352 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10354 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
10355 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10361 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
10362 halfs of GPRs for high_gprs contexts.
10363 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
10364 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
10366 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
10368 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
10370 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
10371 for high GPRs (uc_high_gprs) and for future extensions
10373 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
10374 for future extensions (__reserved).
10375 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
10377 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
10378 SC_HIGHGPRS offset definition.
10379 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
10380 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
10382 * Versions.def: Add GLIBC_2.19 for libpthread.
10383 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
10384 siglongjmp for libpthread with GLIBC_2.19 symver.
10385 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
10386 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
10387 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
10388 * sysdeps/s390/__longjmp.c: New file.
10389 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
10390 * sysdeps/s390/longjmp.c: New file.
10391 * sysdeps/s390/setjmp.S: New file.
10392 * sysdeps/s390/sigjmp.S: New file.
10393 * sysdeps/s390/v1-longjmp.c: New file.
10394 * sysdeps/s390/v1-setjmp.h: New file.
10395 * sysdeps/s390/v1-sigjmp.c: New file.
10396 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
10397 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
10398 GLIBC_2.19 version.
10399 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
10400 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
10401 versioned symbols for ____longjmp_chk.
10402 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10412 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
10413 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
10414 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
10415 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
10416 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
10417 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
10418 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
10419 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
10420 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
10421 * sysdeps/s390/rtld-__longjmp.c: New file.
10422 * sysdeps/s390/rtld-setjmp.S: New file.
10424 2014-01-06 Joseph Myers <joseph@codesourcery.com>
10427 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10428 Return -__logl (x) for small positive arguments without evaluating
10431 2014-01-06 Mike Frysinger <vapier@gentoo.org>
10433 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10435 (__ptrace_peeksiginfo_args): ... this.
10436 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10440 2014-01-06 Allan McRae <allan@archlinux.org>
10442 * inet/netinet/in.h: Fix typo in comment.
10444 2014-01-05 Andreas Jaeger <aj@suse.de>
10446 * sysdeps/i386/fpu/libm-test-ulps: Update.
10448 2014-01-05 Allan McRae <allan@archlinux.org>
10450 * po/libc.pot: Regenerated.
10452 * malloc/memusagestat.c: Fix gettext call formatting.
10454 2014-01-04 Sami Kerola <kerolasa@iki.fi>
10456 * nscd/nscd.c: Improve usage() output.
10458 2014-01-04 Mike Frysinger <vapier@gentoo.org>
10460 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10461 * sysdeps/unix/sysv/linux/configure: Regenerated.
10462 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10463 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10465 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10468 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10469 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10471 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10474 extra tokens at end of #undef directive.
10475 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10476 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10477 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10479 2014-01-03 Joseph Myers <joseph@codesourcery.com>
10481 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10483 * math/auto-libm-test-in: Mark various tests with
10484 xfail-rounding:ldbl-128ibm.
10485 * math/auto-libm-test-out: Regenerated.
10487 2014-01-02 Joseph Myers <joseph@codesourcery.com>
10490 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10491 numbers with subnormal high part when calculating exponent.
10494 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10498 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10500 (__ieee754_acoshl): Use __log1pl not __log1p.
10502 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
10504 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10505 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10506 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10507 (grow_heap, heap_trim, _int_new_arena, get_free_list)
10508 (reused_arena, arena_get2): Convert to GNU style.
10509 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10510 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10511 (memalign_check, __malloc_set_state): Likewise.
10512 * malloc/mallocbug.c (main): Likewise.
10513 * malloc/malloc.c (__malloc_assert, malloc_init_state)
10514 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10515 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10516 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10517 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10518 (__posix_memalign, malloc_info): Likewise.
10519 * malloc/malloc.h: Likewise.
10520 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10521 (mallochook, memalignhook, reallochook, mabort): Likewise.
10522 * malloc/mcheck.h: Likewise.
10523 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10524 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10525 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10526 * malloc/morecore.c (__default_morecore): Likewise.
10527 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10528 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10529 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10530 (print_and_abort): Likewise.
10531 * malloc/obstack.h: Likewise.
10532 * malloc/set-freeres.c (__libc_freeres): Likewise.
10533 * malloc/tst-mallocstate.c (main): Likewise.
10534 * malloc/tst-mtrace.c (main): Likewise.
10535 * malloc/tst-realloc.c (do_test): Likewise.
10537 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10540 * nscd/netgroupcache.c (do_notfound): New function.
10541 (addgetnetgrentX): Use it.
10544 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10545 NSS_STATUS_NOTFOUND.
10547 2014-01-01 Joseph Myers <joseph@codesourcery.com>
10549 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10552 2014-01-01 Allan McRae <allan@archlinux.org>
10554 * scripts/update-copyrights: Update configure input file suffix.
10556 * NEWS: Update copyright year.
10557 * catgets/gencat.c: Likewise.
10558 * csu/version.c: Likewise.
10559 * debug/catchsegv.sh: Likewise.
10560 * debug/pcprofiledump.c: Likewise.
10561 * debug/xtrace.sh: Likewise.
10562 * elf/ldconfig.c: Likewise.
10563 * elf/ldd.bash.in: Likewise.
10564 * elf/pldd.c: Likewise.
10565 * elf/sotruss.ksh: Likewise.
10566 * elf/sprof.c: Likewise.
10567 * iconv/iconv_prog.c: Likewise.
10568 * iconv/iconvconfig.c: Likewise.
10569 * locale/programs/locale.c: Likewise.
10570 * locale/programs/localedef.c: Likewise.
10571 * login/programs/pt_chown.c: Likewise.
10572 * malloc/memusage.sh: Likewise.
10573 * malloc/memusagestat.c: Likewise.
10574 * malloc/mtrace.pl: Likewise.
10575 * manual/libc.texinfo: Likewise.
10576 * nscd/nscd.c: Likewise.
10577 * nss/getent.c: Likewise.
10578 * nss/makedb.c: Likewise.
10579 * posix/getconf.c: Likewise.
10580 * scripts/test-installation.pl: Likewise.
10582 * All files with FSF copyright notices: Update copyright dates
10583 using scripts/update-copyrights.
10584 * intl/plural.c: Regenerated.
10585 * locale/programs/charmap-kw.h: Likewise.
10586 * locale/programs/locfile-kw.h: Likewise.
10588 2013-12-31 Mike Frysinger <vapier@gentoo.org>
10590 * sysdeps/unix/sysv/linux/configure: Regenerated.
10591 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10592 the linux/fanotify.h header.
10593 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10594 HAVE_LINUX_FANOTIFY_H is defined.
10596 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10598 * benchtests/cos-inputs: New inputs.
10599 * benchtests/sin-inputs: Likewise.
10601 * benchtests/atan-inputs: New inputs. Fix name of multiple
10602 precision fallback inputs.
10604 * benchtests/atanh-inputs: New inputs.
10605 * benchtests/tanh-inputs: Likewise.
10607 * benchtests/acosh-inputs: New inputs.
10608 * benchtests/asinh-inputs: Likewise.
10610 * benchtests/cosh-inputs: New inputs.
10611 * benchtests/sinh-inputs: Likewise.
10613 * benchtests/acos-inputs: Add more inputs.
10614 * benchtests/asin-inputs: Likewise.
10616 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
10619 * manual/arith.texi: Fix spelling.
10620 * manual/charset.texi: Likewise.
10621 * manual/errno.texi: Likewise.
10622 * manual/filesys.texi: Likewise.
10623 * manual/lang.texi: Likewise.
10624 * manual/llio.texi: Likewise.
10625 * manual/locale.texi: Likewise.
10626 * manual/message.texi: Likewise.
10627 * manual/resource.texi: Likewise.
10628 * manual/search.texi: Likewise.
10629 * manual/setjmp.texi: Likewise.
10630 * manual/stdio.texi: Likewise.
10631 * manual/string.texi: Likewise.
10632 * manual/sysinfo.texi: Likewise.
10633 * manual/time.texi: Likewise.
10635 2013-12-27 Carlos O'Donell <carlos@redhat.com>
10637 * po/sl.po: New file.
10639 2013-12-27 Mike Frysinger <vapier@gentoo.org>
10641 * .gitignore: Add core/.gdbinit/.gdb_history.
10643 2013-12-27 Allan McRae <allan@archlinux.org>
10646 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10647 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10649 2013-12-24 Brooks Moses <bmoses@google.com>
10651 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10652 all compilers that claim C++98 compliance, not just GCC.
10653 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10656 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10658 * NEWS: Restore accidentally deleted bug-fix entries.
10660 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
10661 Ondřej Bílka <neleai@seznam.cz>
10664 * malloc/malloc.c (_int_free): Perform sanity check only if we
10667 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
10670 * manual/stdio.texi (String Input Conversions): Clarify that character
10671 classes are not supported.
10673 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10677 2013-12-22 Joseph Myers <joseph@codesourcery.com>
10680 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10681 Calculate results for small negative arguments directly rather
10682 than using reflection formula with special underflow handling.
10684 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10685 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10686 sysdeps/unix/bsd/bsd4.4/syscalls.list.
10687 (fchflags): Likewise.
10688 (revoke): Likewise.
10689 (setlogin): Likewise.
10690 (sigaltstack): Likewise.
10692 (sigblock): Remove.
10693 (sigsetmask): Likewise.
10695 (waitpid): Likewise.
10696 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10697 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10699 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10700 * sysdeps/unix/bsd/Makefile: ... here.
10701 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10702 * sysdeps/unix/bsd/Versions: ... here.
10703 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10704 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10705 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10706 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10707 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10708 * sysdeps/unix/bsd/sigblock.c: ... here.
10709 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10710 * sysdeps/unix/bsd/sigsetmask.c: ... here.
10711 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10712 * sysdeps/unix/bsd/sigvec.c: ... here.
10713 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10714 * sysdeps/unix/bsd/tcdrain.c: ... here.
10715 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10716 * sysdeps/unix/bsd/tcgetattr.c: ... here.
10717 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10718 * sysdeps/unix/bsd/tcsetattr.c: ... here.
10719 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10720 * sysdeps/unix/bsd/wait.c: ... here.
10721 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10722 * sysdeps/unix/bsd/wait3.c: ... here.
10723 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10724 * sysdeps/unix/bsd/waitpid.c: ... here.
10726 2013-12-21 Joseph Myers <joseph@codesourcery.com>
10729 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10730 round-to-nearest for [!USE_AS_EXPM1L].
10731 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10732 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
10733 more tests of exp and exp10. Expect some exp10 tests to miss
10734 exceptions or fail in directed rounding modes.
10735 * math/auto-libm-test-out: Regenerated.
10736 * math/libm-test.inc (exp10_tonearest_test_data): New array.
10737 (exp10_test_tonearest): New function.
10738 (exp10_towardzero_test_data): New array.
10739 (exp10_test_towardzero): New function.
10740 (exp10_downward_test_data): New array.
10741 (exp10_test_downward): New function.
10742 (exp10_upward_test_data): New array.
10743 (exp10_test_upward): New function.
10744 (main): Call the new functions.
10745 * sysdeps/i386/fpu/libm-test-ulps: Update.
10746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10748 2013-12-20 Joseph Myers <joseph@codesourcery.com>
10750 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10751 asinh, atan, atan2, atanh, cbrt, cos and cosh.
10752 * math/auto-libm-test-out: Regenerated.
10753 * math/libm-test.inc (acosh_test_data): Add more tests.
10754 (atanh_test_data): Likewise.
10755 (ceil_test_data): Likewise.
10756 (copysign_test_data): Likewise.
10757 * sysdeps/i386/fpu/libm-test-ulps: Update.
10758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760 * timezone/checktab.awk: Update from tzcode 2013i.
10761 * timezone/private.h: Likewise.
10762 * timezone/scheck.c: Likewise.
10763 * timezone/tzfile.h: Likewise.
10764 * timezone/tzselect.ksh: Likewise.
10765 * timezone/zdump.c: Likewise.
10766 * timezone/zic.c: Likewise.
10768 * math/auto-libm-test-in: Add tests of cpow.
10769 * math/auto-libm-test-out: Regenerated.
10770 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10771 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10773 (func_calc_desc): Add mpc_cc_c union field.
10774 (test_functions): Add cpow.
10775 (special_fill_2pi): New function.
10776 (special_real_inputs): Add 2pi.
10777 (calc_generic_results): Handle mpc_cc_c.
10778 * sysdeps/i386/fpu/libm-test-ulps: Update.
10779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10781 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10782 csqrt, ctan and ctanh.
10783 * math/auto-libm-test-out: Regenerated.
10784 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10785 (TEST_COND_x86): Likewise.
10786 (ccos_test_data): Use AUTO_TESTS_c_c.
10787 (ccosh_test_data): Likewise.
10788 (cexp_test_data): Likewise.
10789 (clog_test_data): Likewise.
10790 (csqrt_test_data): Likewise.
10791 (ctan_test_data): Likewise.
10792 (ctan_tonearest_test_data): Likewise.
10793 (ctan_towardzero_test_data): Likewise.
10794 (ctan_downward_test_data): Likewise.
10795 (ctan_upward_test_data): Likewise.
10796 (ctanh_test_data): Likewise.
10797 (ctanh_tonearest_test_data): Likewise.
10798 (ctanh_towardzero_test_data): Likewise.
10799 (ctanh_downward_test_data): Likewise.
10800 (ctanh_upward_test_data): Likewise.
10801 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10803 (func_calc_desc): Add mpc_c_c union field.
10804 (FUNC_mpc_c_c): New macro.
10805 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10806 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10808 (special_fill_min_subnorm_p120): New function.
10809 (special_real_inputs): Add min_subnorm_p120.
10810 (calc_generic_results): Handle mpc_c_c.
10811 * sysdeps/i386/fpu/libm-test-ulps: Update.
10812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10816 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10817 (do_sin_slow): New functions.
10818 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10819 (cslow2, csloww1, csloww2): Use the new functions.
10821 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10822 Use M to change sign of result instead of X. Assume X is
10824 (csloww1): Likewise.
10828 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10829 arguments A and DA.
10833 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10835 (sloww1): Don't adjust sign of DX.
10836 (csloww1): Likewise.
10837 (sloww2): Use X directly and don't adjust sign of DX.
10838 (csloww2): Likewise.
10840 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10842 * math/auto-libm-test-in: Add tests of cabs and carg.
10843 * math/auto-libm-test-out: Regenerated.
10844 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10845 (carg_test_data): Likewise.
10846 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10848 (func_calc_desc): Add mpc_c_f union field.
10849 (test_functions): Add cabs and carg.
10850 (calc_generic_results): Handle mpc_c_f.
10852 * sysdeps/powerpc/powerpc32/libgcc-compat.S
10853 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10854 as a macro and a compat symbol.
10855 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10856 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10857 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10858 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10859 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10860 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10862 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10864 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10866 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10868 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10870 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10872 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10873 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10876 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10878 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10880 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10882 * manual/texinfo.tex: Update to version 2013-11-26.10 with
10883 trailing whitespace removed.
10884 * scripts/config.guess: Update to version 2013-11-29.
10885 * scripts/config.sub: Update to version 2013-10-01.
10887 * math/auto-libm-test-in: Add tests of sincos.
10888 * math/auto-libm-test-out: Regenerated.
10889 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10890 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10892 (func_calc_desc): Add mpfr_f_11 union field.
10893 (test_functions): Add sincos.
10894 (calc_generic_results): Handle mpfr_f_11.
10895 * sysdeps/i386/fpu/libm-test-ulps: Update.
10896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10898 2013-12-19 Andreas Schwab <schwab@suse.de>
10900 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10902 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10903 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10904 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10906 2013-12-19 Joseph Myers <joseph@codesourcery.com>
10908 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10909 * sysdeps/i386/fpu/libm-test-ulps: Update.
10910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10913 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10914 round-to-nearest mode when using frndint.
10915 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10916 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10919 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
10921 * math/auto-libm-test-out: Regenerated.
10922 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10923 (TEST_COND_x86): Likewise.
10924 (expm1_tonearest_test_data): New array.
10925 (expm1_test_tonearest): New function.
10926 (expm1_towardzero_test_data): New array.
10927 (expm1_test_towardzero): New function.
10928 (expm1_downward_test_data): New array.
10929 (expm1_test_downward): New function.
10930 (expm1_upward_test_data): New array.
10931 (expm1_test_upward): New function.
10932 (main): Run the new test functions.
10933 * sysdeps/i386/fpu/libm-test-ulps: Update.
10934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10936 * include/features.h: Update comment documenting feature test
10937 macros. Mention _DEFAULT_SOURCE in comment.
10938 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10939 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10940 _BSD_SOURCE and _SVID_SOURCE.
10941 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10942 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10943 !_SVID_SOURCE]: Likewise.
10944 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10945 (__USE_POSIX_IMPLICITLY): Define.
10946 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10947 (_POSIX_SOURCE): Undefine and redefine.
10948 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10949 (_POSIX_C_SOURCE): Likewise.
10950 * manual/creature.texi (_DEFAULT_SOURCE): Document.
10951 (Feature Test Macros): Update documentation of default features.
10953 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10955 * benchtests/Makefile: Add bench-strtok.
10956 * benchtests/bench-strtok.c: New file: strtok benchtest.
10958 2013-12-19 Allan McRae <allan@archlinux.org>
10960 * manual/install.texi: Suppress menu for plain text output.
10961 * INSTALL: Regenerated.
10963 2013-12-18 Brooks Moses <bmoses@google.com>
10966 * misc/getauxval.c: Include errno.h.
10967 (__getauxval): Set errno to ENOENT if the requested type is not
10969 * misc/sys/auxv.h (getauxval): Document that it may set errno;
10970 don't declare with __attribute_const__.
10971 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10972 * manual/startup.texi: Document that getauxval sets errno.
10974 2013-12-18 Joseph Myers <joseph@codesourcery.com>
10976 * math/auto-libm-test-in: Add tests of jn and yn.
10977 * math/auto-libm-test-out: Regenerated.
10978 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10979 (yn_test_data): Likewise.
10980 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10982 (func_calc_desc): Add mpfr_if_f union field.
10983 (FUNC_mpfr_if_f): New macro.
10984 (test_functions): Add jn and yn.
10985 (calc_generic_results): Assert type of second input for
10986 mpfr_ff_f. Handle mpfr_if_f.
10987 (output_for_one_input_case): Disable all checking for arguments
10988 fitting floating-point types in case of an integer argument.
10989 * sysdeps/i386/fpu/libm-test-ulps: Update.
10990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10993 Don't expect fegetround reference in libm.so.
10995 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10997 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10998 $(config-cflags-nofma).
11000 2013-12-18 Joseph Myers <joseph@codesourcery.com>
11002 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
11003 * math/auto-libm-test-out: Regenerated.
11006 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
11007 to determine exponent and adjust argument to have exponent of -1.
11008 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
11010 * math/auto-libm-test-out: Regenerated.
11011 * sysdeps/i386/fpu/libm-test-ulps: Update.
11012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11014 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
11016 * manual/probes.texi: Remove cases when per-thread arenas are
11019 2013-12-18 Andreas Schwab <schwab@suse.de>
11021 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
11022 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
11023 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
11024 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
11025 * sysdeps/i386/i686/multiarch/Makefile: Update.
11026 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
11028 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
11031 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
11033 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
11036 Support TZ transition times < 00:00:00.
11037 This is needed for version-3 tz-format files; it supports time
11038 stamps past 2037 for America/Godthab (the only entry in the tz
11039 database for which this change is relevant).
11040 * manual/time.texi (TZ Variable): Document transition times
11041 from -167:59:59 through -00:00:01.
11042 * time/tzset.c (tz_rule): Time of day is now signed.
11043 (__tzset_parse_tz): Parse negative time of day.
11045 Document TZ transition times >= 25:00:00.
11046 * manual/time.texi (TZ Variable): Document transition times from
11047 25:00:00 through 167:59:59. These are already supported, and this
11048 support will help with version-3 tz-format files.
11050 * manual/time.texi (TZ Variable): Modernize North America example
11051 to reflect current (i.e., 2007-and-later) daylight saving rules.
11053 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
11055 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11057 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
11058 * sysdeps/unix/bsd/bits/stat.h: Likewise.
11059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
11060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
11061 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
11062 * sysdeps/unix/bsd/bsdstat.h: Likewise.
11063 * sysdeps/unix/bsd/clock.c: Likewise.
11064 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
11065 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
11066 * sysdeps/unix/bsd/init-posix.c: Likewise.
11067 * sysdeps/unix/bsd/poll.c: Likewise.
11068 * sysdeps/unix/bsd/ptsname.c: Likewise.
11069 * sysdeps/unix/bsd/seekdir.c: Likewise.
11070 * sysdeps/unix/bsd/setegid.c: Likewise.
11071 * sysdeps/unix/bsd/seteuid.c: Likewise.
11072 * sysdeps/unix/bsd/setgid.c: Likewise.
11073 * sysdeps/unix/bsd/setrgid.c: Likewise.
11074 * sysdeps/unix/bsd/setruid.c: Likewise.
11075 * sysdeps/unix/bsd/setsid.c: Likewise.
11076 * sysdeps/unix/bsd/setuid.c: Likewise.
11077 * sysdeps/unix/bsd/sigaction.c: Likewise.
11078 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
11079 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
11080 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
11081 * sysdeps/unix/bsd/telldir.c: Likewise.
11082 * sysdeps/unix/bsd/times.c: Likewise.
11083 * sysdeps/unix/bsd/usleep.c: Likewise.
11085 * misc/Makefile (install-lib): Remove libbsd-compat.a.
11086 ($(objpfx)libbsd-compat.a): Remove rule.
11088 * include/features.h (__FAVOR_BSD): Do not define.
11089 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
11090 features conflicting with POSIX.
11091 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
11092 (_BSD_SOURCE): Remove description of not being a subset of other
11093 feature test macros.
11094 * manual/job.texi (getpgrp): Do not document BSD version.
11095 (getpgid): Do not document by reference to BSD getpgrp.
11096 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
11097 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
11098 * signal/signal.h [__FAVOR_BSD]: Likewise.
11099 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
11100 instead of making contents conditional on [__FAVOR_BSD].
11101 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
11103 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11107 2013-12-17 Joseph Myers <joseph@codesourcery.com>
11110 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
11111 values below 2**-450, not 2**-500.
11112 * math/auto-libm-test-in: Don't allow spurious underflow from
11114 * math/auto-libm-test-out: Regenerated.
11118 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
11119 values of ha and hb and sort them after adjusting subnormal
11121 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
11123 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
11124 values of ea and eb and sort them after adjusting subnormal
11126 * math/auto-libm-test-in: Do not expect some hypot tests of
11127 subnormals to fail. Add more hypot tests.
11128 * math/auto-libm-test-out: Regenerated.
11130 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11133 * sysdeps/sh/s_fma.c: New file.
11134 * sysdeps/sh/s_fmaf.c: New file.
11135 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
11137 * sysdeps/sh/Implies: Add sh/soft-fp.
11139 2013-12-16 Roland McGrath <roland@hack.frob.com>
11141 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
11142 level of indirection to members `objname', `errstring', `malloced'.
11143 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
11144 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
11145 it as the __longjmp argument (just pass 1 instead).
11146 (_dl_catch_error): Initialize C with argument pointers and address of
11147 volatile local ERRCODE rather than copying values out of C at return.
11149 2013-12-16 Joseph Myers <joseph@codesourcery.com>
11151 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
11152 * math/auto-libm-test-out: Regenerated.
11153 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
11154 (hypot_test_data): Likewise.
11155 (pow_test_data): Likewise.
11156 (pow_tonearest_test_data): Likewise.
11157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11159 (func_calc_desc): Add mpfr_ff_f union field.
11160 (FUNC_mpfr_ff_f): New macro.
11161 (test_functions): Add atan2, hypot and pow.
11162 (special_fill_min): New function.
11163 (special_fill_minus_min): Likewise.
11164 (special_fill_min_subnorm): Likewise.
11165 (special_fill_minus_min_subnorm): Likewise.
11166 (special_real_inputs): Add min, -min, min_subnorm and
11168 (calc_generic_results): Handle mpfr_ff_f.
11169 * sysdeps/i386/fpu/libm-test-ulps: Update.
11170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11172 2013-12-16 Will Newton <will.newton@linaro.org>
11174 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
11175 (Aligned Memory Blocks): Add documentation for aligned_alloc
11176 and suggest it as an alternative to posix_memalign.
11177 (Hooks for Malloc): Document __memalign_hook is also called
11178 for aligned_alloc. (Summary of Malloc): Add summary for
11179 aligned alloc. Document __memalign_hook is also called
11182 2013-12-16 Will Newton <will.newton@linaro.org>
11184 * manual/memory.texi (Malloc Examples): Clarify default
11185 alignment documentation. Suggest posix_memalign rather
11186 than memalign or valloc.
11187 (Aligned Memory Blocks): Remove suggestion to use memalign
11188 or valloc. Remove obsolete comment about BSD.
11189 Document memalign errno values and mark the function obsolete.
11190 Document posix_memalign returned error codes. Mark valloc
11191 as obsolete. (Hooks for Malloc): __memalign_hook is also
11192 called for posix_memalign and valloc.
11193 (Summary of Malloc): Add posix_memalign to function summary.
11194 __memalign_hook is also called for posix_memalign and valloc.
11196 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11198 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
11202 (sloww): Use mynumber union. Expand ternary operator into
11203 if-else statements.
11204 (cslow): use mynumber union.
11206 2013-12-16 Allan McRae <allan@archlinux.org>
11208 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
11209 * configure: Regenerated.
11211 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
11214 * configure.ac: Added --enable-maintainer-mode. Check for
11215 autoconf when enabled.
11216 * configure: Regenerated.
11218 * nscd/nscd.service: New file.
11219 * nscd/nscd.tmpfiles: New file.
11221 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
11224 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
11225 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
11226 * sysdeps/x86_64/multiarch/strstr.c: ... here.
11227 (strstr): Add __strstr_sse2_unaligned ifunc.
11228 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
11229 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
11230 (strcasestr): Remove __strcasestr_sse42 ifunc.
11231 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
11232 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11235 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11237 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
11238 * sysdeps/sh/bits/fenv.h: ... here.
11239 * sysdeps/sh/sh4/fpu/bits: Remove directory.
11241 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11243 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
11245 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
11246 hypotf multiarch implementations.
11247 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
11248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
11249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
11250 multiarch hypot for PPC64.
11251 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
11252 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
11253 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
11254 multiarch hypotf for PPC64.
11256 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
11257 modff multiarch implementations.
11258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
11259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
11260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
11261 multiarch modf for PPC64.
11262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
11263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
11264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
11265 multiarch modff for PPC64.
11267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
11268 and logl multiarch implementations.
11269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
11270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
11271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
11272 multiarch logb for PPC64.
11273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
11274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
11275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
11276 multiarch logb for PPC64.
11277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
11278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
11279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
11280 multiarch logb for PPC64.
11282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
11283 isinff multiarch implementation.
11284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
11286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
11287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
11288 multiarch isinf for PPC64.
11289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
11291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
11292 multiarch isinff for PPC64.
11294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
11295 finitef multiarch implementation.
11296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
11298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
11299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
11300 multiarch finite for PPC64.
11301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
11303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
11304 multiarch finitef for PPC64.
11306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
11307 lrint multiarch implementation.
11308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
11310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
11311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
11312 multiarch llrint for PPC64.
11313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
11314 multiarch lrint for PPC64.
11316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
11317 copysignf multiarch implementation.
11318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
11320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
11322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
11323 multiarch copysign for PPC64.
11324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
11325 multiarch copysignf for PPC64.
11327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
11328 multiarch implementation.
11329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
11331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
11333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
11335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
11337 multiarch llround for PPC64.
11338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
11339 multiarch trunc for PPC64.
11340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
11341 multiarch truncf for PPC64.
11343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
11344 multiarch implementation.
11345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
11347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
11349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
11351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
11353 multiarch llround for PPC64.
11354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
11355 multiarch round for PPC64.
11356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
11357 multiarch roundf for PPC64.
11359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
11360 multiarch implementation.
11361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
11363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
11365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
11367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
11369 multiarch llround for PPC64.
11370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
11371 multiarch floor for PPC64.
11372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
11373 multiarch floorf for PPC64.
11375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
11376 multiarch implementation.
11377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
11379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
11381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
11383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
11385 multiarch llround for PPC64.
11386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
11387 multiarch ceil for PPC64.
11388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
11389 multiarch ceilf for PPC64.
11391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11392 multiarch implementation.
11393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
11395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
11397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
11399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
11400 multiarch llround for PPC64.
11401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
11402 multiarch lround for PPC64.
11404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11405 multiarch implementation.
11406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
11407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
11408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
11410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
11411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
11412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
11413 multiarch isnan for PPC64.
11414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
11415 multiarch isnanf for PPC64.
11417 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
11418 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
11419 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
11420 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
11421 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
11422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
11424 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
11425 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11429 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11430 multiarch implementations.
11431 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11432 (__libc_ifunc_impl_list): Likewise.
11433 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11434 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11436 multiarch stpcpy for PPC64.
11438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11439 multiarch implementations.
11440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11441 (__libc_ifunc_impl_list): Likewise.
11442 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11443 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11444 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11445 multiarch strcpy for PPC64.
11447 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11448 redefine function name.
11449 (_wordcopy_fwd_dest_aligned): Likewise.
11450 (_wordcopy_bwd_aligned): Likewise.
11451 (_wordcopy_bwd_dest_aligned): Likewise.
11452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11453 multiarch implementations.
11454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11455 (__libc_ifunc_impl_list): Likewise.
11456 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11457 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11458 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11459 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11460 multiarch wcscpy for PPC64.
11462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11463 multiarch implementations.
11464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11465 (__libc_ifunc_impl_list): Likewise.
11466 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11467 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11468 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11469 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11470 multiarch wcscpy for PPC64.
11472 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11473 multiarch implementations.
11474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11475 (__libc_ifunc_impl_list): Likewise.
11476 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11477 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11478 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11479 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11480 multiarch wcsrchr for PPC64.
11482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11483 multiarch implementations.
11484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11485 (__libc_ifunc_impl_list): Likewise.
11486 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11487 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11488 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11489 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11490 multiarch wcschr for PPC64.
11492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11493 multiarch implementations.
11494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11495 (__libc_ifunc_impl_list): Likewise.
11496 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11497 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11498 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11499 multiarch strchrnul for PPC64.
11501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11504 (__libc_ifunc_impl_list): Likewise.
11505 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11506 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11507 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11508 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11514 (__libc_ifunc_impl_list): Likewise.
11515 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11516 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11517 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11518 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11522 multiarch implementations.
11523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11524 (__libc_ifunc_impl_list): Likewise.
11525 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11526 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11527 strncasecmp for PPC64.
11528 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11529 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11530 multiarch strncasecmp_l for PPC64.
11532 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11533 multiarch implementations.
11534 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11535 (__libc_ifunc_impl_list): Likewise.
11536 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11537 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11538 multiarch strcasecmp for PPC64.
11539 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11541 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11542 multiarch strcasecmp_l for PPC64.
11544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11547 (__libc_ifunc_impl_list): Likewise.
11548 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11549 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11550 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11556 (__libc_ifunc_impl_list): Likewise.
11557 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11558 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11559 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11565 (__libc_ifunc_impl_list): Likewise.
11566 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11567 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11568 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11569 rawmemrchr for PPC64.
11571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11574 (__libc_ifunc_impl_list): Likewise.
11575 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11576 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11577 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11583 (__libc_ifunc_impl_list): Likewise.
11584 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11585 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11586 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11592 (__libc_ifunc_impl_list): Likewise.
11593 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11594 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11595 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11598 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11599 avoid cretion of __bzero symbol.
11600 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11602 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11604 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11607 multiarch implementations.
11608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11609 (__libc_ifunc_impl_list): Likewise.
11610 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11611 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11612 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11613 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11615 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11616 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11617 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11618 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11619 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11621 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11623 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11626 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11627 (__libc_ifunc_impl_list): Likewise.
11628 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11629 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11630 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11631 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11635 multiarch for POWER/PPC64.
11636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11637 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11638 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11639 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11640 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11641 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11642 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11643 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11644 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11647 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11648 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11649 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11650 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11651 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11652 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11653 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11654 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11655 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11656 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11657 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11658 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11659 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11660 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11661 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11670 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11672 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11674 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11676 * benchtests/Makefile (bench): Add exp2 and log2.
11677 (LDLIBS-bench-exp2): Add -lm.
11678 (LDLIBS-bench-log2): Likewise.
11679 * benchtests/exp2-inputs: New inputs file.
11680 * benchtests/log2-inputs: New inputs file.
11681 * benchtests/log-inputs: Add new inputs.
11682 * benchtests/tan-inputs: Likewise.
11684 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11686 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11688 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11689 (csloww2): ... from here.
11691 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11692 instead of structures.
11693 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11694 (POLYNOMIAL): Likewise.
11695 (TAYLOR_SLOW): Likewise.
11701 (sloww1); Likewise.
11702 (sloww2): Likewise.
11703 (bsloww1): Likewise.
11704 (bsloww2): Likewise.
11705 (cslow2): Likewise.
11706 (csloww): Likewise.
11707 (csloww1): Likewise.
11708 (csloww2): Likewise.
11710 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
11712 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11713 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11714 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11715 * malloc/hooks.c (realloc_check): Likewise.
11717 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11718 * malloc/arena.c: Remove PER_THREAD conditional.
11719 [!PER_THREAD]: Remove code.
11720 (ptmalloc_unlock_all2): Likewise.
11721 (ptmalloc_init): Likewise.
11722 (_int_new_arena): Likewise.
11723 (arena_get2): Likewise.
11724 * malloc/hooks.c (__malloc_get_state): Likewise.
11725 (__malloc_set_state): Likewise.
11726 * malloc/malloc.c: Likewise.
11727 (struct malloc_state): Likewise.
11728 (struct malloc_par): Likewise.
11729 (__libc_realloc): Likewise.
11730 (__libc_mallopt): Likewise.
11732 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11734 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11736 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
11738 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11739 macro to a function. Check for zero perturb_byte.
11740 (_int_malloc, _int_free): Remove zero perturb_byte checks.
11742 * malloc/malloc.c: (force_reg): Remove.
11743 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11744 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11745 force_reg by atomic_forced_read.
11746 * malloc/arena.c (ptmalloc_init): Likewise.
11747 * malloc/hooks.c (top_check): Likewise.
11749 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11753 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
11755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11757 2013-12-08 Joseph Myers <joseph@codesourcery.com>
11759 * math/auto-libm-test-in: Add tests of lgamma.
11760 * math/auto-libm-test-out: Regenerated.
11761 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11762 (M_LOG_2_SQRT_PIl): Likewise.
11763 (lgamma_test_data): Use AUTO_TESTS_f_f1.
11764 * math/gen-auto-libm-tests.c (func_calc_method): Add value
11766 (func_calc_desc): Add mpfr_f_f1 union field.
11767 (ARGS1): New macro.
11775 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11776 (test_functions): Add lgamma.
11777 (calc_generic_results): Handle mpfr_f_f1.
11778 * sysdeps/i386/fpu/libm-test-ulps: Update.
11779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11781 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11783 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11784 __mpn_add_n for PowerPC64/POWER7.
11785 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11786 __mpn_sub_n for PowerPC64/POWER7.
11788 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11789 __mpn_addmul_1 for PowerPC64.
11790 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11791 __mpn_submul_1 for PowerPC64.
11792 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11794 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11797 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
11800 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11802 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11804 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11806 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11807 add multiarch folders.
11808 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11809 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11810 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11811 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11812 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11813 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11814 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11815 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11816 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11817 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11818 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11827 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11833 multiarch __ieee754_hypot for PowerPC32.
11834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11839 multiarch __ieee754_hypotf for PowerPC32.
11841 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11842 long_double_symbol only if __logbl is defined.
11843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11844 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11846 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11848 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11850 path for implementation.
11851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11852 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11854 logb, and logbl multiarch implementations for PowerPC32.
11855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11860 multiarch logb for PowerPC32.
11861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11866 multiarch logbf for PowerPC32.
11867 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11871 multiarch logbl implementation for PowerPC32.
11873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11874 and modff multiarch implementations.
11875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11880 multiarch modf for PowerPC32.
11881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11886 multiarch modff for PowerPC32.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11889 and lrintf multiarch implementations.
11890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11895 multiarch lrint for PowerPC32.
11896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11897 file: multiarch lrintf for PowerPC32.
11899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11900 and lroundf multiarch implementations.
11901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11908 multiarch lround for PowerPC32.
11909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11910 file: multiarch lroundf for PowerPC32.
11912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11913 copysign and copysignf multiarch implementations.
11914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11919 file: multiarch copysign for PowerPC32.
11920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11921 file: multiarch copysignf for PowerPC32.
11923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11924 and truncf multiarch implementations.
11925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11930 multiarch trunc for PowerPC32.
11931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11936 multiarch truncf for PowerPC32.
11938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11939 and roundf multiarch implementations.
11940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11945 multiarch round for PowerPC32.
11946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11951 multiarch roundf for PowerPC32.
11953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11954 and floorf multiarch implementations.
11955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11960 multiarch floor for PowerPC32.
11961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11966 multiarch floorf for PowerPC32.
11968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11969 and ceilf multiarch implementations.
11970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11975 multiarch ceil for PowerPC32.
11976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11981 multiarch ceilf for PowerPC32.
11983 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11985 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11986 FINITEF is defined.
11987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11988 and finitef multiarch implementations.
11989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11994 multiarch finite for PowerPC32.
11995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11998 file: multiarch finitef for PowerPC32.
12000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
12001 and isinff multiarch implementations.
12002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
12004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
12006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
12007 multiarch isinf for PowerPC32.
12008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
12010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
12011 multiarch isinff for PowerPC32.
12013 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
12014 alias when __isnan is defined.
12015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
12016 and isnanf multiarch implementations.
12017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
12019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
12021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
12023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
12025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
12026 multiarch isnan for PowerPC32.
12027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
12029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
12031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
12032 multiarch isnanf for PowerPC32.
12034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
12035 and sqrtf multiarch implementations.
12036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
12038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
12040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
12041 multiarch sqrt for PowerPC32.
12042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
12044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
12046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
12047 multiarch sqrtf for PowerPC32.
12049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
12050 and llroundf multiarch implementations.
12051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
12053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
12055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
12057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
12058 file: multiarch llround for PowerPC32.
12059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
12060 file: multiarch llroundf for PowerPC32.
12062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
12063 multiarch PowerPC32 fpu implementations.
12064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
12066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
12068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
12069 multiarch llrint for PowerPC32.
12070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
12072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
12074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
12079 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
12081 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
12083 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
12085 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
12086 multiarch wordcopy for PPC32.
12087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12090 (__libc_ifunc_impl_list): Likewise.
12091 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
12092 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
12093 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
12094 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
12095 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
12096 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
12098 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
12099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
12101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
12103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
12105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
12106 multiarch wcscpy for PPC32.
12107 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
12109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12110 (__libc_ifunc_impl_list): Likewise.
12111 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12112 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12113 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
12114 sysdeps/powerpc/power6/wcscpy.c.
12116 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
12117 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
12119 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
12121 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
12123 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
12124 multiarch wcsrchr for PPC32.
12125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12128 (__libc_ifunc_impl_list): Likewise.
12129 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
12130 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
12131 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
12132 sysdeps/powerpc/power6/wcsrchr.c.
12134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
12136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
12138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
12139 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
12140 multiarch wcschr for PPc32.
12141 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
12143 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12144 (__libc_ifunc_impl_list): Likewise.
12145 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
12146 * sysdeps/powerpc/power6/wcschr.c: ... to here.
12147 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
12148 sysdeps/powerpc/power6/wcschr.c.
12150 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
12151 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
12153 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
12154 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
12155 file: multiarch strchr for PPC32.
12156 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
12158 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12159 (__libc_ifunc_impl_list): Likewise.
12161 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
12163 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
12165 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
12167 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
12168 multiarch strchrnul for PPC32.
12169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
12171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12172 (__libc_ifunc_impl_list): Likewise.
12174 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
12176 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
12177 multiarch strncasecmp for PPC32.
12178 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
12180 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
12181 multiarch strncasecmp_l for PPC32.
12182 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
12183 strncasecmp multiarch objects.
12184 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12185 (__libc_ifunc_impl_list): Likewise.
12187 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
12189 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
12190 multiarch strncasecmp for PPC32.
12191 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
12194 multiarch strcasecmp_l for PPC32.
12195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
12197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12198 (__libc_ifunc_impl_list): Likewise.
12200 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
12202 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
12204 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
12205 multiarch strncmp for PPC32.
12206 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
12208 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12209 (__libc_ifunc_impl_list): Likewise.
12211 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
12212 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
12214 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
12215 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
12216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
12218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12219 (__libc_ifunc_impl_list): Likewise.
12221 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
12223 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
12225 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
12226 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
12228 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12229 (__libc_ifunc_impl_list): Likewise.
12231 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
12233 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
12235 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
12236 multiarch rawmemchr for PPC32.
12237 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
12239 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12240 (__libc_ifunc_impl_list): Likewise.
12242 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
12244 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
12246 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
12247 file: memrchr multiarch for PPC32.
12248 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
12250 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12251 (__libc_ifunc_impl_list): Likewise.
12253 * string/memchr.c (__memchr): Using macro to redefine symbol name.
12254 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
12256 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
12257 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
12258 multiarch memchr for PPC32.
12259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
12261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12262 (__libc_ifunc_impl_list): Likewise.
12264 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
12265 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
12267 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
12269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
12270 file: multiarch mempcpy for PPC32.
12271 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
12273 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12274 (__libc_ifunc_impl_list): Likewise.
12276 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
12277 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
12278 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
12279 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
12280 multiarch bzero for PPC32.
12281 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
12283 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
12285 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
12286 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
12287 file: multiarch memset for PPC32.
12288 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
12289 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
12290 memset multiarch objects.
12291 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12292 (__libc_ifunc_impl_list): Likewise.
12294 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
12296 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
12297 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
12299 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
12300 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
12302 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12303 (__libc_ifunc_impl_list): Likewise.
12305 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
12306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
12307 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
12309 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
12311 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
12313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12314 multiarch memcpy for PPC32.
12315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
12317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12318 (__libc_ifunc_impl_list): Likewise.
12320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
12321 support multiarch for POWER/PPC32.
12322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
12324 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
12326 Implies file to make multiarch folder appers before the fpu and
12327 default folder for power4 configuration.
12329 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12331 * scripts/bench.pl: Append volatile keyword to type.
12333 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12335 * sysdeps/sh/sotruss-lib.c: New file.
12336 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
12338 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12342 2013-12-05 Joseph Myers <joseph@codesourcery.com>
12345 * math/w_tgamma.c: Include <errno.h>.
12346 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
12347 * math/w_tgammaf.c: Include <errno.h>.
12348 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
12349 * math/w_tgammal.c: Include <errno.h>.
12350 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
12351 * math/auto-libm-test-in: Do not allow missing errno on tgamma
12352 underflow. Add more tgamma tests.
12353 * math/auto-libm-test-out: Regenerated.
12354 * sysdeps/i386/fpu/libm-test-ulps: Update.
12355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12357 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
12358 sin, sinh, tan, tanh, tgamma, y0 and y1.
12359 * math/auto-libm-test-out: Regenerated.
12360 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12361 (TEST_COND_x86): Likewise.
12362 (M_E2l): Remove macro.
12364 (M_2_SQRT_PIl): Likewise.
12365 (M_SQRT_PIl): Likewise.
12366 (M_1_DIV_El): Likewise.
12367 (log_test_data): Use AUTO_TESTS_f_f.
12368 (log10_test_data): Likewise.
12369 (log1p_test_data): Likewise.
12370 (log2_test_data): Likewise.
12371 (sin_test_data): Likewise.
12372 (sin_tonearest_test_data): Likewise.
12373 (sin_towardzero_test_data): Likewise.
12374 (sin_downward_test_data): Likewise.
12375 (sin_upward_test_data): Likewise.
12376 (sinh_test_data): Likewise.
12377 (sinh_tonearest_test_data): Likewise.
12378 (sinh_towardzero_test_data): Likewise.
12379 (sinh_downward_test_data): Likewise.
12380 (sinh_upward_test_data): Likewise.
12381 (tan_test_data): Likewise.
12382 (tan_tonearest_test_data): Likewise.
12383 (tan_towardzero_test_data): Likewise.
12384 (tan_downward_test_data): Likewise.
12385 (tan_upward_test_data): Likewise.
12386 (tanh_test_data): Likewise.
12387 (tgamma_test_data): Likewise.
12388 (y0_test_data): Likewise.
12389 (y1_test_data): Likewise.
12390 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
12391 (special_real_inputs): Add pi/4.
12392 * sysdeps/i386/fpu/libm-test-ulps: Update.
12393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12395 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12397 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
12398 "longjmp_target" static probes.
12399 (__longjmp): Rename to __longjmp_symbol.
12400 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12401 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
12402 on which longjmp to generate.
12403 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
12406 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12407 (__sigjmp_save): Rename to __sigjmp_save_symbol.
12408 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12409 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
12410 and __sigjmp_save_symbol based on which sigsetjmp to generated.
12411 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
12412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
12413 __longjmp_symbol based on which __longjmp to generate.
12414 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
12416 (setjmp): Rename to setjmp_symbol.
12417 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12418 (_setjmp): Rename to _setjmp_symbol.
12419 (__sigsetjmp): Rename to __sigsetjmp_symbol.
12420 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
12421 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
12422 which setjmp to generate.
12423 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
12424 "longjmp_target" static probes.
12426 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12428 * benchtests/README: Add note about output arguments.
12429 * benchtests/bench-sincos.c: Remove file.
12430 * benchtests/sincos-inputs: New file.
12431 * scripts/bench.pl: Identify output arguments and define
12432 static variables for them.
12434 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12437 * Makefile (INSTALL): Add install-plain.texi as the primary
12439 * manual/install-plain.texi: New file.
12440 * manual/install.texi: Include node directive only for
12441 non-plaintext output.
12443 2013-12-04 Joseph Myers <joseph@codesourcery.com>
12445 * stdlib/longlong.h: Update from GCC.
12449 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12450 * math/w_j0f.c (y0f): Likewise.
12451 * math/w_j0l.c (__y0l): Likewise.
12452 * math/w_j1.c (y1): Likewise.
12453 * math/w_j1f.c (y1f): Likewise.
12454 * math/w_j1l.c (__y1l): Likewise
12455 * math/w_jn.c (yn): Likewise.
12456 * math/w_jnf.c (ynf): Likewise.
12457 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12458 Bessel function pole errors in _POSIX_ mode. Use NAN as return
12459 value for Bessel function domain errors outside _SVID_ mode.
12460 Adjust sign of return value for yn (negative integer, 0).
12461 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12462 by zero in return for negative x and set sign appropriately for
12464 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12465 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12466 * math/libm-test.inc (y0_test_data): Add more tests and adjust
12467 expectations in error cases.
12468 (y1_test_data): Likewise.
12469 (yn_test_data): Likewise.
12470 * sysdeps/i386/fpu/libm-test-ulps: Update.
12471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12473 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12475 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12476 "64" to "64-v1". Add "64-v2".
12477 (abi-64-options): Rename to ...
12478 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
12479 (abi-64-condition): Rename to ...
12480 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
12481 (abi-64-ld-soname): Rename to ...
12482 (abi-64-v1-ld-soname): ... this.
12483 (abi-64-v2-options): Define.
12484 (abi-64-v2-condition): Likewise.
12485 (abi-64-v2-ld-soname): Likewise.
12486 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12487 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12492 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12493 Alan Modra <amodra@gmail.com>
12495 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12496 New versions for use with the ELFv2 ABI.
12497 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12498 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12500 (struct La_ppc64v2_retval): Likewise.
12501 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12502 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12503 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12504 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12505 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12506 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12507 Do not save or restore CR.
12508 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12509 (_dl_profile_resolve): Do no save or restore CR. Support extended
12510 return values for ELFv2 ABI. Fix location of FPR return registers.
12511 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12512 updated values for _CALL_ELF == 2.
12513 (La_regs, La_retval, int_retval): Likewise.
12515 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12517 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12518 (FRAME_MIN_SIZE_PARM): Likewise.
12519 (FRAME_BACKCHAIN): Likewise.
12520 (FRAME_CR_SAVE): Likewise.
12521 (FRAME_LR_SAVE): Likewise.
12522 (FRAME_TOC_SAVE): Likewise.
12523 (FRAME_PARM_SAVE): Likewise.
12524 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12525 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12526 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12527 (call_mcount_parm_offset): New macro.
12528 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12529 (PROF): Use symbolic stack frame offsets.
12530 (TAIL_CALL_SYSCALL_ERROR): Likewise.
12531 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12532 Redefine in terms of FRAME_MIN_SIZE.
12533 (_dl_runtime_resolve): Use symbolic stack frame offsets.
12534 (_dl_profile_resolve): Likewise. Update comment.
12535 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12536 symbols stack frame offsets.
12537 (__sigsetjmp): Likewise.
12538 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12539 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12540 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12541 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12544 (FRAME_BACKCHAIN): Remove.
12545 (FRAME_CR_SAVE): Likewise.
12546 (FRAME_LR_SAVE): Likewise.
12547 (FRAME_COMPILER_DW): Likewise.
12548 (FRAME_LINKER_DW): Likewise.
12549 (FRAME_TOC_SAVE): Likewise.
12550 (FRAME_PARM_SAVE): Likewise.
12551 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12552 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12553 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12555 (CHECK_SP): Use symbolic stack frame offsets.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12557 zone" instead of caller's parameter save area for temp storage.
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12559 Likewise. Also, use symbolic stack frame offsets.
12560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12561 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12562 our own stack frame instead of the caller's.
12563 (__socket): Use symbolic stack frame offsets.
12565 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12566 Alan Modra <amodra@gmail.com>
12568 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12570 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12571 (PPC64_LOCAL_ENTRY_OFFSET): Define.
12572 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12574 (elf_machine_fixup_plt): Call it.
12575 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
12577 (elf_machine_rela): Update call to elf_machine_plt_conflict.
12578 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12579 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12580 r2 before calling target.
12582 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12583 Alan Modra <amodra@gmail.com>
12585 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12586 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12587 versions of macros to support ELFv2 ABI.
12588 (LOCALENTRY): New macro.
12589 (ENTRY, EALIGN): Use it.
12590 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12591 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12592 fall through into ENTRY entry point.
12593 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12594 Only define if _CALL_ELF != 2.
12596 (elf_machine_matches_host): Verify ABI version matches.
12597 (RTLD_START): Use LOCALENTRY.
12598 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12599 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12600 (PLT_ENTRY_WORDS): New macro.
12601 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12602 (elf_machine_runtime_setup): Support ELFv2 ABI.
12603 (elf_machine_fixup_plt): Likewise.
12604 (elf_machine_plt_conflict): Likewise.
12605 (resolve_ifunc): Likewise.
12606 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12607 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12610 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12612 (makecontext): Support ELFv2 ABI.
12613 * elf/elf.h (EF_PPC64_ABI): Define.
12615 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12617 * sysdeps/powerpc/powerpc64/sysdep.h
12618 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12619 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12620 (ENTRY) [ASSEMBLER]: ... but instead here ...
12621 (EALIGN) [ASSEMBLER]: ... and here.
12622 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12623 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12624 (ENTRY_2) [!ASSEMBLER]: Use it.
12625 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12626 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
12627 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12628 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12629 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12631 Use PPC64_LOAD_FUNCPTR.
12633 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12635 2013-12-04 Alan Modra <amodra@gmail.com>
12637 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12638 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12639 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12640 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12642 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12643 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12644 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12645 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12646 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12647 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12649 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12652 (__makecontext): Fix incorrect CFI when backtracing out of
12653 context created via makecontext.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12655 (__setcontext): Fix incorrect CFI during switch to new context.
12656 (__novec_setcontext): Likewise.
12658 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12661 * time/strptime_l.c (__strptime_internal): Allow modifiers
12663 * time/tst-strptime.c (day_tests): Add testcase.
12665 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12667 * scripts/bench.pl: Skip over blank lines.
12669 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
12672 * manual/time.texi (Calendar Time): Clarify what timezone functions
12675 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12679 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
12681 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12683 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12684 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12685 * debug/memset_chk.c (__memset_chk): Likewise.
12686 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12687 * debug/strncpy_chk.c: Likewise.
12689 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12693 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12694 (__ieee754_exp): For possibly underflowing results, check size of
12695 result and force underflow exception if required.
12696 * math/auto-libm-test-in: Add more tests of exp.
12697 * math/auto-libm-test-out: Regenerated.
12698 * sysdeps/i386/fpu/libm-test-ulps: Update.
12699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12703 * math/w_exp2f.c (__exp2f): Likewise.
12704 * math/w_exp2l.c (__exp2l): Likewise.
12705 * math/auto-libm-test-in: Do not allow missing errno on exp2
12707 * math/auto-libm-test-out: Regenerated.
12709 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
12712 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12713 handle filename validation.
12714 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12717 2013-12-03 Joseph Myers <joseph@codesourcery.com>
12720 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12721 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12722 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12724 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12726 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12728 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12729 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12731 * math/auto-libm-test-in: Don't allow missing errno from erfc.
12732 Add more erfc tests.
12733 * math/auto-libm-test-out: Regenerated.
12734 * sysdeps/i386/fpu/libm-test-ulps: Update.
12735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12737 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12738 exp2, expm1, j0 and j1.
12739 * math/auto-libm-test-out: Regenerated.
12740 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12741 (erfc_test_data): Likewise.
12742 (exp_test_data): Likewise.
12743 (exp_tonearest_test_data): Likewise.
12744 (exp_towardzero_test_data): Likewise.
12745 (exp_downward_test_data): Likewise.
12746 (exp_upward_test_data): Likewise.
12747 (exp10_test_data): Likewise.
12748 (exp2_test_data): Likewise.
12749 (expm1_test_data): Likewise.
12750 (j0_test_data): Likewise.
12751 (j1_test_data): Likewise.
12752 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12753 (input_flag_type): Add flag_xfail_rounding.
12754 (input_flags): Add xfail-rounding.
12755 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12756 (output_for_one_input_case): Handle flag_xfail_rounding.
12757 * sysdeps/i386/fpu/libm-test-ulps: Update.
12758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12760 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
12763 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12766 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12769 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12770 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12771 (STAP_PROBE0): New macro.
12772 (STAP_PROBE1): Likewise.
12773 (STAP_PROBE2): Likewise.
12774 (STAP_PROBE3): Likewise.
12775 (STAP_PROBE4): Likewise.
12777 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
12779 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12781 2013-12-02 Steve Ellcey <sellcey@mips.com>
12783 * benchtests/Makefile (bench): Add sqrt.
12784 (LDLIBS-bench-sqrt): New.
12785 * benchtests/sqrt-input: New.
12787 2013-12-02 Pavel Simerda <psimerda@redhat.com>
12789 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12790 (GAIH_EAI): Likewise.
12791 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12792 (gaih_inet): Likewise.
12793 (getaddrinfo): Don't use GAIH_EAI.
12795 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12796 (struct gaih): Remove definition.
12798 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12800 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12801 Use HERRNOP directly.
12803 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12807 2013-11-30 Joseph Myers <joseph@codesourcery.com>
12809 * math/gen-auto-libm-tests.c (test_functions): Add more
12810 single-argument functions.
12811 (special_fill_pi_2): New function.
12812 (special_fill_minus_pi_2): Likewise.
12813 (special_fill_pi_6): Likewise.
12814 (special_fill_minus_pi_6): Likewise.
12815 (special_fill_pi_3): Likewise.
12816 (special_fill_2pi_3): Likewise.
12817 (special_fill_e): Likewise.
12818 (special_fill_1_e): Likewise.
12819 (special_fill_e_minus_1): Likewise.
12820 (special_real_inputs): Add more special inputs.
12821 (output_for_one_input_case): Do not require ERANGE on underflow to
12822 zero if round-to-nearest result does not underflow to zero, unless
12823 exact results required.
12824 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12825 atan, atanh, cbrt, cos and cosh.
12826 * math/auto-libm-test-out: Regenerated.
12827 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12828 (acos_tonearest_test_data): Likewise.
12829 (acos_towardzero_test_data): Likewise.
12830 (acos_downward_test_data): Likewise.
12831 (acos_upward_test_data): Likewise.
12832 (acosh_test_data): Likewise.
12833 (asin_test_data): Likewise.
12834 (asin_tonearest_test_data): Likewise.
12835 (asin_towardzero_test_data): Likewise.
12836 (asin_upward_test_data): Likewise.
12837 (asinh_test_data): Likewise.
12838 (atan_test_data): Likewise.
12839 (atanh_test_data): Likewise.
12840 (cbrt_test_data): Likewise.
12841 (cos_test_data): Likewise.
12842 (cos_tonearest_test_data): Likewise.
12843 (cos_towardzero_test_data): Likewise.
12844 (cos_downward_test_data): Likewise.
12845 (cos_upward_test_data): Likewise.
12846 (cosh_test_data): Likewise.
12847 (cosh_tonearest_test_data): Likewise.
12848 (cosh_towardzero_test_data): Likewise.
12849 (cosh_downward_test_data): Likewise.
12850 (cosh_upward_test_data): Likewise.
12851 * sysdeps/i386/fpu/libm-test-ulps: Update.
12852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12854 2013-11-29 Joseph Myers <joseph@codesourcery.com>
12857 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12858 * math/w_exp10f.c (__exp10f): Likewise.
12859 * math/w_exp10l.c (__exp10l): Likewise.
12860 * math/libm-test.inc (exp10_test_data): Add more tests and expect
12861 errno settings in existing tests.
12864 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12865 precision control set to double precision.
12866 * sysdeps/i386/fpu/w_sqrt.c: New file.
12867 * math/auto-libm-test-in: Add more tests.
12868 * math/auto-libm-test-out: Update.
12870 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12871 (sqrt_test_tonearest): New function.
12872 (sqrt_towardzero_test_data): New variable.
12873 (sqrt_test_towardzero): New function.
12874 (sqrt_downward_test_data): New variable.
12875 (sqrt_test_downward): New function.
12876 (sqrt_upward_test_data): New variable.
12877 (sqrt_test_upward): New function.
12878 (main): Call the new functions.
12880 * math/gen-auto-libm-tests.c: New file.
12881 * math/auto-libm-test-in: Likewise.
12882 * math/auto-libm-test-out: New generated file.
12883 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12885 (%beautify): Add generated representations of zero.
12886 (top level): Set $auto_input and call parse_auto_input.
12887 (beautify): Remove trailing "f" from hex float constants.
12888 (parse_args): Handle XFAIL_TEST.
12889 (convert_condition): New function.
12890 (or_value): Likewise.
12891 (or_cond_value): Likewise.
12892 (generate_testfile): Handle AUTO_TESTS_* lines.
12893 (parse_auto_input): New function.
12894 * math/libm-test.inc (XFAIL_TEST): New macro.
12895 (ERRNO_UNCHANGED): Update value.
12896 (ERRNO_EDOM): Likewise.
12897 (ERRNO_ERANGE): Likewise.
12898 (IGNORE_RESULT): Likewise.
12899 (TEST_COND_flt_32): New macro.
12900 (TEST_COND_dbl_64): Likewise.
12901 (TEST_COND_ldbl_96_intel): Likewise.
12902 (TEST_COND_ldbl_96_m68k): Likewise.
12903 (TEST_COND_ldbl_128): Likewise.
12904 (TEST_COND_ldbl_128ibm): Likewise.
12905 (TEST_COND_long32): Likewise.
12906 (TEST_COND_long64): Likewise.
12907 (TEST_COND_before_rounding): Likewise.
12908 (TEST_COND_after_rounding): Likewise.
12909 (enable_test): Handle XFAIL_TEST flag.
12910 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12911 with finite results.
12912 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12913 auto-libm-test-out.
12915 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12916 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12919 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12920 __tls_get_addr_internal instead of __tls_get_offset in order to
12921 avoid GOT pointer dependency. Make rtld export
12922 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12923 __tls_get_addr since we are a __tls_get_offset platform.
12924 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12925 GOT pointer being set up before.
12926 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12928 2013-11-28 Joseph Myers <joseph@codesourcery.com>
12930 * manual/math.texi (Errors in Math Functions): Document accuracy
12934 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12935 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12936 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12937 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12938 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12939 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12940 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12941 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12942 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12943 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12944 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12945 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12946 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12947 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12948 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12949 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12951 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12952 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12953 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12954 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12955 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12957 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12961 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12962 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12963 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12964 atomic-feupdateenv and flt-rounds.
12965 * sysdeps/powerpc/nofpu/Versions (libc): Add
12966 __atomic_feholdexcept, __atomic_feclearexcept,
12967 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12968 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12969 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12970 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12971 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12976 * manual/arith.texi (FP Exceptions): Document that exceptions may
12977 not be raised when matherr is used.
12978 (Math Error Reporting): Document overflow in directed rounding
12979 modes. Document that errno may not be set when finite values are
12980 returned on overflow. Document intent to set errno on underflow
12981 only for underflow to zero.
12984 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12985 round-to-nearest then adjust result for other rounding modes.
12986 * include/fenv.h (fegetround): Use libm_hidden_proto.
12987 * math/fegetround.c (fegetround): Use libm_hidden_def.
12988 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12989 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12990 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12991 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12993 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12994 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12995 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12996 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12998 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13001 * nss/Versions (libnss_files): Add
13002 _nss_files_gethostbyname3_r.
13003 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
13005 (HOST_DB_LOOKUP): Remove macro.
13006 (_nss_files_gethostbyname_r): Implement function without the
13007 HOST_DB_LOOKUP macro.
13008 (_nss_files_gethostbyname2_r): Likewise.
13010 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
13012 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
13014 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
13016 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
13017 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
13020 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13022 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
13023 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
13024 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13025 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
13026 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
13027 __fe_nomask_env_priv and attribute_hidden.
13028 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
13029 (libc_feupdateenv_test_ppc): Likewise.
13030 (libc_feresetround_ppc): Likewise.
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13032 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
13033 compat_symbol macro.
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13035 (__fe_nomask_env): Likewise.
13036 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
13038 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13040 * string/Makefile: Remove ifunc tests.
13041 * string/test-string.h: Define TEST_IFUNC.
13042 * string/test-bcopy-ifunc.c: Remove.
13043 * string/test-bzero-ifunc.c: Likewise.
13044 * string/test-memccpy-ifunc.c: Likewise.
13045 * string/test-memchr-ifunc.c: Likewise.
13046 * string/test-memcmp-ifunc.c: Likewise.
13047 * string/test-memcpy-ifunc.c: Likewise.
13048 * string/test-memmem-ifunc.c: Likewise.
13049 * string/test-memmove-ifunc.c: Likewise.
13050 * string/test-mempcpy-ifunc.c: Likewise.
13051 * string/test-memrchr-ifunc.c: Likewise.
13052 * string/test-memset-ifunc.c: Likewise.
13053 * string/test-rawmemchr-ifunc.c: Likewise.
13054 * string/test-stpcpy-ifunc.c: Likewise.
13055 * string/test-stpncpy-ifunc.c: Likewise.
13056 * string/test-strcasecmp-ifunc.c: Likewise.
13057 * string/test-strcasestr-ifunc.c: Likewise.
13058 * string/test-strcat-ifunc.c: Likewise.
13059 * string/test-strchr-ifunc.c: Likewise.
13060 * string/test-strchrnul-ifunc.c: Likewise.
13061 * string/test-strcmp-ifunc.c: Likewise.
13062 * string/test-strcpy-ifunc.c: Likewise.
13063 * string/test-strcspn-ifunc.c: Likewise.
13064 * string/test-strlen-ifunc.c: Likewise.
13065 * string/test-strncasecmp-ifunc.c: Likewise.
13066 * string/test-strncat-ifunc.c: Likewise.
13067 * string/test-strncmp-ifunc.c: Likewise.
13068 * string/test-strncpy-ifunc.c: Likewise.
13069 * string/test-strnlen-ifunc.c: Likewise.
13070 * string/test-strpbrk-ifunc.c: Likewise.
13071 * string/test-strrchr-ifunc.c: Likewise.
13072 * string/test-strspn-ifunc.c: Likewise.
13073 * string/test-strstr-ifunc.c: Likewise.
13075 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13077 * benchtests/Makefile: Remove ifunc tests.
13078 * benchtests/bench-string.h: Define TEST_IFUNC.
13079 * benchtests/bench-bcopy-ifunc.c: Remove.
13080 * benchtests/bench-bzero-ifunc.c: Likewise.
13081 * benchtests/bench-memccpy-ifunc.c: Likewise.
13082 * benchtests/bench-memchr-ifunc.c: Likewise.
13083 * benchtests/bench-memcmp-ifunc.c: Likewise.
13084 * benchtests/bench-memcpy-ifunc.c: Likewise.
13085 * benchtests/bench-memmem-ifunc.c: Likewise.
13086 * benchtests/bench-memmove-ifunc.c: Likewise.
13087 * benchtests/bench-mempcpy-ifunc.c: Likewise.
13088 * benchtests/bench-memrchr-ifunc.c: Likewise.
13089 * benchtests/bench-memset-ifunc.c: Likewise.
13090 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
13091 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
13092 * benchtests/bench-stpcpy-ifunc.c: Likewise.
13093 * benchtests/bench-stpncpy-ifunc.c: Likewise.
13094 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
13095 * benchtests/bench-strcasestr-ifunc.c: Likewise.
13096 * benchtests/bench-strcat-ifunc.c: Likewise.
13097 * benchtests/bench-strchr-ifunc.c: Likewise.
13098 * benchtests/bench-strchrnul-ifunc.c: Likewise.
13099 * benchtests/bench-strcmp-ifunc.c: Likewise.
13100 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
13101 * benchtests/bench-strcpy-ifunc.c: Likewise.
13102 * benchtests/bench-strcspn-ifunc.c: Likewise.
13103 * benchtests/bench-strlen-ifunc.c: Likewise.
13104 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
13105 * benchtests/bench-strncat-ifunc.c: Likewise.
13106 * benchtests/bench-strncmp-ifunc.c: Likewise.
13107 * benchtests/bench-strncpy-ifunc.c: Likewise.
13108 * benchtests/bench-strnlen-ifunc.c: Likewise.
13109 * benchtests/bench-strpbrk-ifunc.c: Likewise.
13110 * benchtests/bench-strrchr-ifunc.c: Likewise.
13111 * benchtests/bench-strsep-ifunc.c: Likewise.
13112 * benchtests/bench-strspn-ifunc.c: Likewise.
13113 * benchtests/bench-strstr-ifunc.c: Likewise.
13115 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13117 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
13119 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
13121 * resolv/netdb.h: Use __glibc_reserved instead __unused.
13122 * rt/aio.h: Likewise.
13123 * sysdeps/gnu/bits/utmp.h: Likewise.
13124 * sysdeps/gnu/bits/utmpx.h: Likewise.
13125 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13126 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
13127 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
13128 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
13129 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
13130 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
13131 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
13132 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
13133 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
13134 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
13137 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
13138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
13139 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13140 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
13141 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
13142 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
13143 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
13144 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
13145 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
13146 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
13147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
13148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
13149 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
13150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13151 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
13152 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
13153 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
13154 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
13155 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
13156 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
13157 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
13158 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13159 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
13160 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
13161 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
13162 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
13163 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
13164 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
13165 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
13166 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13168 2013-11-25 Carlos O'Donell <carlos@redhat.com>
13171 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
13172 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
13174 2013-11-25 Joseph Myers <joseph@codesourcery.com>
13176 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
13177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
13180 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
13183 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
13184 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
13185 (__fesetround): Remove define.
13186 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
13187 rounding and exceptions handling.
13188 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
13189 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
13190 (__fe_nomask_env): Likewise.
13191 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
13192 __fegetround instead of fegetround.
13193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13194 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13196 2013-11-21 Roland McGrath <roland@hack.frob.com>
13198 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
13201 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
13203 2013-11-21 Meador Inge <meadori@codesourcery.com>
13206 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
13207 (encrypt_r): Likewise.
13208 * malloc/obstack.h (obstack_free): Likewise.
13209 * posix/unistd.h (encrypt): Likewise.
13211 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
13213 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
13214 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
13215 DL_CALL_DT_FINI() that call the functions directly.
13216 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
13217 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
13218 * elf/dl-fini.c: Likewise.
13220 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
13222 * malloc/hooks.c (memalign_check): Add alignment rounding.
13223 * malloc/malloc.c (_mid_memalign): New function.
13224 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
13225 Implement by calling _mid_memalign.
13226 * manual/probes.texi (Memory Allocation Probes): Remove
13227 memory_valloc_retry and memory_pvalloc_retry.
13229 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13231 * locale/programs/locarchive.c (open_archive): Add const
13232 qualifier to ARCHIVEFNAME and copy default fname to
13236 * libio/tst-widetext.input: Rename Oriya to Odia.
13237 * locale/iso-639.def: Likewise.
13239 * manual/probes.texi (Mathematical Function Probes): Add
13240 documentation for sin, cos, asin and acos probes.
13241 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
13242 (__sin32): Add slowasin probe.
13243 (__cos32): Add slowacos probe.
13244 (__mpsin): Add slowsin probe.
13245 (__mpcos): Add slowcos probe.
13247 2013-11-19 Joseph Myers <joseph@codesourcery.com>
13250 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
13251 thread-local __sim_exceptions_thread and global
13252 __sim_exceptions_global.
13253 (__sim_disabled_exceptions): Change to thread-local
13254 __sim_disabled_exceptions_thread and global
13255 __sim_disabled_exceptions_global.
13256 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13257 and global __sim_round_mode_global.
13258 (__simulate_exceptions): Use thread-local floating-point state and
13259 set global state from it as needed.
13260 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
13261 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
13262 __sim_round_mode_thread.
13263 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
13264 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
13265 and global __sim_exceptions_global.
13266 (__sim_disabled_exceptions): Change to thread-local
13267 __sim_disabled_exceptions_thread and global
13268 __sim_disabled_exceptions_global.
13269 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
13270 and global __sim_round_mode_global.
13271 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
13272 (SIM_SET_GLOBAL): Likewise.
13273 * sysdeps/powerpc/soft-fp/sfp-machine.h
13274 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
13275 __sim_round_mode_thread.
13276 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
13277 __sim_disabled_exceptions_thread.
13278 (__sim_exceptions): Change to __sim_exceptions_thread.
13279 (__sim_disabled_exceptions): Change to
13280 __sim_disabled_exceptions_thread.
13281 (__sim_round_mode): Change to __sim_round_mode_thread.
13282 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
13283 thread-local floating-point state and set global state from it as
13285 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
13286 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
13287 (__sim_disabled_exceptions): Remove extern declaration.
13288 (feenableexcept): Use thread-local floating-point state and set
13289 global state from it as needed.
13290 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
13291 extern declaration.
13292 (__sim_disabled_exceptions): Likewise.
13293 (__sim_round_mode): Likewise.
13294 (__fegetenv): Use thread-local floating-point state.
13295 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
13296 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
13297 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
13298 floating-point state and set global state from it as needed.
13299 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
13300 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
13301 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
13303 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
13304 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
13306 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
13307 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
13308 Use __sim_round_mode_thread.
13309 * math/test-fenv-tls.c: New file.
13310 * math/Makefile (tests): Add test-fenv-tls.
13311 ($(objpfx)test-fenv-tls): Depend on
13312 $(common-objpfx)nptl/libpthread.so.
13314 2013-11-19 Andreas Schwab <schwab@suse.de>
13316 * locale/programs/locale.c (show_info): Decode wordarray elements.
13317 * locale/categories.def (LC_MONETARY): Add element for
13318 _NL_MONETARY_CRNCYSTR.
13319 * locale/C-monetary.c (conversion_rate): New variable.
13320 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
13323 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
13325 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13326 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
13328 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13330 * elf/Makefile (tst-auxv): New test.
13331 * elf/tst-auxv.c: New
13332 * elf/rtld.c (dl_main): Adjust AT_EXECFN
13334 2013-11-18 Joseph Myers <joseph@codesourcery.com>
13336 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
13337 (hidden_proto): Caller changed.
13338 (hidden_tls_proto): New macro.
13339 (libc_hidden_tls_proto): Likewise.
13340 (rtld_hidden_tls_proto): Likewise.
13341 (libm_hidden_tls_proto): Likewise.
13342 (libresolv_hidden_tls_proto): Likewise.
13343 (librt_hidden_tls_proto): Likewise.
13344 (libdl_hidden_tls_proto): Likewise.
13345 (libnss_files_hidden_tls_proto): Likewise.
13346 (libnsl_hidden_tls_proto): Likewise.
13347 (libnss_nisplus_hidden_tls_proto): Likewise.
13348 (libutil_hidden_tls_proto): Likewise.
13350 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
13353 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
13354 (decompose_rpath): Defer expansion to fillin_rpath.
13355 (_dl_init_paths): Pass linkmap to fillin_rpath.
13357 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13359 * benchtests/Makefile: Add strsep.
13360 * benchtests/bench-strsep.c: New file: strsep benchtest.
13361 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13363 2013-11-18 Andreas Schwab <schwab@suse.de>
13365 * locale/programs/locale.c (show_info) [case byte]: Check for
13366 '\377' instead of '\177'.
13367 * locale/C-monetary.c (not_available): Always use "\377".
13368 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
13369 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
13370 detect unavailable sign_posn locale elements.
13371 * locale/localeconv.c (__localeconv): For grouping and
13372 mon_grouping handle "\177" and "\377" like no grouping.
13373 (INT_ELEM): New macro. Use it to set all numeric members.
13374 * locale/programs/ld-monetary.c (monetary_read)
13375 <tok_mon_grouping>: Normalize single -1 to the empty string.
13376 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
13379 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
13383 when we match (nil).
13384 * stdio-common/tst-sscanf.c (struct test): Add testcase.
13386 2013-11-16 Joseph Myers <joseph@codesourcery.com>
13388 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
13389 (NO_TEST_INLINE): Update value.
13390 (ERRNO_UNCHANGED): Likewise.
13391 (ERRNO_EDOM): Likewise.
13392 (ERRNO_ERANGE): Likewise.
13393 (IGNORE_RESULT): Likewise.
13394 (check_float_internal): Check signs of NaN results if
13395 TEST_NAN_SIGN used.
13396 (check_complex): Pass TEST_NAN_SIGN flag through to second
13397 check_float_internal call.
13398 (copysign_test_data): Add tests with quiet NaNs as second
13399 argument. Use TEST_NAN_SIGN.
13400 (fabs_test_data): Add test of negative quiet NaN argument. Use
13402 (signbit_test_data): Add tests of quiet NaN argument.
13403 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
13405 * math/gen-libm-test.pl (show_exceptions): Take extra argument
13407 (parse_args): Handle function results specified as IGNORE.
13408 * math/libm-test.inc (IGNORE_RESULT): New macro.
13409 (check_float_internal): Do not check numerical result if flag
13411 (check_complex): Pass through IGNORE_RESULT to second
13412 check_float_internal call.
13413 (check_int): Do not check numerical result if flag IGNORE_RESULT
13415 (check_long): Likewise.
13416 (check_bool): Likewise.
13417 (check_longlong): Likewise.
13418 (lrint_test_data): Add tests of infinite and NaN arguments.
13419 (lrint_tonearest_test_data): Likewise.
13420 (lrint_towardzero_test_data): Likewise.
13421 (lrint_downward_test_data): Likewise.
13422 (lrint_upward_test_data): Likewise.
13423 (llrint_test_data): Likewise.
13424 (llrint_tonearest_test_data): Likewise.
13425 (llrint_towardzero_test_data): Likewise.
13426 (llrint_downward_test_data): Likewise.
13427 (llrint_upward_test_data): Likewise.
13428 (lround_test_data): Likewise.
13429 (llround_test_data): Likewise.
13431 * math/libm-test.inc (NO_TEST_INLINE): New macro.
13432 (ERRNO_UNCHANGED): Update value.
13433 (ERRNO_EDOM): Likewise.
13434 (ERRNO_ERANGE): Likewise.
13435 (NO_TEST_INLINE_FLOAT): New macro.
13436 (NO_TEST_INLINE_DOUBLE): Likewise.
13437 (enable_test): New function.
13438 (RUN_TEST_f_f): Check enable_test before running test.
13439 (RUN_TEST_2_f): Likewise.
13440 (RUN_TEST_fff_f): Likewise.
13441 (RUN_TEST_c_f): Likewise.
13442 (RUN_TEST_f_f1): Likewise.
13443 (RUN_TEST_fF_f1): Likewise.
13444 (RUN_TEST_fI_f1): Likewise.
13445 (RUN_TEST_ffI_f1): Likewise.
13446 (RUN_TEST_c_c): Likewise.
13447 (RUN_TEST_cc_c): Likewise.
13448 (RUN_TEST_f_i): Likewise.
13449 (RUN_TEST_f_i_tg): Likewise.
13450 (RUN_TEST_ff_i_tg): Likewise.
13451 (RUN_TEST_f_b): Likewise.
13452 (RUN_TEST_f_b_tg): Likewise.
13453 (RUN_TEST_f_l): Likewise.
13454 (RUN_TEST_f_L): Likewise.
13455 (RUN_TEST_fFF_11): Likewise.
13456 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13458 (cosh_test_data): Likewise.
13459 (exp_test_data): Likewise.
13460 (expm1_test_data): Likewise.
13461 (hypot_test_data): Likewise.
13462 (pow_test_data): Likewise.
13463 (sinh_test_data): Likewise.
13464 (tanh_test_data): Likewise.
13465 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13468 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13469 tests with quiet NaN input and output.
13470 (acosh_test_data): Likewise.
13471 (asin_test_data): Likewise.
13472 (asinh_test_data): Likewise.
13473 (atan_test_data): Likewise.
13474 (atanh_test_data): Likewise.
13475 (atan2_test_data): Likewise.
13476 (cbrt_test_data): Likewise.
13477 (cos_test_data): Likewise.
13478 (cosh_test_data): Likewise.
13479 (erf_test_data): Likewise.
13480 (erfc_test_data): Likewise.
13481 (exp_test_data): Likewise.
13482 (exp10_test_data): Likewise.
13483 (exp2_test_data): Likewise.
13484 (expm1_test_data): Likewise.
13485 (hypot_test_data): Likewise.
13486 (j0_test_data): Likewise.
13487 (j1_test_data): Likewise.
13488 (jn_test_data): Likewise.
13489 (lgamma_test_data): Likewise.
13490 (log_test_data): Likewise.
13491 (log10_test_data): Likewise.
13492 (log1p_test_data): Likewise.
13493 (log2_test_data): Likewise.
13494 (pow_test_data): Likewise.
13495 (scalb_test_data): Likewise.
13496 (sin_test_data): Likewise.
13497 (sincos_test_data): Likewise.
13498 (sinh_test_data): Likewise.
13499 (tan_test_data): Likewise.
13500 (tanh_test_data): Likewise.
13501 (tgamma_test_data): Likewise.
13502 (y0_test_data): Likewise.
13503 (y1_test_data): Likewise.
13504 (yn_test_data): Likewise.
13507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13508 argument being NaN and avoid computations with second argument in
13510 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13511 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13512 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13514 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
13516 * locale/iso-639.def: Add Chitwani Tharu (the).
13518 2013-11-14 Andreas Schwab <schwab@suse.de>
13520 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13521 word instead of empty string.
13523 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13526 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13528 (__fe_nomask_env): Likewise.
13530 2013-11-13 Steve Ellcey <sellcey@mips.com>
13532 * benchtests/bench-timing.h: Include time.h.
13534 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13537 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13539 * sysdeps/unix/sysv/linux/configure: Regenerated.
13541 2013-11-13 Joseph Myers <joseph@codesourcery.com>
13544 * stdlib/strtod_l.c (round_and_return): Do not consider
13545 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13546 exponent one less than half the least subnormal exponent.
13547 * stdlib/test-strtod-round-data: Add more tests.
13548 * stdlib/tst-strtod-round.c (tests): Regenerated.
13550 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13553 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13554 (__fe_mask_env): Likewise.
13555 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13556 libm_hidden_proto and add function prototype.
13557 (__fe_mask_env): Add function prototype.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13559 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13561 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13563 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13565 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13567 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13568 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13570 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13572 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13573 of htab_find_slot().
13575 2013-11-11 David S. Miller <davem@davemloft.net>
13578 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13579 symbol in the non-vis3 case in static builds.
13580 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13581 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13582 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13583 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13585 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13588 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13591 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13593 * benchtests/Makefile: Add bench-strtod.
13594 * benchtests/bench-strtod.c: New file: strtod benchtest
13596 2013-11-11 Andreas Schwab <schwab@suse.de>
13599 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13600 terminating NUL in key length.
13602 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13604 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13605 Add artificial ODP entry for vDSO symbol for PPC64.
13606 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13607 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13609 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
13612 * nss/getent.c (services_keys): Recognize services starting with digit.
13614 2013-11-06 David S. Miller <davem@davemloft.net>
13617 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13618 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13620 2013-11-06 Will Newton <will.newton@linaro.org>
13622 * manual/memory.texi (Malloc Examples): Remove register
13623 keyword from examples.
13625 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
13627 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13629 2013-11-04 Joseph Myers <joseph@codesourcery.com>
13632 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13633 depending on [__GCC_IEC_559 > 0].
13634 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13635 depending on [__GCC_IEC_559_COMPLEX > 0].
13637 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
13639 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13642 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
13644 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13646 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
13649 * malloc/malloc (malloc_info): Do not handle first bin as
13652 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
13654 * locale/iso-639.def: Add Central Nahuatl (nhn).
13656 2013-11-01 Bruno Haible <bruno@clisp.org>
13659 * manual/math.texi (BSD Random): Specify range upper bound as
13662 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
13664 * locale/iso-639.def: Add Meadow Mari (mhr).
13666 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
13668 [BZ #14752], [BZ #15763]
13669 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13671 * rt/tst_shm.c: Add test for escaping directory.
13673 2013-10-31 Andreas Schwab <schwab@suse.de>
13676 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13677 followed by 'x' as part of digit sequence.
13678 * stdio-common/tst-sscanf.c (double_tests2): New tests.
13680 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13683 * configure.ac: allow GNU Make 4.0 and greater.
13684 * configure: Regenerated.
13686 2013-10-30 Will Newton <will.newton@linaro.org>
13689 * malloc/hooks.c (memalign_check): Limit alignment to the
13690 maximum representable power of two.
13691 * malloc/malloc.c (__libc_memalign): Likewise.
13692 * malloc/tst-memalign.c (do_test): Add test for very
13693 large alignment values.
13694 * malloc/tst-posix_memalign.c (do_test): Likewise.
13696 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13699 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13700 (munmap_chunk): Likewise.
13701 (mremap_chunk): Likewise.
13703 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
13706 * stdlib/div.c (div): Remove obsolete code.
13707 * stdlib/ldiv.c (ldiv): Likewise.
13708 * stdlib/lldiv.c (lldiv): Likewise.
13710 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13713 * nss/nss_files/files-XXX.c (get_contents_ret): New
13715 (get_contents): New function.
13716 (internal_getent): Use it. Expand size of LINEBUFLEN.
13718 2013-10-30 Mike Frysinger <vapier@gentoo.org>
13720 * configure.in: Moved to ...
13721 * configure.ac: ... here. Change reference to configure.in
13723 * sysdeps/arm/preconfigure.ac: ... here.
13724 configure.in to configure.ac.
13725 * sysdeps/gnu/configure.in: Moved to ...
13726 * sysdeps/gnu/configure.ac: ... here.
13727 * sysdeps/i386/configure.in: Moved to ...
13728 * sysdeps/i386/configure.ac: ... here.
13729 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13730 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13731 * sysdeps/mach/configure.in: Moved to ...
13732 * sysdeps/mach/configure.ac: ... here.
13733 * sysdeps/mach/hurd/configure.in: Moved to ...
13734 * sysdeps/mach/hurd/configure.ac: ... here.
13735 * sysdeps/powerpc/configure.in: Moved to ...
13736 * sysdeps/powerpc/configure.ac: ... here.
13737 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13738 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13739 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13740 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13741 * sysdeps/s390/s390-32/configure.in: Moved to ...
13742 * sysdeps/s390/s390-32/configure.ac: ... here.
13743 * sysdeps/s390/s390-64/configure.in: Moved to ...
13744 * sysdeps/s390/s390-64/configure.ac: ... here.
13745 * sysdeps/sh/configure.in: Moved to ...
13746 * sysdeps/sh/configure.ac: ... here.
13747 * sysdeps/sparc/configure.in: Moved to ...
13748 * sysdeps/sparc/configure.ac: ... here.
13749 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13750 * sysdeps/unix/sysv/linux/configure.ac: ... here.
13751 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13752 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13753 * sysdeps/x86_64/configure.in: Moved to ...
13754 * sysdeps/x86_64/configure.ac: ... here.
13755 * sysdeps/x86_64/preconfigure.in: Moved to ...
13756 * sysdeps/x86_64/preconfigure.ac: ... here.
13757 * aclocal.m4: Change reference to configure.in to configure.ac.
13758 * config.h.in: Likewise.
13759 * manual/install.texi: Likewise.
13760 * manual/maint.texi: Likewise.
13761 * Makefile: Likewise.
13762 * malloc/Makefile: Likewise.
13763 * nscd/Makefile: Likewise.
13764 * Makeconfig: Change reference to configure.in and
13765 preconfigure.in to configure.ac and preconfigure.ac
13767 * INSTALL: Regenerated.
13768 * configure: Likewise.
13769 * sysdeps/gnu/configure: Likewise.
13770 * sysdeps/i386/configure: Likewise.
13771 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13772 * sysdeps/mach/configure: Likewise.
13773 * sysdeps/mach/hurd/configure: Likewise.
13774 * sysdeps/powerpc/configure: Likewise.
13775 * sysdeps/powerpc/powerpc32/configure: Likewise.
13776 * sysdeps/powerpc/powerpc64/configure: Likewise.
13777 * sysdeps/s390/s390-32/configure: Likewise.
13778 * sysdeps/s390/s390-64/configure: Likewise.
13779 * sysdeps/sh/configure: Likewise.
13780 * sysdeps/sparc/configure: Likewise.
13781 * sysdeps/unix/sysv/linux/configure: Likewise.
13782 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13783 * sysdeps/x86_64/configure: Likewise.
13784 * sysdeps/x86_64/preconfigure: Likewise.
13786 2013-10-29 Andreas Schwab <schwab@suse.de>
13788 * stdio-common/Makefile (tst-swscanf-ENV): Define.
13790 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13792 * benchtests/pow-inputs: Add new inputs.
13794 * benchtests/exp-inputs: Add new inputs.
13796 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13797 conditional check for return value.
13798 (__cos32): Likewise.
13800 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13802 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13803 to provide a boost for large inputs with word alignment.
13804 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13805 implementation based on optimized PPC64 strcpy.
13806 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13807 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13808 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13809 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13811 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13814 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13816 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13819 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13820 * time/tst-strptime.c (day_tests): Add testcase.
13822 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
13825 * manual/pattern.texi: Acknowledge that fnmatch can fail.
13827 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
13830 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13831 MAP_FAILED on error.
13833 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
13836 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13837 heap for large requests.
13839 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
13842 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13843 result if the result has no associated interface.
13844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13845 interface for all 127.X.Y.Z addresses.
13847 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
13849 * locale/iso-639.def: Add Ligurian (lij)
13851 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
13854 * sunrpc/rpc_main.c: Document rpcgen -5.
13856 2013-10-19 Michael Stahl <mstahl@redhat.com>
13858 * elf/rtld.c (do_preload): Print the reason why preloading failed.
13860 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13863 * posix/glob.c: Match only directories when trailing slash is present.
13864 * posix/tst-gnuglob.c (my_opendir): Do not open files.
13865 (main): Add testcase.
13867 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
13870 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13872 2013-10-18 Carlos O'Donell <carlos@redhat.com>
13874 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13875 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13876 AUTH_DES and cindex for FIPS 140-2.
13877 (DES Encryption): Add cindex FIPS 46-3.
13879 * locale/locarchive.h (struct locarhandle): Add fname.
13880 * locale/programs/localedef.c (main): Pass ARGV[remaining]
13881 if an optional argument was specified to --list-archive,
13883 * locale/programs/locarchive.c (show_archive_content): Take new
13884 argument fname and pass it via ah.fname to open_archive.
13885 * locale/programs/localedef.h: Update decl.
13886 (open_archive): If AH->fname is non-null, open that file
13887 rather than the default file name, and don't ignore ENOENT.
13888 (create_archive): Set AH.fname to NULL.
13889 (delete_locales_from_archive): Likewise.
13890 (add_locales_to_archive): Likewise.
13891 * locale/programs/locfile.c (write_all_categories): Likewise.
13893 2013-10-18 Joseph Myers <joseph@codesourcery.com>
13894 Aldy Hernandez <aldyh@redhat.com>
13896 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13897 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13898 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13899 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13900 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13901 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13902 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13903 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13904 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13905 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13907 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13908 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13909 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13910 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13912 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13918 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13919 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13921 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13922 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13923 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13924 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13926 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13927 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13928 * sysdeps/powerpc/preconfigure: Likewise.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13931 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13932 Replace contents of file by #include of <fenv_libc.h>.
13933 * sysdeps/powerpc/soft-fp/sfp-machine.h
13934 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13936 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13949 Allow copysignl PLT reference to be missing.
13951 2013-10-18 Richard Sandiford <richard@codesourcery.com>
13952 Joseph Myers <joseph@codesourcery.com
13955 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13957 (add_to_tablewc): Assert sequence of wide characters is nonempty.
13959 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13961 * elf/tst-tls-dlinfo.c: Don't include tls.h.
13962 * elf/tst-tls1.c: Likewise.
13963 * elf/tst-tls10.h: Likewise.
13964 * elf/tst-tls14.c: Likewise.
13965 * elf/tst-tls2.c: Likewise.
13966 * elf/tst-tls3.c: Likewise.
13967 * elf/tst-tls4.c: Likewise.
13968 * elf/tst-tls5.c: Likewise.
13969 * elf/tst-tls6.c: Likewise.
13970 * elf/tst-tls7.c: Likewise.
13971 * elf/tst-tls8.c: Likewise.
13972 * elf/tst-tls9.c: Likewise.
13973 * elf/tst-tlsmod1.c: Likewise.
13974 * elf/tst-tlsmod13.c: Likewise.
13975 * elf/tst-tlsmod13a.c: Likewise.
13976 * elf/tst-tlsmod14a.c: Likewise.
13977 * elf/tst-tlsmod16a.c: Likewise.
13978 * elf/tst-tlsmod16b.c: Likewise.
13979 * elf/tst-tlsmod2.c: Likewise.
13980 * elf/tst-tlsmod3.c: Likewise.
13981 * elf/tst-tlsmod4.c: Likewise.
13982 * elf/tst-tlsmod5.c: Likewise.
13983 * elf/tst-tlsmod6.c: Likewise.
13985 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
13988 * malloc/malloc.c: remove checks for statistics.
13990 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
13993 * inet/inet_net.c (inet_network): Detect additional invalid strings.
13994 * inet/tst-network.c: Add testcase.
13996 2013-10-17 Andreas Schwab <schwab@suse.de>
13999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
14000 to determine canonical name.
14002 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
14004 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
14005 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
14006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14007 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14009 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14010 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14011 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14012 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14013 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14014 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
14015 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14017 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14018 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14019 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14021 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14022 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14023 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14024 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14026 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14027 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
14028 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
14029 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14030 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14031 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
14032 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14033 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
14034 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14036 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14037 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14038 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14039 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14040 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14041 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14042 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14043 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14045 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14046 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14047 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14048 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14050 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14051 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14052 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14055 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14058 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14059 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14061 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14063 2013-10-17 Joseph Myers <joseph@codesourcery.com>
14066 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
14067 make result into a quiet NaN.
14069 2013-10-16 Joseph Myers <joseph@codesourcery.com>
14071 * soft-fp/adddf3.c: Fix horizontal whitespace.
14072 * soft-fp/addsf3.c: Likewise.
14073 * soft-fp/addtf3.c: Likewise.
14074 * soft-fp/divdf3.c: Likewise.
14075 * soft-fp/divsf3.c: Likewise.
14076 * soft-fp/divtf3.c: Likewise.
14077 * soft-fp/double.h: Likewise.
14078 * soft-fp/eqdf2.c: Likewise.
14079 * soft-fp/eqsf2.c: Likewise.
14080 * soft-fp/eqtf2.c: Likewise.
14081 * soft-fp/extenddftf2.c: Likewise.
14082 * soft-fp/extended.h: Likewise.
14083 * soft-fp/extendsfdf2.c: Likewise.
14084 * soft-fp/extendsftf2.c: Likewise.
14085 * soft-fp/extendxftf2.c: Likewise.
14086 * soft-fp/fixdfdi.c: Likewise.
14087 * soft-fp/fixdfsi.c: Likewise.
14088 * soft-fp/fixdfti.c: Likewise.
14089 * soft-fp/fixsfdi.c: Likewise.
14090 * soft-fp/fixsfsi.c: Likewise.
14091 * soft-fp/fixsfti.c: Likewise.
14092 * soft-fp/fixtfdi.c: Likewise.
14093 * soft-fp/fixtfsi.c: Likewise.
14094 * soft-fp/fixtfti.c: Likewise.
14095 * soft-fp/fixunsdfdi.c: Likewise.
14096 * soft-fp/fixunsdfsi.c: Likewise.
14097 * soft-fp/fixunsdfti.c: Likewise.
14098 * soft-fp/fixunssfdi.c: Likewise.
14099 * soft-fp/fixunssfsi.c: Likewise.
14100 * soft-fp/fixunssfti.c: Likewise.
14101 * soft-fp/fixunstfdi.c: Likewise.
14102 * soft-fp/fixunstfsi.c: Likewise.
14103 * soft-fp/fixunstfti.c: Likewise.
14104 * soft-fp/floatdidf.c: Likewise.
14105 * soft-fp/floatdisf.c: Likewise.
14106 * soft-fp/floatditf.c: Likewise.
14107 * soft-fp/floatsidf.c: Likewise.
14108 * soft-fp/floatsisf.c: Likewise.
14109 * soft-fp/floatsitf.c: Likewise.
14110 * soft-fp/floattidf.c: Likewise.
14111 * soft-fp/floattisf.c: Likewise.
14112 * soft-fp/floattitf.c: Likewise.
14113 * soft-fp/floatundidf.c: Likewise.
14114 * soft-fp/floatundisf.c: Likewise.
14115 * soft-fp/floatunditf.c: Likewise.
14116 * soft-fp/floatunsidf.c: Likewise.
14117 * soft-fp/floatunsisf.c: Likewise.
14118 * soft-fp/floatunsitf.c: Likewise.
14119 * soft-fp/floatuntidf.c: Likewise.
14120 * soft-fp/floatuntisf.c: Likewise.
14121 * soft-fp/floatuntitf.c: Likewise.
14122 * soft-fp/fmadf4.c: Likewise.
14123 * soft-fp/fmasf4.c: Likewise.
14124 * soft-fp/fmatf4.c: Likewise.
14125 * soft-fp/gedf2.c: Likewise.
14126 * soft-fp/gesf2.c: Likewise.
14127 * soft-fp/getf2.c: Likewise.
14128 * soft-fp/ledf2.c: Likewise.
14129 * soft-fp/lesf2.c: Likewise.
14130 * soft-fp/letf2.c: Likewise.
14131 * soft-fp/muldf3.c: Likewise.
14132 * soft-fp/mulsf3.c: Likewise.
14133 * soft-fp/multf3.c: Likewise.
14134 * soft-fp/negdf2.c: Likewise.
14135 * soft-fp/negsf2.c: Likewise.
14136 * soft-fp/negtf2.c: Likewise.
14137 * soft-fp/op-1.h: Likewise.
14138 * soft-fp/op-2.h: Likewise.
14139 * soft-fp/op-4.h: Likewise.
14140 * soft-fp/op-8.h: Likewise.
14141 * soft-fp/op-common.h: Likewise.
14142 * soft-fp/quad.h: Likewise.
14143 * soft-fp/single.h: Likewise.
14144 * soft-fp/soft-fp.h: Likewise.
14145 * soft-fp/sqrtdf2.c: Likewise.
14146 * soft-fp/sqrtsf2.c: Likewise.
14147 * soft-fp/sqrttf2.c: Likewise.
14148 * soft-fp/subdf3.c: Likewise.
14149 * soft-fp/subsf3.c: Likewise.
14150 * soft-fp/subtf3.c: Likewise.
14151 * soft-fp/truncdfsf2.c: Likewise.
14152 * soft-fp/trunctfdf2.c: Likewise.
14153 * soft-fp/trunctfsf2.c: Likewise.
14154 * soft-fp/trunctfxf2.c: Likewise.
14155 * soft-fp/unorddf2.c: Likewise.
14156 * soft-fp/unordsf2.c: Likewise.
14157 * soft-fp/unordtf2.c: Likewise.
14159 2013-10-15 Joseph Myers <joseph@codesourcery.com>
14161 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
14162 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
14164 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
14166 * elf/dl-libc.c: Clear initfini list after freeing.
14168 2013-10-14 Joseph Myers <joseph@codesourcery.com>
14170 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
14171 * soft-fp/addsf3.c: Likewise.
14172 * soft-fp/addtf3.c: Likewise.
14173 * soft-fp/divdf3.c: Likewise.
14174 * soft-fp/divsf3.c: Likewise.
14175 * soft-fp/divtf3.c: Likewise.
14176 * soft-fp/double.h: Likewise.
14177 * soft-fp/eqdf2.c: Likewise.
14178 * soft-fp/eqsf2.c: Likewise.
14179 * soft-fp/eqtf2.c: Likewise.
14180 * soft-fp/extenddftf2.c: Likewise.
14181 * soft-fp/extended.h: Likewise.
14182 * soft-fp/extendsfdf2.c: Likewise.
14183 * soft-fp/extendsftf2.c: Likewise.
14184 * soft-fp/extendxftf2.c: Likewise.
14185 * soft-fp/fixdfdi.c: Likewise.
14186 * soft-fp/fixdfsi.c: Likewise.
14187 * soft-fp/fixdfti.c: Likewise.
14188 * soft-fp/fixsfdi.c: Likewise.
14189 * soft-fp/fixsfsi.c: Likewise.
14190 * soft-fp/fixsfti.c: Likewise.
14191 * soft-fp/fixtfdi.c: Likewise.
14192 * soft-fp/fixtfsi.c: Likewise.
14193 * soft-fp/fixtfti.c: Likewise.
14194 * soft-fp/fixunsdfdi.c: Likewise.
14195 * soft-fp/fixunsdfsi.c: Likewise.
14196 * soft-fp/fixunsdfti.c: Likewise.
14197 * soft-fp/fixunssfdi.c: Likewise.
14198 * soft-fp/fixunssfsi.c: Likewise.
14199 * soft-fp/fixunssfti.c: Likewise.
14200 * soft-fp/fixunstfdi.c: Likewise.
14201 * soft-fp/fixunstfsi.c: Likewise.
14202 * soft-fp/fixunstfti.c: Likewise.
14203 * soft-fp/floatdidf.c: Likewise.
14204 * soft-fp/floatdisf.c: Likewise.
14205 * soft-fp/floatditf.c: Likewise.
14206 * soft-fp/floatsidf.c: Likewise.
14207 * soft-fp/floatsisf.c: Likewise.
14208 * soft-fp/floatsitf.c: Likewise.
14209 * soft-fp/floattidf.c: Likewise.
14210 * soft-fp/floattisf.c: Likewise.
14211 * soft-fp/floattitf.c: Likewise.
14212 * soft-fp/floatundidf.c: Likewise.
14213 * soft-fp/floatundisf.c: Likewise.
14214 * soft-fp/floatunsidf.c: Likewise.
14215 * soft-fp/floatunsisf.c: Likewise.
14216 * soft-fp/floatuntidf.c: Likewise.
14217 * soft-fp/floatuntisf.c: Likewise.
14218 * soft-fp/floatuntitf.c: Likewise.
14219 * soft-fp/fmadf4.c: Likewise.
14220 * soft-fp/fmasf4.c: Likewise.
14221 * soft-fp/fmatf4.c: Likewise.
14222 * soft-fp/gedf2.c: Likewise.
14223 * soft-fp/gesf2.c: Likewise.
14224 * soft-fp/getf2.c: Likewise.
14225 * soft-fp/ledf2.c: Likewise.
14226 * soft-fp/lesf2.c: Likewise.
14227 * soft-fp/letf2.c: Likewise.
14228 * soft-fp/muldf3.c: Likewise.
14229 * soft-fp/mulsf3.c: Likewise.
14230 * soft-fp/multf3.c: Likewise.
14231 * soft-fp/negdf2.c: Likewise.
14232 * soft-fp/negsf2.c: Likewise.
14233 * soft-fp/negtf2.c: Likewise.
14234 * soft-fp/op-1.h: Likewise.
14235 * soft-fp/op-2.h: Likewise.
14236 * soft-fp/op-4.h: Likewise.
14237 * soft-fp/op-8.h: Likewise.
14238 * soft-fp/op-common.h: Likewise.
14239 * soft-fp/quad.h: Likewise.
14240 * soft-fp/single.h: Likewise.
14241 * soft-fp/soft-fp.h: Likewise.
14242 * soft-fp/sqrtdf2.c: Likewise.
14243 * soft-fp/sqrtsf2.c: Likewise.
14244 * soft-fp/sqrttf2.c: Likewise.
14245 * soft-fp/subdf3.c: Likewise.
14246 * soft-fp/subsf3.c: Likewise.
14247 * soft-fp/subtf3.c: Likewise.
14248 * soft-fp/truncdfsf2.c: Likewise.
14249 * soft-fp/trunctfdf2.c: Likewise.
14250 * soft-fp/trunctfsf2.c: Likewise.
14251 * soft-fp/trunctfxf2.c: Likewise.
14252 * soft-fp/unorddf2.c: Likewise.
14253 * soft-fp/unordsf2.c: Likewise.
14254 * soft-fp/unordtf2.c: Likewise.
14256 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
14259 * misc/error.c (error_tail): Fix possible buffer overflow.
14261 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
14264 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
14267 2013-10-14 P. J. McDermott <pj@pehjota.net>
14270 * elf/ldd.bash.in (try_trace): New function. Delete previous code
14271 testing pipefail option.
14273 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14275 * soft-fp/double.h: Indent preprocessor directives inside #if.
14276 * soft-fp/extended.h: Likewise.
14277 * soft-fp/op-2.h: Likewise.
14278 * soft-fp/op-4.h: Likewise.
14279 * soft-fp/op-common.h: Likewise.
14280 * soft-fp/quad.h: Likewise.
14281 * soft-fp/single.h: Likewise.
14282 * soft-fp/soft-fp.h: Likewise.
14284 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
14286 * iconv/iconv_prog.c: Fix typos.
14287 * stdio-common/psiginfo-data.h: Likewise.
14289 2013-10-12 Reuben Thomas <rrt@sc3d.org>
14292 * locale/setlocale.c: Fix typo.
14294 2013-10-12 Joseph Myers <joseph@codesourcery.com>
14297 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
14298 signaling NaN arguments.
14299 * soft-fp/unordsf2.c (__unordsf2): Likewise.
14300 * soft-fp/unordtf2.c (__unordtf2): Likewise.
14303 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
14304 unordered operands.
14305 * soft-fp/gesf2.c (__gesf2): Likewise.
14306 * soft-fp/getf2.c (__getf2): Likewise.
14307 * soft-fp/ledf2.c (__ledf2): Likewise.
14308 * soft-fp/lesf2.c (__lesf2): Likewise.
14309 * soft-fp/letf2.c (__letf2): Likewise.
14311 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
14312 * soft-fp/eqsf2.c (__eqsf2): Likewise.
14313 * soft-fp/eqtf2.c (__eqtf2): Likewise.
14314 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
14315 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
14316 * soft-fp/fixdfti.c (__fixdfti): Likewise.
14317 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
14318 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
14319 * soft-fp/fixsfti.c (__fixsfti): Likewise.
14320 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
14321 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
14322 * soft-fp/fixtfti.c (__fixtfti): Likewise.
14323 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
14324 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
14325 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
14326 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
14327 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
14328 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
14329 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
14330 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
14331 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
14332 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
14333 * soft-fp/floatdisf.c (__floatdisf): Likewise.
14334 * soft-fp/floatsisf.c (__floatsisf): Likewise.
14335 * soft-fp/floattidf.c (__floattidf): Likewise.
14336 * soft-fp/floattisf.c (__floattisf): Likewise.
14337 * soft-fp/floattitf.c (__floattitf): Likewise.
14338 * soft-fp/floatundidf.c (__floatundidf): Likewise.
14339 * soft-fp/floatundisf.c (__floatundisf): Likewise.
14340 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
14341 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
14342 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
14343 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
14344 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
14345 * soft-fp/gesf2.c (__gesf2): Likewise.
14346 * soft-fp/getf2.c (__getf2): Likewise.
14347 * soft-fp/ledf2.c (__ledf2): Likewise.
14348 * soft-fp/lesf2.c (__lesf2): Likewise.
14349 * soft-fp/letf2.c (__letf2): Likewise.
14351 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
14352 Undefine and redefine.
14353 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
14354 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
14355 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
14356 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
14357 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14358 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
14359 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14360 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
14361 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14362 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
14363 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14364 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
14365 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14366 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
14367 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
14370 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
14371 without decrementing exponent if mantissa >= that for the
14372 denominator, not >.
14373 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
14374 denominator, not >. Decrement exponent in < case instead of
14375 incrementing in >= case.
14376 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
14377 without decrementing exponent if mantissa >= that for the
14378 denominator, not >.
14380 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
14381 computing saturated result for unsigned overflow.
14383 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14384 Jeff Law <law@redhat.com>
14386 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
14387 (atan2Mp): Add systemtap probe marker.
14388 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
14389 (__ieee754_log): Add systemtap probe marker.
14390 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
14391 (atanMp): Add systemtap probe marker.
14392 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
14393 (tanMp): Add systemtap probe marker.
14394 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
14395 (__slowexp): Add systemtap probe marker.
14396 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
14397 (__slowpow): Add systemtap probe marker.
14398 * manual/probes.texi: Document probes.
14400 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
14403 * libio/fileops.c (_IO_new_file_write): Return count of bytes
14405 (_IO_new_file_xsputn): Don't return EOF if nothing has been
14407 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
14408 written to buffer but not flushed.
14409 * libio/iofwrite_u.c: Likewise.
14410 * libio/iopadn.c: Return bytes returned even if EOF was
14412 * libio/iowpadn.c: Likewise.
14413 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
14414 if _IO_padn does not write the whole buffer.
14415 [!COMPILE_WPRINTF] (PAD): Likewise.
14417 2013-10-10 David S. Miller <davem@davemloft.net>
14419 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
14422 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14424 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
14425 instead of FSF address.
14426 * soft-fp/fixdfti.c: Likewise.
14427 * soft-fp/fixsfti.c: Likewise.
14428 * soft-fp/fixtfti.c: Likewise.
14429 * soft-fp/fixunsdfti.c: Likewise.
14430 * soft-fp/fixunssfti.c: Likewise.
14431 * soft-fp/fixunstfti.c: Likewise.
14432 * soft-fp/floattidf.c: Likewise.
14433 * soft-fp/floattisf.c: Likewise.
14434 * soft-fp/floattitf.c: Likewise.
14435 * soft-fp/floatuntidf.c: Likewise.
14436 * soft-fp/floatuntisf.c: Likewise.
14437 * soft-fp/floatuntitf.c: Likewise.
14438 * soft-fp/trunctfxf2.c: Likewise.
14440 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
14441 * soft-fp/fixdfti.c: Likewise.
14442 * soft-fp/fixsfti.c: Likewise.
14443 * soft-fp/fixtfti.c: Likewise.
14444 * soft-fp/fixunsdfti.c: Likewise.
14445 * soft-fp/fixunssfti.c: Likewise.
14446 * soft-fp/fixunstfti.c: Likewise.
14447 * soft-fp/floattidf.c: Likewise.
14448 * soft-fp/floattisf.c: Likewise.
14449 * soft-fp/floattitf.c: Likewise.
14450 * soft-fp/floatuntidf.c: Likewise.
14451 * soft-fp/floatuntisf.c: Likewise.
14452 * soft-fp/floatuntitf.c: Likewise.
14453 * soft-fp/trunctfxf2.c: Likewise.
14455 2013-10-10 David S. Miller <davem@davemloft.net>
14457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14459 2013-10-10 Joseph Myers <joseph@codsourcery.com>
14461 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14462 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14463 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14464 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14465 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14466 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14467 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14470 for NaNs before doing comparisons on argument.
14471 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14474 2013-10-10 Will Newton <will.newton@linaro.org>
14476 * malloc/hooks.c (memalign_check): Ensure the value of bytes
14477 passed to _int_memalign does not overflow.
14479 2013-10-10 Torvald Riegel <triegel@redhat.com>
14481 * scripts/bench.pl: Add include-sources directive.
14482 * benchtests/README: Update documentation.
14484 2013-10-10 Joseph Myers <joseph@codesourcery.com>
14486 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14487 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14488 instead of FP_INIT_ROUNDMODE.
14489 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14490 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14493 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
14494 copy class of input value.
14495 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
14496 not handle exceptions.
14497 * soft-fp/negsf2.c (__negsf2): Likewise.
14498 * soft-fp/negtf2.c (__negtf2): Likewise.
14499 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14501 2013-10-09 Joseph Myers <joseph@codesourcery.com>
14503 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14504 semicolon. From Linux kernel.
14506 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
14508 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14510 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
14513 * manual/socket.texi: Added statement about buffer
14514 for gethostbyname2_r.
14516 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
14518 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14519 Use .p2align directive instead, throughout.
14520 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14521 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14522 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14524 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14525 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14526 * sysdeps/x86_64/strchr.S: Likewise.
14527 * sysdeps/x86_64/strrchr.S: Likewise.
14529 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14531 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14533 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14535 * sysdeps/generic/math_private.h (__mpsin1): Remove
14537 (__mpcos1): Likewise.
14538 (__mpsin): New argument __range_reduce.
14539 (__mpcos): Likewise.
14540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14541 (slow): Use __mpsin and __mpcos.
14545 (sloww1): Likewise.
14546 (sloww2): Likewise.
14547 (bsloww): Likewise.
14548 (bsloww1): Likewise.
14549 (bsloww2): Likewise.
14550 (cslow2): Likewise.
14551 (csloww): Likewise.
14552 (csloww1): Likewise.
14553 (csloww2): Likewise.
14554 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14555 range_reduce. Merge in __mpsin1.
14556 (__mpcos): Likewise.
14557 (__mpsin1): Remove.
14558 (__mpcos1): Likewise.
14560 2013-10-07 Joseph Myers <joseph@codesourcery.com>
14562 * locale/loadlocale.c (_nl_intern_locale_data): Use
14564 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14565 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14566 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14567 obstack data is appropriately aligned.
14568 (obstack_int32_grow_fast): Likewise.
14569 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14570 * locale/programs/locfile.c (add_locale_uint32): Likewise.
14571 (add_locale_uint32_array): Likewise.
14573 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14575 * benchtests/Makefile: Remove ARGLIST and RET variables.
14576 ($(objpfx)bench-%.c): Pass only function name to the script.
14577 * benchtests/README: Update documentation.
14578 * benchtests/acos-inputs: Add new directives.
14579 * benchtests/acosh-inputs: Likewise.
14580 * benchtests/asin-inputs: Likewise.
14581 * benchtests/asinh-inputs: Likewise.
14582 * benchtests/atan-inputs: Likewise.
14583 * benchtests/atanh-inputs: Likewise.
14584 * benchtests/cos-inputs: Likewise.
14585 * benchtests/cosh-inputs: Likewise.
14586 * benchtests/exp-inputs: Likewise.
14587 * benchtests/log-inputs: Likewise.
14588 * benchtests/pow-inputs: Likewise.
14589 * benchtests/rint-inputs: Likewise.
14590 * benchtests/sin-inputs: Likewise.
14591 * benchtests/sinh-inputs: Likewise.
14592 * benchtests/tan-inputs: Likewise.
14593 * benchtests/tanh-inputs: Likewise.
14594 * scripts/bench.pl: Add support for new directives.
14596 2013-10-07 Alan Modra <amodra@gmail.com>
14598 * README: Fix careless merge.
14600 2013-10-05 Alan Modra <amodra@gmail.com>
14602 * NEWS: Mention powerpc64le support and bugs fixed.
14603 * README: Both big-endian and little-endian powerpc64 supported.
14605 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14607 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14608 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14609 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14610 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14612 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
14614 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14617 2013-10-04 Joseph Myers <joseph@codesourcery.com>
14619 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14620 Move -mhard-float appending from
14621 ports/sysdeps/powerpc/powerpc32/Makefile.
14622 [$(with-fp) = yes] (ASFLAGS): Likewise.
14623 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14624 * sysdeps/powerpc/nofpu: Move directory from
14625 ports/sysdeps/powerpc/nofpu.
14626 * sysdeps/powerpc/soft-fp: Move directory from
14627 ports/sysdeps/powerpc/soft-fp.
14628 * sysdeps/powerpc/powerpc32/405: Move directory from
14629 ports/sysdeps/powerpc/powerpc32/405.
14630 * sysdeps/powerpc/powerpc32/440: Move directory from
14631 ports/sysdeps/powerpc/powerpc32/440.
14632 * sysdeps/powerpc/powerpc32/464: Move directory from
14633 ports/sysdeps/powerpc/powerpc32/464.
14634 * sysdeps/powerpc/powerpc32/476: Move directory from
14635 ports/sysdeps/powerpc/powerpc32/476.
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14637 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14639 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14646 * README: Update for powerpc-*-linux-gnu software floating point
14649 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14650 case to powerpc/powerpc32*.
14651 * sysdeps/unix/sysv/linux/configure: Regenerated.
14653 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14654 (_FPU_MASK_OM): Define as 0x04.
14655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14663 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14666 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14669 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14670 and setcontext_e500.
14672 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
14674 * locale/iso-3166.def: Update iso-1366.def and related occurrences
14676 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14678 * manual/threads.texi (Default Thread Attributes): Fix typo.
14680 2013-10-04 Will Newton <will.newton@linaro.org>
14682 * malloc/Makefile: Add tst-memalign.
14683 * malloc/tst-memalign.c: New file.
14685 * malloc/tst-posix_memalign.c: Add comments.
14686 (do_test): Add comments and call free on all potentially
14687 allocated pointers. Add space after cast.
14689 * malloc/tst-pvalloc.c: Add comments.
14690 (do_test): Add comments and call free on all potentially
14691 allocated pointers. Remove duplicate check for NULL pointer.
14692 Add space after cast.
14694 * malloc/tst-valloc.c: Add comments.
14695 (do_test): Add comments and call free on all potentially
14696 allocated pointers. Remove duplicate check for NULL pointer.
14697 Add space after cast.
14699 2013-10-04 Alan Modra <amodra@gmail.com>
14701 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14702 Use stdint types in rather than __attribute__((mode())).
14703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14705 2013-10-04 Alan Modra <amodra@gmail.com>
14707 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14708 Correct handling of unaligned relocs for little-endian.
14709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14711 2013-10-04 Alan Modra <amodra@gmail.com>
14713 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14714 * configure: Regenerate.
14715 * nptl/shlib-versions: Powerpc*le starts at 2.18.
14716 * shlib-versions: Likewise.
14718 2013-10-04 Alan Modra <amodra@gmail.com>
14720 * string/tester.c (test_memrchr): Increment reported test cycle.
14722 2013-10-04 Alan Modra <amodra@gmail.com>
14724 * string/test-memcpy.c (do_one_test): When reporting errors, print
14725 string address and don't overrun end of string.
14727 2013-10-04 Alan Modra <amodra@gmail.com>
14729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14730 insrdi. Make better use of reg selection to speed exit slightly.
14731 Schedule entry path a little better. Remove useless "are we done"
14732 checks on entry to main loop. Handle wrapping around zero address.
14733 Correct main loop count. Handle single left-over word from main
14734 loop inline rather than by using loop_small. Remove extra word
14735 case in loop_small caused by wrong loop count. Add little-endian
14737 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
14740 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14741 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14742 support. Avoid rlwimi.
14743 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14745 2013-10-04 Alan Modra <amodra@gmail.com>
14747 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14748 insrdi. Formatting.
14749 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14751 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14752 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14753 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14754 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14756 2013-10-04 Alan Modra <amodra@gmail.com>
14758 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14759 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14760 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14761 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14762 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14763 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14764 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14765 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14766 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
14767 use of regs. Use power7 mtocrf. Tidy function tails.
14769 2013-10-04 Alan Modra <amodra@gmail.com>
14771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14772 Formatting. Consistently use rXXX register defines or rN defines.
14773 Use early exit labels that avoid restoring unused non-volatile regs.
14774 Make cr field use more consistent with rWORDn compares. Rename
14775 regs used as shift registers for unaligned loop, using rN defines
14776 for short lifetime/multiple use regs.
14777 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14778 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
14779 addi 1,1,64 to pop stack frame. Simplify return value code.
14780 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14782 2013-10-04 Alan Modra <amodra@gmail.com>
14784 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14785 support. Correct typos, formatting. Optimize tail. Use insrdi
14786 rather than rlwimi.
14787 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14788 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14789 little-endian support. Correct typos.
14790 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
14791 rather than rlwimi.
14792 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
14793 in loop and entry code to keep "and." results.
14794 (strchr): Add little-endian support. Comment. Move cntlzd
14796 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14798 2013-10-04 Alan Modra <amodra@gmail.com>
14800 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14801 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14802 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14803 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14805 2013-10-04 Alan Modra <amodra@gmail.com>
14807 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14808 (rTMP): Define as r11.
14809 (strcmp): Add little-endian support. Optimise tail.
14810 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14811 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14812 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14814 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14818 2013-10-04 Alan Modra <amodra@gmail.com>
14820 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14821 little-endian support. Remove unnecessary "are we done" tests.
14822 Handle "s" wrapping around zero and extremely large "size".
14823 Correct main loop count. Handle single left-over word from main
14824 loop inline rather than by using small_loop. Correct comments.
14825 Delete "zero" tail, use "end_max" instead.
14826 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14828 2013-10-04 Alan Modra <amodra@gmail.com>
14830 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14831 support. Don't branch over align.
14832 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14833 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14834 support. Rearrange tmp reg use to suit. Comment.
14835 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14837 2013-10-04 Alan Modra <amodra@gmail.com>
14839 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14841 2013-10-04 Alan Modra <amodra@gmail.com>
14843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14844 conditional form of branch and link when obtaining pc.
14845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14847 2013-10-04 Alan Modra <amodra@gmail.com>
14849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14854 2013-10-04 Alan Modra <amodra@gmail.com>
14856 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14857 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14858 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14859 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14860 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14861 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14862 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14863 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14864 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14865 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14867 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14868 Alistair Popple <alistair@ozlabs.au.ibm.com>
14869 Alan Modra <amodra@gmail.com>
14872 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14873 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14874 _dl_hwcap access for little-endian.
14875 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
14876 destroy vmx regs when saving unaligned.
14877 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14878 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
14879 destroy vmx regs when saving unaligned.
14881 2013-10-04 Alan Modra <amodra@gmail.com>
14883 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14884 Don't use a union to pack hi/low value.
14886 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14888 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14890 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14892 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14893 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14894 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14896 2013-10-04 Alan Modra <amodra@gmail.com>
14898 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14899 constants to usual value for .cst8 section, and remove redundant
14901 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14902 constant for 0x1p52. Load little-endian words of double from
14903 correct stack offsets.
14905 2013-10-04 Alan Modra <amodra@gmail.com>
14907 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14908 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14909 words of double from correct stack offsets.
14910 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14911 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14912 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14916 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14917 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14918 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14921 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14922 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14923 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14924 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14925 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14926 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14928 2013-10-04 Alan Modra <amodra@gmail.com>
14930 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14931 64-bit int/double union.
14932 (_FPU_SETCW): Likewise.
14933 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14934 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14936 2013-10-04 Alan Modra <amodra@gmail.com>
14938 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14939 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14941 2013-10-04 Alan Modra <amodra@gmail.com>
14943 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14944 use vector int constants.
14945 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14947 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14949 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14950 array with long long.
14951 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14952 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14953 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14954 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14955 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14956 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14957 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14958 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14959 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14960 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14961 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14962 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14963 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14965 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
14967 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14968 (__signbit): Likewise. Correct for little-endian.
14969 (__signbitl): Call __signbit.
14970 (lrint): Correct for little-endian.
14971 (lrintf): Call lrint.
14973 2013-10-04 Alan Modra <amodra@gmail.com>
14975 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14976 union 32-bit int array member with 64-bit int array.
14977 (t515, tm256): Double rather than long double.
14978 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14980 2013-10-04 Alan Modra <amodra@gmail.com>
14982 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14984 (IEEE854_LONG_DOUBLE_BIAS): Delete.
14985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14986 version of math_ldbl.h.
14988 2013-10-04 Alan Modra <amodra@gmail.com>
14990 [BZ #15734], [BZ #15735]
14991 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14992 all uses of ieee875 long double macros and unions. Simplify test
14993 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
14994 ldbl_extract_mantissa value for ix,iy exponents. Properly
14995 normalize after ldbl_extract_mantissa, and don't add hidden bit
14996 already handled. Don't treat low word of ieee854 mantissa like
14997 low word of IBM long double and mask off bit when testing for
14999 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
15000 all uses of ieee875 long double macros and unions. Simplify tests
15001 for 0.0L and inf. Correct double adjustment of k. Delete dead code
15002 adjusting ha,hb. Simplify code setting kld. Delete two600 and
15003 two1022, instead use their values. Recognise that tests for large
15004 "a" and small "b" are mutually exclusive. Rename vars. Comment.
15005 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
15006 Rewrite all uses of ieee875 long double macros and unions. Simplify
15007 test for 0.0L and nan. Correct negation.
15008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
15009 ieee875 long double macros and unions. Correct output for large
15010 magnitude x. Correct absolute value calculation.
15011 (__erfcl): Likewise.
15012 * math/libm-test.inc: Add tests for errors discovered in IBM long
15013 double versions of fmodl, remainderl, erfl and erfcl.
15015 2013-10-04 Alan Modra <amodra@gmail.com>
15017 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
15018 all uses of ieee854 long double macros and unions. Simplify tests
15019 for long doubles that are fully specified by the high double.
15020 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15022 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
15023 Remove dead code too.
15024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
15025 (__ieee754_ynl): Likewise.
15026 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
15027 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
15028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
15029 Remove dead code too.
15030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15031 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
15032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
15033 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
15035 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
15037 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
15038 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
15039 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
15040 Comment on variable precision.
15041 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
15042 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15044 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
15045 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15046 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15047 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15048 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
15050 2013-10-04 Alan Modra <amodra@gmail.com>
15052 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
15053 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
15054 all uses of ieee854 long double macros and unions.
15055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
15056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15057 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
15058 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
15059 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
15060 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
15063 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
15064 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
15065 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15066 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15068 Simplify sign and nan test too.
15069 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
15070 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
15071 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
15072 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
15074 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15075 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
15077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15078 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15079 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
15080 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
15081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
15082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
15084 2013-10-04 Alan Modra <amodra@gmail.com>
15086 * stdio-common/printf_size.c (__printf_size): Don't use
15087 union ieee854_long_double in fpnum union.
15088 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
15089 signbit macro to retrieve sign from long double.
15090 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
15091 retrieve sign from long double.
15092 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
15093 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
15094 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
15095 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
15096 * math/test-misc.c (main): Don't use union ieee854_long_double.
15098 2013-10-04 Alan Modra <amodra@gmail.com>
15101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
15102 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
15103 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
15104 calculation. Remove unnecessary test for denormal exponent.
15105 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
15106 Correct handling of denormals. Avoid undefined shift behaviour.
15107 Correct normalisation of low mantissa when low double is denormal.
15108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
15109 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
15110 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
15111 Correct normalisation of low mantissa. Test for overflow of high
15112 mantissa and normalise.
15113 (ldbl_nearbyint): Use more readable constant for two52.
15114 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
15115 (__mpn_construct_long_double): Fix test for overflow of high
15116 mantissa and correct normalisation. Avoid undefined shift.
15118 2013-10-04 Alan Modra <amodra@gmail.com>
15120 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15121 (union ibm_extended_long_double): Define as an array of ieee754_double.
15122 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
15123 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
15124 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
15125 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15126 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15127 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
15128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15129 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
15131 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
15132 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15134 2013-10-03 Joseph Myers <joseph@codesourcery.com>
15136 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
15137 page size instead of calling getpagesize.
15139 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
15140 (LOCFILE_ALIGN_MASK): Likewise.
15141 (LOCFILE_ALIGN_UP): Likewise.
15142 (LOCFILE_ALIGNED_P): Likewise.
15143 * locale/programs/ld-collate.c (collate_output): Use the new
15144 macros instead of __alignof__ (int32_t).
15145 * locale/weight.h (findidx): Likewise.
15147 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
15150 * manual/string.texi: Fix strncat and wcsncat.
15152 2013-10-03 Brooks Moses <bmoses@google.com>
15155 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
15156 * Makerules: ...here, and adjust associated comments.
15158 2013-10-02 Will Newton <will.newton@linaro.org>
15160 * malloc/Makefile: Add tst-pvalloc.
15161 * malloc/tst-pvalloc.c: New file.
15163 2013-10-02 Will Newton <will.newton@linaro.org>
15165 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
15166 improve test coverage.
15168 2013-10-02 Will Newton <will.newton@linaro.org>
15170 * malloc/Makefile: Add tst-posix_memalign.
15171 * malloc/tst-posix_memalign.c: New file.
15173 2013-10-01 Eric Blake <eblake@redhat.com>
15175 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
15176 Use __THROWNL rather than __THROW on static functions.
15178 2013-09-30 Petr Machata <pmachata@redhat.com>
15180 * elf/elf.h (R_AARCH64_ABS16): New macro.
15181 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
15182 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
15183 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
15184 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
15185 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
15186 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
15187 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
15188 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
15189 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
15190 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
15191 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
15192 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
15193 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
15194 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
15195 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
15196 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
15197 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
15198 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
15199 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
15200 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
15201 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
15202 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
15203 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
15204 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
15205 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
15206 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
15207 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
15208 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
15209 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
15210 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
15211 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
15212 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
15213 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
15214 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
15215 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
15216 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
15217 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
15218 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
15219 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
15220 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
15221 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
15222 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
15223 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
15224 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
15225 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
15226 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
15227 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
15228 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
15229 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
15230 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
15231 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
15232 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
15233 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
15234 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
15235 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
15236 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
15237 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
15238 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
15239 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
15240 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
15241 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
15242 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
15243 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
15244 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
15245 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
15246 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
15247 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
15248 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
15249 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
15250 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
15251 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
15252 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
15253 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
15254 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
15255 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
15256 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
15257 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
15258 (R_AARCH64_TLSDESC_LDR): Likewise.
15259 (R_AARCH64_TLSDESC_ADD): Likewise.
15260 (R_AARCH64_TLSDESC_CALL): Likewise.
15262 2013-09-30 Andreas Schwab <schwab@suse.de>
15265 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
15266 the nss database lookup.
15267 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15270 2013-09-28 Mike Frysinger <vapier@gentoo.org>
15272 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
15274 2013-09-28 P. J. McDermott <pj@pehjota.net>
15276 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
15277 ${Bash-specific parameter/pattern/string} parameter expansion.
15278 * sysdeps/unix/make-syscalls.sh: Likewise.
15280 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15282 * sysdeps/sh/stackguard-macros.h: New file.
15284 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
15286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
15288 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
15289 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
15290 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15291 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
15293 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15295 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
15296 Fix thread ID register.
15298 2013-09-25 Joseph Myers <joseph@codesourcery.com>
15300 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
15301 [POSIX || UNIX98]: Require rather than permitting all symbols from
15303 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
15304 element of struct sched_param.
15305 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
15306 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
15307 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
15308 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
15311 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
15313 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
15314 argument calculation.
15316 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15318 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
15320 [POSIX] (pthread_attr_t): Do not require type.
15321 [POSIX] (pthread_cond_t): Likewise.
15322 [POSIX] (pthread_condattr_t): Likewise.
15323 [POSIX] (pthread_key_t): Likewise.
15324 [POSIX] (pthread_mutex_t): Likewise.
15325 [POSIX] (pthread_mutexattr_t): Likewise.
15326 [POSIX] (pthread_once_t): Likewise.
15327 [POSIX] (pthread_t): Likewise.
15328 [POSIX-based standards] (pthread_atfork): Expect function.
15330 2013-09-24 Joseph Myers <joseph@codesourcery.com>
15331 Richard Sandiford <richard@codesourcery.com>
15333 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
15334 (swap_endianness_p): New extern variable.
15335 (set_big_endian): New inline function.
15336 (maybe_swap_uint32): Likewise.
15337 (maybe_swap_uint32_array): Likewise.
15338 (maybe_swap_uint32_obstack): Likewise.
15339 * locale/programs/locfile.c: Include <stdbool.h>.
15340 (swap_endianness_p): New variable.
15341 (add_locale_uint32): Call maybe_swap_uint32.
15342 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
15343 (write_locale_data): Call maybe_swap_uint32_array.
15344 * locale/programs/ld-collate.c (obstack_int32_grow): Call
15346 (obstack_int32_grow_fast): Likewise.
15347 (output_weightwc): Call maybe_swap_uint32_obstack.
15348 (collate_output): Likewise.
15349 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
15350 (OPT_LITTLE_ENDIAN): Likewise.
15351 (options): Add --little-endian and --big-endian options.
15352 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
15353 * locale/programs/locarchive.c: Include "locfile.h".
15357 (create_archive): Use the new macros to access fields of
15358 structures directly mapped from or written to locale archives.
15359 (oldlocrecentcmp): Likewise.
15360 (enlarge_archive): Likewise.
15361 (insert_name): Likewise.
15362 (add_alias): Likewise.
15363 (add_locale): Likewise.
15364 (delete_locales_from_archive): Likewise.
15365 (show_archive_content): Likewise.
15366 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
15369 2013-09-24 Roland McGrath <roland@hack.frob.com>
15371 * manual/freemanuals.texi: Updated from (newly) canonical copy at
15372 http://www.gnu.org/doc/freemanuals.texi.
15373 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
15375 2013-09-24 Will Newton <will.newton@linaro.org>
15377 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
15380 2013-09-23 Joseph Myers <joseph@codesourcery.com>
15382 * locale/hashval.h (compute_hashval): Interpret bytes of key as
15385 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
15387 * manual/threads.texi (POSIX Threads): Fix a typo.
15389 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15392 * string/tst-strcoll-overflow.c: New test case.
15393 * string/Makefile (xtests): Add tst-strcoll-overflow.
15394 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
15395 cache if string sizes may cause integer overflow.
15398 * string/strcoll_l.c (coll_seq): New members rule, idx,
15399 save_idx and back_us.
15400 (get_next_seq_nocache): New function.
15401 (do_compare_nocache): New function.
15402 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
15405 2013-09-23 Carlos O'Donell <carlos@redhat.com>
15408 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
15409 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
15410 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
15413 * elf/Makefile (tests): Add tst-ptrguard1.
15414 (tests-static): Add tst-ptrguard1-static.
15415 (tst-ptrguard1-ARGS): Define.
15416 (tst-ptrguard1-static-ARGS): Define.
15417 * elf/tst-ptrguard1.c: New file.
15418 * elf/tst-ptrguard1-static.c: New file.
15419 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
15420 * sysdeps/i386/stackguard-macros.h: Likewise.
15421 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
15422 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
15423 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15424 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15425 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
15426 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
15428 2013-09-23 Hector Marco <hecmargi@upv.es>
15429 Ismael Ripoll <iripoll@disca.upv.es>
15430 Carlos O'Donell <carlos@redhat.com>
15433 * sysdeps/generic/stackguard-macros.h: Define
15434 __pointer_chk_guard_local and POINTER_CHK_GUARD.
15435 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15436 Define __pointer_chk_guard_local.
15437 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15438 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15440 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
15443 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15445 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
15447 * include/string.h (__ffs): Declare as hidden.
15448 * string/ffs.c (__ffs): Define as hidden.
15449 * sysdeps/i386/ffs.c (__ffs): Likewise.
15450 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15451 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15452 * sysdeps/s390/ffs.c (__ffs): Likewise.
15453 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15455 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
15457 * NEWS: Mention malloc probes.
15459 * malloc/arena.c (new_heap): New memory_heap_new probe.
15460 (grow_heap): New memory_heap_more probe.
15461 (shrink_heap): New memory_heap_less probe.
15462 (heap_trim): New memory_heap_free probe.
15463 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15464 (systrim): New memory_sbrk_less probe.
15465 * manual/probes.texi: Document them.
15467 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15468 * manual/probes.texi: Document it.
15470 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15471 (__libc_realloc): Add memory_realloc_retry probe.
15472 (__libc_memalign): Add memory_memalign_retry probe.
15473 (__libc_valloc): Add memory_valloc_retry probe.
15474 (__libc_pvalloc): Add memory_pvalloc_retry probe.
15475 (__libc_calloc): Add memory_calloc_retry probe.
15476 * manual/probes.texi: Document them.
15478 * malloc/arena.c (get_free_list): Add probe
15479 memory_arena_reuse_free_list.
15480 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15481 and memory_arena_reuse.
15482 (arena_get2) [!PER_THREAD]: Likewise.
15483 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15484 memory_arena_reuse_realloc.
15485 * manual/probes.texi: Document them.
15487 * malloc/malloc.c (__libc_free): Add
15488 memory_mallopt_free_dyn_thresholds probe.
15489 (__libc_mallopt): Add multiple memory_mallopt probes.
15490 * manual/probes.texi: Document them.
15492 * malloc/malloc.c: Include stap-probe.h.
15493 (__libc_mallopt): Add memory_mallopt probe.
15494 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15495 * manual/probes.texi: New.
15496 * manual/Makefile (chapters): Add probes.
15497 * manual/threads.texi: Set next node.
15499 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
15501 [BZ #15963, #13985]
15502 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15503 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15504 Add `Chinese' to `nan' entry name.
15506 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15508 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15509 (POLYNOMIAL): Likewise.
15510 (TAYLOR_SINCOS): Likewise.
15511 (TAYLOR_SLOW): Likewise.
15512 (__sin): Use TAYLOR_SINCOS.
15514 (slow): Use TAYLOR_SLOW.
15516 (bsloww): Likewise.
15517 (csloww): Likewise.
15519 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15521 * stdlib/strtod_l.c: Fix buffer overrun.
15523 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15525 * benchtests/Makefile (bench): Add sincos.
15526 * benchtests/bench-sincos.c: New file.
15528 * math/libm-test.inc (cos_test_data): New test inputs.
15529 (sin_test_data): Likewise.
15531 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15537 (sloww1): Likewise.
15538 (sloww2): Likewise.
15539 (bsloww1): Likewise.
15540 (bsloww2): Likewise.
15541 (cslow2): Likewise.
15542 (csloww1): Likewise.
15543 (csloww2): Likewise.
15545 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15554 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
15556 * config.h.in (HAVE_MIPS_NAN2008): New macro.
15557 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15558 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15559 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15560 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15561 * elf/cache.c (print_entry): Handle the new cache flags.
15563 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15564 Aldy Hernandez <aldyh@redhat.com>
15566 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15567 Change condition to [_SOFT_FLOAT].
15568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15580 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15583 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15586 2013-09-18 Joseph Myers <joseph@codesourcery.com>
15588 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15589 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15590 (__longjmp): Use LOAD_GP to load saved GPRs.
15591 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15592 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15593 (__sigsetjmp): Use SAVE_GP to save GPRs.
15595 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15596 Do not append -msoft-float.
15597 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15599 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15601 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15603 2013-09-17 Joseph Myers <joseph@codesourcery.com>
15606 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15607 (_FPU_GETCW): Use initial "__" on variable and field names but not
15608 on macro parameter name.
15609 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
15610 parentheses around reference to macro parameter.
15612 2013-09-13 Richard Sandiford <richard@codesourcery.com>
15614 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15616 (ctype_startup): Use uint32_t in cast and sizeof for
15619 2013-09-11 Jia Liu <proljc@gmail.com>
15621 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15623 [__FreeBSD__]: Likewise.
15625 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
15627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15628 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15629 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15630 (strchr): Remove __strchr_sse42 ifunc selection.
15631 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15632 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15634 2013-09-11 Will Newton <will.newton@linaro.org>
15636 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15637 parameter to RES. Remove hardcoded 1000 value.
15638 * benchtests/bench-skeleton.c (main): Pass RES parameter
15639 to TIMING_INIT and multiply result by 1000.
15641 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15645 2013-09-11 Andreas Schwab <schwab@suse.de>
15647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15649 (O_TMPFILE) [__USE_GNU]: Define.
15650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15653 2013-09-11 Will Newton <will.newton@linaro.org>
15656 * malloc/malloc.c (__libc_memalign): Check the value of bytes
15659 2013-09-11 Will Newton <will.newton@linaro.org>
15662 * malloc/malloc.c (__libc_valloc): Check the value of bytes
15665 2013-09-11 Will Newton <will.newton@linaro.org>
15668 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15671 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
15673 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15674 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15675 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15677 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15679 2013-09-10 Allan McRae <allan@archlinux.org>
15682 * manual/arith.texi (Parsing of Floats): Clarify
15686 * manual/install.texi (Running make install): Mention
15688 * INSTALL: Regenerated.
15690 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15692 * csu/init-first.c (_init): Remove the !SHARED condition around
15693 FPU control word initialization.
15694 * elf/dl-support.c (_dl_fpu_control): New variable.
15695 (_dl_aux_init) <AT_FPUCW>: Initialize it.
15696 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15697 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15698 * math/test-fpucw-static.c: New file.
15699 * math/test-fpucw-ieee.c: New file.
15700 * math/test-fpucw-ieee-static.c: New file.
15701 * math/Makefile (tests): Add `test-fpucw-ieee' and
15703 (tests-static): New variable.
15704 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15706 [($(build-shared),yes)]
15707 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15709 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15712 2013-09-09 Allan McRae <allan@archlinux.org>
15715 * manual/string.texi (Collation Functions): Fix typo in
15717 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15720 * stdlib/isomac.c (get_null_defines): Fix memory leak.
15723 * libio/memstream.c (open_memstream): Fix memory leak.
15724 * libio/wmemstream.c (open_wmemstream): Likewise.
15727 * nscd/netgroupcache.c: Fix nesting of ifdefs.
15729 2013-09-09 Will Newton <will.newton@linaro.org>
15731 * malloc/Makefile: Add tst-realloc to tests.
15732 * malloc/tst-realloc.c: New file.
15734 2013-09-09 Allan McRae <allan@archlinux.org>
15737 * COPYING: Update from GNU website to fix FSF address.
15738 * COPYING.LIB: Likewise.
15740 2013-09-06 David S. Miller <davem@davemloft.net>
15742 * po/zh_TW.po: Update Chinese (traditional) translation from
15743 translation project.
15745 2013-09-06 Richard Sandiford <richard@codesourcery.com>
15746 Joseph Myers <joseph@codesourcery.com>
15748 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15750 (obstack_chunk_alloc): New macro.
15751 (obstack_chunk_free): Likewise.
15752 (record_offset): New function.
15753 (init_locale_data): Likewise.
15754 (align_locale_data): Likewise.
15755 (add_locale_empty): Likewise.
15756 (add_locale_raw_data): Likewise.
15757 (add_locale_raw_obstack): Likewise.
15758 (add_locale_string): Likewise.
15759 (add_locale_wstring): Likewise.
15760 (add_locale_uint32): Likewise.
15761 (add_locale_uint32_array): Likewise.
15762 (add_locale_char): Likewise.
15763 (start_locale_structure): Likewise.
15764 (end_locale_structure): Likewise.
15765 (start_locale_prelude): Likewise.
15766 (end_locale_prelude): Likewise.
15767 (write_locale_data): Take locale_file structure rather than an
15769 * locale/programs/locfile.h: Include "obstack.h".
15770 (struct locale_file): Change to store locale file contents instead
15772 (init_locale_data): New prototype.
15773 (align_locale_data): Likewise.
15774 (add_locale_empty): Likewise.
15775 (add_locale_raw_data): Likewise.
15776 (add_locale_raw_obstack): Likewise.
15777 (add_locale_string): Likewise.
15778 (add_locale_wstring): Likewise.
15779 (add_locale_uint32): Likewise.
15780 (add_locale_uint32_array): Likewise.
15781 (add_locale_char): Likewise.
15782 (start_locale_structure): Likewise.
15783 (end_locale_structure): Likewise.
15784 (start_locale_prelude): Likewise.
15785 (end_locale_prelude): Likewise.
15786 (write_locale_data): Update prototype.
15787 * locale/programs/3level.h (struct TABLE): Remove result field.
15788 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15789 Use new locale_file interface.
15790 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15791 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15792 * locale/programs/ld-address.c (address_output): Use new
15793 locale_file interface.
15794 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15796 (collate_finish): Don't call collseq_table_finalize.
15797 (collate_output): Use new locale_file interface.
15798 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15800 (NO_FINALIZE): Change to NO_ADD_LOCALE.
15801 (TABLE): Move defines earlier in file.
15802 (ELEMENT): Likewise.
15803 (DEFAULT): Likewise.
15804 (wctrans_table_add): Move macro and inline function earlier in
15806 (struct wctype_table): Move type earlier in file.
15807 (add_locale_wctype_table): New static prototype.
15808 (struct locale_ctype_t): Use logical types instead of struct iovec
15809 pointers for members.
15810 (ctype_output): Use new locale_file interface.
15811 (wctype_table_finalize): Change to add_locale_wctype_table. Use
15812 new locale_file interface.
15813 (allocate_arrays): Update for use of new locale_file interface.
15814 * locale/programs/ld-identification.c (identification_output): Use
15815 new locale_file interface.
15816 * locale/programs/ld-measurement.c (measurement_output): Likewise.
15817 * locale/programs/ld-messages.c (messages_output): Likewise.
15818 * locale/programs/ld-monetary.c (monetary_output): Likewise.
15819 * locale/programs/ld-name.c (name_output): Likewise.
15820 * locale/programs/ld-numeric.c (numeric_output): Likewise.
15821 * locale/programs/ld-paper.c (paper_output): Likewise.
15822 * locale/programs/ld-telephone.c (telephone_output): Likewise.
15823 * locale/programs/ld-time.c (time_output): Likewise.
15825 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15827 * benchtests/Makefile: Add memrchr benchmark.
15828 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15829 benchmark as memrchr.
15830 * benchtests/bench-memrchr-ifunc.c: New file.
15831 * benchtests/bench-memrchr.c: New file.
15833 2013-09-06 Will Newton <will.newton@linaro.org>
15835 * benchtests/Makefile (string-bench): Add memcpy.
15837 2013-09-05 Carlos O'Donell <carlos@redhat.com>
15838 Cong Wang <amwang@redhat.com>
15841 * sysdeps/unix/sysv/linux/bits/in.h
15842 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15843 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15844 before __USE_KERNEL_IPV6_DEFS uses.
15845 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15847 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15848 sockaddr_in6, or ipv6_mreq.
15850 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15852 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15853 memory access for final bytes in some large inputs.
15854 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15856 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15858 * string/test-memrchr.c: New file.
15859 * string/test-memrchr-ifunc.c: New file.
15860 * string/Makefile: Add new memrchr testcase.
15862 2013-09-05 Mike Frysinger <vapier@gentoo.org>
15864 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15865 fanotify_init returns EPERM.
15867 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15869 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15871 (top level): Treat second token from macro or constant entries for
15872 allowed headers as allowed.
15873 * include/complex.h: Condition internal declarations on
15875 * include/fenv.h: Condition include of <stdbool.h> and internal
15876 declarations on [!_ISOMAC].
15878 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
15881 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15883 2013-09-04 Joseph Myers <joseph@codesourcery.com>
15885 * configure.in (--enable-versioning): Remove configure option.
15886 (libc_cv_asm_symver_directive): Remove configure test.
15887 (libc_cv_ld_version_script_option): Likewise.
15888 (VERSIONING): Remove variable and AC_SUBST.
15889 (DO_VERSIONING): Remove AC_DEFINE.
15890 * configure: Regenerated.
15891 * config.h.in (DO_VERSIONING): Remove macro.
15892 * Makerules [$(versioning) = yes]: Change conditionals to
15893 [$(build-shared) = yes].
15894 * config.make.in (versioning): Remove variable.
15895 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15896 [$(build-shared) = yes].
15897 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15898 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15899 * elf/Makefile [$(versioning) = yes]: Change conditionals to
15900 [$(build-shared) = yes].
15901 * extra-lib.mk [$(versioning) = yes]: Likewise.
15902 * hurd/Makefile [$(versioning) = yes]: Likewise.
15903 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15905 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15907 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15908 [SHARED && !NO_HIDDEN].
15909 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15911 [SHARED && DO_VERSIONING]: Likewise..
15912 * libio/Makefile [$(versioning) = yes]: Change conditionals to
15913 [$(build-shared) = yes].
15914 * manual/install.texi (--disable-versioning): Remove
15916 * INSTALL: Regenerated.
15917 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15919 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15920 [$(build-shared) = yes].
15921 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15922 * sysdeps/i386/i686/multiarch/strstr-c.c
15923 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15924 [SHARED && !NO_HIDDEN].
15925 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15926 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15927 * sysdeps/powerpc/powerpc32/dl-machine.c
15928 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15929 * sysdeps/powerpc/powerpc32/sysdep.h
15930 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15931 to [SHARED && PIC && !NO_HIDDEN].
15932 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15933 conditional to [SHARED].
15935 2013-09-04 Will Newton <will.newton@linaro.org>
15937 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15938 * benchtests/bench-string.h: Include bench-timing.h instead
15939 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15940 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15941 call to HP_TIMING_DIFF_INIT.
15942 * benchtests/bench-memccpy.c: Use bench-timing.h macros
15943 instead of hp-timing.h macros.
15944 * benchtests/bench-memchr.c: Likewise.
15945 * benchtests/bench-memcmp.c: Likewise.
15946 * benchtests/bench-memcpy.c: Likewise.
15947 * benchtests/bench-memmem.c: Likewise.
15948 * benchtests/bench-memmove.c: Likewise.
15949 * benchtests/bench-memset.c: Likewise.
15950 * benchtests/bench-rawmemchr.c: Likewise.
15951 * benchtests/bench-strcasecmp.c: Likewise.
15952 * benchtests/bench-strcasestr.c: Likewise.
15953 * benchtests/bench-strcat.c: Likewise.
15954 * benchtests/bench-strchr.c: Likewise.
15955 * benchtests/bench-strcmp.c: Likewise.
15956 * benchtests/bench-strcpy.c: Likewise.
15957 * benchtests/bench-strcpy_chk.c: Likewise.
15958 * benchtests/bench-strlen.c: Likewise.
15959 * benchtests/bench-strncasecmp.c: Likewise.
15960 * benchtests/bench-strncat.c: Likewise.
15961 * benchtests/bench-strncmp.c: Likewise.
15962 * benchtests/bench-strncpy.c: Likewise.
15963 * benchtests/bench-strnlen.c: Likewise.
15964 * benchtests/bench-strpbrk.c: Likewise.
15965 * benchtests/bench-strrchr.c: Likewise.
15966 * benchtests/bench-strspn.c: Likewise.
15967 * benchtests/bench-strstr.c: Likewise.
15969 2013-09-04 Will Newton <will.newton@linaro.org>
15971 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15973 2013-09-03 Joseph Myers <joseph@codesourcery.com>
15976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15977 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15978 * math/libm-test.inc (lgamma_test_data): Add more tests.
15979 * sysdeps/i386/fpu/libm-test-ulps: Update.
15980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15982 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
15984 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15988 Add strcmp-sse2-unaligned
15989 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15991 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15993 * Versions.def (libc): Add GLIBC_2.19.
15995 2013-09-02 Mike Frysinger <vapier@gentoo.org>
15997 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15998 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
16000 2013-09-02 Joseph Myers <joseph@codesourcery.com>
16003 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
16004 intermediate calculations in recurrence.
16005 (__ieee754_ynf): Likewise.
16006 * math/libm-test.inc (jn_test_data): Do not allow spurious
16007 underflow exception. Add more tests.
16008 (yn_test_data): Add more tests.
16009 * sysdeps/i386/fpu/libm-test-ulps: Update.
16010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16012 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
16014 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
16016 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16018 * csu/init-first.c: Fix then/than typos.
16019 * locale/programs/ld-collate.c: Likewise.
16020 * locale/programs/linereader.h: Likewise.
16021 * manual/charset.texi: Likewise.
16022 * manual/filesys.texi: Likewise.
16023 * manual/stdio.texi: Likewise.
16024 * manual/string.texi: Likewise.
16025 * stdlib/fmtmsg.c: Likewise.
16026 * sysdeps/i386/stpncpy.S: Likewise.
16027 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16028 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16029 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16030 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16032 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16034 * elf/dl-open.c: Fix typos.
16035 * iconvdata/gbbig5.c: Likewise.
16036 * iconvdata/iso-2022-jp.c: Likewise.
16037 * iconv/gconv_int.h: Likewise.
16038 * iconv/loop.c: Likewise.
16039 * nis/rpcsvc/nis.h: Likewise.
16040 * resolv/ns_name.c: Likewise.
16041 * stdio-common/vfscanf.c: Likewise.
16042 * streams/stropts.h: Likewise.
16043 * sunrpc/rpc_thread.c: Likewise.
16044 * sysdeps/i386/strpbrk.S: Likewise.
16045 * sysdeps/ieee754/k_standard.c: Likewise.
16046 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16047 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16048 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
16049 * sysdeps/mach/hurd/profil.c: Likewise.
16050 * sysdeps/s390/dl-procinfo.h: Likewise.
16051 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
16052 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
16053 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
16054 * sysdeps/x86_64/dl-trampoline.S: Likewise.
16055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
16057 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
16059 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
16060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
16062 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16064 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
16065 aix specific files.
16066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
16067 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
16068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
16069 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
16070 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
16071 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
16072 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
16073 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
16075 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16076 Roland McGrath <roland@hack.frob.com>
16078 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
16079 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16081 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
16083 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
16084 __executable_start symbol instead of _start.
16086 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
16088 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
16089 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
16091 * sysdeps/gnu/ldsodefs.h: ... this new file.
16093 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
16094 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
16095 instead of ELFOSABI_LINUX.
16097 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
16098 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
16099 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
16100 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
16102 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
16103 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
16104 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
16106 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16107 (ibm_extended_long_double): Add ieee_nan member.
16108 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
16109 (do_test): New function.
16111 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
16113 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
16114 functions, renamed from truncdfsf_test, trunctfsf_test,
16116 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
16118 (do_test): Run all these.
16120 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
16122 * argp/argp-help.c: Fix typos.
16123 * argp/argp-parse.c: Likewise.
16124 * debug/backtracesyms.c: Likewise.
16125 * elf/elf.h: Likewise.
16126 * malloc/malloc.c: Likewise.
16127 * nis/nis_print.c: Likewise.
16128 * resolv/res_comp.c: Likewise.
16129 * stdlib/stdlib.h: Likewise.
16130 * sunrpc/clnt_tcp.c: Likewise.
16131 * sunrpc/clnt_udp.c: Likewise.
16132 * sunrpc/clnt_unix.c: Likewise.
16133 * sysdeps/unix/bsd/ptsname.c: Likewise.
16134 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
16135 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
16136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
16138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
16142 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16144 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16146 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
16147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16149 2013-08-27 Mike Frysinger <vapier@gentoo.org>
16152 * dlfcn/Makefile (tests): Add bug-dl-leaf.
16153 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
16154 ($(objpfx)bug-dl-leaf): New rule.
16155 ($(objpfx)bug-dl-leaf.so): Likewise.
16156 ($(objpfx)bug-dl-leaf.out): Likewise.
16157 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
16158 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
16159 * dlfcn/bug-dl-leaf.c: New test.
16160 * dlfcn/bug-dl-leaf-lib.c: Likewise.
16161 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
16162 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
16163 (dlclose): Likewise.
16164 (dlmopen): Likewise.
16166 2013-08-27 Roland McGrath <roland@hack.frob.com>
16168 * include/netdb.h [!_ISOMAC]:
16169 Don't include <tls.h>.
16170 (h_errno, __libc_h_errno): Move declaration and macros out of
16173 * include/resolv.h [_RESOLV_H_]:
16174 Don't include <tls.h>.
16175 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
16176 * resolv/res_libc.c: Don't include <tls.h>.
16177 (_res): Use __attribute__ ((nocommon)) in place of
16178 __attribute__ ((section (".bss"))).
16180 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
16181 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
16183 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
16185 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
16186 only under [SIOCGIFCONF && SIOCGIFNETMASK].
16188 * resolv/res_mkquery.c: Include <sys/time.h>.
16190 * inet/ifreq.c: Moved to ...
16191 * sysdeps/unix/ifreq.c: ... here.
16192 * inet/ifreq.c: New file, true stub version.
16194 * socket/sa_len.c: New file.
16195 * socket/Makefile (aux): Add it.
16196 * sysdeps/unix/sysv/linux/Makefile
16197 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
16198 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
16199 and #include <socket/sa_len.c>.
16200 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
16201 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
16203 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
16204 * bits/socket.h: ... here.
16206 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
16207 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
16208 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
16210 2013-08-27 Andreas Schwab <schwab@suse.de>
16213 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
16214 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
16215 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
16216 * string/test-strcasecmp.c (test_main): Run tests in several
16218 * string/test-strncasecmp.c (test_main): Likewise.
16220 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
16221 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
16222 to __strcasecmp_nonascii and __strncasecmp_nonascii.
16223 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
16224 (__strncasecmp_ssse3) [PIC]: Likewise.
16226 2013-08-26 Roland McGrath <roland@hack.frob.com>
16228 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
16230 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
16231 instead of explicitly declaring xdecrypt.
16232 * nis/nss_nis/nis-publickey.c: Likewise.
16234 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16237 * nscd/aicache.c: Include res_hconf.h.
16238 (addhstaiX): Initialize res_hconf.
16240 2013-08-26 Andreas Schwab <schwab@suse.de>
16242 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
16243 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
16245 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16247 * nscd/aicache.c (addhstaiX): Fix indentation.
16249 2013-08-25 Mike Frysinger <vapier@gentoo.org>
16251 * configure.ac: Quote $build_pt_chown test.
16252 * configure: Regenerated.
16254 2013-08-23 Joseph Myers <joseph@codesourcery.com>
16257 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
16258 * math/s_cexpf.c (__cexpf): Likewise.
16259 * math/s_cexpl.c (__cexpl): Likewise.
16260 * math/libm-test.inc (cexp_test_data): Correct expected return
16261 value for NaN + i0. Add another test.
16263 2013-08-22 David S. Miller <davem@davemloft.net>
16265 * po/ca.po: Update Catalan translation from translation project.
16266 * po/uk.po: Add Ukrainian translations from translation project.
16268 2013-08-21 Joseph Myers <joseph@codesourcery.com>
16271 * math/s_fdim.c (__fdim): Check for infinite arguments if result
16272 is infinite, not alongside NaN test.
16273 * math/s_fdimf.c (__fdimf): Likewise.
16274 * math/s_fdiml.c (__fdiml): Likewise.
16275 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
16276 errno is unchanged.
16278 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
16280 * argp/argp-help.c: Fix typos.
16281 * crypt/speeds.c: Likewise.
16282 * csu/check_fds.c: Likewise.
16283 * elf/dl-load.c: Likewise.
16284 * elf/dl-open.c: Likewise.
16285 * elf/reldep3.c: Likewise.
16286 * elf/reldep.c: Likewise.
16287 * elf/sprof.c: Likewise.
16288 * iconv/iconv_charmap.c: Likewise.
16289 * iconv/skeleton.c: Likewise.
16290 * iconv/strtab.c: Likewise.
16291 * io/lockf64.c: Likewise.
16292 * libio/libioP.h: Likewise.
16293 * resolv/gai_notify.c: Likewise.
16294 * resolv/ns_name.c: Likewise.
16295 * resolv/ns_samedomain.c: Likewise.
16296 * resolv/res_send.c: Likewise.
16297 * stdlib/random.c: Likewise.
16298 * sunrpc/rpc/xdr.h: Likewise.
16299 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
16300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16301 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16302 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16306 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16307 * sysdeps/mach/hurd/check_fds.c: Likewise.
16308 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16309 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16310 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16311 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16312 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16313 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16314 * sysdeps/pthread/aio_notify.c: Likewise.
16315 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
16316 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
16317 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
16318 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
16319 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16321 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16323 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
16324 version if bit_Slow_SSE4_2 is set.
16325 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16328 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16331 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
16332 trampoline stack frame information.
16333 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
16334 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
16335 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16336 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
16337 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
16338 * sysdeps/unix/sysv/linux/powerpc/init-first.c
16339 (_libc_vdso_platform_setup): Initialize the signal trampolines.
16340 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
16342 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
16343 interrupting a syscall and set with option SA_SIGINFO.
16345 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16348 * math/s_cproj.c (__cproj): Only return an infinity if one part of
16349 argument is infinite.
16350 * math/s_cprojf.c (__cprojf): Likewise.
16351 * math/s_cprojl.c (__cprojl): Likewise.
16352 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
16353 * math/libm-test.inc (cproj_test_data): Add more tests.
16355 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
16357 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
16358 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
16359 size. Use __ffs to determine corresponding shift.
16361 2013-08-20 Joseph Myers <joseph@codesourcery.com>
16362 Roland McGrath <roland@hack.frob.com>
16364 * Makefile (INSTALL): Remove trailing blank lines from output of
16367 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16369 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
16370 Align 32 bit compat elf_greg to 8 bytes.
16372 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
16374 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
16376 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16378 * string/strcoll_l.c (coll_seq): New structure.
16379 (get_next_seq_cached): New function.
16380 (get_next_seq): New function.
16381 (do_compare): New function.
16382 (STRCOLL): Use GNU style definition. Simplify implementation
16383 by using get_next_seq, get_next_seq_cached and do_compare.
16385 2013-08-16 Florian Weimer <fweimer@redhat.com>
16389 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
16391 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
16393 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
16394 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
16395 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
16397 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
16398 GETDENTS_64BIT_ALIGNED.
16399 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16400 * manual/filesys.texi (Reading/Closing Directory): Document
16401 ENAMETOOLONG return value of readdir_r. Recommend readdir more
16403 * manual/conf.texi (Limits for Files): Add portability note to
16404 NAME_MAX, PATH_MAX.
16405 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
16407 2013-08-13 Andreas Schwab <schwab@suse.de>
16410 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
16412 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
16413 LDBL_MAX_EXP >= 16384]: Add tests for it.
16415 2013-08-12 David S. Miller <davem@davemloft.net>
16417 * version.h (RELEASE): Set to "development".
16418 (VERSION): Set to "2.18.90".
16419 * NEWS: Add 2.19 section.
16421 2013-08-03 David S. Miller <davem@davemloft.net>
16423 * po/ko.po: Update Korean translation from translation project.
16425 2013-08-01 David S. Miller <davem@davemloft.net>
16427 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
16428 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
16431 2013-07-30 David S. Miller <davem@davemloft.net>
16433 * po/fr.po: Update French translation from translation project.
16435 2013-07-28 David S. Miller <davem@davemloft.net>
16437 * po/cs.po: Update Czech translation from translation project.
16439 * po/sv.po: Update Swedish translation from translation project.
16441 2013-07-27 David S. Miller <davem@davemloft.net>
16443 * po/eo.po: Update Esperanto translation from translation project.
16445 * po/vi.po: Update Vietnamese translation from translation project.
16447 * po/de.po: Update German translation from translation project.
16449 2013-07-26 David S. Miller <davem@davemloft.net>
16451 * po/bg.po: Update Bulgarian translation from translation project.
16453 * po/nl.po: Update Dutch translation from translation project.
16454 * po/pl.po: Update Polish translation from translation project.
16455 * po/ru.po: Update Russian translation from translation project.
16457 2013-07-24 David S. Miller <davem@davemloft.net>
16459 * po/libc.pot: Update.
16461 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16463 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16464 variable page size.
16465 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16466 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16469 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16471 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16473 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16474 Andreas Schwab <schwab@suse.de>
16475 Roland McGrath <roland@hack.frob.com>
16476 Joseph Myers <joseph@codesourcery.com>
16477 Carlos O'Donell <carlos@redhat.com>
16480 * config.h.in: Define HAVE_PT_CHOWN.
16481 * config.make.in (build-pt-chown): New variable.
16482 * configure.in (--enable-pt_chown): New configure option.
16483 * configure: Regenerate.
16484 * login/Makefile: Include Makeconfig. Build pt_chown only if
16485 build-pt-chown is enabled.
16486 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16487 pt_chown to fix pty ownership.
16488 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16490 * manual/install.texi (Configuring and compiling): Mention
16491 --enable-pt_chown. Add @findex for grantpt.
16492 * INSTALL: Regenerate.
16494 2013-07-20 David S. Miller <davem@davemloft.net>
16496 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16497 difference between 32-bit and 64-bit.
16499 2013-07-15 Carlos O'Donell <carlos@redhat.com>
16502 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16503 Avoid system header dependency with -ffreestanding.
16504 ($(objpfx)bits/syscall%d): Likewise.
16506 2013-07-13 David S. Miller <davem@davemloft.net>
16508 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16509 underflows from atanl/atan2l due to bug 15319.
16510 (casinh_test_data): Likewise.
16512 2013-07-07 David S. Miller <davem@davemloft.net>
16514 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16516 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
16518 * sysdeps/i386/fpu/libm-test-ulps: Update.
16519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16521 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16523 * configure.in (--enable-lock-elision): Fix message text.
16524 * INSTALL: Regenerate.
16525 * configure: Regenerate.
16527 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16531 2013-07-03 Andreas Jaeger <aj@suse.de>
16533 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16535 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16536 (ptrace_peeksiginfo_args): Add.
16537 (__ptrace_peeksiginfo_flags): Add.
16538 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16540 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16542 2013-07-03 Allan McRae <allan@archlinux.org>
16544 * sysdeps/i386/fpu/libm-test-ulps: Update.
16546 2013-07-02 David S. Miller <davem@davemloft.net>
16548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16550 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
16552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16554 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16556 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16559 2013-07-02 Andi Kleen <ak@linux.intel.com>
16561 * config.h.in (ENABLE_LOCK_ELISION): Add.
16562 * configure.in (--enable-lock-elision): Add option.
16563 * manual/install.texi: Document --enable lock elision.
16564 * configure: Regenerate
16565 * INSTALL: Regenerate.
16567 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
16569 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16570 SSE4.2 strcasecmp for libc.a.
16571 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16573 2013-07-02 Joseph Myers <joseph@codesourcery.com>
16576 * soft-fp/op-common.h (_FP_FMA): New macro.
16577 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16578 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
16579 (_FP_MUL_MEAT_1_imm): ... here.
16580 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
16581 (_FP_MUL_MEAT_1_wide): ... here.
16582 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
16583 (_FP_MUL_MEAT_1_hard): ... here.
16584 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16585 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
16586 (_FP_MUL_MEAT_2_wide): ... here.
16587 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
16588 (_FP_MUL_MEAT_2_wide_3mul): ... here.
16589 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
16590 (_FP_MUL_MEAT_2_gmp): ... here.
16591 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16592 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
16593 (_FP_MUL_MEAT_4_wide): ... here.
16594 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
16595 (_FP_MUL_MEAT_4_gmp): ... here.
16596 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16597 (_FP_WFRACBITS_DW_S): Likewise.
16598 (_FP_WFRACXBITS_DW_S): Likewise.
16599 (_FP_HIGHBIT_DW_S): Likewise.
16600 (FP_FMA_S): Likewise.
16601 (_FP_FRAC_HIGH_DW_S): Likewise.
16602 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16603 (_FP_WFRACBITS_DW_D): Likewise.
16604 (_FP_WFRACXBITS_DW_D): Likewise.
16605 (_FP_HIGHBIT_DW_D): Likewise.
16606 (FP_FMA_D): Likewise.
16607 (_FP_FRAC_HIGH_DW_D): Likewise.
16608 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16609 (_FP_WFRACBITS_DW_E): Likewise.
16610 (_FP_WFRACXBITS_DW_E): Likewise.
16611 (_FP_HIGHBIT_DW_E): Likewise.
16612 (FP_FMA_E): Likewise.
16613 (_FP_FRAC_HIGH_DW_E): Likewise.
16614 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16615 (_FP_WFRACBITS_DW_Q): Likewise.
16616 (_FP_WFRACXBITS_DW_Q): Likewise.
16617 (_FP_HIGHBIT_DW_Q): Likewise.
16618 (FP_FMA_Q): Likewise.
16619 (_FP_FRAC_HIGH_DW_Q): Likewise.
16620 * soft-fp/fmasf4.c: New file.
16621 * soft-fp/fmadf4.c: Likewise.
16622 * soft-fp/fmatf4.c: Likewise.
16624 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16627 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16629 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16631 (index_Slow_SSE4_2): Likewise.
16632 (index_Prefer_PMINUB_for_stringop): Likewise.
16633 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16634 bit_Slow_SSE4_2 is set.
16635 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16636 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16638 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16640 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16641 rtld_global._dl_hwcap2.
16642 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16644 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16645 POWER8 feature descriptions defined in _dl_hwcap2.
16646 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16647 string handling for POWER8 feature bits.
16648 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16649 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16650 _dl_powerpc_cap_flags.
16651 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16652 * sysdeps/powerpc/rtld-global-offsets.sym
16653 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16654 _dl_hwcap2 in the rtld_global_ro structure.
16656 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16658 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16659 hardware capabilities in support of AT_HWCAP2.
16660 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16661 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16663 (_dl_show_auxv): Add support for calling _dl_procinfo to display
16664 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
16665 explicitly the unknown a_type display mechanism is used.
16666 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16667 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16669 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16670 to macro prototype for AT_HWCAP2 support.
16671 * sysdeps/i386/dl-procinfo.h: Likewise.
16672 * sysdeps/s390/dl-procinfo.h: Likewise.
16673 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16674 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
16675 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
16676 return -1 for unknown a_type display fallback.
16677 * sysdeps/sparc/dl-procinfo.h: Likewise.
16678 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16679 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16681 2013-06-28 Joseph Myers <joseph@codesourcery.com>
16683 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16684 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16686 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
16689 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16690 mprotect making __stack_prot writable.
16692 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
16693 Joseph Myers <joseph@codesourcery.com>
16695 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16696 as being properly aligned.
16698 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
16700 * dlfcn/modstatic5.c: New file.
16701 * dlfcn/tststatic5.c: New file.
16702 * dlfcn/Makefile (tests): Add tststatic5.
16703 (tests-static): Likewise.
16704 (modules-names): Add modstatic5.
16705 (tststatic5-ENV): New variable.
16706 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16709 * elf/dl-support.c (_dl_main_map): New variable.
16710 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16711 (_dl_nns, _dl_load_adds): Set to 1.
16712 (_dl_initial_searchlist): Refer to _dl_main_map.
16713 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16714 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16715 call to _dl_get_origin.
16716 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16718 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16719 * dlfcn/modstatic3.c: New file.
16720 * dlfcn/tststatic3.c: New file.
16721 * dlfcn/tststatic4.c: New file.
16722 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16723 (tests-static): Likewise.
16724 (modules-names): Add modstatic3.
16725 (tststatic3-ENV, tststatic4-ENV): New variables.
16726 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16727 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16729 2013-06-26 Joseph Myers <joseph@codesourcery.com>
16731 * configure.in (CC): Require GCC version 4.4 or later.
16732 * configure: Regenerated.
16733 * manual/install.texi (Tools for Compilation): Update GCC version
16735 * INSTALL: Regenerated.
16737 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16740 * string/test-memcmp.c (check2): New.
16741 (main): Call check2.
16743 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16745 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
16748 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16750 (dl_open_worker) [!SHARED]: ... here.
16752 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16754 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16756 2013-06-25 Richard Henderson <rth@redhat.com>
16758 * locale/programs/locarchive.c: Include <libc-internal.h>
16760 2013-06-25 Joseph Myers <joseph@codesourcery.com>
16762 * manual/texinfo.tex: Update to version 2013-06-21.17, with
16763 trailing whitespace removed.
16765 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16768 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16769 * locale/programs/locarchive.c: Include libc-mmap.h.
16770 (prepare_address_space): Take two new outputs (the mmap base and len).
16771 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
16773 (create_archive): Declare new mmap base and len values for
16774 prepare_address_space, and store the result in ah.
16775 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16776 (enlarge_archive): If ah->mmap_base is not NULL, use that and
16777 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16778 Declare new mmap base and len values for
16779 prepare_address_space, and store the result in new_ah.
16780 (open_archive): Declare new mmap base and len values for
16781 prepare_address_space, and store the result in ah.
16782 (close_archive): If ah->mmap_base is not NULL, use that and
16783 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16784 * sysdeps/generic/libc-mmap.h: New file.
16786 2013-06-24 Mike Frysinger <vapier@gentoo.org>
16788 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16789 (ALIGN_UP): Likewise.
16790 (PTR_ALIGN_DOWN): Likewise.
16791 (PTR_ALIGN_UP): Likewise.
16793 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16795 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16796 entry mapped to PPC_PLATFORM_POWER8.
16797 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16799 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16800 (_dl_string_platform): Add case for exporting platform position for
16802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16803 search path to sysdeps/powerpc/powerpc32/power8 directory.
16804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16805 search path to sysdeps/powerpc/powerpc64/power8 directory.
16806 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16807 power7 directories.
16808 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16809 power7 directories.
16811 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16813 * INSTALL: Regenerate.
16815 * nscd/connections.c (nscd_init): Fix comment.
16817 2013-06-22 Joseph Myers <joseph@codesourcery.com>
16819 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16822 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16823 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16825 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16827 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16829 (DL_DST_REQ_STATIC): Remove macro.
16831 2013-06-21 Joseph Myers <joseph@codesourcery.com>
16834 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16835 with a shift of 0 bits.
16837 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
16839 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16842 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16845 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16847 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16849 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16850 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16851 accepts -fno-tree-loop-distribute-patterns.
16852 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16853 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16855 * string/memset.c (memset): Likewise.
16856 * string/test-memmove.c (simple_memmove): Disable loop transformation
16858 * string/test-memset.c (simple_memset): Likewise.
16859 * benchtests/bench-memmove.c (simple_memmove): Likewise.
16860 * benchtests/bench-memset.c (simple_memset): Likewise.
16861 * configure: Regenerated.
16863 2013-06-20 Joseph Myers <joseph@codesourcery.com>
16865 * math/test-misc.c (main): Ignore fesetround failure when failures
16866 of subsequent rounding tests would be ignored.
16869 * math/fedisblxcpt.c (fedisableexcept): Return 0.
16870 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16871 * math/fegetenv.c (__fegetenv): Return 0.
16872 * math/fegetexcept.c (fegetexcept): Return 0.
16873 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16875 * math/feholdexcpt.c (feholdexcept): Return 0.
16876 * math/fesetenv.c (__fesetenv): Return 0.
16877 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16878 argument FE_TONEAREST.
16879 * math/feupdateenv.c (__feupdateenv): Return 0.
16880 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16882 2013-06-18 Roland McGrath <roland@hack.frob.com>
16884 * elf/rtld-Rules (rtld-compile-command.S): New variable.
16885 (rtld-compile-command.s, rtld-compile-command.c): New variables.
16886 ($(objpfx)rtld-%.os rules): Use them.
16888 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16890 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16893 2013-06-17 Roland McGrath <roland@hack.frob.com>
16895 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16896 length of target pattern, then descending length of dependency pattern.
16897 * configure.in (AWK): Require gawk 3.1.2 or newer.
16898 * manual/install.texi (Tools for Compilation): Say that we do.
16899 * configure: Regenerated.
16901 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16902 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16903 * scripts/sysd-rules.awk: ... this new script.
16904 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16905 than a glob-style pattern.
16907 2013-06-17 Joseph Myers <joseph@codesourcery.com>
16909 * math/test-misc.c (main): Do not treat incorrectly rounded
16910 conversions as failure unless ROUNDING_TESTS passes.
16912 2013-06-15 Joseph Myers <joseph@codesourcery.com>
16915 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16916 restore exception state around main square root computation, then
16917 check for inexactness explicitly.
16919 * math/libm-test.inc (fma_test_data): Add another test.
16921 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16923 * manual/threads.texi (Non-POSIX Extensions): New document
16924 node. Document pthread_getattr_default_np and
16925 pthread_setattr_default_np.
16927 * Versions.def (libpthread): Add GLIBC_2.18.
16928 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16937 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16948 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16951 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16953 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16954 H.J. Lu <hjl.tools@gmail.com>
16957 * sysdeps/x86_64/rtld-memset.c: Remove file.
16958 * sysdeps/x86_64/rtld-memset.S: New file.
16960 2013-06-14 Joseph Myers <joseph@codesourcery.com>
16962 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16963 (test_in_one_mode): Take arguments for whether the rounding mode
16964 is supported for each floating-point type.
16965 (do_test): Pass new arguments to test_in_one_mode using
16968 2013-06-13 Roland McGrath <roland@hack.frob.com>
16970 * posix/tst-waitid.c (do_test): Distinguish different instances of
16971 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
16972 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16973 before entering the kernel for waitpid.
16975 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
16977 * NEWS: Fix note on clock function precision. Text by Roland
16980 2013-06-13 Roland McGrath <roland@hack.frob.com>
16982 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16983 it into place only when and if the sanity check passes.
16985 2013-06-13 Joseph Myers <joseph@codesourcery.com>
16987 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16988 output for whether conversion result is exact. Take argument
16989 indicating whether type is IBM long double.
16990 (round_for_all): Change need_exact field to ibm_ld.
16991 * stdlib/tst-strtod-round.c (struct exactness): New type.
16992 (struct test): Change bool ld_ok field to struct exactness exact.
16993 (TEST): Update all definitions for change to field.
16994 (tests): Regenerate array contents.
16995 (test_in_one_mode): Take pointer to new field instead of old ld_ok
16996 field value. Check for IBM long double here.
16997 (do_test): Update calls to test_in_one_mode.
16999 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17002 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
17003 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
17005 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17008 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
17009 generated by the compiler on loop optimizations.
17010 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
17011 general definitions.
17013 2013-06-12 Joseph Myers <joseph@codesourcery.com>
17015 * math/bug-nextafter.c: Include <math-tests.h>.
17016 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17018 * math/bug-nexttoward.c: Include <math-tests.h>.
17019 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17021 * math/test-misc.c: Include <math-tests.h>.
17022 (main): Only test for exceptions if EXCEPTION_TESTS is true for
17025 2013-06-12 Andreas Jaeger <aj@suse.de>
17027 * po/ia.po: Update Interlingua translation from translation
17030 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17032 * include/fenv.h: Include stdbool.h.
17033 (struct rm_ctx): New structure.
17034 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
17036 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
17037 (SET_RESTORE_ROUNDF): Likewise.
17038 (SET_RESTORE_ROUNDL): Likewise.
17039 (SET_RESTORE_ROUND_NOEX): Likewise.
17040 (SET_RESTORE_ROUND_NOEXF): Likewise.
17041 (SET_RESTORE_ROUND_NOEXL): Likewise.
17042 (SET_RESTORE_ROUND_53BIT): Likewise.
17043 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
17044 (libc_feresetround_noexf_ctx): Likewise.
17045 (libc_feresetround_noexl_ctx): Likewise.
17046 (libc_feholdsetround_53bit_ctx): Likewise.
17047 (libc_feresetround_53bit_ctx): Likewise.
17048 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
17049 (libc_feholdexcept_setround_sse_ctx): New function.
17050 (libc_fesetenv_sse_ctx): Likewise.
17051 (libc_feupdateenv_sse_ctx): Likewise.
17052 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
17053 (libc_feholdexcept_setround_387_ctx): Likewise.
17054 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
17055 (libc_feholdsetround_387_prec_ctx): Likewise.
17056 (libc_feholdsetround_387_ctx): Likewise.
17057 (libc_feholdsetround_387_53bit_ctx): Likewise.
17058 (libc_feholdsetround_sse_ctx): Likewise.
17059 (libc_feresetround_sse_ctx): Likewise.
17060 (libc_feresetround_387_ctx): Likewise.
17061 (libc_feupdateenv_387_ctx): Likewise.
17062 (libc_feholdexcept_setroundf_ctx): Define macro.
17063 (libc_fesetenvf_ctx): Likewise.
17064 (libc_feupdateenvf_ctx): Likewise.
17065 (libc_feholdsetroundf_ctx): Likewise.
17066 (libc_feresetroundf_ctx): Likewise.
17067 (libc_feholdexcept_setround_ctx): Likewise.
17068 (libc_fesetenv_ctx): Likewise.
17069 (libc_feupdateenv_ctx): Likewise.
17070 (libc_feholdsetround_ctx): Likewise.
17071 (libc_feresetround_ctx): Likewise.
17072 (libc_feholdexcept_setroundl_ctx): Likewise.
17073 (libc_feupdateenvl_ctx): Likewise.
17074 (libc_feholdsetroundl_ctx): Likewise.
17075 (libc_feresetroundl_ctx): Likewise.
17076 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
17077 (libc_feresetround_53bit_ctx): Likewise.
17079 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17081 * locale/iso-639.def: Convert to UTF-8.
17083 2013-06-11 Joseph Myers <joseph@codesourcery.com>
17085 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
17086 (EXCEPTION_TESTS_double): Likewise.
17087 (EXCEPTION_TESTS_long_double): Likewise.
17088 (EXCEPTION_TESTS): Likewise.
17089 * math/libm-test.inc (test_exceptions): Only test exceptions if
17090 EXCEPTION_TESTS (FLOAT).
17092 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17094 * benchtests/Makefile (string-bench): Add strcpy_chk and
17096 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
17097 * benchtests/bench-stpcpy_chk.c: New file.
17098 * benchtests/bench-strcpy_chk-ifunc.c: New file.
17099 * benchtests/bench-strcpy_chk.c: New file.
17100 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
17102 (do_test): Likewise.
17104 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17106 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
17107 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
17108 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
17109 with tabs where appropriate.
17110 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
17112 [PPC_PLATFORM_PPC440]: Likewise.
17113 [PPC_PLATFORM_PPC464]: Likewise.
17114 [PPC_PLATFORM_PPC476]: Likewise.
17115 (_dl_string_platform): Add support for detecting ppc405, ppc440,
17116 ppc464, and ppc476 platform strings merging from ports/
17119 2013-06-11 Andreas Schwab <schwab@suse.de>
17122 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
17123 (from_ucs4_idx): Regenerate.
17124 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
17125 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
17126 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
17127 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
17128 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
17129 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
17130 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
17131 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
17132 from FROM_LOOP and TO_LOOP specific macros.
17133 (BODY): Handle combining characters.
17134 * iconvdata/BIG5HKSCS.irreversible: Update.
17135 * iconvdata/BIG5HKSCS.precomposed: New file.
17136 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
17138 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
17140 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17142 * include/sys/time.h: Fix indentation and add copyright header.
17144 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
17145 (do_test): Likewise.
17146 * string/test-memchr.c (do_one_test): Likewise.
17147 (do_test): Likewise.
17148 * string/test-memcmp.c (do_one_test): Likewise.
17149 (do_test): Likewise.
17150 * string/test-memcpy.c (do_one_test): Likewise.
17151 (do_test): Likewise.
17152 * string/test-memmem.c (do_one_test): Likewise.
17153 (do_test): Likewise.
17154 (do_random_tests): Likewise.
17155 * string/test-memmove.c (do_one_test): Likewise.
17156 (do_test): Likewise.
17157 * string/test-memset.c (do_one_test): Likewise.
17158 (do_test): Likewise.
17159 * string/test-rawmemchr.c (do_one_test): Likewise.
17160 (do_test): Likewise.
17161 * string/test-strcasecmp.c (do_one_test): Likewise.
17162 (do_test): Likewise.
17163 * string/test-strcasestr.c (do_one_test): Likewise.
17164 (do_test): Likewise.
17165 * string/test-strcat.c (do_one_test): Likewise.
17166 (do_test): Likewise.
17167 * string/test-strchr.c (do_one_test): Likewise.
17168 (do_test): Likewise.
17169 * string/test-strcmp.c (do_one_test): Likewise.
17170 (do_test): Likewise.
17171 * string/test-strcpy.c (do_one_test): Likewise.
17172 (do_test): Likewise.
17173 * string/test-string.h: Likewise.
17174 (test_init): Likewise.
17175 * string/test-strlen.c (do_one_test): Likewise.
17176 (do_test): Likewise.
17177 * string/test-strncasecmp.c (do_one_test): Likewise.
17178 (do_test): Likewise.
17179 * string/test-strncat.c (do_one_test): Likewise.
17180 (do_test): Likewise.
17181 * string/test-strncmp.c (do_one_test): Likewise.
17182 (do_test_limit): Likewise.
17183 (do_test): Likewise.
17184 * string/test-strncpy.c (do_one_test): Likewise.
17185 (do_test): Likewise.
17186 * string/test-strnlen.c (do_one_test): Likewise.
17187 (do_test): Likewise.
17188 * string/test-strpbrk.c (do_one_test): Likewise.
17189 (do_test): Likewise.
17190 * string/test-strrchr.c (do_one_test): Likewise.
17191 (do_test): Likewise.
17192 * string/test-strspn.c (do_one_test): Likewise.
17193 (do_test): Likewise.
17194 * string/test-strstr.c (do_one_test): Likewise.
17195 (do_test): Likewise.
17197 * benchtests/Makefile (string-bench): Add string benchmarks.
17198 * benchtests/bench-bcopy-ifunc.c: New file.
17199 * benchtests/bench-bcopy.c: New file.
17200 * benchtests/bench-bzero-ifunc.c: New file.
17201 * benchtests/bench-bzero.c: New file.
17202 * benchtests/bench-memccpy-ifunc.c: New file.
17203 * benchtests/bench-memccpy.c: New file.
17204 * benchtests/bench-memchr-ifunc.c: New file.
17205 * benchtests/bench-memchr.c: New file.
17206 * benchtests/bench-memcmp-ifunc.c: New file.
17207 * benchtests/bench-memcmp.c: New file.
17208 * benchtests/bench-memmem-ifunc.c: New file.
17209 * benchtests/bench-memmem.c: New file.
17210 * benchtests/bench-memmove-ifunc.c: New file.
17211 * benchtests/bench-memmove.c: New file.
17212 * benchtests/bench-mempcpy-ifunc.c: New file.
17213 * benchtests/bench-mempcpy.c: New file.
17214 * benchtests/bench-memset-ifunc.c: New file.
17215 * benchtests/bench-memset.c: New file.
17216 * benchtests/bench-rawmemchr-ifunc.c: New file.
17217 * benchtests/bench-rawmemchr.c: New file.
17218 * benchtests/bench-stpcpy-ifunc.c: New file.
17219 * benchtests/bench-stpcpy.c: New file.
17220 * benchtests/bench-stpncpy-ifunc.c: New file.
17221 * benchtests/bench-stpncpy.c: New file.
17222 * benchtests/bench-strcasecmp-ifunc.c: New file.
17223 * benchtests/bench-strcasecmp.c: New file.
17224 * benchtests/bench-strcasestr-ifunc.c: New file.
17225 * benchtests/bench-strcasestr.c: New file.
17226 * benchtests/bench-strcat-ifunc.c: New file.
17227 * benchtests/bench-strcat.c: New file.
17228 * benchtests/bench-strchr-ifunc.c: New file.
17229 * benchtests/bench-strchr.c: New file.
17230 * benchtests/bench-strchrnul-ifunc.c: New file.
17231 * benchtests/bench-strchrnul.c: New file.
17232 * benchtests/bench-strcmp-ifunc.c: New file.
17233 * benchtests/bench-strcmp.c: New file.
17234 * benchtests/bench-strcpy-ifunc.c: New file.
17235 * benchtests/bench-strcpy.c: New file.
17236 * benchtests/bench-strcspn-ifunc.c: New file.
17237 * benchtests/bench-strcspn.c: New file.
17238 * benchtests/bench-strlen-ifunc.c: New file.
17239 * benchtests/bench-strlen.c: New file.
17240 * benchtests/bench-strncasecmp-ifunc.c: New file.
17241 * benchtests/bench-strncasecmp.c: New file.
17242 * benchtests/bench-strncat-ifunc.c: New file.
17243 * benchtests/bench-strncat.c: New file.
17244 * benchtests/bench-strncmp-ifunc.c: New file.
17245 * benchtests/bench-strncmp.c: New file.
17246 * benchtests/bench-strncpy-ifunc.c: New file.
17247 * benchtests/bench-strncpy.c: New file.
17248 * benchtests/bench-strnlen-ifunc.c: New file.
17249 * benchtests/bench-strnlen.c: New file.
17250 * benchtests/bench-strpbrk-ifunc.c: New file.
17251 * benchtests/bench-strpbrk.c: New file.
17252 * benchtests/bench-strrchr-ifunc.c: New file.
17253 * benchtests/bench-strrchr.c: New file.
17254 * benchtests/bench-strspn-ifunc.c: New file.
17255 * benchtests/bench-strspn.c: New file.
17256 * benchtests/bench-strstr-ifunc.c: New file.
17257 * benchtests/bench-strstr.c: New file.
17259 * benchtests/Makefile: Disable parallel execution of targets.
17260 (string-bench): Add memcpy.
17261 (benchset): New variable to store a list of benchmark sets.
17262 (bench-func): Renamed from bench.
17263 (bench-set): New target.
17264 (bench): Depend on bench-func and bench-set.
17265 * benchtests/README: Add section on benchmark sets.
17266 * benchtests/bench-memcpy-ifunc.c: New file.
17267 * benchtests/bench-memcpy.c: New file.
17268 * benchtests/bench-string.h: New file.
17270 2013-06-11 Andreas Schwab <schwab@suse.de>
17273 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
17274 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
17275 values in the triple.
17276 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
17277 terminator in the group key.
17279 2013-06-11 Andreas Jaeger <aj@suse.de>
17281 * po/zh_TW.po: Update Chinese (traditional) translation from
17282 translation project.
17284 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17286 * include/time.h (__clock_gettime): Add libc_hidden_proto.
17287 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
17288 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
17289 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17290 (clock_getcpuclockid): Likewise.
17291 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
17292 Add weak_alias and libc_hidden_def.
17293 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
17294 * rt/clock_gettime.c (clock_gettime): Rename to
17295 __clock_gettime. Add weak_alias and libc_hidden_def.
17296 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
17297 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
17298 __clock_nanosleep. Add weak_alias and libc_hidden_def.
17299 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
17300 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
17302 * rt/clock_settime.c (clock_settime): Rename to
17303 __clock_settime. Add weak_alias and libc_hidden_def.
17304 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
17306 2013-06-10 Joseph Myers <joseph@codesourcery.com>
17308 * mach/err_boot.sub: Remove trailing whitespace.
17309 * mach/err_ipc.sub: Likewise.
17310 * mach/err_mach.sub: Likewise.
17312 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
17313 (ROUNDING_TESTS_double): Likewise.
17314 (ROUNDING_TESTS_long_double): Likewise.
17315 (ROUNDING_TESTS): Likewise.
17316 * math/libm-test.inc: Include <math-tests.h>.
17317 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
17318 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17319 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17320 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17322 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17324 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
17327 2013-06-08 Joseph Myers <joseph@codesourcery.com>
17329 * sysdeps/gnu/errlist.awk: Do not generate space at end of
17330 otherwise empty TRANS lines.
17331 * sysdeps/gnu/errlist.c: Regenerated.
17333 * catgets/gencat.c (error_print): Use (void) in function
17335 * crypt/crypt_util.c (__init_des): Likewise.
17336 * crypt/speeds.c (Stop): Likewise.
17338 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
17339 * inet/ruserpass.c (token): Likewise.
17340 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
17341 * intl/localealias.c (extend_alias_table): Likewise.
17342 * intl/plural-exp.c (init_germanic_plural): Likewise.
17343 * libio/fcloseall.c (__fcloseall): Likewise.
17344 * libio/genops.c (_IO_flush_all): Likewise.
17345 (_IO_flush_all_linebuffered): Likewise.
17346 (_IO_cleanup): Likewise.
17347 (_IO_iter_begin): Likewise.
17348 (_IO_iter_end): Likewise.
17349 (_IO_list_lock): Likewise.
17350 (_IO_list_unlock): Likewise.
17351 (_IO_list_resetlock): Likewise.
17352 * libio/getchar.c (getchar): Likewise.
17353 * libio/getchar_u.c (getchar_unlocked): Likewise.
17354 * libio/getwchar.c (getwchar): Likewise.
17355 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
17356 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
17357 * login/getpt.c (__getpt): Likewise.
17358 * login/tst-utmp.c (main): Likewise.
17359 * malloc/hooks.c (__malloc_check_init): Likewise.
17360 * malloc/malloc.c (__malloc_stats): Likewise.
17361 * malloc/mtrace.c (tr_break): Likewise.
17362 (mtrace): Likewise.
17363 (muntrace): Likewise.
17364 * misc/fstab.c (endfsent): Likewise.
17365 * misc/getclktck.c (__getclktck): Likewise.
17366 * misc/getdtsz.c (__getdtablesize): Likewise.
17367 * misc/gethostid.c (gethostid): Likewise.
17368 * misc/getpagesize.c (__getpagesize): Likewise.
17369 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
17370 (__get_nprocs): Likewise.
17371 (__get_phys_pages): Likewise.
17372 (__get_avphys_pages): Likewise.
17373 * misc/getttyent.c (getttyent): Likewise.
17374 (setttyent): Likewise.
17375 (endttyent): Likewise.
17376 * misc/getusershell.c (getusershell): Likewise.
17377 (endusershell): Likewise.
17378 (setusershell): Likewise.
17379 (initshells): Likewise.
17380 * misc/hsearch.c (__hdestroy): Likewise.
17381 * misc/sync.c (sync): Likewise.
17382 * misc/syslog.c (closelog_internal): Likewise.
17383 (closelog): Likewise.
17384 * misc/ttyslot.c (ttyslot): Likewise.
17385 * misc/vhangup.c (vhangup): Likewise.
17386 * posix/fork.c (__fork): Likewise.
17387 * posix/getegid.c (__getegid): Likewise.
17388 * posix/geteuid.c (__geteuid): Likewise.
17389 * posix/getgid.c (__getgid): Likewise.
17390 * posix/getpid.c (__getpid): Likewise.
17391 * posix/getppid.c (__getppid): Likewise.
17392 * posix/getuid.c (__getuid): Likewise.
17393 * posix/pause.c (pause): Likewise.
17394 * posix/setpgrp.c (setpgrp): Likewise.
17395 * posix/setsid.c (__setsid): Likewise.
17396 * posix/test-vfork.c (noop): Likewise.
17397 * resolv/gethnamaddr.c (_endhtent): Likewise.
17398 (_gethtent): Likewise.
17399 (ht_endhostent): Likewise.
17400 (gethostent): Likewise.
17401 (dns_service): Likewise.
17402 * stdlib/drand48.c (drand48): Likewise.
17403 * stdlib/lrand48.c (lrand48): Likewise.
17404 * stdlib/mrand48.c (mrand48): Likewise.
17405 * stdlib/rand.c (rand): Likewise.
17406 * stdlib/random.c (__random): Likewise.
17407 * stdlib/setenv.c (clearenv): Likewise.
17408 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
17409 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
17410 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
17411 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
17412 (__get_nprocs): Likewise.
17413 (__get_phys_pages): Likewise.
17414 (__get_avphys_pages): Likewise.
17415 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
17416 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
17417 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
17418 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
17419 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
17420 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
17421 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
17422 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
17423 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
17424 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
17425 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
17426 * sysdeps/mach/hurd/sync.c (sync): Likewise.
17427 * sysdeps/posix/clock.c (clock): Likewise.
17428 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
17429 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17430 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17431 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17432 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17434 (__get_nprocs_conf): Likewise.
17435 (__get_phys_pages): Likewise.
17436 (__get_avphys_pages): Likewise.
17437 * time/clock.c (clock): Likewise.
17438 * time/tzset.c (__tzname_max): Likewise.
17440 2013-06-07 Joseph Myers <joseph@codesourcery.com>
17442 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17443 (__bswap_32): Do not use "register".
17444 * crypt/crypt.c (_ufc_doit_r): Likewise.
17445 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17446 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17447 * gmon/gmon.c (__monstartup): Likewise.
17448 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17449 * hurd/hurdmalloc.c (more_memory): Likewise.
17450 (malloc): Likewise.
17452 (realloc): Likewise.
17453 (malloc_fork_prepare): Likewise.
17454 (malloc_fork_parent): Likewise.
17455 (malloc_fork_child): Likewise.
17456 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17457 (_svcauth_des): Likewise.
17458 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17459 * inet/inet_net.c (inet_network): Likewise.
17460 * inet/inet_netof.c (inet_netof): Likewise.
17461 * inet/rcmd.c (__validuser2_sa): Likewise.
17462 * io/fts.c (fts_open): Likewise.
17463 (fts_load): Likewise.
17464 (fts_close): Likewise.
17465 (fts_read): Likewise.
17466 (fts_children): Likewise.
17467 (fts_build): Likewise.
17468 (fts_stat): Likewise.
17469 (fts_sort): Likewise.
17470 (fts_alloc): Likewise.
17471 (fts_lfree): Likewise.
17472 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17473 (_IO_file_xsgetn): Likewise.
17474 (_IO_file_xsgetn_mmap): Likewise.
17475 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17476 (_IO_cookie_write): Likewise.
17477 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17478 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17479 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17480 * malloc/obstack.c (_obstack_begin): Likewise.
17481 (_obstack_begin_1): Likewise.
17482 (_obstack_newchunk): Likewise.
17483 (_obstack_allocated_p): Likewise.
17484 (obstack_free): Likewise.
17485 (_obstack_memory_used): Likewise.
17486 * misc/getttyent.c (getttynam): Likewise.
17487 (getttyent): Likewise.
17490 * misc/getusershell.c (initshells): Likewise.
17491 * misc/syslog.c (__vsyslog_chk): Likewise.
17492 * misc/ttyslot.c (ttyslot): Likewise.
17493 * nis/nis_hash.c (__nis_hash): Likewise.
17494 * posix/fnmatch_loop.c (FCT): Likewise.
17495 * posix/getconf.c (print_all): Likewise.
17497 * posix/getopt.c (exchange): Likewise.
17498 * posix/glob.c (globfree): Likewise.
17499 (prefix_array): Likewise.
17500 (__glob_pattern_type): Likewise.
17501 * resolv/arpa/nameser.h (NS_GET16): Likewise.
17502 (NS_GET32): Likewise.
17503 (NS_PUT16): Likewise.
17504 (NS_PUT32): Likewise.
17505 * resolv/gethnamaddr.c (getanswer): Likewise.
17506 (gethostbyname2): Likewise.
17507 (gethostbyaddr): Likewise.
17508 (_gethtent): Likewise.
17509 (_gethtbyname2): Likewise.
17510 (_gethtbyaddr): Likewise.
17511 * resolv/ns_print.c (dst_s_get_int16): Likewise.
17512 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17513 * resolv/res_init.c (__res_vinit): Likewise.
17514 (net_mask): Likewise.
17515 * resolv/res_mkquery.c (outchar): Likewise.
17517 * stdio-common/printf_fp.c (outchar): Likewise.
17519 * stdio-common/printf_fphex.c (outchar): Likewise.
17521 * stdio-common/printf_size.c (outchar): Likewise.
17523 * stdio-common/test_rdwr.c (main): Likewise.
17524 * stdio-common/tfformat.c (matches): Likewise.
17525 * stdio-common/vfprintf.c (outchar): Likewise.
17526 (printf_unknown): Likewise.
17527 (buffered_vfprintf): Likewise.
17528 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17529 * stdio-common/xbug.c (AppendToBuffer): Likewise.
17530 (ReadFile): Likewise.
17531 * stdlib/qsort.c (SWAP): Likewise.
17532 (_quicksort): Likewise.
17533 * stdlib/setenv.c (__add_to_environ): Likewise.
17534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17535 * stdlib/strtol_l.c (__strtol_l): Likewise.
17536 * stdlib/tst-strtod.c (main): Likewise.
17537 * stdlib/tst-strtol.c (main): Likewise.
17538 * stdlib/tst-strtoll.c (main): Likewise.
17539 * string/bits/string2.h (__strcmp_cc): Likewise.
17540 (__strcmp_cg): Likewise.
17541 (__strcspn_c1): Likewise.
17542 (__strcspn_c2): Likewise.
17543 (__strcspn_c3): Likewise.
17544 (__strspn_c1): Likewise.
17545 (__strspn_c2): Likewise.
17546 (__strspn_c3): Likewise.
17547 (__strsep_1c): Likewise.
17548 (__strsep_2c): Likewise.
17549 (__strsep_3c): Likewise.
17550 * string/memccpy.c (__memccpy): Likewise.
17551 * string/stpcpy.c (__stpcpy): Likewise.
17552 * string/strcmp.c (strcmp): Likewise.
17553 * string/strrchr.c (strrchr): Likewise.
17554 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17556 * sysdeps/mach/hurd/getcwd.c
17557 (_hurd_canonicalize_directory_name_internal): Likewise.
17558 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17559 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17560 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17561 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17562 Likewise, in both definitions.
17563 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17565 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17566 64] (__bswap_64): Likewise.
17567 * time/test_time.c (main): Likewise.
17568 * time/tzfile.c (__tzfile_read): Likewise.
17569 (__tzfile_compute): Likewise.
17570 * time/tzset.c (__tzset_parse_tz): Likewise.
17571 (tzset_internal): Likewise.
17572 (compute_change): Likewise.
17573 * wcsmbs/wcscat.c (__wcscat): Likewise.
17574 * wcsmbs/wcschr.c (wcschr): Likewise.
17575 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17576 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17577 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17578 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17579 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17580 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17581 * wcsmbs/wmemchr.c (wmemchr): Likewise.
17582 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17583 * wcsmbs/wmemset.c (wmemset): Likewise.
17585 2013-06-06 Joseph Myers <joseph@codesourcery.com>
17587 * scripts/config.guess: Update to version 2013-05-16.
17588 * scripts/config.sub: Update to version 2013-04-24.
17589 * scripts/install-sh: Update to version 2011-11-20.07.
17590 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17591 * scripts/move-if-change: Update to version 2012-01-06 07:23.
17593 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
17595 * debug/fgetws_u_chk.c: Fix leading whitespaces.
17596 * elf/sln.c: Likewise.
17597 * hurd/hurd/ioctl.h: Likewise.
17598 * hurd/hurdmalloc.c: Likewise.
17599 * hurd/xattr.c: Likewise.
17600 * include/shlib-compat.h: Likewise.
17601 * inet/ruserpass.c: Likewise.
17602 * libio/iofgets_u.c: Likewise.
17603 * libio/iofgetws_u.c: Likewise.
17604 * locale/programs/ld-identification.c: Likewise.
17605 * locale/programs/ld-time.c: Likewise.
17606 * mach/msg-destroy.c: Likewise.
17607 * nss/nss_files/files-netgrp.c: Likewise.
17608 * resolv/res_data.c: Likewise.
17609 * soft-fp/op-1.h: Likewise.
17610 * soft-fp/op-2.h: Likewise.
17611 * soft-fp/op-4.h: Likewise.
17612 * soft-fp/op-common.h: Likewise.
17613 * stdio-common/printf_fphex.c: Likewise.
17614 * stdlib/strtod_l.c: Likewise.
17615 * sunrpc/rpc/clnt.h: Likewise.
17616 * sysdeps/generic/framestate.c: Likewise.
17617 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17618 * sysdeps/i386/bsd-setjmp.S: Likewise.
17619 * sysdeps/i386/__longjmp.S: Likewise.
17620 * sysdeps/i386/setjmp.S: Likewise.
17621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17622 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17624 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17626 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17627 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17628 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17629 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17630 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17631 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17632 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17633 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17634 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17635 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17636 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17637 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17638 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17639 * sysdeps/ieee754/support.c: Likewise.
17640 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17641 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17642 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17643 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17644 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17645 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17646 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17647 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17648 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17649 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17650 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17651 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17652 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17653 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17655 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17656 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17659 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
17661 * posix/transbug.c: Remove executable mode.
17663 2013-06-05 Joseph Myers <joseph@codesourcery.com>
17665 * crypt/speeds.c: Remove trailing whitespace.
17666 * dlfcn/default.c: Likewise.
17667 * elf/ifuncdep2.c: Likewise.
17668 * elf/ifuncmain1.c: Likewise.
17669 * elf/ifuncmain1vis.c: Likewise.
17670 * elf/testobj.h: Likewise.
17671 * elf/tst-stackguard1.c: Likewise.
17672 * gmon/sys/gmon.h: Likewise.
17673 * hurd/hurdmsg.c: Likewise.
17674 * hurd/new-fd.c: Likewise.
17675 * hurd/ports-get.c: Likewise.
17676 * iconvdata/ibm1008_420.c: Likewise.
17677 * inet/tst-getni1.c: Likewise.
17678 * inet/tst-getni2.c: Likewise.
17679 * libio/ioungetc.c: Likewise.
17680 * libio/wfiledoalloc.c: Likewise.
17681 * manual/libm-err-tab.pl: Likewise.
17682 * math/w_dremf.c: Likewise.
17683 * misc/ftruncate.c: Likewise.
17684 * posix/bug-glob2.c: Likewise.
17685 * posix/tst-pcre.c: Likewise.
17686 * posix/wait4.c: Likewise.
17687 * resolv/README: Likewise.
17688 * resolv/res_debug.h: Likewise.
17689 * resolv/tst-inet_ntop.c: Likewise.
17690 * setjmp/bug269-setjmp.c: Likewise.
17691 * soft-fp/extended.h: Likewise.
17692 * soft-fp/op-1.h: Likewise.
17693 * soft-fp/op-2.h: Likewise.
17694 * soft-fp/op-4.h: Likewise.
17695 * soft-fp/op-8.h: Likewise.
17696 * soft-fp/testit.c: Likewise.
17697 * stdio-common/bug16.c: Likewise.
17698 * stdlib/random.c: Likewise.
17699 * sunrpc/rpcsvc/rquota.x: Likewise.
17700 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17705 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17706 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17709 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17710 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17711 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17712 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17713 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17715 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17716 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17717 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17718 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17719 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17720 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17721 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17722 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17727 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17728 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17729 * sysdeps/ieee754/s_lib_version.c: Likewise.
17730 * sysdeps/mach/hurd/check_fds.c: Likewise.
17731 * sysdeps/mach/hurd/getsockname.c: Likewise.
17732 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17733 * sysdeps/mach/hurd/recvfrom.c: Likewise.
17734 * sysdeps/powerpc/bits/link.h: Likewise.
17735 * sysdeps/powerpc/dl-procinfo.c: Likewise.
17736 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17737 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17738 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17739 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17740 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17741 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17742 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17743 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17744 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17745 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17746 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17747 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17748 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17749 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17750 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17751 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17756 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17757 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17758 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17759 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17760 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17762 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17767 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17769 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17771 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17772 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17773 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17774 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17775 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17776 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17777 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17778 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17779 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17780 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17781 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17782 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17783 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17784 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17787 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17788 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17789 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17790 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17791 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17792 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17793 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17794 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17795 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17797 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17798 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17799 * sysdeps/powerpc/sysdep.h: Likewise.
17800 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17801 * sysdeps/s390/s390-64/sub_n.S: Likewise.
17802 * sysdeps/sh/dl-trampoline.S: Likewise.
17803 * sysdeps/sh/memset.S: Likewise.
17804 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17805 * sysdeps/sh/strlen.S: Likewise.
17806 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17807 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17808 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17809 * sysdeps/sparc/sparc32/rem.S: Likewise.
17810 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17811 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17812 * sysdeps/sparc/sparc32/strchr.S: Likewise.
17813 * sysdeps/sparc/sparc32/udiv.S: Likewise.
17814 * sysdeps/sparc/sparc32/urem.S: Likewise.
17815 * sysdeps/sparc/sparc64/add_n.S: Likewise.
17816 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17817 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17818 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17820 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17821 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17822 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17823 * sysdeps/unix/bsd/times.c: Likewise.
17824 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17825 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17829 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17830 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17831 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17832 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17833 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17834 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17835 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17836 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17837 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17838 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17839 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17840 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17841 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17842 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17843 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17844 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17845 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17846 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17847 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17848 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17849 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17850 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17852 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17853 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17854 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17855 * sysdeps/x86_64/strcspn.S: Likewise.
17857 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17859 * locale/C-translit.h: Revert #include <stdint.h> because this is a
17860 generated file. Regenerate properly from gen-translit.pl.
17861 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
17862 locale/C-translit.h.
17864 2013-06-05 Andreas Schwab <schwab@suse.de>
17867 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17868 week as 6 instead of -1.
17869 * time/tst-strptime.c (day_tests): Add test case.
17871 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17873 * sysdeps/generic/math_private.h
17874 (libc_feholdexcept_setround_53bit): Replace with
17875 libc_feholdsetround_53bit.
17876 (libc_feupdateenv_53bit): Replace with
17877 libc_feresetround_53bit.
17878 (SET_RESTORE_ROUND_53BIT): Adjust.
17880 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17882 * string/test-strchrnul.c: Add copyright header.
17884 * posix/tst-getaddrinfo4.c: Increase test timeout.
17886 2013-06-03 Carlos O'Donell <carlos@redhat.com>
17889 * math/libm-test.inc (MAX_EXP): Remove
17891 (ulp): Use MIN_EXP - MANT_DIG.
17892 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17894 2013-05-31 Carlos O'Donell <carlos@redhat.com>
17896 * po/be.po: Revert last change.
17897 * po/zh_CN.po: Likewise.
17898 * po/header.pot: Likewise.
17900 2013-05-31 Joseph Myers <joseph@codesourcery.com>
17902 * Makefile ($(common-objpfx)linkobj/libc.so): Define
17903 link-libc-deps to empty as target-specific variable.
17904 * Makerules (link-libc-args): New variable.
17905 (libc-for-link): Likewise.
17906 (link-libc-deps): Likewise.
17907 (lib%.so): Depend on $(link-libc-deps). Link with
17909 (build-module): Link with $(link-libc-args).
17910 (build-module-asneeded): Likewise.
17911 (build-module-helper-objlist): Filter out $(link-libc-deps) from
17913 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17914 target-specific variable.
17915 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17916 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17917 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17919 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17921 ($(objpfx)libpcprofile.so): Likewise.
17922 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17924 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17925 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17926 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17928 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17929 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17930 * login/Makefile ($(objpfx)libutil.so): Likewise.
17931 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17932 * math/Makefile ($(objpfx)libm.so): Likewise.
17933 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17934 $(objpfx)libnsl.so): Define libc-for-link as target-specific
17935 variable instead of depending directly on libc.
17936 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17937 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17939 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17941 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17942 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17943 ($(objpfx)libanl.so): Likewise.
17944 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17946 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17948 * sysdeps/i386/fpu/Makefile: Remove file.
17949 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17950 ($(objpfx)libm.so): Remove dependency on ld.so.
17952 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
17955 * nis/yp_xdr.c (XDRMAXNAME): Define.
17956 (XDRMAXRECORD): Define.
17957 (xdr_domainname): Use XDRMAXNAME.
17958 (xdr_mapname): Likewise.
17959 (xdr_peername): Likewise.
17960 (xdr_keydat): Use XDRMAXRECORD.
17961 (xdr_valdat): Likewise.
17963 2013-05-30 Jeff Law <law@redhat.com>
17966 * manual/errno.texi (ESTALE): Update to account for more than
17967 just NFS file systems.
17968 * sysdeps/gnu/errlist.c: Regenerated.
17970 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17973 * elf/Makefile (tests): Add tst-null-argv.
17974 (modules-names): Add tst-null-argv-lib.
17975 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17976 (tst-null-argv-ENV): Set environment for tst-null-argv.
17977 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17978 (RTLD_PROGNAME): New macro.
17979 * elf/tst-null-argv.c: New test case.
17980 * elf/tst-null-argv-lib.c: Library for test case.
17981 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17982 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17983 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17984 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17985 * elf/dl-init.c (call_init): Likewise.
17986 (_dl_init): Likewise.
17987 * elf/dl-load.c (print_search_path): Likewise.
17988 (_dl_map_object): Likewise.
17989 * elf/dl-lookup.c (do_lookup_x): Likewise.
17990 (add_dependency): Likewise.
17991 (_dl_lookup_symbol_x): Likewise.
17992 (_dl_debug_bindings): Likewise.
17993 * elf/dl-open.c (_dl_show_scope): Likewise.
17994 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17995 * elf/dl-version.c (match_symbol): Likewise.
17996 (_dl_check_map_versions): Likewise.
17997 * elf/rtld.c (dl_main): Likewise.
17998 (print_unresolved): Use RTLD_PROGNAME.
17999 (print_missing_version): Likewise.
18000 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
18001 (elf_machine_rela): Likewise.
18002 * sysdeps/powerpc/powerpc32/dl-machine.c
18003 (__process_machine_rela): Likewise.
18004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18006 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18008 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
18010 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
18013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
18015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
18017 2013-05-28 Carlos O'Donell <carlos@redhat.com>
18019 * po/be.po: Add descriptive title.
18020 * po/zh_CN.po: Likewise.
18021 * po/header.pot: Likewise.
18023 2013-05-28 Mike Frysinger <vapier@gentoo.org>
18025 * locale/programs/locarchive.c (create_archive): Inlucde fname in
18027 (enlarge_archive): Likewise.
18029 2013-05-28 Ben North <ben@redfrontdoor.org>
18031 * manual/arith.texi (frexp): It is the magnitude of the return
18032 value which lies in [0.5, 1), not the return value itself.
18034 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18038 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
18040 * stdio-common/bug26.c (main): Correct fscanf template.
18042 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
18043 declare _dl_skip_args.
18045 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
18048 * manual/platform.texi: Add missing @end deftypefun.
18050 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
18054 bit of mantissa of 2^16382.
18055 * math/libm-test.inc (hypot_test_data): Add more tests.
18057 * math/libm-test.inc: Add drem and pow10 to list of tested
18059 (pow10_test): New function.
18060 (drem_test): Likewise.
18061 (drem_test_tonearest): Likewise.
18062 (drem_test_towardzero): Likewise.
18063 (drem_test_downward): Likewise.
18064 (drem_test_upward): Likewise.
18065 (main): Call the new functions.
18067 * math/libm-test.inc (finite_test_data): Remove.
18068 (finite_test): Run tests from isfinite_test_data.
18069 (gamma_test_data): Remove.
18070 (gamma_test): Run tests from lgamma_test_data.
18071 * sysdeps/i386/fpu/libm-test-ulps: Update.
18072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18074 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18076 * manual/platform.texi: Add PowerPC PPR function set documentation.
18077 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
18080 2013-05-24 Carlos O'Donell <carlos@redhat.com>
18082 * math/libm-test.inc (MAX_EXP): Define.
18084 (ulp): New function.
18085 (check_float_internal): Use ULPDIFF.
18086 (cpow_test): Disable failing test.
18087 (check_ulp): Test ulp() implemetnation.
18088 (main): Call check_ulp before starting tests.
18090 2013-05-24 Joseph Myers <joseph@codesourcery.com>
18092 * math/gen-libm-test.pl (generate_testfile): Do not handle
18093 START_DATA and END_DATA.
18094 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
18096 (acos_tonearest_test_data): Likewise.
18097 (acos_towardzero_test_data): Likewise.
18098 (acos_downward_test_data): Likewise.
18099 (acos_upward_test_data): Likewise.
18100 (acosh_test_data): Likewise.
18101 (asin_test_data): Likewise.
18102 (asin_tonearest_test_data): Likewise.
18103 (asin_towardzero_test_data): Likewise.
18104 (asin_downward_test_data): Likewise.
18105 (asin_upward_test_data): Likewise.
18106 (asinh_test_data): Likewise.
18107 (atan_test_data): Likewise.
18108 (atanh_test_data): Likewise.
18109 (atan2_test_data): Likewise.
18110 (cabs_test_data): Likewise.
18111 (cacos_test_data): Likewise.
18112 (cacosh_test_data): Likewise.
18113 (carg_test_data): Likewise.
18114 (casin_test_data): Likewise.
18115 (casinh_test_data): Likewise.
18116 (catan_test_data): Likewise.
18117 (catanh_test_data): Likewise.
18118 (cbrt_test_data): Likewise.
18119 (ccos_test_data): Likewise.
18120 (ccosh_test_data): Likewise.
18121 (ceil_test_data): Likewise.
18122 (cexp_test_data): Likewise.
18123 (cimag_test_data): Likewise.
18124 (clog_test_data): Likewise.
18125 (clog10_test_data): Likewise.
18126 (conj_test_data): Likewise.
18127 (copysign_test_data): Likewise.
18128 (cos_test_data): Likewise.
18129 (cos_tonearest_test_data): Likewise.
18130 (cos_towardzero_test_data): Likewise.
18131 (cos_downward_test_data): Likewise.
18132 (cos_upward_test_data): Likewise.
18133 (cosh_test_data): Likewise.
18134 (cosh_tonearest_test_data): Likewise.
18135 (cosh_towardzero_test_data): Likewise.
18136 (cosh_downward_test_data): Likewise.
18137 (cosh_upward_test_data): Likewise.
18138 (cpow_test_data): Likewise.
18139 (cproj_test_data): Likewise.
18140 (creal_test_data): Likewise.
18141 (csin_test_data): Likewise.
18142 (csinh_test_data): Likewise.
18143 (csqrt_test_data): Likewise.
18144 (ctan_test_data): Likewise.
18145 (ctan_tonearest_test_data): Likewise.
18146 (ctan_towardzero_test_data): Likewise.
18147 (ctan_downward_test_data): Likewise.
18148 (ctan_upward_test_data): Likewise.
18149 (ctanh_test_data): Likewise.
18150 (ctanh_tonearest_test_data): Likewise.
18151 (ctanh_towardzero_test_data): Likewise.
18152 (ctanh_downward_test_data): Likewise.
18153 (ctanh_upward_test_data): Likewise.
18154 (erf_test_data): Likewise.
18155 (erfc_test_data): Likewise.
18156 (exp_test_data): Likewise.
18157 (exp_tonearest_test_data): Likewise.
18158 (exp_towardzero_test_data): Likewise.
18159 (exp_downward_test_data): Likewise.
18160 (exp_upward_test_data): Likewise.
18161 (exp10_test_data): Likewise.
18162 (exp2_test_data): Likewise.
18163 (expm1_test_data): Likewise.
18164 (fabs_test_data): Likewise.
18165 (fdim_test_data): Likewise.
18166 (finite_test_data): Likewise.
18167 (floor_test_data): Likewise.
18168 (fma_test_data): Likewise.
18169 (fma_towardzero_test_data): Likewise.
18170 (fma_downward_test_data): Likewise.
18171 (fma_upward_test_data): Likewise.
18172 (fmax_test_data): Likewise.
18173 (fmin_test_data): Likewise.
18174 (fmod_test_data): Likewise.
18175 (fpclassify_test_data): Likewise.
18176 (frexp_test_data): Likewise.
18177 (gamma_test_data): Likewise.
18178 (hypot_test_data): Likewise.
18179 (ilogb_test_data): Likewise.
18180 (isfinite_test_data): Likewise.
18181 (isgreater_test_data): Likewise.
18182 (isgreaterequal_test_data): Likewise.
18183 (isinf_test_data): Likewise.
18184 (isless_test_data): Likewise.
18185 (islessequal_test_data): Likewise.
18186 (islessgreater_test_data): Likewise.
18187 (isnan_test_data): Likewise.
18188 (isnormal_test_data): Likewise.
18189 (issignaling_test_data): Likewise.
18190 (isunordered_test_data): Likewise.
18191 (j0_test_data): Likewise.
18192 (j1_test_data): Likewise.
18193 (jn_test_data): Likewise.
18194 (ldexp_test_data): Likewise.
18195 (lgamma_test_data): Likewise.
18196 (lrint_test_data): Likewise.
18197 (lrint_tonearest_test_data): Likewise.
18198 (lrint_towardzero_test_data): Likewise.
18199 (lrint_downward_test_data): Likewise.
18200 (lrint_upward_test_data): Likewise.
18201 (llrint_test_data): Likewise.
18202 (llrint_tonearest_test_data): Likewise.
18203 (llrint_towardzero_test_data): Likewise.
18204 (llrint_downward_test_data): Likewise.
18205 (llrint_upward_test_data): Likewise.
18206 (log_test_data): Likewise.
18207 (log10_test_data): Likewise.
18208 (log1p_test_data): Likewise.
18209 (log2_test_data): Likewise.
18210 (logb_test_data): Likewise.
18211 (logb_downward_test_data): Likewise.
18212 (lround_test_data): Likewise.
18213 (llround_test_data): Likewise.
18214 (modf_test_data): Likewise.
18215 (nearbyint_test_data): Likewise.
18216 (nextafter_test_data): Likewise.
18217 (nexttoward_test_data): Likewise.
18218 (pow_test_data): Likewise.
18219 (pow_tonearest_test_data): Likewise.
18220 (pow_towardzero_test_data): Likewise.
18221 (pow_downward_test_data): Likewise.
18222 (pow_upward_test_data): Likewise.
18223 (remainder_test_data): Likewise.
18224 (remainder_tonearest_test_data): Likewise.
18225 (remainder_towardzero_test_data): Likewise.
18226 (remainder_downward_test_data): Likewise.
18227 (remainder_upward_test_data): Likewise.
18228 (remquo_test_data): Likewise.
18229 (rint_test_data): Likewise.
18230 (rint_tonearest_test_data): Likewise.
18231 (rint_towardzero_test_data): Likewise.
18232 (rint_downward_test_data): Likewise.
18233 (rint_upward_test_data): Likewise.
18234 (round_test_data): Likewise.
18235 (scalb_test_data): Likewise.
18236 (scalbn_test_data): Likewise.
18237 (scalbln_test_data): Likewise.
18238 (signbit_test_data): Likewise.
18239 (sin_test_data): Likewise.
18240 (sin_tonearest_test_data): Likewise.
18241 (sin_towardzero_test_data): Likewise.
18242 (sin_downward_test_data): Likewise.
18243 (sin_upward_test_data): Likewise.
18244 (sincos_test_data): Likewise.
18245 (sinh_test_data): Likewise.
18246 (sinh_tonearest_test_data): Likewise.
18247 (sinh_towardzero_test_data): Likewise.
18248 (sinh_downward_test_data): Likewise.
18249 (sinh_upward_test_data): Likewise.
18250 (sqrt_test_data): Likewise.
18251 (tan_test_data): Likewise.
18252 (tan_tonearest_test_data): Likewise.
18253 (tan_towardzero_test_data): Likewise.
18254 (tan_downward_test_data): Likewise.
18255 (tan_upward_test_data): Likewise.
18256 (tanh_test_data): Likewise.
18257 (tgamma_test_data): Likewise.
18258 (trunc_test_data): Likewise.
18259 (y0_test_data): Likewise.
18260 (y1_test_data): Likewise.
18261 (yn_test_data): Likewise.
18262 (significand_test_data): Likewise.
18264 * math/gen-libm-test.pl (@functions): Remove variable.
18265 (generate_testfile): Don't handle START and END lines.
18266 * math/libm-test.inc (START): New macro.
18268 (END_COMPLEX): Likewise.
18269 (acos_test): Use END macro without arguments.
18270 (acos_test_tonearest): Likewise.
18271 (acos_test_towardzero): Likewise.
18272 (acos_test_downward): Likewise.
18273 (acos_test_upward): Likewise.
18274 (acosh_test): Likewise.
18275 (asin_test): Likewise.
18276 (asin_test_tonearest): Likewise.
18277 (asin_test_towardzero): Likewise.
18278 (asin_test_downward): Likewise.
18279 (asin_test_upward): Likewise.
18280 (asinh_test): Likewise.
18281 (atan_test): Likewise.
18282 (atanh_test): Likewise.
18283 (atan2_test): Likewise.
18284 (cabs_test): Likewise.
18285 (cacos_test): Use END_COMPLEX macro without arguments.
18286 (cacosh_test): Likewise.
18287 (carg_test): Use END macro without arguments.
18288 (casin_test): Use END_COMPLEX macro without arguments.
18289 (casinh_test): Likewise.
18290 (catan_test): Likewise.
18291 (catanh_test): Likewise.
18292 (cbrt_test): Use END macro without arguments.
18293 (ccos_test): Use END_COMPLEX macro without arguments.
18294 (ccosh_test): Likewise.
18295 (ceil_test): Use END macro without arguments.
18296 (cexp_test): Use END_COMPLEX macro without arguments.
18297 (cimag_test): Use END macro without arguments.
18298 (clog_test): Use END_COMPLEX macro without arguments.
18299 (clog10_test): Likewise.
18300 (conj_test): Likewise.
18301 (copysign_test): Use END macro without arguments.
18302 (cos_test): Likewise.
18303 (cos_test_tonearest): Likewise.
18304 (cos_test_towardzero): Likewise.
18305 (cos_test_downward): Likewise.
18306 (cos_test_upward): Likewise.
18307 (cosh_test): Likewise.
18308 (cosh_test_tonearest): Likewise.
18309 (cosh_test_towardzero): Likewise.
18310 (cosh_test_downward): Likewise.
18311 (cosh_test_upward): Likewise.
18312 (cpow_test): Use END_COMPLEX macro without arguments.
18313 (cproj_test): Likewise.
18314 (creal_test): Use END macro without arguments.
18315 (csin_test): Use END_COMPLEX macro without arguments.
18316 (csinh_test): Likewise.
18317 (csqrt_test): Likewise.
18318 (ctan_test): Likewise.
18319 (ctan_test_tonearest): Likewise.
18320 (ctan_test_towardzero): Likewise.
18321 (ctan_test_downward): Likewise.
18322 (ctan_test_upward): Likewise.
18323 (ctanh_test): Likewise.
18324 (ctanh_test_tonearest): Likewise.
18325 (ctanh_test_towardzero): Likewise.
18326 (ctanh_test_downward): Likewise.
18327 (ctanh_test_upward): Likewise.
18328 (erf_test): Use END macro without arguments.
18329 (erfc_test): Likewise.
18330 (exp_test): Likewise.
18331 (exp_test_tonearest): Likewise.
18332 (exp_test_towardzero): Likewise.
18333 (exp_test_downward): Likewise.
18334 (exp_test_upward): Likewise.
18335 (exp10_test): Likewise.
18336 (exp2_test): Likewise.
18337 (expm1_test): Likewise.
18338 (fabs_test): Likewise.
18339 (fdim_test): Likewise.
18340 (finite_test): Likewise.
18341 (floor_test): Likewise.
18342 (fma_test): Likewise.
18343 (fma_test_towardzero): Likewise.
18344 (fma_test_downward): Likewise.
18345 (fma_test_upward): Likewise.
18346 (fmax_test): Likewise.
18347 (fmin_test): Likewise.
18348 (fmod_test): Likewise.
18349 (fpclassify_test): Likewise.
18350 (frexp_test): Likewise.
18351 (gamma_test): Likewise.
18352 (hypot_test): Likewise.
18353 (ilogb_test): Likewise.
18354 (isfinite_test): Likewise.
18355 (isgreater_test): Likewise.
18356 (isgreaterequal_test): Likewise.
18357 (isinf_test): Likewise.
18358 (isless_test): Likewise.
18359 (islessequal_test): Likewise.
18360 (islessgreater_test): Likewise.
18361 (isnan_test): Likewise.
18362 (isnormal_test): Likewise.
18363 (issignaling_test): Likewise.
18364 (isunordered_test): Likewise.
18365 (j0_test): Likewise.
18366 (j1_test): Likewise.
18367 (jn_test): Likewise.
18368 (ldexp_test): Likewise.
18369 (lgamma_test): Likewise.
18370 (lrint_test): Likewise.
18371 (lrint_test_tonearest): Likewise.
18372 (lrint_test_towardzero): Likewise.
18373 (lrint_test_downward): Likewise.
18374 (lrint_test_upward): Likewise.
18375 (llrint_test): Likewise.
18376 (llrint_test_tonearest): Likewise.
18377 (llrint_test_towardzero): Likewise.
18378 (llrint_test_downward): Likewise.
18379 (llrint_test_upward): Likewise.
18380 (log_test): Likewise.
18381 (log10_test): Likewise.
18382 (log1p_test): Likewise.
18383 (log2_test): Likewise.
18384 (logb_test): Likewise.
18385 (logb_test_downward): Likewise.
18386 (lround_test): Likewise.
18387 (llround_test): Likewise.
18388 (modf_test): Likewise.
18389 (nearbyint_test): Likewise.
18390 (nextafter_test): Likewise.
18391 (nexttoward_test): Likewise.
18392 (pow_test): Likewise.
18393 (pow_test_tonearest): Likewise.
18394 (pow_test_towardzero): Likewise.
18395 (pow_test_downward): Likewise.
18396 (pow_test_upward): Likewise.
18397 (remainder_test): Likewise.
18398 (remainder_test_tonearest): Likewise.
18399 (remainder_test_towardzero): Likewise.
18400 (remainder_test_downward): Likewise.
18401 (remainder_test_upward): Likewise.
18402 (remquo_test): Likewise.
18403 (rint_test): Likewise.
18404 (rint_test_tonearest): Likewise.
18405 (rint_test_towardzero): Likewise.
18406 (rint_test_downward): Likewise.
18407 (rint_test_upward): Likewise.
18408 (round_test): Likewise.
18409 (scalb_test): Likewise.
18410 (scalbn_test): Likewise.
18411 (scalbln_test): Likewise.
18412 (signbit_test): Likewise.
18413 (sin_test): Likewise.
18414 (sin_test_tonearest): Likewise.
18415 (sin_test_towardzero): Likewise.
18416 (sin_test_downward): Likewise.
18417 (sin_test_upward): Likewise.
18418 (sincos_test): Likewise.
18419 (sinh_test): Likewise.
18420 (sinh_test_tonearest): Likewise.
18421 (sinh_test_towardzero): Likewise.
18422 (sinh_test_downward): Likewise.
18423 (sinh_test_upward): Likewise.
18424 (sqrt_test): Likewise.
18425 (tan_test): Likewise.
18426 (tan_test_tonearest): Likewise.
18427 (tan_test_towardzero): Likewise.
18428 (tan_test_downward): Likewise.
18429 (tan_test_upward): Likewise.
18430 (tanh_test): Likewise.
18431 (tgamma_test): Likewise.
18432 (trunc_test): Likewise.
18433 (y0_test): Likewise.
18434 (y1_test): Likewise.
18435 (yn_test): Likewise.
18436 (significand_test): Likewise.
18438 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
18441 * libio/genops.c (_IO_no_init): Initialize wide struct info.
18443 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
18446 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18447 __ppc_mdoio and __ppc_mdoom.
18448 * manual/platform.texi: Document new functions __ppc_yield,
18449 __ppc_mdoio and __ppc_mdoom.
18451 2013-05-22 Carlos O'Donell <carlos@redhat.com>
18453 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18454 (main): Mention "tls" pseudo-hwcap is legacy.
18455 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18457 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18459 * math/gen-libm-test.pl (parse_args): Output only string of
18460 arguments as text for test name, not full call or descriptions of
18461 tests for extra outputs.
18462 (generate_testfile): Do not pass function name to parse_args.
18463 Generate this_func variable from START.
18464 * math/libm-test.inc (struct test_f_f_data): Rename test_name
18466 (struct test_ff_f_data): Likewise.
18467 (test_ff_f_data_nexttoward): Likewise.
18468 (struct test_fi_f_data): Likewise.
18469 (struct test_fl_f_data): Likewise.
18470 (struct test_if_f_data): Likewise.
18471 (struct test_fff_f_data): Likewise.
18472 (struct test_c_f_data): Likewise.
18473 (struct test_f_f1_data): Likewise. Remove field extra_name.
18474 (struct test_fF_f1_data): Likewise.
18475 (struct test_ffI_f1_data): Likewise.
18476 (struct test_c_c_data): Rename test_name field to arg_str.
18477 (struct test_cc_c_data): Likewise.
18478 (struct test_f_i_data): Likewise.
18479 (struct test_ff_i_data): Likewise.
18480 (struct test_f_l_data): Likewise.
18481 (struct test_f_L_data): Likewise.
18482 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
18484 (COMMON_TEST_SETUP): New macro.
18485 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18486 (COMMON_TEST_CLEANUP): Likewise.
18487 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18488 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
18490 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18491 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
18493 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18494 (RUN_TEST_fff_f): Take argument string. Call new setup and
18496 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18497 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
18499 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18500 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
18502 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18503 (RUN_TEST_fF_f1): Take argument string. Call new setup and
18505 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18506 (RUN_TEST_fI_f1): Take argument string. Call new setup and
18508 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18509 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
18511 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18512 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
18514 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18515 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
18517 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18518 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
18520 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18521 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
18523 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18524 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
18526 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18527 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
18529 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18530 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
18532 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18533 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
18535 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18536 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
18538 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18539 (RUN_TEST_fFF_11): Take argument string. Call new setup and
18541 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18543 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
18545 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18546 to _sifields.sigfault.
18547 (si_addr_lsb): Define new macro.
18548 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18550 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18552 2013-05-03 Carlos O'Donell <carlos at redhat.com>
18555 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18557 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18559 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18560 loading the domain.
18562 2013-05-22 Joseph Myers <joseph@codesourcery.com>
18564 * math/gen-libm-test.pl (parse_args): Do not include expected
18565 result in test name.
18566 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18568 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18569 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18570 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18573 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18575 * benchtests/Makefile: Sort function entries.
18577 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18578 tanh, asinh, acosh, atanh.
18579 * benchtests/acos-inputs: New file.
18580 * benchtests/acosh-inputs: New file.
18581 * benchtests/asin-inputs: New file.
18582 * benchtests/asinh-inputs: New file.
18583 * benchtests/atanh-inputs: New file.
18584 * benchtests/cosh-inputs: New file.
18585 * benchtests/log-inputs: New file.
18586 * benchtests/sinh-inputs: New file.
18587 * benchtests/tanh-inputs: New file.
18589 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
18592 * posix/tst-getaddrinfo4.c: New test.
18593 * posix/Makefile (tests): Add it.
18595 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18598 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18599 when no services were used.
18600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18601 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18603 2013-05-21 Andreas Schwab <schwab@suse.de>
18606 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18607 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18609 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18610 redundant variable declarations and reallocation of buffer when
18611 parsing as IPv6 address. Always set NSS status when called from
18612 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
18613 buffer too small. Correct computation of needed size.
18614 * nss/Makefile (tests): Add test-digits-dots.
18615 * nss/test-digits-dots.c: New test.
18617 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18619 * benchtests/Makefile: Remove instructions for adding
18621 * benchtests/README: New file to explain how to execute and
18622 enhance the benchmark tests.
18624 2013-05-21 Andreas Schwab <schwab@suse.de>
18627 * setjmp/Makefile (tests): Add tst-sigsetjmp.
18628 * setjmp/tst-sigsetjmp.c: New test.
18630 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18632 * sysdeps/x86_64/memset.S (memset): New implementation.
18633 (__bzero): Likewise.
18634 (__memset_tail): New function.
18636 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
18638 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18639 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18640 __memcpy_sse2_unaligned ifunc selection.
18641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18642 Add memcpy-sse2-unaligned.S.
18643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18644 Add: __memcpy_sse2_unaligned.
18646 2013-05-19 Joseph Myers <joseph@codesourcery.com>
18649 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18650 math_force_eval before restoring floating-point envrionment.
18651 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18654 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18656 (__nearbyintl): Use math_force_eval before restoring
18657 floating-point environment.
18658 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18660 * math/gen-libm-test.pl (special_functions): Remove.
18661 (parse_args): Don't handle TEST_extra. Handle functions with no
18663 * math/libm-test.inc (struct test_sincos_data): Replace with
18664 struct test_fFF_11_data.
18665 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18666 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18667 (sincos_test_data): Change element type to struct
18668 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
18669 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18670 RUN_TEST_LOOP_sincos.
18671 * math/README.libm-test: Don't mention special handling of
18672 individual functions.
18673 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18676 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18677 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18680 * math/gen-libm-test.pl (get_variable): Remove function.
18681 (parse_args): Don't show pointer parameters to call in test
18682 names. Use "extra output N" in test names for extra outputs
18683 rather than naming variables.
18685 2013-05-18 Joseph Myers <joseph@codesourcery.com>
18688 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18689 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18690 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18692 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18694 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18697 * math/gen-libm-test.pl (@tests): Remove variable.
18698 ($count): Likewise.
18699 (new_test): Remove function.
18700 (show_exceptions): New function.
18701 (special_functions): Use show_exceptions instead of new_test.
18702 (parse_args): Likewise.
18703 (generate_testfile): Pass only function name in generated call to
18704 print_max_error or print_complex_max_error.
18705 (get_ulps): Do not handle complex tests specially.
18706 (output_test): Rename to ...
18707 (get_all_ulps_for_test): ... this. Return a string rather than
18708 printing to a file. Require ulps to be present.
18709 (output_ulps): Generate arrays rather than #defines.
18710 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18711 (struct ulp_data): New type.
18712 (BUILD_COMPLEX_ULP): Remove macro.
18713 (compare_ulp_data): New function.
18714 (find_ulps): Likewise.
18715 (find_test_ulps): Likewise.
18716 (find_function_ulps): Likewise.
18717 (find_complex_function_ulps): Likewise.
18718 (print_max_error): Determine allowed ulps using
18719 find_function_ulps.
18720 (print_complex_max_error): Determine allowed ulps using
18721 find_complex_function_ulps.
18722 (check_float_internal): Determine max ulps using find_test_ulps.
18723 (check_float): Do not take max_ulp parameter. Update call to
18724 check_float_internal.
18725 (check_complex): Likewise.
18726 (check_int): Do not take max_ulp parameter.
18727 (check_long): Likewise.
18728 (check_bool): Likewise.
18729 (check_longlong): Likewise.
18730 (struct test_f_f_data): Remove max_ulp field.
18731 (struct test_ff_f_data): Likewise.
18732 (struct test_ff_f_data_nexttoward): Likewise.
18733 (struct test_fi_f_data): Likewise.
18734 (struct test_fl_f_data): Likewise.
18735 (struct test_if_f_data): Likewise.
18736 (struct test_fff_f_data): Likewise.
18737 (struct test_c_f_data): Likewise.
18738 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18739 (struct test_fF_f1_data): Likewise.
18740 (struct test_ffI_f1_data): Likewise.
18741 (struct test_c_c_data): Remove max_ulp field.
18742 (struct test_cc_c_data): Likewise.
18743 (struct test_f_i_data): Likewise.
18744 (struct test_ff_i_data): Likewise.
18745 (struct test_f_l_data): Likewise.
18746 (struct test_f_L_data): Likewise.
18747 (struct test_sincos_data): Likewise.
18748 (RUN_TEST_f_f): Do not handle ulps.
18749 (RUN_TEST_LOOP_f_f): Likewise.
18750 (RUN_TEST_2_f): Likewise.
18751 (RUN_TEST_LOOP_2_f): Likewise.
18752 (RUN_TEST_fff_f): Likewise.
18753 (RUN_TEST_LOOP_fff_f): Likewise.
18754 (RUN_TEST_c_f): Likewise.
18755 (RUN_TEST_LOOP_c_f): Likewise.
18756 (RUN_TEST_f_f1): Likewise.
18757 (RUN_TEST_LOOP_f_f1): Likewise.
18758 (RUN_TEST_fF_f1): Likewise.
18759 (RUN_TEST_LOOP_fF_f1): Likewise.
18760 (RUN_TEST_fI_f1): Likewise.
18761 (RUN_TEST_LOOP_fI_f1): Likewise.
18762 (RUN_TEST_ffI_f1): Likewise.
18763 (RUN_TEST_LOOP_ffI_f1): Likewise.
18764 (RUN_TEST_c_c): Likewise.
18765 (RUN_TEST_LOOP_c_c): Likewise.
18766 (RUN_TEST_cc_c): Likewise.
18767 (RUN_TEST_LOOP_cc_c): Likewise.
18768 (RUN_TEST_f_i): Likewise.
18769 (RUN_TEST_LOOP_f_i): Likewise.
18770 (RUN_TEST_f_i_tg): Likewise.
18771 (RUN_TEST_LOOP_f_i_tg): Likewise.
18772 (RUN_TEST_ff_i_tg): Likewise.
18773 (RUN_TEST_LOOP_ff_i_tg): Likewise.
18774 (RUN_TEST_f_b): Likewise.
18775 (RUN_TEST_LOOP_f_b): Likewise.
18776 (RUN_TEST_f_b_tg): Likewise.
18777 (RUN_TEST_LOOP_f_b_tg): Likewise.
18778 (RUN_TEST_f_l): Likewise.
18779 (RUN_TEST_LOOP_f_l): Likewise.
18780 (RUN_TEST_f_L): Likewise.
18781 (RUN_TEST_LOOP_f_L): Likewise.
18782 (RUN_TEST_sincos): Likewise.
18783 (RUN_TEST_LOOP_sincos): Likewise.
18785 2013-05-17 Joseph Myers <joseph@codesourcery.com>
18789 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18790 main case of finite arguments, set rounding mode to FE_TONEAREST
18791 and discard exceptions.
18792 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18794 (remainder_tonearest_test_data): New variable.
18795 (remainder_test_tonearest): New function.
18796 (remainder_towardzero_test_data): New variable.
18797 (remainder_test_towardzero): New function.
18798 (remainder_downward_test_data): New variable.
18799 (remainder_test_downward): New function.
18800 (remainder_upward_test_data): New variable.
18801 (remainder_test_upward): New function.
18802 (main): Call the new test functions.
18804 * math/libm-test.inc (struct test_f_f1_data): Remove field
18806 (struct test_fF_f1_data): Likewise.
18807 (struct test_ffI_f1_data): Likewise.
18808 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
18809 based on value of EXTRA_EXPECTED.
18810 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18811 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
18812 EXTRA_VAR based on value of EXTRA_EXPECTED.
18813 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18814 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
18815 EXTRA_VAR based on value of EXTRA_EXPECTED.
18816 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18817 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
18818 EXTRA_VAR based on value of EXTRA_EXPECTED.
18819 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18820 * math/gen-libm-test.pl (parse_args): Don't output initializers
18821 for extra output values.
18823 * math/libm-test.inc (check_int): Expect result to be exactly
18824 equal to expected value and do not handle ulps.
18825 (check_long): Likewise.
18826 (check_longlong): Likewise.
18828 * math/libm-test.inc (ceil_test_data): Test for "inexact"
18830 (cimag_test_data): Likewise.
18831 (conj_test_data): Likewise.
18832 (copysign_test_data): Likewise.
18833 (cproj_test_data): Likewise.
18834 (creal_test_data): Likewise.
18835 (fabs_test_data): Likewise.
18836 (fdim_test_data): Likewise.
18837 (finite_test_data): Likewise.
18838 (floor_test_data): Likewise.
18839 (fmax_test_data): Likewise.
18840 (fmin_test_data): Likewise.
18841 (fmod_test_data): Likewise.
18842 (fpclassify_test_data): Likewise.
18843 (frexp_test_data): Likewise.
18844 (ilogb_test_data): Likewise.
18845 (isfinite_test_data): Likewise.
18846 (isgreater_test_data): Likewise.
18847 (isgreaterequal_test_data): Likewise.
18848 (isinf_test_data): Likewise.
18849 (isless_test_data): Likewise.
18850 (islessequal_test_data): Likewise.
18851 (islessgreater_test_data): Likewise.
18852 (isnan_test_data): Likewise.
18853 (isnormal_test_data): Likewise.
18854 (issignaling_test_data): Likewise.
18855 (isunordered_test_data): Likewise.
18856 (ldexp_test_data): Likewise.
18857 (lrint_test_data): Likewise.
18858 (lrint_test_data) [TEST_FLOAT]: Disable one test.
18859 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18860 (lrint_tonearest_test_data): Test for "inexact" exceptions.
18861 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18862 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18863 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18865 (lrint_towardzero_test_data): Test for "inexact" exceptions.
18866 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18867 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18868 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18870 (lrint_downward_test_data): Test for "inexact" exceptions.
18871 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18872 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18873 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18875 (lrint_upward_test_data): Test for "inexact" exceptions.
18876 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18878 (llrint_test_data): Test for "inexact" exceptions.
18879 (llrint_test_data) [TEST_FLOAT]: Disable one test.
18880 (llrint_tonearest_test_data): Test for "inexact" exceptions.
18881 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18882 (llrint_towardzero_test_data): Test for "inexact" exceptions.
18883 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18884 (llrint_downward_test_data): Test for "inexact" exceptions.
18885 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18886 (llrint_upward_test_data): Test for "inexact" exceptions.
18887 (logb_test_data): Likewise.
18888 (logb_downward_test_data): Likewise.
18889 (nextafter_test_data): Likewise.
18890 (nexttoward_test_data): Likewise.
18891 (remainder_test_data): Likewise.
18892 (remquo_test_data): Likewise.
18893 (scalbn_test_data): Likewise.
18894 (scalbln_test_data): Likewise.
18895 (signbit_test_data): Likewise.
18896 (sqrt_test_data): Likewise.
18897 (significand_test_data): Likewise.
18899 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18902 * benchtests/bench-modf.c (struct args): Mark arg0 as
18904 * scripts/bench.pl: Mark members of struct args as volatile.
18906 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18909 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18910 negative infinity on POWER6 or lower.
18911 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18913 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
18916 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18917 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18918 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18919 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18920 (_FP_SETQNAN): New macro.
18921 (_FP_SETQNAN_SEMIRAW): Likewise.
18922 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18923 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18924 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18925 (FP_EXTEND): Use _FP_FRAC_SNANP.
18926 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18927 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18934 2013-05-16 Joseph Myers <joseph@codesourcery.com>
18936 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18937 with DIVIDE_BY_ZERO_EXCEPTION.
18938 (gamma_test_data): Likewise.
18939 (lgamma_test_data): Likewise.
18940 (log_test_data): Likewise.
18941 (log10_test_data): Likewise.
18942 (log2_test_data): Likewise.
18943 (tgamma_test_data): Likewise.
18945 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18946 (acos_test_tonearest): Likewise.
18947 (acos_test_towardzero): Likewise.
18948 (acos_test_downward): Likewise.
18949 (acos_test_upward): Likewise.
18950 (acosh_test): Likewise.
18951 (asin_test): Likewise.
18952 (asin_test_tonearest): Likewise.
18953 (asin_test_towardzero): Likewise.
18954 (asin_test_downward): Likewise.
18955 (asin_test_upward): Likewise.
18956 (asinh_test): Likewise.
18957 (atan_test): Likewise.
18958 (atanh_test): Likewise.
18959 (atan2_test): Likewise.
18960 (cabs_test): Likewise.
18961 (cacos_test): Likewise.
18962 (cacosh_test): Likewise.
18963 (casin_test): Likewise.
18964 (casinh_test): Likewise.
18965 (catan_test): Likewise.
18966 (catanh_test): Likewise.
18967 (cbrt_test): Likewise.
18968 (ccos_test): Likewise.
18969 (ccosh_test): Likewise.
18970 (cexp_test): Likewise.
18971 (clog_test): Likewise.
18972 (clog10_test): Likewise.
18973 (cos_test): Likewise.
18974 (cos_test_tonearest): Likewise.
18975 (cos_test_towardzero): Likewise.
18976 (cos_test_downward): Likewise.
18977 (cos_test_upward): Likewise.
18978 (cosh_test): Likewise.
18979 (cosh_test_tonearest): Likewise.
18980 (cosh_test_towardzero): Likewise.
18981 (cosh_test_downward): Likewise.
18982 (cosh_test_upward): Likewise.
18983 (cpow_test): Likewise.
18984 (csin_test): Likewise.
18985 (csinh_test): Likewise.
18986 (csqrt_test): Likewise.
18987 (ctan_test): Likewise.
18988 (ctan_test_tonearest): Likewise.
18989 (ctan_test_towardzero): Likewise.
18990 (ctan_test_downward): Likewise.
18991 (ctan_test_upward): Likewise.
18992 (ctanh_test): Likewise.
18993 (ctanh_test_tonearest): Likewise.
18994 (ctanh_test_towardzero): Likewise.
18995 (ctanh_test_downward): Likewise.
18996 (ctanh_test_upward): Likewise.
18997 (erf_test): Likewise.
18998 (erfc_test): Likewise.
18999 (exp_test): Likewise.
19000 (exp_test_tonearest): Likewise.
19001 (exp_test_towardzero): Likewise.
19002 (exp_test_downward): Likewise.
19003 (exp_test_upward): Likewise.
19004 (exp10_test): Likewise.
19005 (exp2_test): Likewise.
19006 (expm1_test): Likewise.
19007 (fmod_test): Likewise.
19008 (gamma_test): Likewise.
19009 (hypot_test): Likewise.
19010 (j0_test): Likewise.
19011 (j1_test): Likewise.
19012 (jn_test): Likewise.
19013 (lgamma_test): Likewise.
19014 (log_test): Likewise.
19015 (log10_test): Likewise.
19016 (log1p_test): Likewise.
19017 (log2_test): Likewise.
19018 (logb_test_downward): Likewise.
19019 (pow_test): Likewise.
19020 (pow_test_tonearest): Likewise.
19021 (pow_test_towardzero): Likewise.
19022 (pow_test_downward): Likewise.
19023 (pow_test_upward): Likewise.
19024 (remainder_test): Likewise.
19025 (remquo_test): Likewise.
19026 (sin_test): Likewise.
19027 (sin_test_tonearest): Likewise.
19028 (sin_test_towardzero): Likewise.
19029 (sin_test_downward): Likewise.
19030 (sin_test_upward): Likewise.
19031 (sincos_test): Likewise.
19032 (sinh_test): Likewise.
19033 (sinh_test_tonearest): Likewise.
19034 (sinh_test_towardzero): Likewise.
19035 (sinh_test_downward): Likewise.
19036 (sinh_test_upward): Likewise.
19037 (sqrt_test): Likewise.
19038 (tan_test): Likewise.
19039 (tan_test_tonearest): Likewise.
19040 (tan_test_towardzero): Likewise.
19041 (tan_test_downward): Likewise.
19042 (tan_test_upward): Likewise.
19043 (tanh_test): Likewise.
19044 (tgamma_test): Likewise.
19045 (y0_test): Likewise.
19046 (y1_test): Likewise.
19047 (yn_test): Likewise.
19049 * math/gen-libm-test.pl (adjust_arg): Remove function.
19050 (special_function): Remove argument $in_func. Only handle
19051 generating output for tables of tests, not inside functions.
19052 (parse_args): Likewise.
19053 (generate_testfile): Remove variable $in_func. Update call to
19055 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
19056 (MINUS_ZERO_INIT): Rename macro to minus_zero.
19057 (PLUS_INFTY_INIT): Rename macro to plus_infty.
19058 (MINUS_INFTY_INIT): Rename macro to minus_infty.
19059 (QNAN_VALUE_INIT): Rename macro to qnan_value.
19060 (MAX_VALUE_INIT): Rename macro to max_value.
19061 (MIN_VALUE_INIT): Rename macro to min_value.
19062 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
19063 (plus_zero): Remove variable.
19064 (minus_zero): Likewise.
19065 (plus_infty): Likewise.
19066 (minus_infty): Likewise.
19067 (qnan_value): Likewise.
19068 (max_value): Likewise.
19069 (min_value): Likewise.
19070 (min_subnorm_value): Likewise.
19072 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19074 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
19075 uint64_t or uint32_t usage.
19076 * crypt/sha256-block.c: Likewise.
19077 * crypt/sha256-crypt.c: Likewise.
19078 * crypt/sha256.c: Likewise.
19079 * crypt/sha512-block.c: Likewise.
19080 * crypt/sha512-crypt.c: Likewise.
19081 * crypt/sha512.c: Likewise.
19082 * debug/backtrace-tst.c: Likewise.
19083 * debug/pcprofiledump.c: Likewise.
19084 * elf/cache.c: Likewise.
19085 * elf/dl-cache.c: Likewise.
19086 * elf/dl-misc.c: Likewise.
19087 * elf/dl-profile.c: Likewise.
19088 * elf/dl-support.c: Likewise.
19089 * elf/ldconfig.c: Likewise.
19090 * elf/sprof.c: Likewise.
19091 * iconv/dummy-repertoire.c: Likewise.
19092 * iconv/iconv_charmap.c: Likewise.
19093 * iconv/skeleton.c: Likewise.
19094 * iconvdata/8bit-generic.c: Likewise.
19095 * iconvdata/cp737.h: Likewise.
19096 * iconvdata/cp775.h: Likewise.
19097 * iconvdata/ibm1008.h: Likewise.
19098 * iconvdata/ibm1025.h: Likewise.
19099 * iconvdata/ibm1046.h: Likewise.
19100 * iconvdata/ibm1097.h: Likewise.
19101 * iconvdata/ibm1112.h: Likewise.
19102 * iconvdata/ibm1122.h: Likewise.
19103 * iconvdata/ibm1123.h: Likewise.
19104 * iconvdata/ibm1124.h: Likewise.
19105 * iconvdata/ibm1129.h: Likewise.
19106 * iconvdata/ibm1130.h: Likewise.
19107 * iconvdata/ibm1132.h: Likewise.
19108 * iconvdata/ibm1133.h: Likewise.
19109 * iconvdata/ibm1137.h: Likewise.
19110 * iconvdata/ibm1140.h: Likewise.
19111 * iconvdata/ibm1141.h: Likewise.
19112 * iconvdata/ibm1142.h: Likewise.
19113 * iconvdata/ibm1143.h: Likewise.
19114 * iconvdata/ibm1144.h: Likewise.
19115 * iconvdata/ibm1145.h: Likewise.
19116 * iconvdata/ibm1146.h: Likewise.
19117 * iconvdata/ibm1147.h: Likewise.
19118 * iconvdata/ibm1148.h: Likewise.
19119 * iconvdata/ibm1149.h: Likewise.
19120 * iconvdata/ibm1153.h: Likewise.
19121 * iconvdata/ibm1154.h: Likewise.
19122 * iconvdata/ibm1155.h: Likewise.
19123 * iconvdata/ibm1156.h: Likewise.
19124 * iconvdata/ibm1157.h: Likewise.
19125 * iconvdata/ibm1158.h: Likewise.
19126 * iconvdata/ibm1160.h: Likewise.
19127 * iconvdata/ibm1161.h: Likewise.
19128 * iconvdata/ibm1162.h: Likewise.
19129 * iconvdata/ibm1163.h: Likewise.
19130 * iconvdata/ibm1164.h: Likewise.
19131 * iconvdata/ibm1166.h: Likewise.
19132 * iconvdata/ibm1167.h: Likewise.
19133 * iconvdata/ibm12712.h: Likewise.
19134 * iconvdata/ibm1390.h: Likewise.
19135 * iconvdata/ibm1399.h: Likewise.
19136 * iconvdata/ibm16804.h: Likewise.
19137 * iconvdata/ibm4517.h: Likewise.
19138 * iconvdata/ibm4899.h: Likewise.
19139 * iconvdata/ibm4909.h: Likewise.
19140 * iconvdata/ibm4971.h: Likewise.
19141 * iconvdata/ibm5347.h: Likewise.
19142 * iconvdata/ibm803.h: Likewise.
19143 * iconvdata/ibm856.h: Likewise.
19144 * iconvdata/ibm901.h: Likewise.
19145 * iconvdata/ibm902.h: Likewise.
19146 * iconvdata/ibm9030.h: Likewise.
19147 * iconvdata/ibm9066.h: Likewise.
19148 * iconvdata/ibm921.h: Likewise.
19149 * iconvdata/ibm922.h: Likewise.
19150 * iconvdata/ibm9448.h: Likewise.
19151 * iconvdata/isiri-3342.h: Likewise.
19152 * iconvdata/jis0201.h: Likewise.
19153 * include/link.h: Likewise.
19154 * include/netdb.h: Likewise.
19155 * inet/check_native.c: Likewise.
19156 * inet/check_pf.c: Likewise.
19157 * inet/getipv4sourcefilter.c: Likewise.
19158 * inet/getnameinfo.c: Likewise.
19159 * inet/getsourcefilter.c: Likewise.
19160 * inet/htonl.c: Likewise.
19161 * inet/setipv4sourcefilter.c: Likewise.
19162 * inet/setsourcefilter.c: Likewise.
19163 * inet/test-inet6_opt.c: Likewise.
19164 * inet/tst-network.c: Likewise.
19165 * locale/C-collate.c: Likewise.
19166 * locale/C-ctype.c: Likewise.
19167 * locale/C-time.c: Likewise.
19168 * locale/C-translit.h: Likewise.
19169 * locale/loadarchive.c: Likewise.
19170 * locale/programs/3level.h: Likewise.
19171 * locale/programs/charmap.c: Likewise.
19172 * locale/programs/charmap.h: Likewise.
19173 * locale/programs/ld-address.c: Likewise.
19174 * locale/programs/ld-collate.c: Likewise.
19175 * locale/programs/ld-ctype.c: Likewise.
19176 * locale/programs/ld-identification.c: Likewise.
19177 * locale/programs/ld-measurement.c: Likewise.
19178 * locale/programs/ld-messages.c: Likewise.
19179 * locale/programs/ld-monetary.c: Likewise.
19180 * locale/programs/ld-name.c: Likewise.
19181 * locale/programs/ld-numeric.c: Likewise.
19182 * locale/programs/ld-paper.c: Likewise.
19183 * locale/programs/ld-telephone.c: Likewise.
19184 * locale/programs/ld-time.c: Likewise.
19185 * locale/programs/linereader.c: Likewise.
19186 * locale/programs/locale.c: Likewise.
19187 * locale/programs/locarchive.c: Likewise.
19188 * locale/programs/locfile.h: Likewise.
19189 * locale/programs/repertoire.c: Likewise.
19190 * locale/programs/simple-hash.c: Likewise.
19191 * locale/programs/simple-hash.h: Likewise.
19192 * malloc/memusage.c: Likewise.
19193 * malloc/memusagestat.c: Likewise.
19194 * nis/nis_defaults.c: Likewise.
19195 * nis/nis_hash.c: Likewise.
19196 * nis/nis_print.c: Likewise.
19197 * nis/nis_xdr.c: Likewise.
19198 * nscd/connections.c: Likewise.
19199 * nscd/hstcache.c: Likewise.
19200 * nscd/nscd_gethst_r.c: Likewise.
19201 * nscd/nscd_getserv_r.c: Likewise.
19202 * nscd/nscd_helper.c: Likewise.
19203 * nscd/servicescache.c: Likewise.
19204 * nss/makedb.c: Likewise.
19205 * nss/nss_db/db-XXX.c: Likewise.
19206 * nss/nss_db/db-initgroups.c: Likewise.
19207 * nss/nss_db/db-netgrp.c: Likewise.
19208 * nss/nss_files/files-network.c: Likewise.
19209 * nss/nss_files/files-parse.c: Likewise.
19210 * posix/bug-regex5.c: Likewise.
19211 * posix/fnmatch_loop.c: Likewise.
19212 * posix/regcomp.c: Likewise.
19213 * posix/regexec.c: Likewise.
19214 * posix/tst-rfc3484-2.c: Likewise.
19215 * posix/tst-rfc3484-3.c: Likewise.
19216 * posix/tst-rfc3484.c: Likewise.
19217 * resolv/nss_dns/dns-canon.c: Likewise.
19218 * resolv/nss_dns/dns-network.c: Likewise.
19219 * resolv/res_init.c: Likewise.
19220 * resolv/res_mkquery.c: Likewise.
19221 * resolv/tst-aton.c: Likewise.
19222 * stdlib/cxa_atexit.c: Likewise.
19223 * stdlib/cxa_finalize.c: Likewise.
19224 * stdlib/gen-fpioconst.c: Likewise.
19225 * stdlib/strtol_l.c: Likewise.
19226 * string/tst-endian.c: Likewise.
19227 * sunrpc/auth_des.c: Likewise.
19228 * sunrpc/clnt_udp.c: Likewise.
19229 * sunrpc/rtime.c: Likewise.
19230 * sunrpc/svcauth_des.c: Likewise.
19231 * sunrpc/xdr.c: Likewise.
19232 * sunrpc/xdr_intXX_t.c: Likewise.
19233 * sunrpc/xdr_rec.c: Likewise.
19234 * sysdeps/generic/ldconfig.h: Likewise.
19235 * sysdeps/generic/ldsodefs.h: Likewise.
19236 * sysdeps/generic/memusage.h: Likewise.
19237 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
19239 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
19240 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19245 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19247 * sysdeps/posix/getaddrinfo.c: Likewise.
19248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19250 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
19251 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
19252 * sysdeps/powerpc/test-gettimebase.c: Likewise.
19253 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19254 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
19255 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
19256 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19257 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
19258 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19259 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19260 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
19261 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
19262 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
19263 * sysdeps/x86_64/dl-tls.h: Likewise.
19264 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
19265 * time/alt_digit.c: Likewise.
19266 * time/era.c: Likewise.
19267 * wcsmbs/tst-c16c32-1.c: Likewise.
19269 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19271 * math/libm-test.inc (struct test_sincos_data): New type.
19272 (RUN_TEST_LOOP_sincos): New macro.
19273 (sincos_test_data): New variable.
19274 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
19276 2013-05-16 Richard Henderson <rth@redhat.com>
19278 * math/atest-exp2.c (LIMB64): New macro.
19279 (CONSTSZ): New macro.
19280 (mp_exp1, mp_exp_m1, mp_log2): New variables.
19282 (print_mpn_fp): ... to function scope.
19283 (read_mpn_hex): Remove.
19284 (get_log2): Remove.
19285 (exp2_mpn): Use mp_log2.
19286 (main): Use mp_exp1.
19288 2013-05-16 Joseph Myers <joseph@codesourcery.com>
19290 * math/libm-test.inc: Remove comment about not testing "inexact"
19292 (INEXACT_EXCEPTION): New macro.
19293 (NO_INEXACT_EXCEPTION): Likewise.
19294 (INVALID_EXCEPTION_OK): Update value.
19295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19296 (OVERFLOW_EXCEPTION_OK): Likewise.
19297 (UNDERFLOW_EXCEPTION_OK): Likewise.
19298 (IGNORE_ZERO_INF_SIGN): Likewise.
19299 (ERRNO_UNCHANGED): Likewise.
19300 (ERRNO_EDOM): Likewise.
19301 (ERRNO_ERANGE): Likewise.
19302 (test_exceptions): Handle testing "inexact" exceptions.
19303 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
19304 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
19305 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
19306 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
19308 (rint_towardzero_test_data): Likewise.
19309 (rint_downward_test_data): Likewise.
19310 (rint_upward_test_data): Likewise.
19312 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
19313 with OVERFLOW_EXCEPTION.
19314 (exp10_test_data): Likewise.
19315 (exp2_test_data): Likewise.
19316 (expm1_test_data): Likewise.
19317 (lgamma_test_data): Likewise.
19318 (pow_test_data): Likewise.
19319 (tgamma_test_data): Likewise.
19320 (yn_test_data): Remove duplicate test of overflow.
19322 * math/libm-test.inc (struct test_cc_c_data): New type.
19323 (RUN_TEST_LOOP_cc_c): New macro.
19324 (cpow_test_data): New variable.
19325 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
19327 * math/libm-test.inc (struct test_f_L_data): New type.
19328 (RUN_TEST_LOOP_f_L): New macro.
19329 (llrint_test_data): New variable.
19330 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
19331 (llrint_tonearest_test_data): New variable.
19332 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
19333 (llrint_towardzero_test_data): New variable.
19334 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
19335 (llrint_downward_test_data): New variable.
19336 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
19337 (llrint_upward_test_data): New variable.
19338 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
19339 (llround_test_data): New variable.
19340 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
19342 2013-05-13 Peter Collingbourne <pcc@google.com>
19344 * math/atest-exp2.c (get_log2): Remove const attribute.
19346 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19348 * math/libm-test.inc (struct test_f_l_data): New type.
19349 (RUN_TEST_LOOP_f_l): New macro.
19350 (lrint_test_data): New variable.
19351 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
19352 (lrint_tonearest_test_data): New variable.
19353 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
19354 (lrint_towardzero_test_data): New variable.
19355 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
19356 (lrint_downward_test_data): New variable.
19357 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
19358 (lrint_upward_test_data): New variable.
19359 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
19360 (lround_test_data): New variable.
19361 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
19363 2013-05-15 Peter Collingbourne <pcc@google.com>
19365 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
19366 (EXTRACT_WORDS64) Use where appropriate.
19367 (INSERT_WORDS64) Likewise.
19369 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
19370 constraints with x constraints.
19371 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
19373 * malloc/obstack.c (_obstack_compat): Add initializer.
19375 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
19377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
19378 si_trapno and add si_addr_lsb to _sifields.sigfault.
19379 (si_trapno): Remove macro.
19380 (si_addr_lsb): Define new macro.
19381 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19383 2013-05-15 Joseph Myers <joseph@codesourcery.com>
19385 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
19386 instead of TEST_f_l.
19387 (llrint_test_tonearest): Likewise.
19388 (llrint_test_towardzero): Likewise.
19389 (llrint_test_downward): Likewise.
19390 (llrint_test_upward): Likewise.
19391 (llround_test): Likewise.
19393 * math/libm-test.inc (struct test_f_i_data): Add comment.
19394 (RUN_TEST_LOOP_f_b): New macro.
19395 (RUN_TEST_LOOP_f_b_tg): Likewise.
19396 (finite_test_data): New variable.
19397 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
19398 (isfinite_test_data): New variable.
19399 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19400 (isinf_test_data): New variable.
19401 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19402 (isnan_test_data): New variable.
19403 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19404 (isnormal_test_data): New variable.
19405 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19406 (issignaling_test_data): New variable.
19407 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19408 (signbit_test_data): New variable.
19409 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
19411 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
19412 with INVALID_EXCEPTION.
19413 (acosh_test_data): Likewise.
19414 (asin_test_data): Likewise.
19415 (atanh_test_data): Likewise.
19416 (fmod_test_data): Likewise.
19417 (log_test_data): Likewise.
19418 (log10_test_data): Likewise.
19419 (log2_test_data): Likewise.
19420 (pow_test_data): Likewise.
19421 (sqrt_test_data): Likewise.
19422 (y0_test_data): Likewise.
19423 (y1_test_data): Likewise.
19424 (yn_test_data): Likewise.
19426 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
19429 * math/libm-test.inc (struct test_ff_i_data): New type.
19430 (RUN_TEST_LOOP_ff_i_tg): New macro.
19431 (isgreater_test_data): New variable.
19432 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19433 (isgreaterequal_test_data): New variable.
19434 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19435 (isless_test_data): New variable.
19436 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19437 (islessequal_test_data): New variable.
19438 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19439 (islessgreater_test_data): New variable.
19440 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19441 (isunordered_test_data): New variable.
19442 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19444 2013-05-14 David S. Miller <davem@davemloft.net>
19446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19448 2013-05-14 Joseph Myers <joseph@codesourcery.com>
19450 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19452 * math/libm-test.inc (struct test_fF_f1_data): Change type of
19454 (struct test_f_i_data): Change type of max_ulp to int.
19456 * math/libm-test.inc (test_ffI_f1_data): New type.
19457 (RUN_TEST_LOOP_ffI_f1): New macro.
19458 (remquo_test_data): New variable.
19459 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19461 * setjmp/tst-setjmp-fp.c: New file.
19462 * setjmp/Makefile (tests): Add tst-setjmp-fp.
19463 (link-libm): New variable.
19464 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19466 * math/libm-test.inc (struct test_f_i_data): New type.
19467 (RUN_TEST_LOOP_f_i): New macro.
19468 (RUN_TEST_LOOP_f_i_tg): Likewise.
19469 (fpclassify_test_data): New variable.
19470 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19471 (ilogb_test_data): New variable.
19472 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19474 * math/libm-test.inc (scalbln_test): Correct function name in END
19477 * math/libm-test.inc (struct test_f_f1_data): Add comment.
19478 (RUN_TEST_LOOP_fI_f1): New macro.
19479 (frexp_test_data): New variable.
19480 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19482 * math/libm-test.inc (struct test_fF_f1_data): New type.
19483 (RUN_TEST_LOOP_fF_f1): New macro.
19484 (modf_test_data): New variable.
19485 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19487 * math/libm-test.inc (struct test_f_f1_data): New type.
19488 (RUN_TEST_LOOP_f_f1): New macro.
19489 (gamma_test_data): New variable.
19490 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19491 (lgamma_test_data): New variable.
19492 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19494 2013-05-13 Carlos O'Donell <carlos@redhat.com>
19496 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19497 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19498 (main): Comment "tls" pseudo-hwcap.
19500 2013-05-13 Joseph Myers <joseph@codesourcery.com>
19502 * math/libm-test.inc (struct test_fl_f_data): New type.
19503 (RUN_TEST_LOOP_fl_f): New variable.
19504 (scalbln_test_data): New variable.
19505 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19507 * math/libm-test.inc (struct test_fi_f_data): New type.
19508 (RUN_TEST_LOOP_fi_f): New macro.
19509 (ldexp_test_data): New variable.
19510 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19511 (scalbn_test_data): New variable.
19512 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19514 * math/libm-test.inc (struct test_c_f_data): New type.
19515 (RUN_TEST_LOOP_c_f): New macro.
19516 (cabs_test_data): New variable.
19517 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19518 (carg_test_data): New variable.
19519 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19520 (cimag_test_data): New variable.
19521 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19522 (creal_test_data): New variable.
19523 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19525 * math/libm-test.inc (struct test_if_f_data): New type.
19526 (RUN_TEST_LOOP_if_f): New macro.
19527 (jn_test_data): New variable.
19528 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19529 (yn_test_data): New variable.
19530 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19532 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19534 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19536 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19537 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19539 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
19541 * benchtests/Makefile (CPPFLAGS-nonlib): Add
19542 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19543 (bench-deps): Add bench-timing.h.
19544 * benchtests-bench-skeleton.c: Include bench-timing.h.
19545 (main): Use TIMING_* macros instead of clock_gettime.
19546 * benchtests/bench-timing.h: New file.
19549 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19550 Renamed from _LIB_VERSION.
19551 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19553 2013-05-12 Joseph Myers <joseph@codesourcery.com>
19555 * math/libm-test.inc (struct test_fff_f_data): New type.
19556 (RUN_TEST_LOOP_fff_f): New macro.
19557 (fma_test_data): New variable.
19558 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19559 (fma_towardzero_test_data): New variable.
19560 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19561 (fma_downward_test_data): New variable.
19562 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19563 (fma_upward_test_data): New variable.
19564 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19566 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19567 (struct test_c_c_data): New type.
19568 (RUN_TEST_LOOP_c_c): New macro.
19569 (cacos_test_data): New variable.
19570 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19571 (cacosh_test_data): New variable.
19572 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19573 (casin_test_data): New variable.
19574 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19575 (casinh_test_data): New variable.
19576 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19577 (catan_test_data): New variable.
19578 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19579 (catanh_test_data): New variable.
19580 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19581 (ccos_test_data): New variable.
19582 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19583 (ccosh_test_data): New variable.
19584 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19585 (cexp_test_data): New variable.
19586 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19587 (clog_test_data): New variable.
19588 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19589 (clog10_test_data): New variable.
19590 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19591 (conj_test_data): New variable.
19592 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19593 (cproj_test_data): New variable.
19594 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19595 (csin_test_data): New variable.
19596 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19597 (csinh_test_data): New variable.
19598 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19599 (csqrt_test_data): New variable.
19600 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19601 (ctan_test_data): New variable.
19602 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19603 (ctan_tonearest_test_data): New variable.
19604 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19605 (ctan_towardzero_test_data): New variable.
19606 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19607 (ctan_downward_test_data): New variable.
19608 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19609 (ctan_upward_test_data): New variable.
19610 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19611 (ctanh_test_data): New variable.
19612 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19613 (ctanh_tonearest_test_data): New variable.
19614 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19615 (ctanh_towardzero_test_data): New variable.
19616 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19617 (ctanh_downward_test_data): New variable.
19618 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19619 (ctanh_upward_test_data): New variable.
19620 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19621 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19624 * math/libm-test.inc (struct test_ff_f_data): New type.
19625 (struct test_ff_f_data_nexttoward): Likewise.
19626 (RUN_TEST_LOOP_2_f): New macro.
19627 (RUN_TEST_LOOP_ff_f): Likewise.
19628 (atan2_test_data): New variable.
19629 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19630 (copysign_test_data): New variable.
19631 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19632 (fdim_test_data): New variable.
19633 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19634 (fmax_test_data): New variable.
19635 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19636 (fmin_test_data): New variable.
19637 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19638 (fmod_test_data): New variable.
19639 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19640 (hypot_test_data): New variable.
19641 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19642 (nextafter_test_data): New variable.
19643 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19644 (nexttoward_test_data): New variable.
19645 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19646 (pow_test_data): New variable.
19647 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19648 (pow_tonearest_test_data): New variable.
19649 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19650 (pow_towardzero_test_data): New variable.
19651 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19652 (pow_downward_test_data): New variable.
19653 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19654 (pow_upward_test_data): New variable.
19655 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19656 (remainder_test_data): New variable.
19657 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19658 (scalb_test_data): New variable.
19659 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19660 * sysdeps/i386/fpu/libm-test-ulps: Update.
19662 2013-05-11 Joseph Myers <joseph@codesourcery.com>
19664 * math/libm-test.inc (fma_test): Use max_value instead of local
19666 (nextafter_test): Likewise.
19668 * math/libm-test.inc (acos_towardzero_test_data): New variable.
19669 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19670 (acos_downward_test_data): New variable.
19671 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19672 (acos_upward_test_data): New variable.
19673 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19674 (acosh_test_data): New variable.
19675 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19676 (asin_test_data): New variable.
19677 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19678 (asin_tonearest_test_data): New variable.
19679 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19680 (asin_towardzero_test_data): New variable.
19681 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19682 (asin_downward_test_data): New variable.
19683 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19684 (asin_upward_test_data): New variable.
19685 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19686 (asinh_test_data): New variable.
19687 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19688 (atan_test_data): New variable.
19689 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19690 (atanh_test_data): New variable.
19691 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19692 (cbrt_test_data): New variable.
19693 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19694 (ceil_test_data): New variable.
19695 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19696 (cos_test_data): New variable.
19697 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19698 (cos_tonearest_test_data): New variable.
19699 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19700 (cos_towardzero_test_data): New variable.
19701 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19702 (cos_downward_test_data): New variable.
19703 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19704 (cos_upward_test_data): New variable.
19705 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19706 (cosh_test_data): New variable.
19707 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19708 (cosh_tonearest_test_data): New variable.
19709 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19710 (cosh_towardzero_test_data): New variable.
19711 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19712 (cosh_downward_test_data): New variable.
19713 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19714 (cosh_upward_test_data): New variable.
19715 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19716 (erf_test_data): New variable.
19717 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19718 (erfc_test_data): New variable.
19719 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19720 (exp_test_data): New variable.
19721 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19722 (exp_tonearest_test_data): New variable.
19723 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19724 (exp_towardzero_test_data): New variable.
19725 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19726 (exp_downward_test_data): New variable.
19727 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19728 (exp_upward_test_data): New variable.
19729 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19730 (exp10_test_data): New variable.
19731 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19732 (exp2_test_data): New variable.
19733 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19734 (expm1_test_data): New variable.
19735 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19736 (fabs_test_data): New variable.
19737 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19738 (floor_test_data): New variable.
19739 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19740 (j0_test_data): New variable.
19741 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19742 (j1_test_data): New variable.
19743 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19744 (log_test_data): New variable.
19745 (log_test): Run tests with RUN_TEST_LOOP_f_f.
19746 (log10_test_data): New variable.
19747 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19748 (log1p_test_data): New variable.
19749 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19750 (log2_test_data): New variable.
19751 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19752 (logb_test_data): New variable.
19753 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19754 (logb_downward_test_data): New variable.
19755 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19756 (nearbyint_test_data): New variable.
19757 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19758 (rint_test_data): New variable.
19759 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19760 (rint_tonearest_test_data): New variable.
19761 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19762 (rint_towardzero_test_data): New variable.
19763 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19764 (rint_downward_test_data): New variable.
19765 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19766 (rint_upward_test_data): New variable.
19767 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19768 (round_test_data): New variable.
19769 (round_test): Run tests with RUN_TEST_LOOP_f_f.
19770 (sin_test_data): New variable.
19771 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19772 (sin_tonearest_test_data): New variable.
19773 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19774 (sin_towardzero_test_data): New variable.
19775 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19776 (sin_downward_test_data): New variable.
19777 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19778 (sin_upward_test_data): New variable.
19779 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19780 (sinh_test_data): New variable.
19781 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19782 (sinh_tonearest_test_data): New variable.
19783 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19784 (sinh_towardzero_test_data): New variable.
19785 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19786 (sinh_downward_test_data): New variable.
19787 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19788 (sinh_upward_test_data): New variable.
19789 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19790 (sqrt_test_data): New variable.
19791 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19792 (tan_test_data): New variable.
19793 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19794 (tan_tonearest_test_data): New variable.
19795 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19796 (tan_towardzero_test_data): New variable.
19797 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19798 (tan_downward_test_data): New variable.
19799 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19800 (tan_upward_test_data): New variable.
19801 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19802 (tanh_test_data): New variable.
19803 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19804 (tgamma_test_data): New variable.
19805 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19806 (trunc_test_data): New variable.
19807 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19808 (y0_test_data): New variable.
19809 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19810 (y1_test_data): New variable.
19811 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19812 (significand_test_data): New variable.
19813 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19815 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
19818 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19820 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
19822 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19824 2013-05-10 Andreas Jaeger <aj@suse.de>
19827 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19828 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19830 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19832 * math/gen-libm-test.pl (adjust_arg): New function.
19833 (special_functions): Handle generating output in both functions
19835 (parse_args): Likewise.
19836 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
19837 $in_func argument to parse_args.
19838 * math/libm-test.inc (struct test_f_f_data): New type.
19839 (IF_ROUND_INIT_): New macro.
19840 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19841 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19842 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19843 (IF_ROUND_INIT_FE_UPWARD): Likewise.
19844 (ROUND_RESTORE_): Likewise.
19845 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19846 (ROUND_RESTORE_FE_TONEAREST): Likewise.
19847 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19848 (ROUND_RESTORE_FE_UPWARD): Likewise.
19849 (RUN_TEST_LOOP_f_f): New macro.
19850 (acos_test_data): New variable.
19851 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19852 (acos_tonearest_test_data): New variable.
19853 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19855 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19857 * benchtests/bench-skeleton.c (startup): Fix coding style.
19859 2013-05-10 Joseph Myers <joseph@codesourcery.com>
19862 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19863 negative infinity argument.
19864 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19865 negative infinity argument.
19866 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19867 negative infinity argument.
19868 * math/libm-test.inc (tgamma_test): Expect errno to be set for
19871 2013-05-10 Florian Weimer <fweimer@redhat.com>
19873 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19874 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19875 * iconv/iconv_prog.c (main): Likewise.
19876 * locale/programs/charmap-dir.c (charmap_readdir)
19877 (fopen_uncompressed): Likewise.
19878 * locale/programs/locfile.c (siblings_uncached)
19879 (write_locale_data): Use lstat64 instead of lstat.
19880 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19883 2013-05-10 Andreas Jaeger <aj@suse.de>
19886 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19888 Include <locale.h>.
19890 2013-05-09 Carlos O'Donell <carlos@redhat.com>
19892 * elf/dl-close.c (_dl_close_worker): Add comments.
19894 2013-05-09 Joseph Myers <joseph@codesourcery.com>
19897 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19899 (__ieee754_rem_pio2l): Update comments.
19902 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19904 (__ieee754_rem_pio2l): Update comments.
19906 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19907 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19909 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19912 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19913 (M_PI_34_LOG10El): Likewise.
19914 (M_PI2_LOG10El): Likewise.
19915 (M_PI4_LOG10El): Likewise.
19916 (M_PI_LOG10El): Likewise.
19918 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19922 2013-05-08 Joseph Myers <joseph@codesourcery.com>
19924 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19925 (MINUS_ZERO_INIT): Likewise.
19926 (PLUS_INFTY_INIT): Likewise.
19927 (MINUS_INFTY_INIT): Likewise.
19928 (QNAN_VALUE_INIT): Likewise.
19929 (MAX_VALUE_INIT): Likewise.
19930 (MIN_VALUE_INIT): Likewise.
19931 (MIN_SUBNORM_VALUE_INIT): Likewise.
19932 (plus_zero): Initialize with PLUS_ZERO_INIT.
19933 (minus_zero): Initialize with MINUS_ZERO_INIT.
19934 (plus_infty): Initialize with PLUS_INFTY_INIT.
19935 (minus_infty): Initialize with MINUS_INFTY_INIT.
19936 (qnan_value): Initialize with QNAN_VALUE_INIT.
19937 (max_value): Initialize with MAX_VALUE_INIT.
19938 (min_value): Initialize with MIN_VALUE_INIT.
19939 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19941 * math/libm-test.inc (RUN_TEST_if_f): New macro.
19942 (jn_test): Use TEST_if_f instead of TEST_ff_f.
19943 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19944 (yn_test): Use TEST_if_f instead of TEST_ff_f.
19946 * math/libm-test.inc (RUN_TEST_f_f): New macro.
19947 (RUN_TEST_2_f): Likewise.
19948 (RUN_TEST_ff_f): Likewise.
19949 (RUN_TEST_fi_f): Likewise.
19950 (RUN_TEST_fl_f): Likewise.
19951 (RUN_TEST_fff_f): Likewise.
19952 (RUN_TEST_c_f): Likewise.
19953 (RUN_TEST_f_f1): Likewise.
19954 (RUN_TEST_fF_f1): Likewise.
19955 (RUN_TEST_fI_f1): Likewise.
19956 (RUN_TEST_ffI_f1): Likewise.
19957 (RUN_TEST_c_c): Likewise.
19958 (RUN_TEST_cc_c): Likewise.
19959 (RUN_TEST_f_i): Likewise.
19960 (RUN_TEST_f_i_tg): Likewise.
19961 (RUN_TEST_ff_i_tg): Likewise.
19962 (RUN_TEST_f_b): Likewise.
19963 (RUN_TEST_f_b_tg): Likewise.
19964 (RUN_TEST_f_l): Likewise.
19965 (RUN_TEST_f_L): Likewise.
19966 (RUN_TEST_sincos): Likewise.
19967 * math/gen-libm-test.pl (new_test): Take new argument to indicate
19968 whether to show exceptions. Do not include ");\n" in return
19970 (special_functions): Output call to RUN_TEST_sincos instead of
19971 check_float calls. Update calls to new_test.
19972 (parse_args): Output call to single RUN_TEST_* macro instead of
19973 check_* calls and other assignments. Update calls to new_test.
19979 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19980 input to result for tgamma overflow.
19981 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19982 (gamma_coeff): New variable.
19983 (NCOEFF): New macro.
19984 (gamma_positive): New function.
19985 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19986 underflow here. Use gamma_positive instead of exp (lgamma) for
19988 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19989 (gamma_coeff): New variable.
19990 (NCOEFF): New macro.
19991 (gammaf_positive): New function.
19992 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19993 underflow here. Use gamma_positive instead of exp (lgamma) for
19995 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19996 (gamma_coeff): New variable.
19997 (NCOEFF): New macro.
19998 (gammal_positive): New function.
19999 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
20000 underflow here. Use gamma_positive instead of exp (lgamma) for
20002 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
20003 (gamma_coeff): New variable.
20004 (NCOEFF): New macro.
20005 (gammal_positive): New function.
20006 (__ieee754_gammal_r): Handle positive infinity, overflow and
20007 underflow here. Handle NaN the same as positive infinity. Remove
20008 check x < 0xffffffff for negative integers. Use gamma_positive
20009 instead of exp (lgamma) for other arguments.
20010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
20011 (gamma_coeff): New variable.
20012 (NCOEFF): New macro.
20013 (gammal_positive): New function.
20014 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
20015 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
20016 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
20018 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
20019 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
20020 * sysdeps/generic/math_private.h (__gamma_productf): New
20022 (__gamma_product): Likewise.
20023 (__gamma_productl): Likewise.
20024 * math/Makefile (libm-calls): Add gamma_product.
20025 * math/libm-test.inc (tgamma_test): Add more tests.
20026 * sysdeps/i386/fpu/libm-test-ulps: Update.
20027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
20031 * benchtests/bench-skeleton.c (main): Preheat CPU.
20033 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
20035 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
20037 2013-05-07 Roland McGrath <roland@hack.frob.com>
20039 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
20040 and _dl_skip_args_internal.
20042 2013-05-07 Carlos O'Donell <carlos@redhat.com>
20044 * manual/message.texi (Message Translation): Talk about users.
20045 Message to key mapping impacts design.
20047 2013-05-06 Roland McGrath <roland@hack.frob.com>
20049 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
20051 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
20053 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
20054 * sysdeps/wordsize-64/glob64.c: ... here.
20056 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
20057 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
20060 * debug/getlogin_r_chk.c: Moved to ...
20061 * login/getlogin_r_chk.c: ... here.
20062 * debug/Makefile (routines): Move getlogin_r_chk to ...
20063 * login/Makefile (routines): ... here.
20064 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
20065 * login/Versions (libc: GLIBC_2.4): ... here.
20067 * io/poll.c (__poll): Renamed from poll.
20068 Add libc_hidden_def.
20069 (poll): Define as weak alias.
20071 * debug/ptsname_r_chk.c: Moved to ...
20072 * login/ptsname_r_chk.c: ... here.
20073 * debug/Makefile (routines): Move ptsname_r_chk to ...
20074 * login/Makefile (routines): ... here.
20075 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
20076 * login/Versions (libc: GLIBC_2.4): ... here.
20078 * posix/getlogin.c: Moved to ...
20079 * login/getlogin.c: ... here.
20080 * posix/getlogin_r.c: Moved to ...
20081 * login/getlogin_r.c: ... here.
20082 * posix/getlogin_r.c: Moved to ...
20083 * login/getlogin_r.c: ... here.
20084 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
20085 * login/Makefile (routines): ... here.
20086 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
20087 * login/Versions (libc: GLIBC_2.0): ... here.
20089 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
20090 (setrlimit): Define as weak alias.
20092 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
20093 Call __ names for open, ftruncate, and close.
20094 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
20095 (truncate): Define as weak alias.
20097 2013-05-06 Joseph Myers <joseph@codesourcery.com>
20099 * math/gen-libm-test.pl (parse_args): Initialize x before each
20100 test of frexp, modf and remquo.
20102 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
20103 test signgam value.
20105 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20109 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
20111 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20113 2013-05-06 Roland McGrath <roland@hack.frob.com>
20115 * elf/dl-writev.h: New file.
20116 * elf/dl-misc.c: Include it.
20117 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
20118 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
20120 2013-05-04 Joseph Myers <joseph@codesourcery.com>
20122 * math/libm-test.inc (noXFails): Remove variable.
20123 (noXPasses): Likewise.
20124 (BUILD_COMPLEX_INT): Remove macro.
20125 (print_screen): Remove xfail argument.
20126 (print_screen_max_error): Likewise.
20127 (update_stats): Likewise.
20128 (print_max_error): Likewise. Update calls to other affected
20130 (print_complex_max_error): Likewise.
20131 (test_single_exception): Update calls to print_screen.
20132 (test_single_errno): Likewise.
20133 (check_float_internal): Remove xfail argument. Update calls to
20134 other affected functions.
20135 (check_float): Likewise.
20136 (check_complex): Likewise.
20137 (check_int): Likewise.
20138 (check_long): Likewise.
20139 (check_bool): Likewise.
20140 (check_longlong): Likewise.
20141 (main): Don't print noXFails and noXPasses.
20142 * math/gen-libm-test.pl (top level): Don't mention expected
20143 failure handling in comment.
20144 (new_test): Don't handle expected failures.
20145 (parse_args): Don't mention expected failure handling in comment.
20146 (generate_testfile): Don't handle expected failures.
20147 (parse_ulps): Likewise.
20148 (print_ulps_file): Likewise.
20149 (get_failure): Remove function.
20150 (output_test): Don't handle expected failures.
20151 * make/README.libm-test: Don't mention expected failure handling.
20153 * math/libm-test.inc (plus_zero): Make const. Add initializer.
20154 (minus_zero): Likewise.
20155 (plus_infty): Likewise.
20156 (minus_infty): Likewise.
20157 (qnan_value): Likewise.
20158 (max_value): Likewise.
20159 (min_value): Likewise.
20160 (min_subnorm_value): Likewise.
20161 (initialize): Do not initialize those variables dynamically.
20163 2013-05-03 Roland McGrath <roland@hack.frob.com>
20165 * io/open.c (__open_2): Moved to ...
20166 * io/open_2.c: ... this new file.
20167 * io/open64.c (__open64_2): Moved to ...
20168 * io/open64_2.c: ... this new file.
20169 * io/openat.c (__openat_2): Moved to ...
20170 * io/openat_2.c: ... this new file.
20171 * io/openat64.c (__openat64_2): Moved to ...
20172 * io/openat64_2.c: ... this new file.
20173 * io/Makefile (routines): Add them.
20174 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
20175 * sysdeps/unix/sysv/linux/open_2.c: File removed.
20176 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
20177 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
20178 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
20179 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
20180 (__openat64): Add hidden_ver.
20181 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
20182 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
20184 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
20185 Separately conditionalize setting of GLRO(dl_sysinfo) so
20186 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
20187 as well, but the actual setting is only under [NEED_DL_SYSINFO].
20189 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20191 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
20192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
20194 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
20195 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20196 (_libc_vdso_platform_setup): Add __vdso_time initialization.
20197 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
20198 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
20200 2013-05-03 Joseph Myers <joseph@codesourcery.com>
20202 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
20203 test signgam value.
20205 * math/libm-test.inc (hypot_test): Do not use
20206 IGNORE_ZERO_INF_SIGN.
20208 2013-05-03 Andreas Jaeger <aj@suse.de>
20210 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
20212 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
20213 (PF_MAX): Adjust for VSOCK change.
20215 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20219 2013-05-02 Carlos O'Donell <carlos@redhat.com>
20222 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
20223 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
20224 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
20226 2013-05-02 David S. Miller <davem@davemloft.net>
20228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20230 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
20232 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
20234 2013-05-01 Roland McGrath <roland@hack.frob.com>
20236 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
20238 2013-05-01 Richard Smith <richard@metafoo.co.uk>
20241 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
20242 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20243 Use __attribute__ ((__gnu_inline__)).
20244 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
20245 Don't use __attribute__ ((__gnu_inline__)).
20247 2013-05-01 Joseph Myers <joseph@codesourcery.com>
20250 * math/s_catan.c (__catan): Handle small real or imaginary part of
20251 input specially to avoid spurious underflow.
20252 * math/s_catanf.c (__catanf): Likewise.
20253 * math/s_catanh.c (__catanh): Likewise.
20254 * math/s_catanhf.c (__catanhf): Likewise.
20255 * math/s_catanhl.c (__catanhl): Likewise.
20256 * math/s_catanl.c (__catanl): Likewise.
20257 * math/libm-test.inc (catan_test): Add more tests.
20258 (catanh_test): Likewise.
20259 * sysdeps/i386/fpu/libm-test-ulps: Update.
20260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20262 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20266 2013-04-30 Joseph Myers <joseph@codesourcery.com>
20269 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
20270 accurately for denominator in atan2.
20271 * math/s_catanf.c (__catanf): Likewise.
20272 * math/s_catanh.c (__catanh): Likewise.
20273 * math/s_catanhf.c (__catanhf): Likewise.
20274 * math/s_catanhl.c (__catanhl): Likewise.
20275 * math/s_catanl.c (__catanl): Likewise.
20276 * math/libm-test.inc (catan_test): Add more tests.
20277 (catanh_test): Likewise.
20278 * sysdeps/i386/fpu/libm-test-ulps: Update.
20279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20281 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20283 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
20285 * benchtests/Makefile (bench): Remove slow benchmarks.
20286 * benchtests/atan-inputs: Add slow benchmark inputs.
20287 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
20288 (BENCH_FUNC): Accept variant offset.
20290 * benchtests/bench-skeleton.c (main): Run benchmark for each
20292 * benchtests/cos-inputs: Add slow benchmark inputs.
20293 * benchtests/exp-inputs: Likewise.
20294 * benchtests/pow-inputs: Likewise.
20295 * benchtests/sin-inputs: Likewise.
20296 * benchtests/slowatan-inputs: Remove.
20297 * benchtests/slowatan.c: Remove.
20298 * benchtests/slowcos-inputs: Remove.
20299 * benchtests/slowcos.c: Remove.
20300 * benchtests/slowexp-inputs: Remove.
20301 * benchtests/slowexp.c: Remove.
20302 * benchtests/slowpow-inputs: Remove.
20303 * benchtests/slowpow.c: Remove.
20304 * benchtests/slowsin-inputs: Remove.
20305 * benchtests/slowsin.c: Remove.
20306 * benchtests/slowtan-inputs: Remove.
20307 * benchtests/slowtan.c: Remove.
20308 * benchtests/tan-inputs: Add slow benchmark inputs.
20309 * scripts/bench.pl: Parse comments and directives.
20311 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
20313 ($(objpfx)bench-%.c): Remove *-ITER.
20314 * benchtests/bench-modf.c: Remove definition of ITER.
20315 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
20316 (main): Loop for DURATION seconds instead of fixed number of
20318 * scripts/bench.pl: Don't expect iterations in parameters.
20320 2013-04-29 Roland McGrath <roland@hack.frob.com>
20322 * io/fchdir.c (__fchdir): Renamed from fchdir.
20323 (fchdir): Define as weak alias.
20325 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20327 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
20328 (ERRNO_EDOM): Likewise.
20329 (ERRNO_ERANGE): Likewise.
20330 (noErrnoTests): New variable.
20331 (init_max_error): Set errno to 0.
20332 (test_single_errno): New function.
20333 (test_errno): Likewise.
20334 (check_float_internal): Call test_errno. Set errno to 0.
20335 (check_complex): Refer to errno tests in comment.
20336 (check_int): Call test_errno. Set errno to 0.
20337 (check_long): Likewise.
20338 (check_bool): Likewise.
20339 (check_longlong): Likewise.
20340 (cos_test): Use ERRNO_* flags for errno tests instead of
20342 (expm1_test): Likewise.
20343 (fmod_test): Likewise.
20344 (ilogb_test): Likewise.
20345 (lgamma_test): Likewise.
20346 (pow_test): Likewise.
20347 (remainder_test): Likewise.
20348 (sin_test): Likewise.
20349 (tan_test): Likewise.
20350 (yn_test): Likewise.
20351 (initialize): Set errno to 0.
20352 (main): Print number of errno tests.
20353 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
20355 2013-04-29 Andreas Jaeger <aj@suse.de>
20358 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
20362 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
20363 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
20367 * stdlib/random.c (__initstate): Return NULL if
20371 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
20372 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
20375 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20379 2013-04-29 Joseph Myers <joseph@codesourcery.com>
20381 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
20382 of individual tests.
20383 (casin_test): Likewise.
20384 (casinh_test): Likewise.
20386 2013-04-27 Joseph Myers <joseph@codesourcery.com>
20389 * math/s_catan.c (__catan): Handle arguments with large real or
20390 imaginary part separately without squaring.
20391 * math/s_catanf.c (__catanf): Likewise.
20392 * math/s_catanh.c (__catanh): Likewise.
20393 * math/s_catanhf.c (__catanhf): Likewise.
20394 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20396 (__catanhl): Handle arguments with large real or imaginary part
20397 separately without squaring.
20398 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20400 (__catanl): Handle arguments with large real or imaginary part
20401 separately without squaring.
20402 * math/libm-test.inc (catan_test): Add more tests.
20403 (catanh_test): Likewise.
20404 * sysdeps/i386/fpu/libm-test-ulps: Update.
20405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20407 2013-04-27 Andreas Jaeger <aj@suse.de>
20410 * stdlib/stdlib.h: Update guards for qecvt.
20411 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
20414 2013-04-27 Allan McRae <allan@archlinux.org>
20416 * sysdeps/i386/fpu/libm-test-ulps: Update.
20418 2013-04-26 Joseph Myers <joseph@codesourcery.com>
20421 * math/s_catan.c: Include <float.h>.
20422 (__catan): Ensure underflow exception occurs for underflowed
20424 * math/s_catanf.c: Include <float.h>.
20425 (__catanf): Ensure underflow exception occurs for underflowed
20427 * math/s_catanh.c: Include <float.h>.
20428 (__catanh): Ensure underflow exception occurs for underflowed
20430 * math/s_catanhf.c: Include <float.h>.
20431 (__catanhf): Ensure underflow exception occurs for underflowed
20433 * math/s_catanhl.c: Include <float.h>.
20434 (__catanhl): Ensure underflow exception occurs for underflowed
20436 * math/s_catanl.c: Include <float.h>.
20437 (__catanl): Ensure underflow exception occurs for underflowed
20439 * math/libm-test.inc (catan_test): Add more tests.
20440 (catanh_test): Likewise.
20443 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20444 underflowed result.
20445 * math/s_ccoshf.c (__ccoshf): Likewise.
20446 * math/s_ccoshl.c (__ccoshl): Likewise.
20447 * math/s_csin.c (__csin): Likewise.
20448 * math/s_csinf.c (__csinf): Likewise.
20449 * math/s_csinh.c (__csinh): Likewise.
20450 * math/s_csinhf.c (__csinhf): Likewise.
20451 * math/s_csinhl.c (__csinhl): Likewise.
20452 * math/s_csinl.c (__csinl): Likewise.
20453 * math/libm-test.inc (ccos_test): Add more tests.
20454 (ccosh_test): Likewise.
20455 (csin_test): Likewise.
20456 (csinh_test): Likewise.
20458 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20460 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20461 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20462 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20463 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20464 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20465 powerpc/power5+/fpu folders.
20466 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20469 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20473 2013-04-25 Joseph Myers <joseph@codesourcery.com>
20475 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20476 additions to variable.
20477 [$(config-machine) = x86_64] (modules-names): Likewise.
20478 ($(objpfx)tst-audit3): Remove dependency.
20479 ($(objpfx)tst-audit3.out): Likewise.
20480 ($(objpfx)tst-audit4): Likewise.
20481 ($(objpfx)tst-audit4.out): Likewise.
20482 ($(objpfx)tst-audit5): Likewise.
20483 ($(objpfx)tst-audit5.out): Likewise.
20484 ($(objpfx)tst-audit6): Likewise.
20485 ($(objpfx)tst-audit6.out): Likewise.
20486 ($(objpfx)tst-audit7): Likewise.
20487 ($(objpfx)tst-audit7.out): Likewise.
20488 (tst-audit3-ENV): Remove variable.
20489 (tst-audit4-ENV): Likewise.
20490 (tst-audit5-ENV): Likewise.
20491 (tst-audit6-ENV): Likewise.
20492 (tst-audit7-ENV): Likewise.
20493 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20494 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20495 addition to variable.
20496 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20497 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20501 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20502 tst-audit3, tst-audit4 and tst-audit5.
20503 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20504 tst-audit6 and tst-audit7.
20505 [$(subdir) = elf] (modules-names): Add audit modules for those
20507 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20508 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20509 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20510 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20511 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20512 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20513 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20514 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20515 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20516 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20517 [$(subdir) = elf] (tst-audit3-ENV): New variable.
20518 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20519 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20520 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20521 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20522 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20524 [$(subdir) = elf && $(config-cflags-avx) = yes]
20525 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20526 [$(subdir) = elf && $(config-cflags-avx) = yes]
20527 (CFLAGS-tst-auditmod4a.c): Likewise.
20528 [$(subdir) = elf && $(config-cflags-avx) = yes]
20529 (CFLAGS-tst-auditmod4b.c): Likewise.
20530 [$(subdir) = elf && $(config-cflags-avx) = yes]
20531 (CFLAGS-tst-auditmod6b.c): Likewise.
20532 [$(subdir) = elf && $(config-cflags-avx) = yes]
20533 (CFLAGS-tst-auditmod6c.c): Likewise.
20534 [$(subdir) = elf && $(config-cflags-avx) = yes]
20535 (CFLAGS-tst-auditmod7b.c): Likewise.
20536 * elf/tst-audit3.c: Move to ...
20537 * sysdeps/x86_64/tst-audit3.c: ... here.
20538 * elf/tst-audit4.c: Move to ...
20539 * sysdeps/x86_64/tst-audit4.c: ... here.
20540 * elf/tst-audit5.c: Move to ...
20541 * sysdeps/x86_64/tst-audit5.c: ... here.
20542 * elf/tst-audit6.c: Move to ...
20543 * sysdeps/x86_64/tst-audit6.c: ... here.
20544 * elf/tst-audit7.c: Move to ...
20545 * sysdeps/x86_64/tst-audit7.c: ... here.
20546 * elf/tst-auditmod3a.c: Move to ...
20547 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20548 * elf/tst-auditmod3b.c: Move to ...
20549 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20550 * elf/tst-auditmod4a.c: Move to ...
20551 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20552 * elf/tst-auditmod4b.c: Move to ...
20553 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20554 * elf/tst-auditmod5a.c: Move to ...
20555 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20556 * elf/tst-auditmod5b.c: Move to ...
20557 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20558 * elf/tst-auditmod6a.c: Move to ...
20559 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20560 * elf/tst-auditmod6b.c: Move to ...
20561 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20562 * elf/tst-auditmod6c.c: Move to ...
20563 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20564 * elf/tst-auditmod7a.c: Move to ...
20565 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20566 * elf/tst-auditmod7b.c: Move to ...
20567 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20569 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
20572 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20573 define unconditionally.
20574 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20575 define unconditionally.
20576 (INT8_C, INT16_C, etc.): Likewise.
20578 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
20580 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20581 __ehdr_start with hidden visibility.
20583 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20585 2013-04-24 Carlos O'Donell <carlos@redhat.com>
20587 * math/libm-test.inc (cos_test): Use accurate hex constants.
20588 (sincost_test): Likewise.
20590 2013-04-24 Joseph Myers <joseph@codesourcery.com>
20592 * math/libm-test.inc (catan_test): Add more tests.
20593 (catanh_test): Likewise.
20595 * math/s_catanf.c (__catanf): Use suffixed floating-point
20597 * math/s_catanhf.c (__catanhf): Likewise.
20598 * math/s_catanhl.c (__catanhl): Likewise.
20599 * math/s_catanl.c (__catanl): Likewise.
20602 * math/s_catan.c (__catan): Calculate imaginary part of result
20603 with log1p not log unless computing log of number close to 0.
20604 * math/s_catanf.c (__catanf): Likewise.
20605 * math/s_catanl.c (__catanl): Likewise.
20606 * math/s_catanh.c (__catanh): Calculate real part of result with
20607 log1p not log unless computing log of number close to 0.
20608 * math/s_catanhf.c (__catanhf): Likewise.
20609 * math/s_catanhl.c (__catanhl): Likewise.
20610 * math/libm-test.inc (catan_test): Add more tests.
20611 (catanh_test): Likewise.
20612 * sysdeps/i386/fpu/libm-test-ulps: Update.
20613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20615 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20617 * benchtests/Makefile: Mention files in which fast and slow
20618 paths of math functions are implemented.
20620 2013-04-23 Roland McGrath <roland@hack.frob.com>
20622 * sysdeps/posix/timespec_get.c: New file.
20624 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20626 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20628 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20630 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20631 powerpc/power5/fpu folders.
20632 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20633 * benchtests/Makefile: Add modf testcase.
20634 * benchtests/bench-modf.c: New file: Benchmark test for mo
20636 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
20639 * time/Makefile (tests): Add tst-strptime-whitespace.
20640 * time/strptime_l.c (get_number): Use ISSPACE.
20641 (__strptime_internal): Likewise.
20642 * time/tst-strptime-whitespace.c: New test case.
20644 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
20646 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20648 (_nss_files_init): Set it here.
20650 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
20652 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20653 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20656 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
20658 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20660 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20665 2013-04-21 David S. Miller <davem@davemloft.net>
20667 * po/ru.po: Update Russion translation from translation project.
20669 2013-04-17 Adam Conrad <adconrad@0c3.net>
20671 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20674 2013-04-17 Carlos O'Donell <carlos@redhat.com>
20676 * configure.in: Remove i386 configure warning. Remove i386 case.
20677 * configure: Regenerate.
20678 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20679 Add example to error message.
20680 * sysdeps/i386/configure: Regenerate.
20682 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20684 * benchtests/Makefile (bench): Add cos, tan, slowcos and
20686 * benchtests/cos-inputs: New file.
20687 * benchtests/slowcos-inputs: New file.
20688 * benchtests/slowcos.c: New file.
20689 * benchtests/slowtan-inputs: New file.
20690 * benchtests/slowtan.c: New file.
20691 * benchtests/tan-inputs: New file.
20693 2013-04-16 Roland McGrath <roland@hack.frob.com>
20695 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20698 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20700 * benchtests/Makefile: Include cppflags-iterator.mk to add
20701 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20703 * Makefile.in (bench-clean): New target.
20704 * benchtests/Makefile (bench-clean): Likewise.
20706 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
20708 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20710 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
20712 * stdio-common/tstdiomisc.c: Fix coding-style violation.
20714 2013-04-15 Andreas Schwab <schwab@suse.de>
20716 * nscd/grpcache.c (cache_addgr): Properly check for short write.
20717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20718 * nscd/pwdcache.c (cache_addpw): Likewise.
20719 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20722 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20724 * benchtests/Makefile (bench): Write all output to
20725 bench-out.tmp together.
20727 2013-04-15 Andreas Schwab <schwab@suse.de>
20729 * nscd/nscd.c (main): Don't fork again after closing files.
20731 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20733 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20735 * benchtests/Rules (bench-deps): Collect dependencies into a
20736 single variable. Add Makefile to dependencies.
20737 ($(objpfx)bench-%.c): Depend on bench-deps.
20739 2013-04-12 Roland McGrath <roland@hack.frob.com>
20740 Xavier Roche <roche+kml2@exalead.com>
20743 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20744 just that it's a file descriptor.
20745 * manual/llio.texi (Synchronizing AIO Operations): Update description
20746 for EBADF error from aio_fsync.
20748 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20750 * Rules (bench): Move target definition...
20751 * benchtests/Makefile: ... here.
20753 2013-04-11 Carlos O'Donell <carlos@redhat.com>
20755 * math/libm-test.inc (cos_test): Fix PI/2 test.
20756 (sincos_test): Likewise.
20757 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20758 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20760 2013-04-11 Andreas Schwab <schwab@suse.de>
20763 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20764 accept exponent character only when digits were seen.
20765 * stdio-common/Makefile (tests): Add bug26.
20766 * stdio-common/bug26.c: New file.
20769 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20772 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20774 * Makeconfig (rtld-prefix): Define built linker prefix.
20775 * Rules (run-bench): Use it.
20776 * math/Makefile (run-regen-ulps): Likewise.
20778 * Rules (bench): Remove eval.
20780 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20781 Roland McGrath <roland@hack.frob.com>
20782 Ondrej Bilka <neleai@seznam.cz>
20785 * time/getdate.c: Include ctype.h and alloca.h.
20786 (__getdate_r): Trim leading and trailing spaces of input.
20787 * time/tst-getdate.c (tests): Add tests with leading and
20790 2013-04-08 Roland McGrath <roland@hack.frob.com>
20793 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20794 when computing value.
20796 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20798 * math/README.libm-test (How can I generate "libm-test-ulps"?):
20799 Use testrun.sh to run libm tests.
20802 * elf/dl-open.c (dl_open_worker): memset all of seen array.
20804 2013-04-06 Marko Myllynen <myllynen@redhat.com>
20807 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20809 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20811 * Makefile.in (regen-ulps): New target.
20812 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20813 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20814 [ifneq (no,$(PERL)] (regen-ulps): New target.
20815 [ifeq (no,$(PERL)] (regen-ulps): New target.
20816 * math/libm-test.inc (ulps_file_name): Define.
20817 (output_dir): New variable.
20818 (options): Add "output-dir" option.
20819 (parse_opt): Handle 'o' case.
20820 (main): If output_dir is non-NULL use it as a prefix
20822 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20824 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20826 [BZ #10060, #10062]
20827 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20828 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20829 fail configure if __sync_val_compare_and_swap is not inlined.
20830 * sysdeps/i386/configure: Regenerate.
20831 * configure.in: Build for i686 when configured for i386.
20832 * configure: Regenerate.
20833 * README: Remove i386 reference.
20835 2013-04-06 Carlos O'Donell <carlos@redhat.com>
20837 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20838 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20840 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
20842 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20843 (lmsnanval): New variables.
20844 (F): Add conversion tests.
20845 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20846 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20848 * stdio-common/tstdiomisc.c (F): Properly collect individual
20851 [BZ #14686, #15336]
20852 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20853 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20854 Instead, use input NaN values or generate a qNaN by arithmetic
20855 operation. Also fix bugs to comply with the standard.
20856 * math/libm-test.inc (remainder_test): Add more tests.
20858 [BZ #15335, #15342]
20859 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20860 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20861 input NaN values or generate a qNaN by arithmetic operation.
20863 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20866 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20869 2013-04-03 Joseph Myers <joseph@codesourcery.com>
20872 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20873 underflowed result.
20874 * math/s_cexpf.c (__cexpf): Likewise.
20875 * math/s_cexpl.c (__cexpl): Likewise.
20876 * math/libm-test.inc (cexp_test): Add more tests.
20878 2013-04-03 Andreas Schwab <schwab@suse.de>
20881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20882 order arrays from heap if bigger than alloca cutoff.
20884 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
20886 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20887 (SNAN_TESTS_double): Refer to GCC PR56831.
20888 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20891 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20893 * Rules (bench): Move bench.out after the run is complete.
20895 * Rules (bench): Echo currently running benchmark.
20897 * benchtests/Makefile (bench): Add atan and slowatan.
20898 * benchtests/atan-inputs: New file.
20899 * benchtests/slowatan-inputs: New file.
20900 * benchtests/slowatan.c: New file.
20902 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20903 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20907 * sysdeps/unix/sysv/linux/kernel-features.h
20908 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20909 __ASSUME_XFS_RESTRICTED_CHOWN.
20910 * sysdeps/unix/sysv/linux/pathconf.c
20911 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20912 Save and restore errno.
20914 2013-04-02 Joseph Myers <joseph@codesourcery.com>
20917 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20918 arguments using __kernel_casinh.
20919 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20920 arguments using __kernel_casinhf.
20921 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20922 arguments using __kernel_casinhl.
20923 * math/libm-test.inc (cacosh_test): Add more tests.
20924 * sysdeps/i386/fpu/libm-test-ulps: Update.
20925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20927 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20929 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20932 * bench/Makefile (bench): Add sin and slowsin.
20933 * benchtests/sin-inputs: New file.
20934 * benchtests/slowsin-inputs: New file.
20935 * benchtests/slowsin.c: New file.
20937 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20938 (bench): Add slowexp and slowpow.
20939 (exp-ITER): Increase iterations.
20940 (pow-ITER): Likewise.
20941 * benchtests/exp-inputs: Change input.
20942 * benchtests/pow-inputs: Likewise.
20943 * benchtests/slowexp-inputs: New file.
20944 * benchtests/slowexp.c: New file.
20945 * benchtests/slowpow-inputs: New file.
20946 * benchtests/slowpow.c: New file.
20948 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20950 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20952 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20953 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20954 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20955 * benchtests/Makefile: Add rint benchtest.
20956 * benchtests/rint-inputs: Input for rint benchtest.
20958 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
20960 * Versions.def (libm): Add GLIBC_2.18.
20961 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20962 hidden libm prototypes.
20963 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20964 * math/Makefile (libm-calls): Add s_issignaling.
20965 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20966 __issignalingf, __issignalingl. Adjust all libm.abilist files.
20967 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20969 * math/math.h [__USE_GNU] (issignaling): New macro.
20970 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20971 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20973 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20974 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20976 * manual/arith.texi (issignaling): New section.
20977 * manual/libm-err-tab.pl (@all_functions): Update comment.
20978 * math/gen-libm-test.pl (parse_args): Apply special handling for
20980 * math/libm-test.inc (print_float, issignaling_test): New
20982 (check_float_internal): Add issignaling checks.
20983 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20984 default definition.
20985 * sysdeps/powerpc/math-tests.h: New file.
20986 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20988 * math/test-snan.c (TEST_FUNC): Likewise.
20990 2013-03-30 David S. Miller <davem@davemloft.net>
20992 * po/de.po: Update from translation team.
20994 2013-03-30 Joseph Myers <joseph@codesourcery.com>
20997 * math/k_casinh.c (__kernel_casinh): Handle arguments with
20998 imaginary part less than 1.0 and real part less than 0.5
21000 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21001 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21002 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
21003 (cacos_test): Add more tests.
21004 (casin_test): Likewise.
21005 (casinh_test): Likewise.
21006 * sysdeps/i386/fpu/libm-test-ulps: Update.
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21009 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21011 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
21012 ONE with its value.
21014 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
21015 (__pow_mp): Replace ONE and MONE with their values.
21016 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21017 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
21018 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21019 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
21020 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21023 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
21025 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
21026 (__pow_mp): Replace ZERO and MZERO with their values.
21027 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21029 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21031 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21032 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
21035 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
21037 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
21039 2013-03-28 Roland McGrath <roland@hack.frob.com>
21041 * include/stdlib.h [!SHARED] (__call_tls_dtors):
21042 Declare with __attribute__ ((weak)).
21043 * stdlib/exit.c (__libc_atexit) [!SHARED]:
21044 Call __call_tls_dtors only if it's not NULL.
21046 2013-03-28 Roland McGrath <roland@hack.frob.com>
21048 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
21049 didn't do it already, then set _dl_phdr and _dl_phnum based on the
21050 magic __ehdr_start linker symbol if it's defined.
21051 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
21052 them up here if it was already done.
21054 * elf/dl-support.c (_dl_phdr): Make pointer to const.
21055 (_dl_aux_init): Use const in cast when setting it.
21056 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
21057 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
21058 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
21060 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
21062 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
21063 * csu/libc-tls.c: Nor here.
21064 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
21066 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
21067 (__libc_message): Never call vsyslog.
21069 2013-03-28 Alan Modra <amodra@gmail.com>
21071 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
21073 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
21076 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21079 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
21081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21083 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21086 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21087 Don't add gid passed as argument.
21089 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
21091 2013-03-27 Joseph Myers <joseph@codesourcery.com>
21094 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21095 imaginary part between 1.0 and 1.5 and real part less than 0.5
21097 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21098 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21099 * math/libm-test.inc (cacos_test): Add more tests.
21100 (casin_test): Likewise.
21101 (casinh_test): Likewise.
21102 * sysdeps/i386/fpu/libm-test-ulps: Update.
21103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21105 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21107 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
21110 (denorm): Likewise.
21111 (__dbl_mp): Likewise.
21112 (add_magnitudes): Likewise.
21113 (sub_magnitudes): Likewise.
21121 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
21123 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
21124 (__dubcos): Likewise.
21125 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
21126 (__ieee754_acos): Likewise.
21127 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
21128 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
21129 (__exp1): Likewise.
21130 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21133 (my_log2): Likewise.
21134 (checkint): Likewise.
21135 * sysdeps/ieee754/dbl-64/e_remainder.c
21136 (__ieee754_remainder): Likewise.
21137 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
21138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
21139 (bsloww): Likewise.
21140 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21142 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21143 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
21144 MANTISSA_STORE_T to store computations on mantissa. Use
21145 macros for rounding and division.
21146 (denorm): Likewise.
21147 (__dbl_mp): Likewise.
21148 (add_magnitudes): Likewise.
21149 (sub_magnitudes): Likewise.
21152 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21153 powers of two in terms of TWOPOW macro.
21154 (mp_no): Make type of mantissa as MANTISSA_T.
21155 [!RADIXI]: Define RADIXI.
21156 [!TWO52]: Define TWO52.
21157 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21159 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21161 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
21162 llroundl symbol when building for PPC32.
21164 2013-03-24 Mark H Weaver <mhw@netris.org>
21166 * manual/arith.texi (Normalization Functions): Fix prototypes for
21167 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
21169 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
21173 high value to check if expl overflow.
21174 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
21175 to check for underflow and overflow.
21176 * math/libm-test.inc: Add exp test.
21178 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
21181 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
21184 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21186 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
21189 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
21191 * math/gen-libm-test.pl (parse_args, special_functions): Properly
21192 wrap blocks consisting of several statements.
21194 * sysdeps/generic/math-tests.h: New file.
21195 * sysdeps/i386/fpu/math-tests.h: Likewise.
21196 * math/test-snan.c: Include it.
21197 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
21199 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21202 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
21203 (__ieee754_j0l): Do not improve calculations using cos of twice
21204 input for inputs above LDBL_MAX / 2.0L.
21205 (__ieee754_y0l): Likewise.
21206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
21207 (__ieee754_j1l): Do not improve calculations using cos of twice
21208 input for inputs above LDBL_MAX / 2.0L.
21209 (__ieee754_y1l): Likewise.
21210 * math/libm-test.inc (j0_test): Add another test.
21211 (j1_test): Likewise.
21212 (y0_test): Likewise.
21213 (y1_test): Likewise.
21214 * sysdeps/i386/fpu/libm-test-ulps: Update.
21216 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21218 * Rules ($(objpfx)bench-%.c): Include code from a C source
21221 2013-03-21 Joseph Myers <joseph@codesourcery.com>
21224 * math/k_casinh.c (__kernel_casinh): Handle arguments with
21225 imaginary part 1.0 and real part less than 0.5 specially.
21226 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21227 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21228 * math/libm-test.inc (cacos_test): Add more tests.
21229 (casin_test): Likewise.
21230 (casinh_test): Likewise.
21231 * sysdeps/i386/fpu/libm-test-ulps: Update.
21232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21234 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
21237 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
21239 2013-03-20 Joseph Myers <joseph@codesourcery.com>
21241 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
21242 * config.make.in (config-cflags-sse4): Remove variable.
21243 (config-cflags-avx): Likewise.
21244 (config-cflags-sse2avx): Likewise.
21245 (config-cflags-novzeroupper): Likewise.
21246 (config-asflags-i686): Likewise.
21247 (have-mfma4): Likewise.
21248 (have-as-vis3): Likewise.
21250 * configure.in (MIG): Do not AC_SUBST.
21251 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
21252 (libc_cv_cc_sse4): Do not AC_SUBST.
21253 (libc_cv_cc_avx): Likewise.
21254 (libc_cv_cc_sse2avx): Likewise.
21255 (libc_cv_cc_novzeroupper): Likewise.
21256 (libc_cv_cc_fma4): Likewise.
21257 (libc_cv_as_i686): Likewise.
21258 (libc_cv_sparc_as_vis3): Likewise.
21259 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
21261 (config-asflags-i686): Likewise.
21262 (config-cflags-avx): Likewise.
21263 (config-cflags-sse2avx): Likewise.
21264 (have-mfma4): Likewise.
21265 (config-cflags-novzeroupper): Likewise.
21266 * sysdeps/mach/configure.in (MIG): Likewise.
21267 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
21268 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
21270 (config-cflags-avx): Likewise.
21271 (config-cflags-sse2avx): Likewise.
21272 (have-mfma4): Likewise.
21273 (config-cflags-novzeroupper): Likewise.
21274 * configure: Regenerated.
21275 * sysdeps/i386/configure: Likewise.
21276 * sysdeps/mach/configure: Likewise.
21277 * sysdeps/sparc/configure: Likewise.
21278 * sysdeps/x86_64/configure: Likewise.
21280 2013-03-20 Roland McGrath <roland@hack.frob.com>
21283 * locale/programs/localedef.c (options): Put N_ translation marker
21284 on argument names, not just descriptions.
21286 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21288 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
21290 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
21293 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
21295 2013-03-19 Roland McGrath <roland@hack.frob.com>
21297 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
21298 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
21299 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
21300 [!BEFORE_ABORT] (before_abort): New function.
21301 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
21302 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
21303 (writev_for_fatal): New function.
21304 (WRITEV_FOR_FATAL): New macro; call that.
21305 (backtrace_and_maps): New function.
21306 (BEFORE_ABORT): New macro; call that.
21307 (struct str_list): Type removed.
21308 (__libc_message, __libc_fatal): Functions removed.
21309 Include <sysdeps/posix/libc_fatal.c> instead.
21311 2013-03-19 Joseph Myers <joseph@codesourcery.com>
21313 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
21315 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
21318 2013-03-19 Andreas Schwab <schwab@suse.de>
21320 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
21321 * sysdeps/gnu/configure: Regenerate.
21323 * configure.in: Substitute libc_cv_rtlddir.
21324 * configure: Regenerate.
21325 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
21326 * Makeconfig (rtlddir, inst_rtlddir): New variables.
21327 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
21328 * elf/Makefile (install-others, CFLAGS-interp.c)
21329 (ldso_install, common-ldd-rewrite): Likewise.
21330 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
21331 $(inst_slibdir)/$(rtld-installed-name).
21332 * scripts/rellns-sh: Add -p option.
21333 * Makerules (make-shlib-link): Use rellns-sh to get relative name
21336 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21338 * manual/nptl.texi: Renamed to ...
21339 * manual/threads.texi: ... this.
21340 * manual/Makefile (chapters): Update.
21342 2013-03-18 Roland McGrath <roland@hack.frob.com>
21345 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
21346 on argument names, not just descriptions.
21347 * malloc/memusagestat.c (options): Likewise.
21348 * nss/getent.c (options): Likewise.
21350 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
21353 * iconv/iconv_prog.c (options): Put N_ translation marker
21354 on argument names, not just descriptions.
21355 * iconv/iconvconfig.c (options): Likewise.
21357 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
21359 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
21360 implementation which is faster on all x86_64 architectures.
21361 Tested on AMD, Intel Nehalem, SNB, IVB.
21362 * sysdeps/x86_64/strnlen.S: Likewise.
21364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21365 Remove all multiarch strlen and strnlen versions.
21366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21367 Remove strlen and strnlen related parts.
21369 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
21370 Inline strlen part.
21371 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
21373 * sysdeps/x86_64/multiarch/strlen.S: Remove.
21374 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
21375 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
21376 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
21377 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21378 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
21380 2013-03-17 Carlos O'Donell <carlos@redhat.com>
21382 * manual/memory.texi (Malloc Tunable Parameters):
21383 Sort parameters alphabetically. Add comments for missing entries.
21385 2013-03-17 David S. Miller <davem@davemloft.net>
21387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21389 2013-03-16 Joseph Myers <joseph@codesourcery.com>
21392 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
21393 for arguments at most half maximum finite value.
21394 * math/libm-test.inc (j0_test): Add more tests.
21395 (j1_test): Likewise.
21396 (y0_test): Likewise.
21397 (y1_test): Likewise.
21398 * sysdeps/i386/fpu/libm-test-ulps: Update.
21399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21402 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
21403 1 / x and functions P and Q for arguments above 0x1p256L.
21404 (__ieee754_y0l): Likewise.
21405 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21406 (__ieee754_y1l): Likewise.
21407 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
21408 (j1_test): Likewise.
21409 (y0_test): Likewise.
21410 (y1_test): Likewise.
21412 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
21414 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
21417 2013-03-15 Roland McGrath <roland@hack.frob.com>
21419 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
21420 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
21421 zero since it's initialized to EXEC_PAGESIZE.
21423 * sysdeps/unix/sysv/linux/ldsodefs.h
21424 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
21425 * sysdeps/generic/ldsodefs.h: ... here.
21427 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
21429 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21431 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21433 * math/test-snan.c: Renamed from
21434 sysdeps/powerpc/fpu/test-powerpc-snan.c.
21435 * math/Makefile (tests): Add test-snan.
21436 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21439 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21440 SUFFIX. Initialize qNaN_var with __builtin_nan family of
21442 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
21443 __builtin_nan family of functions.
21444 * math/libm-test.inc (initialize): Initialize qnan_value with
21445 __builtin_nan family of functions.
21446 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21448 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21450 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
21451 storage class. Initialize qNaN_var and sNaN_var with
21452 __builtin_nan and __builtin_nans families of functions,
21455 * math/libm-test.inc (acosh_test): Also test with qNaN input.
21456 (sqrt_test): Remove duplicate test with qNaN input.
21457 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21458 (round_test, signbit_test, significand_test): Note missing +/-Inf
21459 as well as qNaN tests.
21461 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21462 qNaN_var. Fix a few strings, too.
21463 * math/libm-test.inc (nan_value): Rename to qnan_value.
21464 * math/gen-libm-test.pl (%beautify): Adjust to that.
21465 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21466 * math/test-misc.c (main): Likewise.
21467 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21468 to __qnan_bytes, and __qnan_union, respectively.
21469 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21471 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21472 and lqnanval, respectively.
21473 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21474 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21476 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21478 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21479 * math/test-misc.c (main) [__x86_64__]: Enable test for long
21482 * math/test-misc.c (main): Fix copy'n'pastos.
21483 * misc/tst-efgcvt.c (special): Likewise.
21485 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21486 Remove declarations.
21488 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21490 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21491 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21492 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21493 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21495 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21498 macro to return vdso values correctly in IFUNC implementations.
21499 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21500 Optimization by using IFUNC.
21502 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21503 Richard Henderson <rth@redhat.com>
21504 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21506 * Makefile.in (bench): New target.
21507 * NEWS: Mention the benchmark framework.
21508 * Rules (bench): Likewise.
21509 (binaries-bench): Generate binaries for functions to
21511 * benchtests/Makefile: New makefile for benchmark tests.
21512 * benchtests/bench-skeleton.c: New skeleton file for benchmark
21514 * benchtests/exp-inputs: New input file for EXP function.
21515 * benchtests/pow-inputs: New input file for POW function.
21516 * scripts/bench.pl: New script to generate source files for
21517 benchmark programs.
21519 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21521 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21522 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21523 computations on mantissa. Use macros for rounding and
21525 (denorm): Likewise.
21526 (__dbl_mp): Likewise.
21527 (add_magnitudes): Likewise.
21528 (sub_magnitudes): Likewise.
21531 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
21532 powers of two in terms of TWOPOW macro.
21533 (mp_no): Make type of mantissa as MANTISSA_T.
21534 [!RADIXI]: Define RADIXI.
21535 [!TWO52]: Define TWO52.
21536 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21538 * manual/nptl.texi (cindex): Modify threads to pthreads.
21540 2013-03-15 Joseph Myers <joseph@codesourcery.com>
21542 * sysdeps/x86_64/preconfigure: Regenerated.
21544 2013-03-14 Joseph Myers <joseph@codesourcery.com>
21547 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21549 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21550 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21552 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21553 * math/libm-test.inc (j0_test): Do not allow one spurious
21554 underflow exception.
21555 (y1_test): Likewise.
21557 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21559 * manual/Makefile (chapters): Add nptl.
21560 * manual/debug.texi (Debugging Support): Add link to Threads
21562 * manual/nptl.texi: New file.
21564 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21566 2013-03-14 Petr Baudis <pasky@ucw.cz>
21568 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21569 for non-NULL pointer before the memory validity test. Pointed
21570 out by Holger Brunck <holger.brunck@keymile.com>.
21572 2013-03-13 Andreas Schwab <schwab@suse.de>
21574 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21577 2013-03-13 Joseph Myers <joseph@codesourcery.com>
21579 * timezone/zic.c: Update from tzcode 2013b.
21581 2013-03-12 Carlos O'Donell <carlos@redhat.com>
21583 * manual/install.texi (Configuring and compiling):
21584 Mention i686 and i586.
21585 * INSTALL: Regenerate.
21587 2013-03-12 Roland McGrath <roland@hack.frob.com>
21589 * sysdeps/init_array/elf-init.c: New file.
21591 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21592 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21594 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21595 __gmon_start__ as global, but as static with a .preinit_array pointer.
21596 * sysdeps/init_array/gmon-start.c: New file. Use that.
21597 * sysdeps/init_array/crti.S: New file, empty except for comments.
21598 * sysdeps/init_array/crtn.S: Likewise.
21600 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
21602 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21605 Remove Prefer_SSE_for_memop.
21606 * sysdeps/x86_64/multiarch/init-arch.h: Remove
21607 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21608 HAS_PREFER_SSE_FOR_MEMOP.
21609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21612 Remove bzero, memset ifunc support.
21613 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21614 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21615 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21616 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21618 2013-03-11 Andreas Schwab <schwab@suse.de>
21621 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21624 (GLIBC_2.16): Remove pthread_atfork.
21626 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
21628 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21629 (ptestcases.h): Likewise.
21631 2013-03-08 Roland McGrath <roland@hack.frob.com>
21633 * Makeconfig ($(common-objpfx)config.status): Depend on
21634 sysdeps/*/preconfigure{,.in} too.
21636 2013-03-08 Joseph Myers <joseph@codesourcery.com>
21638 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21639 (__free_hook): Use void * instead of __malloc_ptr_t.
21640 (__malloc_hook): Likewise.
21641 (__realloc_hook): Likewise.
21642 (__memalign_hook): Likewise.
21643 (__after_morecore_hook): Likewise.
21644 * malloc/arena.c (save_malloc_hook): Likewise.
21645 (save_free_hook): Likewise.
21646 * malloc/hooks.c (malloc_hook_ini): Likewise.
21647 (realloc_hook_ini): Likewise.
21648 (memalign_hook_ini): Likewise.
21649 * malloc/malloc.c (malloc_hook_ini): Likewise.
21650 (realloc_hook_ini): Likewise.
21651 (memalign_hook_ini): Likewise.
21652 (__free_hook): Likewise.
21653 (__malloc_hook): Likewise.
21654 (__realloc_hook): Likewise.
21655 (__memalign_hook): Likewise.
21656 (__libc_malloc): Likewise.
21657 (__libc_free): Likewise.
21658 (__libc_realloc): Likewise.
21659 (__libc_memalign): Likewise.
21660 (__libc_valloc): Likewise.
21661 (__libc_pvalloc): Likewise.
21662 (__libc_calloc): Likewise.
21663 (__posix_memalign): Likewise.
21664 * malloc/morecore.c (__sbrk): Likewise.
21665 (__default_morecore): Likewise.
21667 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21669 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21670 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21671 __malloc_ptrdiff_t.
21673 * malloc/malloc.h (__malloc_size_t): Remove macro.
21674 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21676 (old_memalign_hook): Likewise.
21677 (old_realloc_hook): Likewise.
21678 (struct hdr): Likewise.
21680 (mallochook): Likewise.
21681 (memalignhook): Likewise.
21682 (reallochook): Likewise.
21683 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21684 (tr_old_realloc_hook): Likewise.
21685 (tr_old_memalign_hook): Likewise.
21686 (tr_mallochook): Likewise.
21687 (tr_reallochook): Likewise.
21688 (tr_memalignhook): Likewise.
21690 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21693 default_ldbl_pack and using as default implementation.
21694 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21696 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21697 redundant definition.
21698 (ldbl_insert_mantissa): Likewise.
21699 (ldbl_canonicalize): Likewise.
21700 (ldbl_nearbyint): Likewise.
21701 (ldbl_pack): Rename to ldbl_pack_ppc.
21702 (ldbl_unpack): Rename to ldbl_unpack_ppc.
21703 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21704 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21706 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21709 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21711 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21714 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21715 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21717 2013-03-07 Andreas Jaeger <aj@suse.de>
21719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21722 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21724 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21725 Include mpa.h and declare __MPEXP.
21726 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21727 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21728 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21729 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21730 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21731 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21732 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21734 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21735 (__slowpow): Use long double EXPL and LOGL functions to
21737 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21738 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21739 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21740 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21741 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21742 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21745 intermediate variable to calculate exponent.
21747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21751 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21752 [!NO__SQR]: Define __sqr.
21753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21754 and NO__SQR. Remove all code except __mul and __sqr. Include
21755 sysdeps/ieee754/dbl-64/mpa.c.
21756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21759 * posix/Makefile (tests): Add tst-pathconf.
21760 * posix/tst-pathconf.c: New test case.
21761 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21763 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21765 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
21767 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21769 2013-03-06 Andreas Jaeger <aj@suse.de>
21771 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21772 definition via __MAP_ANONYMOUS.
21774 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21775 it's not part of Linux headers.
21777 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21778 (MAP_HUGE_MASK): Define.
21780 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21782 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21785 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21786 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21788 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21791 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21793 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21794 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21795 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21796 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21797 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21798 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21800 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21804 Handle f2fs and efivarfs.
21806 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21809 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21810 (EFIVARFS_MAGIC): Add.
21811 (F2FS_LINK_MAX): Add.
21813 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21815 * stdio-common/vfprintf.c: Replace __builtin_expect with
21818 2013-03-06 Joseph Myers <joseph@codesourcery.com>
21821 * sysdeps/generic/bp-sym.h: Remove file.
21822 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21823 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21824 <bp-sym.h> and <bp-asm.h>.
21825 (__longjmp): Don't use BP_SYM.
21826 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21828 (memcpy): Don't use BP_SYM.
21829 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21830 <bp-sym.h> and <bp-asm.h>.
21831 (memcpy): Don't use BP_SYM.
21832 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21834 (memcpy): Don't use BP_SYM.
21835 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21837 (memset): Don't use BP_SYM.
21838 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21839 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21840 (__bzero): Don't use BP_SYM.
21841 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21842 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21843 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21844 <bp-sym.h> and <bp-asm.h>.
21845 (memcmp): Don't use BP_SYM. Remove comment about bounded
21847 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21848 <bp-sym.h> and <bp-asm.h>.
21849 (memcpy): Don't use BP_SYM.
21850 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21851 <bp-sym.h> and <bp-asm.h>.
21852 (memset): Don't use BP_SYM.
21853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21855 (__bzero): Don't use BP_SYM.
21856 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21857 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21858 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21859 <bp-sym.h> and <bp-asm.h>.
21860 (strncmp): Don't use BP_SYM. Remove comment about bounded
21862 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21863 <bp-sym.h> and <bp-asm.h>.
21864 (memcpy): Don't use BP_SYM.
21865 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21866 <bp-sym.h> and <bp-asm.h>.
21867 (memset): Don't use BP_SYM.
21868 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21869 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21870 (__bzero): Don't use BP_SYM.
21871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21874 <bp-sym.h> and <bp-asm.h>.
21875 (__memchr): Don't use BP_SYM.
21876 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21877 <bp-sym.h> and <bp-asm.h>.
21878 (memcmp): Don't use BP_SYM. Remove comment about bounded
21880 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21881 <bp-sym.h> and <bp-asm.h>.
21882 (memcpy): Don't use BP_SYM.
21883 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21884 <bp-sym.h> and <bp-asm.h>.
21885 (__mempcpy): Don't use BP_SYM.
21886 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21887 <bp-sym.h> and <bp-asm.h>.
21888 (__memrchr): Don't use BP_SYM.
21889 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21890 <bp-sym.h> and <bp-asm.h>.
21891 (memset): Don't use BP_SYM.
21892 (__bzero): Likewise.
21893 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21894 <bp-sym.h> and <bp-asm.h>.
21895 (__rawmemchr): Don't use BP_SYM.
21896 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21897 <bp-sym.h> and <bp-asm.h>.
21898 (__STRCMP): Don't use BP_SYM.
21899 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21900 <bp-sym.h> and <bp-asm.h>.
21901 (strchr): Don't use BP_SYM.
21902 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21903 <bp-sym.h> and <bp-asm.h>.
21904 (__strchrnul): Don't use BP_SYM.
21905 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21906 <bp-sym.h> and <bp-asm.h>.
21907 (strlen): Don't use BP_SYM.
21908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21909 <bp-sym.h> and <bp-asm.h>.
21910 (strncmp): Don't use BP_SYM. Remove comment about bounded
21912 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21913 <bp-sym.h> and <bp-asm.h>.
21914 (__strnlen): Don't use BP_SYM.
21915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21916 <bp-sym.h> and <bp-asm.h>.
21917 (__GI__setjmp): Don't use BP_SYM.
21918 (_setjmp): Likewise.
21919 (__sigsetjmp): Likewise.
21920 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21921 (L(start_addresses)): Don't use BP_SYM.
21922 (_start): Likewise.
21923 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21925 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21926 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21927 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21928 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21929 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21931 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21932 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
21933 about bounded pointers.
21934 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21935 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21936 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21938 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21939 about bounded pointers. Remove GKM FIXME comments.
21940 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21941 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21943 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21944 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
21945 Remove GKM FIXME comments.
21946 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21947 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21948 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21950 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
21951 about bounded pointers. Remove GKM FIXME comment.
21952 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21954 (strncmp): Don't use BP_SYM. Remove comment about bounded
21956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21957 <bp-sym.h> and <bp-asm.h>.
21958 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21960 <bp-sym.h> and <bp-asm.h>.
21961 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
21964 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21966 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21969 2013-03-05 David S. Miller <davem@davemloft.net>
21971 * po/es.po: Update from translation team.
21973 2013-03-05 Andreas Jaeger <aj@suse.de>
21975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21976 <bits/mman-linux.h>.
21977 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21980 <bits/mman-linux.h> to end of file.
21981 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21983 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21984 <bits/mman-linux.h> to end of file.
21985 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21988 <bits/mman-linux.h> to end of file.
21990 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21991 (MCL_CURRENT, MCL_FUTURE): Define here.
21993 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21998 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22000 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22002 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
22003 fourth parameter needed for rt_sigprocmask syscall.
22004 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22005 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22006 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
22007 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22008 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22009 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
22011 2013-03-04 Joseph Myers <joseph@codesourcery.com>
22014 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
22015 comment about bounded pointers.
22016 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
22017 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
22019 2013-03-04 Andreas Jaeger <aj@suse.de>
22021 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
22022 common definitions.
22024 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
22025 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
22026 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
22027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22028 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22029 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22031 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22034 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22035 __ieee754_sqrl instead of __sqrl.
22037 2013-03-01 Joseph Myers <joseph@codesourcery.com>
22039 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
22040 * sysdeps/powerpc/fpu_control.h: ... here.
22041 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
22042 * sysdeps/powerpc/bits/fenvinline.h: ... here.
22043 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
22044 * sysdeps/powerpc/bits/mathinline.h: ... here.
22046 2013-03-01 Roland McGrath <roland@hack.frob.com>
22048 * elf/dl-hwcaps.c (_dl_important_hwcaps):
22049 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
22050 to just [NEED_DL_SYSINFO_DSO].
22051 * elf/dl-support.c: Likewise.
22052 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
22053 * elf/rtld.c (dl_main): Likewise.
22054 * elf/setup-vdso.h (setup_vdso): Likewise.
22055 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
22056 * sysdeps/unix/sysv/linux/dl-sysdep.c
22057 (_dl_discover_osversion): Likewise.
22059 2013-03-01 Carlos O'Donell <carlos@redhat.com>
22061 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
22062 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22064 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
22066 * NEWS: Mention libm performance improvements and non-x86 PI
22069 * csu/libc-start.c (__pthread_initialize_minimal): Change
22070 function arguments.
22071 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
22073 2013-02-28 Joseph Myers <joseph@codesourcery.com>
22076 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
22077 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
22078 <bp-sym.h> and <bp-asm.h>.
22079 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
22082 (memcpy): Don't use BP_SYM.
22083 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
22085 (__mpn_add_n): Don't use BP_SYM.
22086 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
22087 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
22089 (__mpn_addmul_1): Don't use BP_SYM.
22090 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22091 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
22093 (_setjmp): Don't use BP_SYM.
22094 (__novmx_setjmp): Likewise.
22095 (__GI__setjmp): Likewise.
22096 (__vmx_setjmp): Likewise.
22097 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
22099 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
22100 (__bzero): Don't use BP_SYM.
22101 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
22102 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
22103 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
22104 <bp-sym.h> and <bp-asm.h>.
22105 (memcpy): Don't use BP_SYM.
22106 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
22107 <bp-sym.h> and <bp-asm.h>.
22108 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22109 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
22110 <bp-sym.h> and <bp-asm.h>.
22111 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
22112 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
22114 (__mpn_lshift): Don't use BP_SYM.
22115 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22116 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
22118 (memset): Don't use BP_SYM.
22119 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
22120 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
22121 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
22123 (__mpn_mul_1): Don't use BP_SYM.
22124 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22125 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
22126 <bp-sym.h> and <bp-asm.h>.
22127 (memcmp): Don't use BP_SYM.
22128 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
22129 <bp-sym.h> and <bp-asm.h>.
22130 (memcpy): Don't use BP_SYM.
22131 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
22132 <bp-sym.h> and <bp-asm.h>.
22133 (memset): Don't use BP_SYM.
22134 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
22135 <bp-sym.h> and <bp-asm.h>.
22136 (strncmp): Don't use BP_SYM.
22137 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
22138 <bp-sym.h> and <bp-asm.h>.
22139 (memcpy): Don't use BP_SYM.
22140 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
22141 <bp-sym.h> and <bp-asm.h>.
22142 (memset): Don't use BP_SYM.
22143 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
22144 <bp-sym.h> and <bp-asm.h>.
22145 (__memchr): Don't use BP_SYM.
22146 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
22147 <bp-sym.h> and <bp-asm.h>.
22148 (memcmp): Don't use BP_SYM.
22149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
22150 <bp-sym.h> and <bp-asm.h>.
22151 (memcpy): Don't use BP_SYM.
22152 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
22153 <bp-sym.h> and <bp-asm.h>.
22154 (__mempcpy): Don't use BP_SYM.
22155 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
22156 <bp-sym.h> and <bp-asm.h>.
22157 (__memrchr): Don't use BP_SYM.
22158 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
22159 <bp-sym.h> and <bp-asm.h>.
22160 (memset): Don't use BP_SYM.
22161 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
22162 <bp-sym.h> and <bp-asm.h>.
22163 (__rawmemchr): Don't use BP_SYM.
22164 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
22165 <bp-sym.h> and <bp-asm.h>.
22166 (__STRCMP): Don't use BP_SYM.
22167 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
22168 <bp-sym.h> and <bp-asm.h>.
22169 (strchr): Don't use BP_SYM.
22170 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
22171 <bp-sym.h> and <bp-asm.h>.
22172 (__strchrnul): Don't use BP_SYM.
22173 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
22174 <bp-sym.h> and <bp-asm.h>.
22175 (strlen): Don't use BP_SYM.
22176 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
22177 <bp-sym.h> and <bp-asm.h>.
22178 (strncmp): Don't use BP_SYM.
22179 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
22180 <bp-sym.h> and <bp-asm.h>.
22181 (__strnlen): Don't use BP_SYM.
22182 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
22184 (__mpn_rshift): Don't use BP_SYM.
22185 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22186 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
22187 <bp-sym.h> and <bp-asm.h>.
22188 (__sigsetjmp): Don't use BP_SYM.
22189 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
22190 (L(start_addresses)): Don't use BP_SYM.
22191 (_start): Likewise.
22192 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
22194 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
22195 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22196 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22197 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
22199 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
22200 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22201 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22202 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
22204 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22206 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22207 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
22209 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
22211 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22212 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
22213 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
22215 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
22217 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
22219 (strncmp): Don't use BP_SYM,
22220 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
22222 (__mpn_sub_n): Don't use BP_SYM.
22223 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22224 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
22226 (__mpn_submul_1): Don't use BP_SYM.
22227 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
22229 <bp-sym.h> and <bp-asm.h>.
22230 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
22231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
22232 <bp-sym.h> and <bp-asm.h>.
22233 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
22236 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
22239 Use ZK to minimize writes to Z.
22240 (sub_magnitudes): Simplify code a bit.
22241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
22242 Use ZK to minimize writes to Z.
22243 (sub_magnitudes): Simplify code a bit.
22245 2013-02-27 Roland McGrath <roland@hack.frob.com>
22247 * csu/gmon-start.c: Add special exception to license text.
22249 2013-02-27 Richard Henderson <rth@redhat.com>
22251 * scripts/config.guess: Update from config.git.
22252 * scripts/config.sub: Likewise.
22254 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
22258 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
22260 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
22262 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
22264 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
22266 2013-02-26 Roland McGrath <roland@hack.frob.com>
22268 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
22269 [$(build-shared = yes].
22271 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22273 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
22274 (__mul): Reduce iterations for calculating mantissa.
22276 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
22278 (__mpranred): Likewise.
22281 * malloc/memusagestat.c (main): Draw graphs for heap and stack
22282 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
22284 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
22286 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
22287 Define __attribute__.
22289 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22291 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
22293 * posix/regex_internal.h (__attribute): Remove.
22294 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
22295 (re_string_context_at): Likewise.
22296 (bitset_not): Use __attribute__ and mark function as possibly
22298 (bitset_merge): Likewise.
22299 (bitset_mask): Likewise.
22300 (re_string_char_size_at): Likewise.
22301 (re_string_wchar_at): Likewise.
22302 (re_string_elem_size_at): Likewise.
22304 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22306 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
22310 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
22314 (denorm): Likewise.
22315 (__dbl_mp): Likewise.
22316 (add_magnitudes): Likewise.
22317 (sub_magnitudes): Likewise.
22321 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
22324 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
22327 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
22330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
22331 up changes with default code.
22332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
22335 2013-02-24 Allan McRae <allan@archlinux.org>
22337 * manual/socket.texi (The Internet Namespace): Order menu items
22338 to match that in the file.
22340 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
22341 node listing of the info page menu.
22343 2013-02-21 Joseph Myers <joseph@codesourcery.com>
22346 * sysdeps/i386/bp-asm.h: Remove file.
22347 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22348 (PARMS): Do not use macros from bp-asm.h.
22352 (__mpn_add_n): Do not use BP_SYM
22353 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
22355 (PARMS): Do not use macros from bp-asm.h.
22358 (__mpn_addmul_1): Do not use BP_SYM
22359 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
22361 (PARMS): Do not use macros from bp-asm.h.
22362 (SIGMSK): Likewise.
22363 (_setjmp): Likewise. Do not use BP_SYM.
22364 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
22366 (PARMS): Do not use macros from bp-asm.h.
22367 (SIGMSK): Likewise.
22368 (setjmp): Likewise. Do not use BP_SYM.
22369 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
22371 (PARMS): Do not use macros from bp-asm.h.
22372 (__frexp): Do not use BP_SYM.
22374 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
22376 (PARMS): Do not use macros from bp-asm.h.
22377 (__frexpf): Do not use BP_SYM.
22378 (frexpf): Likewise.
22379 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
22381 (PARMS): Do not use macros from bp-asm.h.
22382 (__frexpl): Do not use BP_SYM.
22383 (frexpl): Likewise.
22384 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
22386 (PARMS): Do not use macros from bp-asm.h.
22387 (__remquo): Do not use BP_SYM.
22388 (remquo): Likewise.
22389 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
22391 (PARMS): Do not use macros from bp-asm.h.
22392 (__remquof): Do not use BP_SYM.
22393 (remquof): Likewise.
22394 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
22396 (PARMS): Do not use macros from bp-asm.h.
22397 (__remquol): Do not use BP_SYM.
22398 (remquol): Likewise.
22399 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
22401 (PARMS): Do not use macros from bp-asm.h.
22404 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
22405 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
22407 (PARMS): Do not use macros from bp-asm.h.
22408 (strlen): Do not use BP_SYM.
22409 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
22411 (PARMS): Do not use macros from bp-asm.h.
22415 (__mpn_add_n): Do not use BP_SYM.
22416 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
22418 (PARMS): Do not use macros from bp-asm.h.
22421 (__mpn_addmul_1): Do not use BP_SYM.
22422 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
22425 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
22427 (PARMS): Do not use macros from bp-asm.h.
22430 (__mpn_lshift): Do not use BP_SYM.
22431 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22433 (PARMS): Do not use macros from bp-asm.h.
22437 (memcpy): Likewise. Do not use BP_SYM.
22438 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22439 libc_hidden_def and weak_alias.
22440 (mempcpy): Do not use BP_SYM in weak_alias.
22441 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22443 (PARMS): Do not use macros from bp-asm.h.
22446 [!BZERO_P] (CHR): Likewise.
22447 (memset): Likewise. Do not use BP_SYM.
22448 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22450 (PARMS): Do not use macros from bp-asm.h.
22453 (__mpn_mul_1): Do not use BP_SYM.
22454 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22456 (PARMS): Do not use macros from bp-asm.h.
22459 (__mpn_rshift): Do not use BP_SYM.
22460 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22462 (PARMS): Do not use macros from bp-asm.h.
22465 (strchr): Likewise. Do not use BP_SYM.
22466 (index): Do not use BP_SYM in weak_alias.
22467 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22469 (PARMS): Do not use macros from bp-asm.h.
22472 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
22473 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22475 (PARMS): Do not use macros from bp-asm.h.
22476 (strlen): Do not use BP_SYM.
22477 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22479 (PARMS): Do not use macros from bp-asm.h.
22483 (__mpn_sub_n): Do not use BP_SYM.
22484 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22486 (PARMS): Do not use macros from bp-asm.h.
22489 (__mpn_submul_1): Do not use BP_SYM.
22490 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22492 (PARMS): Do not use macros from bp-asm.h.
22496 (__mpn_add_n): Do not use BP_SYM.
22497 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22500 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22502 (PARMS): Do not use macros from bp-asm.h.
22505 (memcmp): Do not use BP_SYM.
22506 (bcmp): Do not use BP_SYM in weak_alias.
22507 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22509 (PARMS): Do not use macros from bp-asm.h.
22513 (memcpy): Likewise. Do not use BP_SYM.
22514 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22516 (PARMS): Do not use macros from bp-asm.h.
22520 (memmove): Likewise. Do not use BP_SYM.
22521 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22523 (PARMS): Do not use macros from bp-asm.h.
22527 (__mempcpy): Likewise. Do not use BP_SYM.
22528 (mempcpy): Do not use BP_SYM in weak_alias.
22529 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22531 (PARMS): Do not use macros from bp-asm.h.
22534 [!BZERO_P] (CHR): Likewise.
22535 (memset): Likewise. Do not use BP_SYM.
22536 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22538 (PARMS): Do not use macros from bp-asm.h.
22540 (strcmp): Do not use BP_SYM.
22541 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22543 (PARMS): Do not use macros from bp-asm.h.
22546 [USE_AS_STRTOK_R] (SAVE): Likewise.
22547 (FUNCTION): Likewise. Do not use BP_SYM.
22548 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22550 (strtok_r): Likewise.
22551 (__GI___strtok_r): Likewise.
22552 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22553 (PARMS): Do not use macros from bp-asm.h.
22556 (__mpn_lshift): Do not use BP_SYM.
22557 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22558 (PARMS): Do not use macros from bp-asm.h.
22561 (__memchr): Do not use BP_SYM.
22562 (memchr): Do not use BP_SYM in weak_alias.
22563 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22564 (PARMS): Do not use macros from bp-asm.h.
22567 (memcmp): Do not use BP_SYM.
22568 (bcmp): Do not use BP_SYM in weak_alias.
22569 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22570 (PARMS): Do not use macros from bp-asm.h.
22573 (__mpn_mul_1): Do not use BP_SYM.
22574 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22576 (PARMS): Do not use macros from bp-asm.h.
22579 (__rawmemchr): Do not use BP_SYM.
22580 (rawmemchr): Do not use BP_SYM in weak_alias.
22581 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22582 (PARMS): Do not use macros from bp-asm.h.
22585 (__mpn_rshift): Do not use BP_SYM.
22586 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22587 (PARMS): Do not use macros from bp-asm.h.
22588 (SIGMSK): Likewise.
22589 (__sigsetjmp): Likewise. Do not use BP_SYM.
22590 * sysdeps/i386/start.S: Do not include "bp-sym.h".
22591 (_start): Do not use BP_SYM.
22592 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22593 (PARMS): Do not use macros from bp-asm.h.
22596 (__stpcpy): Likewise. Do not use BP_SYM.
22597 (stpcpy): Do not use BP_SYM in weak_alias.
22598 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22600 (PARMS): Do not use macros from bp-asm.h.
22604 (__stpncpy): Likewise. Do not use BP_SYM.
22605 (stpncpy): Do not use BP_SYM in weak_alias.
22606 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22607 (PARMS): Do not use macros from bp-asm.h.
22610 (strchr): Likewise. Do not use BP_SYM.
22611 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22613 (PARMS): Do not use macros from bp-asm.h.
22616 (__strchrnul): Likewise. Do not use BP_SYM.
22617 (strchrnul): Do not use BP_SYM in weak_alias.
22618 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22620 (PARMS): Do not use macros from bp-asm.h.
22622 (strcspn): Do not use BP_SYM.
22623 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22625 (PARMS): Do not use macros from bp-asm.h.
22628 (strpbrk): Likewise. Do not use BP_SYM.
22629 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22631 (PARMS): Do not use macros from bp-asm.h.
22634 (strrchr): Likewise. Do not use BP_SYM.
22635 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22636 (PARMS): Do not use macros from bp-asm.h.
22638 (strspn): Do not use BP_SYM.
22639 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22640 (PARMS): Do not use macros from bp-asm.h.
22644 (FUNCTION): Likewise. Do not use BP_SYM.
22645 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22647 (strtok_r): Likewise.
22648 (__GI___strtok_r): Likewise.
22649 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22650 (PARMS): Do not use macros from bp-asm.h.
22654 (__mpn_sub_n): Do not use BP_SYM.
22655 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22657 (PARMS): Do not use macros from bp-asm.h.
22660 (__mpn_submul_1): Do not use BP_SYM.
22661 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22663 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22665 (PARMS): Do not use macros from bp-asm.h.
22670 (__clone): Do not use BP_SYM.
22671 (clone): Do not use BP_SYM in weak_alias.
22672 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22674 (PARMS): Do not use macros from bp-asm.h.
22676 (__mmap64): Do not use BP_SYM.
22677 (mmap64): Do not use BP_SYM in weak_alias.
22678 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22679 <bp-sym.h> and <bp-asm.h>.
22680 (PARMS): Do not use macros from bp-asm.h.
22681 (__posix_fadvise64_l64): Do not use BP_SYM.
22682 * sysdeps/unix/sysv/linux/i386/semtimedop.S
22683 (PARMS): Do not use macros from bp-asm.h.
22685 (semtimedop): Do not use BP_SYM.
22686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22689 2013-02-21 Allan McRae <allan@archlinux.org>
22691 * manual/message.texi (Charset conversion in gettext):
22692 Move @end statement to beginning of line.
22694 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22701 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22702 (denorm): Likewise.
22703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22706 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22708 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22709 tail-call to the resolved function if pltexit isn't needed.
22711 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22714 or Y being zero as being unlikely.
22715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22718 2013-02-20 Carlos O'Donell <carlos@redhat.com>
22720 * manual/nss.texi (System Databases and Name Service Switch):
22721 Remove frobnicate @pxref.
22723 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22725 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22726 __attribute__ ((unused)) to __attribute__ ((__unused__)).
22728 2013-02-20 Petr Machata <pmachata@redhat.com>
22730 * elf/elf.h (R_ARM_TARGET1): New macro.
22731 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22732 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22733 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22734 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22735 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22736 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22737 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22738 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22739 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22740 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22741 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22742 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22743 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22744 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22745 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22746 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22747 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22748 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22749 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22750 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22751 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22752 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22753 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22754 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22755 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22756 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22757 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22758 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22759 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22760 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22761 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22762 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22763 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22764 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22765 (R_ARM_THM_GOT_BREL12): Likewise.
22766 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22767 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22768 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22769 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22770 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22771 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22772 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22773 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22774 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22776 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
22778 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22779 __attribute_used__ to __attribute__ ((unused)).
22781 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22783 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22786 comment formatting.
22787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22789 2013-02-19 Joseph Myers <joseph@codesourcery.com>
22792 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22794 (ENTER): Remove both macro definitions.
22796 (CHECK_BOUNDS_LOW): Likewise.
22797 (CHECK_BOUNDS_HIGH): Likewise.
22798 (CHECK_BOUNDS_BOTH): Likewise.
22799 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22800 (RETURN_BOUNDED_POINTER): Likewise.
22801 (RETURN_NULL_BOUNDED_POINTER): Likewise.
22802 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22803 (POP_ERRNO_LOCATION_RETURN): Likewise.
22804 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22805 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22806 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22808 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22809 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22810 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22811 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22812 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22813 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22814 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22815 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22816 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22817 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22818 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22819 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22820 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22821 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22823 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22824 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22827 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22828 * sysdeps/i386/i586/memset.S (memset): Likewise.
22829 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22830 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22831 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22833 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22834 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22835 Change uses of L(2) to L(out).
22836 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22837 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22838 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22839 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22840 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22843 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22845 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22846 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22847 (RETURN): Do not use macro LEAVE.
22848 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22849 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22850 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22851 * sysdeps/i386/i686/memset.S (memset): Likewise.
22852 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22853 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22854 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22855 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22857 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22858 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
22859 L(1_2) and L(1_3) into L(1).
22860 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22861 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22862 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22863 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22864 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22865 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22866 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22867 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22868 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22870 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22871 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22872 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22873 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22874 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22875 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22876 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22877 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22878 * sysdeps/i386/strcspn.S (strcspn): Likewise.
22879 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22880 * sysdeps/i386/strrchr.S (strrchr): Likewise.
22881 * sysdeps/i386/strspn.S (strspn): Likewise.
22882 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22884 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22885 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22886 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22887 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
22888 L(1_3) into L(1_1).
22889 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22890 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22891 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22893 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22895 2013-02-19 Jakub Jelinek <jakub@redhat.com>
22897 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22900 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22902 * math/atest-exp.c (exp_mpn): Remove ROUND.
22903 * math/atest-exp2.c (exp_mpn): Likewise.
22904 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22906 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22907 * stdlib/tst-tls-atexit-lib.c: Likewise.
22908 * stdlib/tst-tls-atexit.c: Likewise.
22910 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22912 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22913 and __attribute_alloc_size__.
22915 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22917 * include/programs/xmalloc.h: Change __attribute_alloc_size to
22918 __attribute_alloc_size__.
22919 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22920 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22922 2013-02-18 Mike Frysinger <vapier@gentoo.org>
22924 * include/programs/xmalloc.h: New file.
22925 * catgets/gencat.c: Include it.
22926 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22927 * elf/pldd.c: Likewise.
22928 * iconv/iconv_charmap.c: Likewise.
22929 * iconv/iconvconfig.c: Likewise.
22930 * iconv/strtab.c: Likewise.
22931 * locale/programs/locale.c: Likewise.
22932 * locale/programs/localedef.h: Likewise.
22933 * locale/programs/simple-hash.c: Likewise.
22934 * nscd/nscd.h: Likewise.
22935 * nss/makedb.c: Likewise.
22936 * sysdeps/generic/ldconfig.h: Likewise.
22938 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22940 * Versions.def: Add GLIBC_2.18.
22941 * include/link.h (struct link_map): New member l_tls_dtor_count.
22942 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22943 (__call_tls_dtors): Likewise.
22944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22945 __cxa_thread_atexit_impl.
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22962 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22963 (tests): Add test case tst-tls-atexit.
22964 (modules-names): Add shared library for tst-tls-atexit.
22965 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22966 (GLIBC_PRIVATE): Add __call_tls_dtors.
22967 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22969 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22970 * stdlib/tst-tls-atexit.c: New test case.
22971 * stdlib/tst-tls-atexit-lib.c: New test case.
22973 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22975 * elf/Versions (ld): Add _dl_find_dso_for_object.
22976 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22977 * elf/dl-open.c (_dl_find_dso_for_object): New function.
22978 (dl_open_worker): Use _dl_find_dso_for_object.
22979 * elf/dl-sym.c (do_sym): Likewise.
22980 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22982 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22984 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22985 Syntactic changes only.
22986 (_dl_runtime_profile): Do a tail-call to the resolved function.
22988 2013-02-17 Joseph Myers <joseph@codesourcery.com>
22991 * sysdeps/x86_64/bp-asm.h: Remove file.
22992 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22993 <bp-sym.h> and <bp-asm.h>.
22994 (__clone): Do not use BP_SYM.
22995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22996 <bp-sym.h> and <bp-asm.h>.
22997 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22998 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
23000 (_setjmp): Do not use BP_SYM.
23001 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
23003 (setjmp): Do not use BP_SYM.
23004 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
23006 (mempcpy): Do not use BP_SYM in weak_alias.
23007 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
23009 (strchr): Do not use BP_SYM.
23010 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
23012 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
23013 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
23014 (_start): Do not use BP_SYM.
23015 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
23017 (strcat): Do not use BP_SYM.
23018 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
23020 (STRCMP): Do not use BP_SYM.
23021 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
23023 (STRCPY): Do not use BP_SYM.
23024 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
23026 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
23028 (FUNCTION): Do not use BP_SYM.
23029 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
23031 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
23033 2013-02-17 Andreas Jaeger <aj@suse.de>
23035 * time/Versions: Sort entries.
23036 * string/Versions: Likewise.
23037 * resolv/Versions: Likewise.
23038 * posix/Versions: Likewise.
23039 * iconv/Versions: Likewise.
23040 * elf/Versions: Likewise.
23041 * wcsmbs/Versions: Likewise.
23043 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23045 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
23046 loop termination condition.
23048 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
23049 variable to calculate EZ.
23052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
23053 the lower precision input.
23055 2013-02-15 Joseph Myers <joseph@codesourcery.com>
23058 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
23059 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
23060 (run-via-rtld-prefix): Do not handle %-bp tests.
23061 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
23062 (all-object-suffixes): Remove .ob.
23063 (bppfx): Remove variable.
23064 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
23065 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
23066 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
23067 [$(build-bounded) = yes] (libtype.ob): Likewise.
23068 * Makerules (elide-routines.ob): Remove variable.
23069 (do-tests-clean): Do not handle *-bp.out.
23070 (common-mostlyclean): Do not handle *-bp and *-bp.out.
23071 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
23072 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
23073 (tests): Do not include $(tests-bp.out).
23074 (xtests): Do not include $(xtests-bp.out).
23075 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
23076 [$(build-bounded) = yes] ($(addprefix
23077 $(objpfx),$(binaries-bounded))): Remove rule.
23078 ($(objpfx)%-bp.out): Remove rule.
23079 * config.make.in (build-bounded): Remove variable.
23080 * crypt/Makefile [$(build-bounded) = yes]
23081 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
23082 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
23083 append to variable.
23084 [$(build-bounded) = yes] (install-lib): Likewise.
23085 [$(build-bounded) = yes] (generated): Likewise.
23086 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
23088 * intl/Makefile [$(build-bounded) = yes]
23089 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
23090 * math/Makefile [$(build-bounded) = yes]
23091 ($(tests:%=$(objpfx)%-bp): Likewise.
23092 * misc/Makefile [$(build-bounded) = yes]
23093 ($(objpfx)tst-tsearch-bp): Likewise.
23094 * nptl/Makeconfig (bounded-thread-library): Remove variable.
23095 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
23097 * string/Makefile (o-objects.ob): Remove variable.
23098 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
23099 (CFLAGS-.ob): Remove variable.
23100 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
23101 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
23102 both definitions of variable.
23103 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
23104 (ASFLAGS-.ob): Remove variable.
23106 2013-02-14 Joseph Myers <joseph@codesourcery.com>
23109 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
23110 Remove __BOUNDED_POINTERS__ from condition.
23111 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
23112 * string/bits/string2.h [!__NO_STRING_INLINES &&
23113 !__BOUNDED_POINTERS__]: Likewise.
23114 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
23116 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
23117 Remove conditional code.
23118 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
23119 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
23120 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
23124 * csu/libc-start.c: Do not include <bp-sym.h>.
23125 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
23126 * elf/dl-open.c: Do not include <bp-sym.h>.
23127 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
23128 * math/fegetenv.c: Do not include <bp-sym.h>.
23129 (fegetenv): Do not use BP_SYM in versioned symbols.
23130 * nptl/sysdeps/pthread/bits/libc-lockP.h
23131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
23133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23134 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
23135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23136 (__pthread_mutex_destroy): Likewise.
23137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23138 (__pthread_mutex_lock): Likewise.
23139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23140 (__pthread_mutex_trylock): Likewise.
23141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23142 (__pthread_mutex_unlock): Likewise.
23143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23144 (__pthread_mutexattr_init): Likewise.
23145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23146 (__pthread_mutexattr_destroy): Likewise.
23147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23148 (__pthread_mutexattr_settype): Likewise.
23149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23150 (__pthread_rwlock_init): Likewise.
23151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23152 (__pthread_rwlock_destroy): Likewise.
23153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23154 (__pthread_rwlock_rdlock): Likewise.
23155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23156 (__pthread_rwlock_tryrdlock): Likewise.
23157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23158 (__pthread_rwlock_wrlock): Likewise.
23159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23160 (__pthread_rwlock_trywrlock): Likewise.
23161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23162 (__pthread_rwlock_unlock): Likewise.
23163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23164 (__pthread_key_create): Likewise.
23165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23166 (__pthread_setspecific): Likewise.
23167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23168 (__pthread_getspecific): Likewise.
23169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
23171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23172 (_pthread_cleanup_push_defer): Likewise.
23173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23174 (_pthread_cleanup_pop_restore): Likewise.
23175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
23176 (pthread_setcancelstate): Likewise.
23177 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
23179 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
23180 (memchr): Do not use BP_SYM in weak_alias.
23181 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
23182 (fegetenv): Do not use BP_SYM in versioned symbols.
23183 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
23184 (fesetenv): Do not use BP_SYM in versioned symbols.
23185 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23186 (feupdateenv): Do not use BP_SYM in versioned symbols.
23187 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23188 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23189 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
23190 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
23191 (open64): Do not use BP_SYM in weak_alias.
23192 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
23193 (fegetenv): Do not use BP_SYM in versioned symbols.
23194 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
23195 (fesetenv): Do not use BP_SYM in versioned symbols.
23196 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
23197 (feupdateenv): Do not use BP_SYM in versioned symbols.
23198 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
23199 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
23200 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
23201 (feraiseexcept): Do not use BP_SYM in versioned symbols.
23202 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
23203 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
23204 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
23206 (__libc_start_main): Do not use BP_SYM.
23208 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
23211 redundant return line.
23213 (denorm): Likewise.
23214 (dbl_mp): Likewise.
23215 (sub_magnitudes): Likewise.
23221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
23223 (denorm): Likewise.
23224 (dbl_mp): Likewise.
23225 (sub_magnitudes): Likewise.
23232 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
23234 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23235 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
23238 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
23239 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
23240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
23241 of __mul for squares.
23242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
23244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
23246 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
23247 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23249 2013-02-13 Joseph Myers <joseph@codesourcery.com>
23252 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
23254 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
23255 prototype or function definition. Rename ubp_* variables and
23256 parameters. Remove argv definitions conditional on
23257 [__BOUNDED_POINTERS__].
23258 * debug/backtrace.c (__backtrace): Do not use __unbounded.
23259 * elf/dl-runtime.c (_dl_fixup): Likewise.
23260 * include/set-hooks.h (RUN_HOOK): Likewise.
23261 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
23263 * string/strcpy.c (strcpy): Do not use __unbounded.
23264 * sysdeps/generic/frame.h (struct layout): Likewise.
23265 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
23266 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
23267 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
23268 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
23269 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
23270 (__backtrace): Likewise.
23271 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
23273 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23274 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23275 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
23277 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
23278 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
23279 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23280 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23281 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
23282 Do not use __unbounded.
23283 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
23284 Rename __unboundedrlimits parameter to rlimits in prototype.
23285 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
23286 Do not use __unbounded.
23287 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
23288 not use __ptrvalue.
23289 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23290 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
23291 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23292 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
23293 __ptrvalue or __unbounded.
23294 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
23295 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
23297 (__new_msgctl): Do not use __ptrvalue.
23298 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
23300 (__libc_msgrcv): Do not use __ptrvalue.
23301 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
23302 startup_info): Do not use __unbounded.
23303 (__libc_start_main): Likewise. Rename ubp_* variables and
23304 parameters. Remove argv definitions conditional on
23305 [__BOUNDED_POINTERS__].
23306 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
23308 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
23310 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
23312 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
23314 (__new_shmctl): Do not use __ptrvalue.
23315 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
23316 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
23318 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
23319 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
23320 (__libc_sigaction): Likewise.
23321 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
23322 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
23324 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23326 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
23328 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
23330 * string/mempcpy.c: Implement by calling memcpy.
23332 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
23336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
23339 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
23340 values in the mantissa.
23342 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
23343 minimize writes to Z.
23344 (sub_magnitudes): Simplify code a bit.
23346 2013-02-12 Roland McGrath <roland@hack.frob.com>
23348 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
23349 from the message. The linker prefixes all warnings with that already.
23351 2013-02-12 Andreas Schwab <schwab@suse.de>
23354 * posix/regexec.c (extend_buffers): Add parameter min_len.
23355 (check_matching): Pass minimum needed length.
23356 (clean_state_log_if_needed): Likewise.
23357 (get_subexp): Likewise.
23358 * posix/Makefile (tests): Add bug-regex34.
23359 (bug-regex34-ENV): Define.
23360 * posix/bug-regex34.c: New file.
23363 * posix/regcomp.c (parse_bracket_exp): When looking up collating
23364 elements compare against the byte sequence of it, not its name.
23365 * posix/Makefile (tests): Add bug-regex35.
23366 (bug-regex35-ENV): Define.
23367 * posix/bug-regex35.c: New file.
23369 2013-02-11 Tom de Vries <tom@codesourcery.com>
23371 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
23373 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
23374 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
23375 (CHECK_EOL): Add undef.
23377 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
23379 * bits/stdlib-bsearch.h: New file.
23380 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
23381 * stdlib/stdlib.h: Likewise.
23383 2013-02-11 Roland McGrath <roland@hack.frob.com>
23385 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
23386 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
23388 * manual/search.texi (Array Search Function): Add missing const in
23390 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
23391 declaration to use rlim_t.
23392 (Basic Scheduling Functions): Remove erroneous const from
23393 sched_getparam prototype. Remove erroneous * from
23394 sched_get_priority_max and sched_get_priority_min prototypes.
23395 (Resource Usage): Fix summary @comment on vtimes to refer to
23396 sys/vtimes.h rather than vtimes.h.
23397 Add missing *s in vtimes prototype.
23398 (Limits on Resources): Fix ulimit prototype to return long int.
23399 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
23400 prototypes to use long int rather than double.
23401 (BSD Random): Fix initstate and setstate to use char *, not void *.
23402 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
23403 prototype to make second argument 'struct aiocb64 *const[]'.
23404 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
23405 (Status of AIO Operations): Remove erroneous const in aio_return and
23406 aio_return64 prototypes.
23407 (Synchronizing I/O): Fix sync prototype to return void.
23408 * manual/startup.texi (Suboptions): Remove an erroneous const in
23409 getsubopt prototype.
23410 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
23411 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
23412 use size_t rather than int.
23413 (Scanning All Users): Likewise for getpwent_r.
23414 (Setting Groups): Add missing const to setgroups prototype.
23415 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
23416 * manual/socket.texi (Host Names): Fix gethostbyaddr and
23417 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
23418 'const void *' rather than 'const char *'.
23419 (Host Address Functions): Likewise for inet_ntop.
23420 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
23421 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
23422 ssize_t for return value.
23423 (Sending Data): Likewise for send, sendto, sendmsg.
23424 (Socket Option Functions): Add a missing const in setsockopt prototype.
23425 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
23426 use wchar_t for the argument.
23427 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
23428 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
23430 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23431 double/float/long double for second argument.
23432 Fix return types of significand, significandf, significandl.
23433 * manual/filesys.texi (Setting Permissions): Use mode_t for second
23434 argument in fchmod prototype.
23435 (File Owner): Use uid_t and gid_t in fchown prototype.
23436 (File Times): Add const to utimes, futimes, and lutimes prototypes.
23437 (Making Special Files): Use mode_t and dev_t in mknod prototype.
23438 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23439 use 'const struct dirent **' as argument types to CMP function pointer
23441 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23442 (File Times): Fix summary magic @comment for struct utimbuf and utime
23443 to refer to utime.h, not time.h.
23444 * manual/string.texi (Argz Functions): Add missing const in
23445 argz_extract and argz_next prototypes.
23446 (Finding Tokens in a String): Likewise for basename.
23447 (String/Array Comparison): Fix typo in wcscasecmp prototype.
23448 (Copying and Concatenation): Fix typo in wmemmove prototype.
23449 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23450 (Signal Stack): Remove erroneous const in sigstack prototype.
23451 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23453 (Simple Calendar Time): Likewise for stime.
23454 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23456 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23457 say sys/sysctl.h instead.
23458 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23459 and vsyslog prototypes.
23461 2013-02-11 Tom de Vries <tom@codesourcery.com>
23463 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23466 2013-02-11 Roland McGrath <roland@hack.frob.com>
23468 * misc/sys/mman.h: Fix typo in mremap comment.
23470 2013-02-08 Roland McGrath <roland@hack.frob.com>
23472 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23473 the '\0' terminator.
23475 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23478 * debug/segfault.c: Don't include <bp-checks.h>.
23479 * sysdeps/generic/bp-checks.h: Remove file.
23480 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23481 (__GETDENTS): Don't use CHECK_N.
23482 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23483 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23484 (__getgroups): Don't use CHECK_N.
23485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23486 (setgroups): Don't use CHECK_N.
23487 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23488 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23489 (__libc_msgrcv): Don't use CHECK_N.
23490 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23491 (__libc_msgsnd): Don't use CHECK_N.
23492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23494 (__libc_pread): Don't use CHECK_N.
23495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23496 include <bp-checks.h>.
23497 (__libc_pread64): Don't use CHECK_N.
23498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23499 include <bp-checks.h>.
23500 (__libc_pwrite): Don't use CHECK_N.
23501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23502 include <bp-checks.h>.
23503 (__libc_pwrite64): Don't use CHECK_N.
23504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23506 (__libc_pread): Don't use CHECK_N.
23507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23508 include <bp-checks.h>.
23509 (__libc_pread64): Don't use CHECK_N.
23510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23511 include <bp-checks.h>.
23512 (__libc_pwrite): Don't use CHECK_N.
23513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23514 include <bp-checks.h>.
23515 (__libc_pwrite64): Don't use CHECK_N.
23516 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23517 (do_pread): Don't use CHECK_N.
23518 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23519 (do_pread64): Don't use CHECK_N.
23520 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23521 (do_pwrite): Don't use CHECK_N.
23522 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23523 (do_pwrite64): Don't use CHECK_N.
23524 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23525 (__libc_readv): Don't use CHECK_N.
23526 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23527 (semop): Don't use CHECK_N.
23528 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23530 (semtimedop): Don't use CHECK_N.
23531 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23532 (__libc_pread): Don't use CHECK_N.
23533 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23535 (__libc_pread64): Don't use CHECK_N.
23536 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23538 (__libc_pwrite): Don't use CHECK_N.
23539 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23541 (__libc_pwrite64): Don't use CHECK_N.
23542 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23544 (__libc_msgrcv): Don't use CHECK_N.
23545 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23546 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
23547 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23548 (__libc_writev): Don't use CHECK_N.
23550 2013-02-08 Roland McGrath <roland@hack.frob.com>
23552 * string/strcpy.c: Removed unused variable.
23554 * Makeconfig (+sysdep-includes): Define with := rather than =.
23555 Use an existing include/ subdir of each sysdeps dir before it.
23557 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23559 * nscd/connection.c (register_traced_file): Comment function.
23560 [HAVE_INOTIFY] (union __inev): Define.
23561 [HAVE_INOTIFY] (inotify_check_files): New function.
23562 [HAVE_INOTIFY] (clear_db_cache): Likewise.
23563 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23565 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23567 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23569 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23570 loaded if not already and that a failure is permanent.
23572 2013-02-08 Carlos O'Donell <carlos@redhat.com>
23575 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23576 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23578 2013-02-08 Joseph Myers <joseph@codesourcery.com>
23581 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23582 (CHECK_1_NULL_OK): Likewise.
23583 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23584 (__fxstat): Do not use CHECK_1.
23585 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23587 (___fxstat64): Do not use CHECK_1.
23588 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23590 (__fxstatat): Do not use CHECK_1.
23591 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23593 (__fxstatat64): Do not use CHECK_1.
23594 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23596 (__fxstat): Do not use CHECK_1.
23597 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23599 (__fxstatat): Do not use CHECK_1.
23600 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23602 (__getresgid): Do not use CHECK_1.
23603 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23605 (__getresuid): Do not use CHECK_1.
23606 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23608 (__lxstat): Do not use CHECK_1.
23609 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23611 (__old_msgctl): Do not use CHECK_1.
23612 (__new_msgctl): Likewise.
23613 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23615 (__new_setrlimit): Do not use CHECK_1.
23616 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23618 (__old_shmctl): Do not use CHECK_1.
23619 (__new_shmctl): Likewise.
23620 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23622 (__xstat): Do not use CHECK_1.
23623 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23624 (__lxstat): Do not use CHECK_1.
23625 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23627 (___lxstat64): Do not use CHECK_1.
23628 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23629 (__old_msgctl): Do not use CHECK_1.
23630 (__new_msgctl): Likewise.
23631 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23633 (__gettimeofday): Do not use CHECK_1.
23634 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23635 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23636 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23638 (__gettimeofday): Do not use CHECK_1.
23639 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23640 (__old_shmctl): Do not use CHECK_1_NULL_OK.
23641 (__new_shmctl): Do not use CHECK_1.
23642 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23644 (do_sigtimedwait): Do not use CHECK_1.
23645 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23647 (do_sigwaitinfo): Do not use CHECK_1.
23648 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23650 (msgctl): Do not use CHECK_1.
23651 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23653 (shmctl): Do not use CHECK_1.
23654 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23655 (ustat): Do not use CHECK_1.
23656 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23658 (__fxstat): Do not use CHECK_1.
23659 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23661 (__fxstatat): Do not use CHECK_1.
23662 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23664 (__lxstat): Do not use CHECK_1.
23665 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23667 (__xstat): Do not use CHECK_1.
23668 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23669 (__xstat): Do not use CHECK_1.
23670 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23671 (___xstat64): Do not use CHECK_1.
23674 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23676 (CHECK_BOUNDS_HIGH): Likewise.
23677 * string/strcpy.c: Do not include <bp-checks.h>.
23678 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23680 2013-02-07 Roland McGrath <roland@hack.frob.com>
23682 * nscd/nscd-client.h (__nscd_drop_map_ref):
23683 Add __attribute__ ((unused)).
23684 * nis/nss-nisplus.h (niserr2nss): Likewise.
23686 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23687 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23689 * csu/libc-tls.c (init_static_tls, init_slotinfo):
23690 Remove inline keyword.
23691 * include/rounding-mode.h (round_away): Likewise.
23692 * libio/wfileops.c (adjust_wide_data): Likewise.
23693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23694 (__m128i_strloadu_tolower): Likewise.
23695 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23696 (__m128i_strloadu_tolower): Likewise.
23697 * time/mktime.c (ydhms_diff): Likewise.
23698 * locale/elem-hash.h (elem_hash): Likewise.
23699 * locale/setlocale.c (setdata): Likewise.
23700 * posix/regex_internal.h (re_string_char_size_at): Likewise.
23701 (re_string_wchar_at): Likewise.
23702 (bitset_not, bitset_merge, bitset_mask): Likewise.
23703 [!(__GNUC__ > 3)] (inline): Remove macro.
23704 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23705 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23706 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23707 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23708 * string/memcmp.c (memcmp_bytes): Likewise.
23709 * locale/programs/locarchive.c (compute_hashval): Likewise.
23710 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23711 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23712 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23713 * nss/getent.c (print_rpc, print_protocols): Likewise.
23714 (print_passwd, print_group, print_aliases): Likewise.
23715 * nis/nss-nisplus.h (niserr2nss): Likewise.
23716 * nscd/connections.c (restart_p): Likewise.
23717 Change return type to bool.
23719 2013-02-05 Roland McGrath <roland@hack.frob.com>
23721 * Makeconfig (all-Depend-files): Add existing
23722 $(sorted-subdirs:=/Depend) files.
23723 (all-subdirs): Remove nss.
23724 * sysdeps/unix/inet/Subdirs: Add it here instead.
23725 * hesiod/Depend: New file.
23727 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23728 instead of calling alloca.
23730 * io/lseek.c (__lseek): Rename to __libc_lseek.
23731 Define __lseek as an alias.
23733 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23735 2013-02-04 Carlos O'Donell <carlos@redhat.com>
23737 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23738 else clause and remove check for non-standard endianness.
23740 2013-02-04 David S. Miller <davem@davemloft.net>
23742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23744 2013-02-04 Joseph Myers <joseph@codesourcery.com>
23747 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23748 (__ubp_memchr): Remove prototype.
23749 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23750 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23751 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23752 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23753 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23755 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23756 (__ubp_memchr): Likewise.
23757 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23758 (__ubp_memchr): Likewise.
23759 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23760 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23761 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23762 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23764 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23765 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23766 (__getcwd): Do not use CHECK_STRING.
23767 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23769 (__real_chown): Do not use CHECK_STRING.
23770 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23772 (fchownat): Do not use CHECK_STRING.
23773 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23775 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23777 (__lchown): Do not use CHECK_STRING.
23778 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23779 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23780 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23781 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23783 include <bp-checks.h>.
23784 (truncate64): Do not use CHECK_STRING.
23785 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23787 (__real_chown): Do not use CHECK_STRING.
23788 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23790 (__lchown): Do not use CHECK_STRING.
23791 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23793 (__chown): Do not use CHECK_STRING.
23794 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23796 (truncate64): Do not use CHECK_STRING.
23797 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23799 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23800 (__xmknod): Do not use CHECK_STRING.
23801 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23803 (__xmknodat): Do not use CHECK_STRING.
23804 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23805 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23807 2013-02-04 Andreas Schwab <schwab@suse.de>
23810 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23811 * include/netdb.h: Likewise for h_errno.
23812 * elf/tst-stackguard1.c: Include <tls.h>.
23814 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
23816 * elf/link.h (struct link_map): Extend the l_addr comment.
23817 * include/link.h (struct link_map): Likewise.
23819 2013-02-01 Joseph Myers <joseph@codesourcery.com>
23822 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23823 (BOUNDED_1): Remove macro.
23824 * debug/backtrace.c: Don't include <bp-checks.h>.
23825 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23826 (__backtrace): Likewise.
23827 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23829 (__backtrace): Don't use BOUNDED_1.
23830 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23832 (__backtrace): Don't use BOUNDED_1.
23833 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23834 (__backtrace): Don't use BOUNDED_1.
23835 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23836 (shmat): Don't use BOUNDED_N.
23838 2013-01-31 Joseph Myers <joseph@codesourcery.com>
23841 * sysdeps/generic/bp-start.h: Remove file.
23842 * csu/libc-start.c: Don't include <bp-start.h>.
23843 (LIBC_START_MAIN): Set up __environ directly instead of using
23844 INIT_ARGV_and_ENVIRON.
23845 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23849 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23851 (CHECK_FCNTL): Likewise.
23852 (CHECK_N_PAGES): Likewise.
23855 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23857 (CHECK_SIGSET_NULL_OK): Likewise.
23858 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23860 (sigpending): Don't use CHECK_SIGSET.
23861 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23863 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23864 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23866 (do_sigsuspend): Don't use CHECK_SIGSET.
23867 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23869 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23870 (do_sigwait): Don't use CHECK_SIGSET.
23871 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23873 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23874 include <bp-checks.h>.
23875 (sigpending): Don't use CHECK_SIGSET.
23876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23877 include <bp-checks.h>.
23878 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23879 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23881 (sigpending): Don't use CHECK_SIGSET.
23882 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23884 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23887 * sysdeps/generic/bp-semctl.h: Remove file.
23888 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23889 <bp-checks.h> and <bp-semctl.h>.
23890 (__old_semctl): Don't use CHECK_SEMCTL.
23891 (__new_semctl): Likewise.
23892 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23894 (__old_semctl): Don't use CHECK_SEMCTL.
23895 (__new_semctl): Likewise.
23896 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23897 <bp-checks.h> and <bp-semctl.h>.
23898 (__old_semctl): Don't use CHECK_SEMCTL.
23899 (__new_semctl): Likewise.
23900 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23901 <bp-checks.h> and <bp-semctl.h>.
23902 (semctl): Don't use CHECK_SEMCTL.
23905 * Makerules (elide-bp-thunks): Remove variable.
23906 (elide-routines.oS): Don't use $(elide-bp-thunks).
23907 (elide-routines.os): Likewise.
23908 (elide-routines.o): Likewise.
23909 (elide-routines.op): Likewise.
23910 (elide-routines.og): Likewise.
23911 (objects): Don't use $(bp-thunks).
23912 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23914 (common-generated): Do not add s-proto-bp.d.
23915 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23918 Do not generate makefile rules for bounded-pointer thunks.
23919 * sysdeps/generic/bp-thunks.h: Remove file.
23920 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23921 * sysdeps/unix/s-proto-bp.S: Likewise.
23924 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23925 parts of result separately when argument is not close to line from
23926 -i to i and one part of argument is small.
23927 * math/k_casinhf.c (__kernel_casinhf): Likewise.
23928 * math/k_casinhl.c (__kernel_casinhl): Likewise.
23929 * math/libm-test.inc (cacos_test): Add more tests.
23930 (casin_test): Likewise.
23931 (casinh_test): Likewise.
23932 * sysdeps/i386/fpu/libm-test-ulps: Update.
23933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23935 2013-01-31 David S. Miller <davem@davemloft.net>
23937 * po/de.po: Update from translation team.
23939 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
23941 * time/tzfile.c: Include stdint.h for SIZE_MAX.
23943 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
23945 * configure.in (_AC_PROG_CC_C89): New definition.
23946 * configure: Regenerate.
23948 * configure.in (AC_PROG_CPP): New definition.
23949 * configure: Regenerate.
23951 2013-01-23 Joseph Myers <joseph@codesourcery.com>
23953 * debug/tst-backtrace.h: New file.
23954 * debug/tst-backtrace2.c: Include tst-backtrace.h.
23955 (ret): Remove variable.
23957 (FAIL): Remove macro.
23958 (NO_INLINE): Likewise.
23959 (fn1): Use match function instead of strstr.
23960 * debug/tst-backtrace3.c: Include tst-backtrace.h.
23961 (ret): Remove variable.
23963 (FAIL): Remove macro.
23964 (NO_INLINE): Likewise.
23965 (fn): Use match function instead of strstr.
23966 * debug/tst-backtrace4.c: Include tst-backtrace.h.
23967 (ret): Remove variable.
23969 (FAIL): Remove macro.
23970 (NO_INLINE): Likewise.
23971 (handle_signal): Use match function instead of strstr.
23972 * debug/tst-backtrace5.c: Include tst-backtrace.h.
23973 (ret): Remove variable.
23975 (FAIL): Remove macro.
23976 (NO_INLINE): Likewise.
23977 (handle_signal): Use match function instead of strstr.
23979 2013-01-23 Roland McGrath <roland@hack.frob.com>
23981 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23983 2013-01-23 David S. Miller <davem@davemloft.net>
23985 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23986 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23987 argument of CAS if possible.
23988 * sysdeps/sparc/sparc64/bits/atomic.h
23989 (__arch_compare_and_exchange_val_32_acq): Likewise.
23990 (__arch_compare_and_exchange_val_64_acq): Likewise.
23992 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
23994 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23995 * sysdeps/posix/ulimit.c: ... this.
23996 Include <limits.h>.
23997 * sysdeps/unix/bsd/ulimit.c: Remove file.
23999 2013-01-23 Adam Conrad <adconrad@0c3.net>
24001 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
24002 (LDFLAGS-tst-array5): Likewise.
24004 2013-01-23 Joseph Myers <joseph@codesourcery.com>
24007 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
24008 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
24009 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
24010 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
24012 2013-01-21 David S. Miller <davem@davemloft.net>
24014 * sysdeps/sparc/backtrace.c: New file.
24015 * sysdeps/sparc/sparc32/backtrace.h: New file.
24016 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
24017 * sysdeps/sparc/sparc64/backtrace.h: New file.
24018 * sysdeps/sparc/sparc64/backtrace.c: Delete.
24019 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
24022 2013-01-21 Andreas Schwab <schwab@suse.de>
24025 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
24028 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
24030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
24032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24034 2013-01-18 Joseph Myers <joseph@codesourcery.com>
24035 Mark Mitchell <mark@codesourcery.com>
24036 Tom de Vries <tom@codesourcery.com>
24037 Paul Pluzhnikov <ppluzhnikov@google.com>
24039 * debug/tst-backtrace2.c: New file.
24040 * debug/tst-backtrace3.c: Likewise.
24041 * debug/tst-backtrace4.c: Likewise.
24042 * debug/tst-backtrace5.c: Likewise.
24043 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
24044 (CFLAGS-tst-backtrace3.c): Likewise.
24045 (CFLAGS-tst-backtrace4.c): Likewise.
24046 (CFLAGS-tst-backtrace5.c): Likewise.
24047 (LDFLAGS-tst-backtrace2): Likewise.
24048 (LDFLAGS-tst-backtrace3): Likewise.
24049 (LDFLAGS-tst-backtrace4): Likewise.
24050 (LDFLAGS-tst-backtrace5): Likewise.
24051 (tests): Add new tests tst-backtrace2, tst-backtrace3,
24052 tst-backtrace4 and tst-backtrace5.
24054 2013-01-18 Anton Blanchard <anton@samba.org>
24055 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24057 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
24058 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
24059 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
24060 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
24061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24062 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
24063 "+r" and remove output regs list as redundant. Add explicit inline
24064 asm to specify register of return val to work around compiler codegen
24065 bug. Remove (int) cast on return value. Add return type parameter to
24066 use in macro so that this macro does not truncate return value for
24068 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
24069 pass to INTERNAL_VSYSCALL_NCS.
24070 (INLINE_VSYSCALL): Add 'long int' as return type to
24071 INTERNAL_VSYSCALL_NCS macro invocation.
24072 (INTERNAL_VSYSCALL): Add 'long int' as return type to
24073 INTERNAL_VSYSCALL_NCS macro invocation.
24074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24076 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24079 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
24080 Fix application of SIMD FP exception mask.
24082 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
24083 mp_no from a power of two.
24084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
24085 __mpexp_twomm1. Use __pow_mp.
24087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
24090 2013-01-17 David S. Miller <davem@davemloft.net>
24092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24094 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24097 * include/complex.h: Condition contents on [!_COMPLEX_H].
24098 (__kernel_casinhf): New prototype.
24099 (__kernel_casinh): Likewise.
24100 (__kernel_casinhl): Likewise.
24101 * math/Makefile (libm_calls): Add k_casinh.
24102 * math/k_casinh.c: New file.
24103 * math/k_casinhf.c: Likewise.
24104 * math/k_casinhl.c: Likewise.
24105 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
24106 finite nonzero arguments.
24107 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
24108 finite nonzero arguments.
24109 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
24110 finite nonzero arguments.
24111 * math/s_casinh.c: Do not include <float.h>.
24112 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
24113 * math/s_casinhf.c: Do not include <float.h>.
24114 (__casinhf): Move code for finite nonzero arguments to
24116 * math/s_casinhl.c: Do not include <float.h>.
24117 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
24119 (__casinhl): Move code for finite nonzero arguments to
24121 * math/libm-test.inc (cacos_test): Add more tests.
24122 * sysdeps/i386/fpu/libm-test-ulps: Update.
24123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24125 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
24127 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
24128 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
24129 [!HAVE_MREMAP]: Remove [defined linux] case.
24130 * malloc/arena.c: Do not include <malloc-sysdep.h>.
24132 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24134 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
24136 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
24138 * elf/elf.h (R_386_SIZE32): New relocation.
24139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
24141 (elf_machine_rela): Likewise.
24142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24143 R_X86_64_SIZE64 and R_X86_64_SIZE32.
24145 2013-01-17 Joseph Myers <joseph@codesourcery.com>
24147 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
24148 (FP_FAST_FMA): Do not define.
24149 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
24150 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
24151 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
24152 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
24153 !_SOFT_FLOAT]: Likewise.
24154 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
24155 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
24157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
24158 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
24159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
24160 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
24161 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
24162 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
24165 2013-01-16 Andreas Schwab <schwab@suse.de>
24168 * include/stdlib.h (__mktemp): Add declaration.
24169 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
24170 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
24172 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24174 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
24176 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24177 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
24178 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
24180 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
24181 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
24183 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
24185 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
24186 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
24187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
24189 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
24190 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
24192 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24194 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
24196 2013-01-15 David S. Miller <davem@davemloft.net>
24198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24199 trunc{,f} to libm-sysdep_routes.
24200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
24203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
24204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
24206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
24208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
24209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
24210 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
24211 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
24212 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
24213 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
24214 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
24215 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
24217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24218 nearbyint{,f} to libm-sysdep_routes.
24219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
24222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
24224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
24226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
24228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
24229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
24230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
24232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
24233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
24235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
24236 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
24237 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
24239 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24240 libc_feholdexcept and libc_fesetenv.
24242 2013-01-15 Mike Frysinger <vapier@gentoo.org>
24244 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
24246 2013-01-14 David S. Miller <davem@davemloft.net>
24248 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
24249 (SPARC_ASM_VIS2_IFUNC): Likewise.
24250 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
24251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
24252 use of 'siam' instruction.
24253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
24255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
24257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
24259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
24260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
24261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
24262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
24263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
24265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
24267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
24269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
24271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
24272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
24273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
24274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
24275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
24277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
24278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
24286 routines to libm-sysdep_routines.
24287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
24289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
24290 fdim/fdimf to libm-sysdep_routines.
24291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
24293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
24294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
24296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
24297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
24298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
24299 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
24300 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
24301 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
24302 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
24304 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24306 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
24307 to optimize copies.
24309 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
24310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
24314 local variable MPTWO.
24315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24318 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24320 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
24323 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24325 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
24327 2013-01-13 Mike Frysinger <vapier@gentoo.org>
24329 * manual/pattern.texi (glob_t): Document gl_flags.
24330 (glob64_t): Likewise.
24332 2013-01-11 David S. Miller <davem@davemloft.net>
24334 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
24335 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
24336 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
24337 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
24338 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
24339 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
24340 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
24341 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
24342 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
24343 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
24344 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
24345 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
24346 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
24348 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24349 sparc V9 rather than using V8 code.
24350 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24351 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24353 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24355 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
24358 2013-01-11 Roland McGrath <roland@hack.frob.com>
24360 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
24361 not in the main loop.
24362 * configure: Regenerated.
24364 2013-01-11 Joseph Myers <joseph@codesourcery.com>
24366 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
24367 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
24369 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
24370 [!__GLIBC_HAVE_LONG_LONG] case.
24371 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
24372 condition to just #else.
24373 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
24374 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
24375 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
24376 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
24378 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
24379 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24380 #elif condition to just #else.
24381 * sysdeps/unix/sysv/linux/sys/sysmacros.h
24382 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
24383 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
24384 #elif condition to just #else.
24386 2013-01-11 Steve Ellcey <sellcey@mips.com>
24388 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
24389 (EF_MIPS_ARCH_64): Fix value.
24390 (EF_MIPS_ARCH_32R2): New.
24391 (EF_MIPS_ARCH_64R2): New.
24393 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
24395 * Makeconfig (+link-pie-before-libc): New.
24396 (+link-pie-after-libc): Likewise.
24397 (+link-pie-tests): Likewise.
24398 (+link-pie): Rewritten.
24399 (link-before-libc): Remove $(config-LDFLAGS).
24400 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
24401 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
24402 (config-LDFLAGS): Renamed to ...
24403 (rtld-LDFLAGS): This.
24404 (rtld-tests-LDFLAGS): New macro.
24405 (link-libc-rpath-link): Likewise.
24406 (link-libc-tests-rpath-link): Likewise.
24407 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
24408 (link-libc): Prepand $(link-libc-rpath-link).
24409 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
24410 (test-program-prefix): New macro.
24411 (test-via-rtld-prefix): Likewise.
24412 (test-program-cmd): Likewise.
24413 (host-test-program-cmd): Likewise.
24414 * Makefile ($(common-objpfx)testrun.sh): Replace
24415 $(run-program-prefix) with $(test-program-prefix).
24416 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
24418 ($(common-objpfx)shlib.lds): Likewise.
24419 (build-module-helper): Likewise.
24420 ($(common-objpfx)format.lds): Likewise.
24421 * Rules (binaries-pie-tests): New.
24422 (binaries-pie-notests): Likewise.
24423 (binaries-pie): Rewritten.
24424 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
24425 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
24426 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
24427 (make-test-out): Replace $(host-built-program-cmd) with
24428 $(host-test-program-cmd).
24429 * config.make.in (build-hardcoded-path-in-tests): New variable.
24430 * configure.in (--enable-hardcoded-path-in-tests): New configure
24432 (hardcoded_path_in_tests): New AC_SUBST.
24433 * configure: Regenerated.
24434 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24435 $(built-program-cmd) with $(test-program-cmd).
24436 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24437 (test_program_cmd): This.
24438 * elf/Makefile ($(objpfx)order.out): Run test with
24439 $(test-program-prefix).
24440 ($(objpfx)order2.out): Likewise.
24441 ($(objpfx)tst-initorder.out): Likewise.
24442 ($(objpfx)tst-initorder2.out): Likewise.
24443 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24444 $(test-program-cmd).
24445 ($(objpfx)tst-array1-static.out): Likewise.
24446 ($(objpfx)tst-array2.out): Likewise.
24447 ($(objpfx)tst-array3.out): Likewise.
24448 ($(objpfx)tst-array4.out): Likewise.
24449 ($(objpfx)tst-array5.out): Likewise.
24450 ($(objpfx)tst-array5-static.out): Likewise.
24451 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24452 $(test-program-cmd).
24453 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24454 $(run-program-prefix) with $(test-program-prefix).
24455 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24456 (test_program_prefix): This.
24457 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24458 $(run-program-prefix) with $(test-program-prefix).
24459 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24460 (test_program_prefix): This.
24461 * iconvdata/tst-tables.sh: Likewise.
24462 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24463 $(run-program-prefix) with $(test-program-prefix).
24464 ($(objpfx)tst-translit.out): Likewise.
24465 ($(objpfx)tst-gettext2.out): Likewise.
24466 ($(objpfx)tst-gettext4.out): Likewise.
24467 ($(objpfx)tst-gettext6.out): Likewise.
24468 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24469 (test_program_prefix): This.
24470 * intl/tst-gettext2.sh: Likewise.
24471 * intl/tst-gettext4.sh Likewise.
24472 * intl/tst-gettext6.sh: Likewise.
24473 * intl/tst-translit.sh: Likewise.
24474 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24475 with $(test-program-cmd).
24476 * libio/Makefile ($(objpfx)test-freopen.out): Replace
24477 $(run-program-prefix) with $(test-program-prefix).
24478 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24479 (test_program_prefix): This.
24480 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24481 $(run-program-prefix) with $(test-program-prefix).
24482 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24483 (test_program_prefix): This.
24484 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24485 * posix/Makefile ($(objpfx)globtest.out): Replace
24486 $(run-via-rtld-prefix) and $(test-wrapper) with
24487 $(test-program-prefix) and $(test-via-rtld-prefix).
24488 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24489 $(test-program-prefix).
24490 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24491 $(host-test-program-cmd).
24492 (tst-spawn-ARGS): Likewise.
24493 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24494 $(test-program-prefix).
24495 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24496 (test_via_rtld_prefix): This.
24497 (test_wrapper): Renamed to ...
24498 (test_program_prefix): This.
24499 (run_program_prefix): Replaced by test_program_prefix.
24500 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24501 (test_program_prefix): This.
24502 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24503 with $(host-test-program-cmd).
24504 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24505 $(run-program-prefix) with $(test-program-prefix).
24506 ($(objpfx)tst-printf.out): Likewise.
24507 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24508 $(test-program-cmd).
24509 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24510 (test_program_prefix): This.
24511 * stdio-common/tst-unbputc.sh: Likewise.
24512 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24513 $(run-program-prefix) with $(test-program-prefix).
24514 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24515 (test_program_prefix): This.
24516 * string/Makefile ($(objpfx)tst-svc.out): Replace
24517 $(built-program-cmd) with $(test-program-cmd).
24519 2013-01-11 Andreas Jaeger <aj@suse.de>
24522 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24523 value. Sync with Linux 3.7.
24525 2013-01-10 David S. Miller <davem@davemloft.net>
24527 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24528 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24529 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24531 2013-01-10 Roland McGrath <roland@hack.frob.com>
24533 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24535 * configure: Regenerated.
24537 2013-01-10 David S. Miller <davem@davemloft.net>
24539 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24540 sparc V9 rather than using V8 code.
24541 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24542 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24544 2013-01-10 Roland McGrath <roland@hack.frob.com>
24546 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24547 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24548 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24549 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24550 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24551 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24552 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24553 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24554 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24555 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24556 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24557 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24558 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24559 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24560 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24561 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24562 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24563 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24564 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24565 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24566 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24567 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24568 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24569 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24570 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24571 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24572 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24574 2013-01-10 David S. Miller <davem@davemloft.net>
24576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24578 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24580 * posix/Makefile (tests-static): New variable.
24581 (tests): Add $(tests-static).
24582 (tst-exec-static-ARGS): New variable.
24583 (tst-spawn-static-ARGS): Likewise.
24584 * posix/tst-exec-static.c: New file.
24585 * posix/tst-spawn-static.c: Likewise.
24586 * posix/tst-exec.c: Support run directly.
24587 * posix/tst-spawn.c: Likewise.
24589 2013-01-10 Joseph Myers <joseph@codesourcery.com>
24591 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24593 * math/bits/mathcalls.h (llrint): Likewise.
24594 (llround): Likewise.
24595 * stdlib/stdlib.h (struct drand48_data): Likewise.
24596 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24597 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24598 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24600 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24602 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24603 (elf_greg_t): Likewise.
24604 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24605 (__jmp_buf): Likewise.
24606 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24608 (llrint): Likewise, for all definitions.
24609 (llrintl): Likewise.
24611 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24612 Remove [__GNUC__] condition.
24613 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24614 condition to just [__USE_ISOC99].
24615 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24617 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
24620 * sysdeps/unix/sysv/linux/x86/bits/environments.h
24621 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24623 (_POSIX_V6_ILP32_OFF32): Likewise.
24624 (_XBS5_ILP32_OFF32): Likewise.
24625 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24626 (__ILP32_OFFBIG_LDFLAGS): Likewise.
24628 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24630 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24633 doubles __mpexp_twomm1. Adjust usage.
24634 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24637 2013-01-10 Andreas Schwab <schwab@suse.de>
24640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24641 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24643 2013-01-09 David S. Miller <davem@davemloft.net>
24646 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24647 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24648 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24649 (TCP_FASTOPEN): Define.
24650 (tcp_repair_opt): New structure.
24651 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24653 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24654 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24655 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24656 (tcp_cookie_transactions): New structure.
24658 2013-01-09 Anton Blanchard <anton@samba.org>
24660 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24661 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24662 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24663 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24665 2013-01-09 Joseph Myers <joseph@codesourcery.com>
24667 * include/features.h (__USE_ANSI): Remove.
24669 2013-01-09 Roland McGrath <roland@hack.frob.com>
24671 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24673 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24675 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
24677 * sysdeps/s390/fpu/libm-test-ulps: Update.
24679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24681 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24685 (denorm): Likewise.
24686 (__mp_dbl): Likewise.
24687 (__dbl_mp): Likewise.
24688 (add_magnitudes): Likewise.
24689 (sub_magnitudes): Likewise.
24695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24699 (denorm): Likewise.
24700 (__mp_dbl): Likewise.
24701 (__dbl_mp): Likewise.
24702 (add_magnitudes): Likewise.
24703 (sub_magnitudes): Likewise.
24709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24713 (denorm): Likewise.
24714 (__mp_dbl): Likewise.
24715 (__dbl_mp): Likewise.
24716 (add_magnitudes): Likewise.
24717 (sub_magnitudes): Likewise.
24724 2013-01-08 Joseph Myers <joseph@codesourcery.com>
24726 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24727 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24728 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24729 2 && __USE_EXTERN_INLINES]: Likewise.
24731 2013-01-08 Andreas Jaeger <aj@suse.de>
24734 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24736 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24737 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24739 2013-01-07 Anton Blanchard <anton@samba.org>
24741 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24742 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24743 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24744 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24745 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24746 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24747 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24748 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24750 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24751 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24753 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24754 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24755 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24756 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24757 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24758 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24759 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24760 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24761 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24762 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24764 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24766 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24767 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24768 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24771 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24773 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24774 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24775 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24776 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24778 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24779 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24780 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24781 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24782 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24783 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24785 2013-01-07 Joseph Myers <joseph@codesourcery.com>
24787 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24788 (__MALLOC_PMT): Likewise.
24789 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24790 [__GNUC__], only on [_LIBC].
24791 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24792 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24793 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24794 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24795 forward declaration.
24796 (realloc_hook_ini): Likewise.
24797 (memalign_hook_ini): Likewise.
24798 (__libc_memalign): Do not use __MALLOC_PMT in variable
24800 (__libc_valloc): Likewise.
24801 (__libc_pvalloc): Likewise.
24802 (__libc_calloc): Likewise.
24803 (__posix_memalign): Likewise.
24806 * math/s_casinh.c: Include <float.h>.
24807 (__casinh): Do not do computation with squaring and square root
24808 for large arguments.
24809 * math/s_casinhf.c: Include <float.h>.
24810 (__casinhf): Do not do computation with squaring and square root
24811 for large arguments.
24812 * math/s_casinhl.c: Include <float.h>.
24813 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24814 (__casinhl): Do not do computation with squaring and square root
24815 for large arguments.
24816 * math/libm-test.inc (casin_test): Add more tests.
24817 (casinh_test): Likewise.
24818 * sysdeps/i386/fpu/libm-test-ulps: Update.
24819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24821 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
24823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24824 (__x86_64_raw_data_cache_size): Likewise.
24825 (__x86_64_data_cache_size_half): Likewise.
24826 (__x86_64_raw_data_cache_size_half): Likewise.
24827 (__x86_64_shared_cache_size): Likewise.
24828 (__x86_64_raw_shared_cache_size): Likewise.
24829 (__x86_64_shared_cache_size_half): Likewise.
24830 (__x86_64_raw_shared_cache_size_half): Likewise.
24831 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24833 (__x86_data_cache_size): This.
24834 (__x86_64_raw_data_cache_size): Renamed to ...
24835 (__x86_raw_data_cache_size): This.
24836 (__x86_64_data_cache_size_half): Renamed to ...
24837 (__x86_data_cache_size_half): This.
24838 (__x86_64_raw_data_cache_size_half): Renamed to ...
24839 (__x86_raw_data_cache_size_half): This.
24840 (__x86_64_shared_cache_size): Renamed to ...
24841 (__x86_shared_cache_size): This.
24842 (__x86_64_raw_shared_cache_size): Renamed to ...
24843 (__x86_raw_shared_cache_size): This.
24844 (__x86_64_shared_cache_size_half): Renamed to ...
24845 (__x86_shared_cache_size_half): This.
24846 (__x86_64_raw_shared_cache_size_half): Renamed to ...
24847 (__x86_raw_shared_cache_size_half): This.
24848 * sysdeps/x86_64/memcpy.S: Updated.
24849 * sysdeps/x86_64/memset.S: Likewise.
24850 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24851 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24852 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24854 2013-01-04 David S. Miller <davem@davemloft.net>
24856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24858 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
24860 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24861 1 to avoid redefinition warning.
24862 (__USE_GNU): Don't define.
24863 (init_signaling_nan): Protoize.
24865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24867 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24869 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24871 (__cpymn): Likewise.
24872 (norm): Remove commented code.
24873 (denorm): Likewise.
24874 (__mp_dbl): Likewise.
24876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24877 (__cpymn): Likewise.
24878 (norm): Remove commented code.
24879 (denorm): Likewise.
24880 (__mp_dbl): Likewise.
24883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24884 mp_no value for 1.0 and 2.0.
24885 (norm): Use RADIXI instead of radixi.d.
24886 (denorm): Likewise.
24887 (__mul): Use 0.0 instead of zero.d.
24888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24889 mp_no value for 1.0 and 2.0.
24890 (norm): Use RADIXI instead of radixi.d.
24891 (denorm): Likewise.
24892 (__mul): Use 0.0 instead of zero.d.
24894 2013-01-04 Joseph Myers <joseph@codesourcery.com>
24897 * math/s_casinh.c (__casinh): Reduce finite argument to first
24898 quadrant then set signs of results at the end.
24899 * math/s_casinhf.c (__casinhf): Likewise.
24900 * math/s_casinhl.c (__casinhl): Likewise.
24901 * math/libm-test.inc (casin_test): Add more tests.
24902 (casinh_test): Likewise.
24903 * sysdeps/i386/fpu/libm-test-ulps: Update.
24904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24906 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24908 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24910 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24912 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24914 (denorm): Likewise.
24915 (__mp_dbl): Likewise.
24918 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24919 and adjust the header comment.
24921 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24922 variable name from declaration.
24924 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
24926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24927 Initialize COMMON_CPUID_INDEX_7 element.
24928 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24929 (CPUID_RTM): Likewise.
24930 (HAS_RTM): Likewise.
24931 (COMMON_CPUID_INDEX_7): New enum.
24933 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
24936 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24937 size is zero, record memory as freed.
24939 2013-01-03 Andreas Jaeger <aj@suse.de>
24941 * po/ia.po: Add new Interlingua translation.
24943 2012-01-03 Allan McRae <allan@archlinux.org>
24945 * locale/programs/localedef.c: Fix description of '--posix' flag.
24947 2013-01-02 Joseph Myers <joseph@codesourcery.com>
24949 * NEWS: Update dates in second copyright notice.
24950 * README: Update copyright dates in example.
24951 * manual/libc.texinfo: Update copyright dates.
24952 * scripts/test-installation.pl: Update copyright date in --version
24955 * hurd/ctty-input.c: Fix copyright notice formatting.
24956 * hurd/ctty-output.c: Likewise.
24957 * hurd/dtable.c: Likewise.
24958 * hurd/hurd-raise.c: Likewise.
24959 * hurd/hurdprio.c: Likewise.
24960 * hurd/msgportdemux.c: Likewise.
24961 * misc/sys/file.h: Likewise.
24962 * misc/sys/ioctl.h: Likewise.
24963 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24964 * sysdeps/mach/hurd/chdir.c: Likewise.
24965 * sysdeps/mach/hurd/fchdir.c: Likewise.
24966 * sysdeps/mach/hurd/rename.c: Likewise.
24967 * sysdeps/mach/hurd/rmdir.c: Likewise.
24968 * sysdeps/mach/hurd/seekdir.c: Likewise.
24969 * sysdeps/mach/hurd/setsid.c: Likewise.
24970 * sysdeps/posix/wait3.c: Likewise.
24972 * All files with FSF copyright notices: Update copyright dates
24973 using scripts/update-copyrights.
24974 * intl/plural.c: Regenerated.
24975 * locale/programs/charmap-kw.h: Likewise.
24976 * locale/programs/locfile-kw.h: Likewise.
24978 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24980 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24984 calculation loop and add branch prediction.
24986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24987 check access beyond bounds of m1np.
24989 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24991 (__inv): Remove local variable MPTWO to use the global
24993 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24994 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24996 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24997 MP3HALFS static const.
24999 2013-01-01 David S. Miller <davem@davemloft.net>
25001 * po/ca.po: Update from translation team.
25003 2013-01-01 Joseph Myers <joseph@codesourcery.com>
25005 * scripts/update-copyrights: New file.
25006 * Makeconfig: Reformat copyright notice.
25007 * ctype/ctype.h: Likewise.
25008 * debug/swprintf_chk.c: Likewise.
25009 * elf/dl-cache.c: Likewise.
25010 * elf/dl-debug.c: Likewise.
25011 * elf/dl-object.c: Likewise.
25012 * grp/initgroups.c: Likewise.
25013 * hurd/Makefile: Likewise.
25014 * hurd/hurd/signal.h: Likewise.
25015 * hurd/hurdfault.c: Likewise.
25016 * hurd/hurdioctl.c: Likewise.
25017 * hurd/hurdlookup.c: Likewise.
25018 * hurd/intr-msg.c: Likewise.
25019 * iconv/gconv_open.c: Likewise.
25020 * libio/swprintf.c: Likewise.
25021 * locale/lc-ctype.c: Likewise.
25022 * locale/nl_langinfo.c: Likewise.
25023 * mach/Machrules: Likewise.
25024 * mach/Makefile: Likewise.
25025 * malloc/obstack.h: Likewise.
25026 * manual/Makefile: Likewise.
25027 * manual/tsort.awk: Likewise.
25028 * misc/bits/stab.def: Likewise.
25029 * nis/nis_print_group_entry.c: Likewise.
25030 * nis/nis_table.c: Likewise.
25031 * nis/nss_compat/compat-pwd.c: Likewise.
25032 * nis/nss_compat/compat-spwd.c: Likewise.
25033 * po/Makefile: Likewise.
25034 * posix/fnmatch.c: Likewise.
25035 * posix/regex.h: Likewise.
25036 * resolv/Makefile: Likewise.
25037 * resolv/nss_dns/dns-network.c: Likewise.
25038 * resolv/res_hconf.c: Likewise.
25039 * scripts/gen-sorted.awk: Likewise.
25040 * soft-fp/soft-fp.h: Likewise.
25041 * stdio-common/printf.h: Likewise.
25042 * stdlib/monetary.h: Likewise.
25043 * stdlib/random.c: Likewise.
25044 * stdlib/random_r.c: Likewise.
25045 * sysdeps/generic/Makefile: Likewise.
25046 * sysdeps/gnu/Makefile: Likewise.
25047 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25057 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25058 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25059 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25060 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25061 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
25062 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25063 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25067 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25068 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25069 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25070 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25071 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
25075 * sysdeps/mach/hurd/errnos.awk: Likewise.
25076 * sysdeps/mach/hurd/fork.c: Likewise.
25077 * sysdeps/mach/hurd/getcwd.c: Likewise.
25078 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
25079 * sysdeps/mach/hurd/mmap.c: Likewise.
25080 * sysdeps/mach/hurd/utimes.c: Likewise.
25081 * sysdeps/mach/hurd/xmknod.c: Likewise.
25082 * sysdeps/posix/profil.c: Likewise.
25083 * sysdeps/posix/readdir_r.c: Likewise.
25084 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25085 * sysdeps/powerpc/bits/setjmp.h: Likewise.
25086 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
25087 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25089 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25090 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25091 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25093 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25095 * sysdeps/pthread/lio_listio.c: Likewise.
25096 * sysdeps/sparc/dl-procinfo.h: Likewise.
25097 * sysdeps/unix/i386/sysdep.S: Likewise.
25098 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
25099 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
25100 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
25101 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
25102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25103 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25104 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25105 * sysdeps/unix/sysv/linux/speed.c: Likewise.
25106 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25107 * sysdeps/wordsize-32/divdi3.c: Likewise.
25108 * time/sys/time.h: Likewise.
25109 * wcsmbs/Makefile: Likewise.
25111 2013-01-01 David S. Miller <davem@davemloft.net>
25113 * po/fr.po: Update from translation team.
25115 * catgets/gencat.c: Update copyright year.
25116 * csu/version.c: Likewise.
25117 * debug/catchsegv.sh: Likewise.
25118 * debug/pcprofiledump.c: Likewise.
25119 * debug/xtrace.sh: Likewise.
25120 * elf/ldconfig.c: Likewise.
25121 * elf/ldd.bash.in: Likewise.
25122 * elf/pldd.c: Likewise.
25123 * elf/sotruss.ksh: Likewise.
25124 * elf/sprof.c: Likewise.
25125 * iconv/iconv_prog.c: Likewise.
25126 * iconv/iconvconfig.c: Likewise.
25127 * locale/programs/locale.c: Likewise.
25128 * locale/programs/localedef.c: Likewise.
25129 * login/programs/pt_chown.c: Likewise.
25130 * malloc/memusage.sh: Likewise.
25131 * malloc/memusagestat.c: Likewise.
25132 * malloc/mtrace.pl: Likewise.
25133 * nscd/nscd.c: Likewise.
25134 * nss/getent.c: Likewise.
25135 * nss/makedb.c: Likewise.
25136 * posix/getconf.c: Likewise.
25138 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25140 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
25143 2012-12-30 Mike Frysinger <vapier@gentoo.org>
25145 * math/bits/mathcalls.h (modf): Use __nonnull.
25147 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25149 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
25150 (split): Use macro CN instead of the bare value.
25151 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
25153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
25154 instead of the bare value.
25155 (power1): Likewise.
25157 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
25161 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25163 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
25165 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25167 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
25168 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25170 2012-12-28 Andreas Jaeger <aj@suse.de>
25172 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
25173 values are from Linux 3.7.
25175 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
25176 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
25178 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25180 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
25183 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
25185 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
25186 variables with preprocessor constants.
25187 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25188 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25189 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25191 2012-12-27 Bruno Haible <bruno@clisp.org>
25194 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
25197 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
25200 and use variable directly.
25201 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
25203 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
25205 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
25206 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
25208 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25210 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
25211 include directive. Remove local variable MPONE.
25212 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
25213 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
25214 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25216 2012-12-25 David S. Miller <davem@davemloft.net>
25218 * version.h (RELEASE): Set to "development".
25219 (VERSION): Set to "2.17.90".
25220 * NEWS: Add 2.18 section.
25222 2012-12-21 David S. Miller <davem@davemloft.net>
25224 * po/hr.po: Update from translation team.
25226 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25228 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
25230 2012-12-19 Steve Ellcey <sellcey@mips.com>
25232 * NEWS: Mention new memcpy for MIPS.
25234 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25236 * manual/contrib.texi (Contributors): Spelling correction.
25238 2012-12-15 David S. Miller <davem@davemloft.net>
25240 * po/ru.po: Update from translation team.
25242 2012-12-13 David S. Miller <davem@davemloft.net>
25244 * NEWS: Mention IFUNC testsuite enhancements.
25246 * po/pl.po: Update from translation team.
25247 * po/bg.po: Likewise.
25249 * manual/contrib.texi (Contributors): Update entries for Hongjiu
25250 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
25252 2012-12-11 David S. Miller <davem@davemloft.net>
25254 * po/sv.po: Update from translation team.
25256 * po/vi.po: Update from translation team.
25258 * po/cs.po: Update from translation team.
25260 * po/de.po: Update from translation team.
25261 * po/eo.po: Likewise.
25262 * po/nl.po: Likewise.
25264 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25267 * manual/argp.texi (Argp Helper Functions): Move node to follow
25268 Argp Parsing State.
25271 * manual/conf.texi (Limits on File System Capacity): Mention if
25272 terminating null is included in the max size.
25274 2012-12-10 Andreas Jaeger <aj@suse.de>
25276 * po/cs.po: Update from translation team.
25278 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25280 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
25281 void pointer and cast to uintptr_t.
25282 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
25284 * sysdeps/s390/s390-64/memcpy.S: Likewise.
25285 * sysdeps/s390/s390-64/memset.S: Likewise.
25287 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
25290 * menual/message.texi (Message Translation): Fix typos.
25291 (Helper programs for gettext): Likewise.
25293 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
25296 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
25299 2012-12-07 David S. Miller <davem@davemloft.net>
25301 * po/libc.pot: Update.
25303 2012-12-07 Richard Henderson <rth@redhat.com>
25306 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
25307 normal/normal case to before the switch.
25308 (_FP_DIV): Likewise.
25310 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
25311 Mike Frysinger <vapier@gentoo.org>
25313 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
25314 check for __NR_fadvise64_64.
25316 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
25318 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
25319 0, not just to plain "0" as a statement.
25320 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
25323 2012-12-06 Joseph Myers <joseph@codesourcery.com>
25325 * NEWS: Use sourceware.org in Bugzilla URL.
25327 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25330 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25332 * stdio-common/tst-put-error.c (do_test): Add newline to the
25333 padded test to ensure flush.
25335 2012-12-05 Jeff Law <law@redhat.com>
25337 * sunrpc/etc.rpc (fedfs_admin): Add entry.
25339 2012-12-05 Joseph Myers <joseph@codesourcery.com>
25341 * README: Don't refer to ports add-on as distributed separately.
25342 Mention AArch64 in list of systems supported in the ports add-on.
25344 * LICENSES: Add more non-FSF copyright and license notices.
25346 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
25349 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
25351 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
25352 10000 as width of padded output.
25354 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25356 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
25358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
25359 variable LX with __attribute__ ((unused)).
25360 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25362 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
25365 with __attribute__ ((unused)).
25367 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
25369 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
25371 2012-12-04 Joseph Myers <joseph@codesourcery.com>
25373 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
25374 (CFLAGS-nldbl-acos.c): New variable.
25375 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
25376 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
25377 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
25378 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
25379 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
25380 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
25381 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
25382 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
25383 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
25384 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
25385 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
25386 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
25387 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
25388 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
25389 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
25390 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
25391 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
25392 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
25393 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
25394 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
25395 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
25396 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
25397 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
25398 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
25399 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
25400 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
25401 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
25402 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
25403 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
25404 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
25405 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
25406 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
25407 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
25408 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
25409 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
25410 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
25411 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
25412 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
25413 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
25414 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
25415 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
25416 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
25417 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
25418 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
25419 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
25420 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
25421 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
25422 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
25423 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
25424 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
25425 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
25426 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
25427 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
25428 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
25429 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25430 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25431 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25432 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25433 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25434 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25435 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25436 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25437 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25438 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25439 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25440 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25441 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25442 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25443 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25444 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25445 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25446 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25447 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25448 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25449 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25450 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25451 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25452 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25453 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25454 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25455 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25456 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25457 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25458 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25459 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25460 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25461 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25462 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25463 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25464 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25465 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25466 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25467 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25468 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25469 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25470 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25471 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25474 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25478 whole low double instead of just low 47 bits when splitting values
25481 2012-12-03 Allan McRae <allan@archlinux.org>
25483 * manual/stdio.texi (Predefined Printf Handlers): Remove
25484 @hsep and @vsep usage.
25486 2012-12-03 Mike Frysinger <vapier@gentoo.org>
25488 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25489 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25491 2012-12-03 Jeff Law <law@redhat.com>
25493 * time/sys/time.h (settimeofday): Do not mark TV argument
25496 2012-12-01 Mike Frysinger <vapier@gentoo.org>
25498 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25499 when currently writing and seek to current position when not.
25500 * libio/Makefile (tests): Remove bug-fclose1.
25501 * libio/bug-fclose1.c: Delete.
25503 2012-12-01 Joseph Myers <joseph@codesourcery.com>
25505 * manual/arith.texi (feenableexcept): Fix typo.
25506 (fedisableexcept): Likewise.
25508 2012-11-30 Roland McGrath <roland@hack.frob.com>
25510 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25511 second, differently-typed declaration, rather than a cast.
25513 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25515 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25516 * include/rpc/svc.h: ... here.
25518 2012-11-30 Aurelien Jarno <aurel32@debian.org>
25521 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25522 depending n and resplen2 to catch cases where answer
25525 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
25527 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25528 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25530 2012-11-29 Mike Frysinger <vapier@gentoo.org>
25532 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25534 2012-11-29 Roland McGrath <roland@hack.frob.com>
25536 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25538 2012-11-28 Jeff Law <law@redhat.com>
25541 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25542 dataset_temporary. Track alloca usage into alloca_used.
25543 If dataset is large allocate and release it via malloc/free.
25545 2012-06-04 Florian Weimer <fweimer@redhat.com>
25548 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25550 2012-11-28 David S. Miller <davem@davemloft.net>
25552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25554 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25557 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25558 of pi/2 rounded to nearest to 64 bits.
25559 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25560 nearest to 64 bits.
25561 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25564 2012-11-28 Jeff Law <law@redhat.com>
25565 Martin Osvald <mosvald@redhat.com>
25568 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25569 * sunrpc/svc.c: Include time.h.
25570 (__svc_accept_failed): New function.
25571 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25572 any reason other than EINTR, call __svc_accept_failed.
25573 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25574 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25576 2012-11-28 Andreas Schwab <schwab@suse.de>
25578 * scripts/abilist.awk: Also handle indirect functions in .opd
25581 2012-11-28 Joseph Myers <joseph@codesourcery.com>
25584 * sysdeps/x86/fpu/powl_helper.c: New file.
25585 * sysdeps/x86/fpu/Makefile: Likewise.
25586 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25588 (__ieee754_powl): Use __powl_helper for finite arguments except
25589 integer exponents below 8.
25590 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25592 (__ieee754_powl): Use __powl_helper for finite arguments except
25593 integer exponents below 8.
25594 * math/libm-test.inc (pow_test): Add more tests and enable some
25595 previously disabled tests.
25596 * sysdeps/i386/fpu/libm-test-ulps: Update.
25597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25599 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25600 Carlos O'Donell <carlos_odonell@mentor.com>
25602 * nss/makedb.c (is_prime): Assert that input is odd and greater
25603 than 4. Note that fact in a comment too.
25604 (next_prime): Add 4 to input.
25606 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25609 * libio/Makefile (tests): Add test case tst-fwrite-error.
25610 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25611 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25612 * libio/tst-fwrite-error.c: New test case.
25614 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
25616 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25617 before casting to void *.
25618 * include/libc-internal.h (__pointer_type): New macro.
25619 (__integer_if_pointer_type_sub): Likewise.
25620 (__integer_if_pointer_type): Likewise.
25621 (cast_to_integer): Likewise.
25622 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25623 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25624 before casting to atomic64_t.
25625 (atomic_exchange_acq): Likewise.
25626 (__arch_exchange_and_add_body): Likewise.
25627 (__arch_add_body): Likewise.
25628 (atomic_add_negative): Likewise.
25629 (atomic_add_zero): Likewise.
25631 2012-11-26 Joseph Myers <joseph@codesourcery.com>
25633 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25634 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25635 (add_fdes): Likewise.
25636 (linear_search_fdes): Likewise.
25637 (binary_search_unencoded_fdes): Likewise.
25639 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
25641 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25643 2012-11-24 Adam Conrad <adconrad@0c3.net>
25645 * configure.in: Autodetect C++ header directories.
25646 * configure: Regenerated.
25648 2012-11-23 Mike Frysinger <vapier@gentoo.org>
25650 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25652 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
25654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25656 2012-11-22 Joseph Myers <joseph@codesourcery.com>
25658 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25659 LDBL_MANT_DIG == 106]: Disable some tests.
25660 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25662 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25666 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25667 input for small inputs. Return +/- pi/2 for large inputs.
25668 * math/libm-test.inc (atan_test): Add more tests.
25670 * sysdeps/generic/unwind-dw2-fde-glibc.c
25671 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25672 __attribute__ ((unused)).
25675 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25676 x * y if x and y are nonzero and z is zero.
25679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25680 nonzero exponents with absolute value below 0x1p-117 to +/-
25684 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25685 up arguments below 2**-450, not just those below 2**-500.
25686 * math/libm-test.inc (hypot_test): Add another test.
25689 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25690 Return a+b for ratio over 2**120, not 2**60.
25691 * math/libm-test.inc (hypot_test): Add another test.
25693 * math/libm-test.inc (clog_test): Use
25694 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25695 (clog10_test): Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25700 2012-11-22 Andreas Schwab <schwab@suse.de>
25702 * sysdeps/i386/fpu/libm-test-ulps: Update.
25704 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
25706 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25707 printf output with newline.
25709 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
25712 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25713 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25714 -z nodlopen, -z initfirst and -z execstack support.
25715 * configure: Regenerated.
25717 * elf/elf.h (DF_1_NODIRECT): New macro.
25718 (DF_1_IGNMULDEF): Likewise.
25719 (DF_1_NOKSYMS): Likewise.
25720 (DF_1_NOHDR): Likewise.
25721 (DF_1_EDITED): Likewise.
25722 (DF_1_NORELOC): Likewise.
25723 (DF_1_SYMINTPOSE): Likewise.
25724 (DF_1_GLOBAUDIT): Likewise.
25725 (DF_1_SINGLETON): Likewise.
25726 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25727 DT_1_SUPPORTED_MASK bits.
25728 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25730 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
25732 * sysdeps/unix/make-syscalls.sh: Document prefixes.
25734 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
25736 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25739 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25740 (sendmmsg): Move declarations...
25741 * socket/sys/socket.h: ... here.
25742 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25743 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25745 * socket/recvmmsg.c: ... this new file.
25746 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25747 (sendmmsg): Rename to __sendmmsg, create weak alias and make
25748 definition of __sendmmsg hidden.
25749 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25750 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25751 Move ENOSYS stub into and include it from...
25752 * socket/sendmmsg.c: ... this new file.
25753 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25754 (sysdep_routines): Move recvmmsg and sendmmsg...
25755 * socket/Makefile (routines): ... here.
25756 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25757 (GLIBC_PRIVATE): Add __sendmmsg.
25758 * include/sys/socket.h (__sendmmsg): Add declarations.
25759 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25762 2012-11-20 Joseph Myers <joseph@codesourcery.com>
25764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25765 variable I1 with __attribute__ ((unused)).
25766 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25768 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25770 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25771 DUMMY variables with __attribute__ ((unused)).
25773 * bits/byteswap.h: Include <bits/types.h>.
25774 (__bswap_64): Use __uint64_t instead of unsigned long long int.
25776 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
25778 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25779 string_t. Do not manually set errno.
25780 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25781 length with __strnlen. Make sure to both set errno and return it on
25784 2012-11-19 David S. Miller <davem@davemloft.net>
25786 With help from Joseph Myers.
25787 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25788 very large arguments properly.
25789 * math/libm-test.inc (atan_test): New tests.
25790 (atan2_test): New tests.
25791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25794 2012-11-19 Joseph Myers <joseph@codesourcery.com>
25797 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25800 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25801 [POSIX] (EADDRNOTAVAIL): Likewise.
25802 [POSIX] (EAFNOSUPPORT): Likewise.
25803 [POSIX] (EALREADY): Likewise.
25804 [POSIX] (ECONNABORTED): Likewise.
25805 [POSIX] (ECONNREFUSED): Likewise.
25806 [POSIX] (ECONNRESET): Likewise.
25807 [POSIX] (EDESTADDRREQ): Likewise.
25808 [POSIX] (EDQUOT): Likewise.
25809 [POSIX] (EHOSTUNREACH): Likewise.
25810 [POSIX] (EIDRM): Likewise.
25811 [POSIX] (EISCONN): Likewise.
25812 [POSIX] (ELOOP): Likewise.
25813 [POSIX] (EMULTIHOP): Likewise.
25814 [POSIX] (ENETDOWN): Likewise.
25815 [POSIX] (ENETUNREACH): Likewise.
25816 [POSIX] (ENOBUFS): Likewise.
25817 [POSIX] (ENODATA): Likewise.
25818 [POSIX] (ENOLINK): Likewise.
25819 [POSIX] (ENOMSG): Likewise.
25820 [POSIX] (ENOPROTOOPT): Likewise.
25821 [POSIX] (ENOSR): Likewise.
25822 [POSIX] (ENOSTR): Likewise.
25823 [POSIX] (ENOTCONN): Likewise.
25824 [POSIX] (ENOTSOCK): Likewise.
25825 [POSIX] (EOPNOTSUPP): Likewise.
25826 [POSIX] (EOVERFLOW): Likewise.
25827 [POSIX] (EPROTO): Likewise.
25828 [POSIX] (EPROTONOSUPPORT): Likewise.
25829 [POSIX] (EPROTOTYPE): Likewise.
25830 [POSIX] (ESTALE): Likewise.
25831 [POSIX] (ETIME): Likewise.
25832 [POSIX] (ETXTBSY): Likewise.
25833 [POSIX] (EWOULDBLOCK): Likewise.
25834 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25835 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25836 [POSIX] (SEEK_CUR): Likewise.
25837 [POSIX] (SEEK_END): Likewise.
25838 [POSIX || UNIX98] (mode_t): Do not require.
25839 [POSIX] (off_t): Likewise.
25840 [POSIX] (pid_t): Likewise.
25841 [POSIX] (sys/stat.h): Do not allow header.
25842 [POSIX] (unistd.h): Likewise.
25843 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25844 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25845 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25846 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25848 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25849 sigevent): Specify elements.
25850 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25852 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25853 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25855 * conform/data/cpio.h-data [POSIX]: Disable whole file.
25856 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25857 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25858 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25859 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25860 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25861 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25862 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25863 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25864 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25865 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25866 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25867 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25868 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25876 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25877 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25878 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25880 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25881 Specify lower bound on value.
25882 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25884 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25885 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25886 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25887 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25888 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25889 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25891 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25893 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25910 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25912 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
25924 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25925 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25928 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25930 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25931 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25932 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25933 specify as optional.
25934 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25935 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25936 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25937 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25938 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25939 [XPG3] (NL_LANGMAX): Likewise.
25940 [POSIX || XPG3] (NL_MSGMAX): Likewise.
25941 [POSIX || XPG3] (NL_NMAX): Likewise.
25942 [POSIX || XPG3] (NL_SETMAX): Likewise.
25943 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25944 [XPG3] (NZERO): Likewise.
25945 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25946 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25947 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25948 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25949 (REG_ERANGE): Expect.
25950 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25952 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25953 Use (void) in prototype.
25954 [POSIX] (*_t): Allow.
25955 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25956 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25957 (WRDE_BADVAL): Expect.
25959 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25961 [XPG3 || XPG4] (O_RSYNC): Likewise.
25962 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25964 [XPG3 || XPG4] (pthread_sigmask): Likewise.
25965 [XPG3 || XPG4] (sigqueue): Likewise.
25966 [XPG3 || XPG4] (sigtimedwait): Likewise.
25967 [XPG3 || XPG4] (sigwaitinfo): Likewise.
25968 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25969 [XPG3 || XPG4] (vsnprintf): Likewise.
25970 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25972 [XPG3 || XPG4] (blksize_t): Likewise.
25973 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25975 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25976 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25977 [XPG3 || XPG4] (struct itimerspec): Likewise.
25978 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25979 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25980 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25981 [XPG3 || XPG4] (clockid_t): Likewise.
25982 [XPG3 || XPG4] (timer_t): Likewise.
25983 [XPG3 || XPG4] (clock_getres): Likewise.
25984 [XPG3 || XPG4] (clock_gettime): Likewise.
25985 [XPG3 || XPG4] (clock_settime): Likewise.
25986 [XPG3 || XPG4] (nanosleep): Likewise.
25987 [XPG3 || XPG4] (timer_create): Likewise.
25988 [XPG3 || XPG4] (timer_delete): Likewise.
25989 [XPG3 || XPG4] (timer_gettime): Likewise.
25990 [XPG3 || XPG4] (timer_getoverrun): Likewise.
25991 [XPG3 || XPG4] (timer_settime): Likewise.
25992 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25993 [XPG3 || XPG4] (getlogin_r): Likewise.
25994 [XPG3 || XPG4] (pread): Likewise.
25995 [XPG3 || XPG4] (pthread_atfork): Likewise.
25996 [XPG3 || XPG4] (pwrite): Likewise.
25999 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
26002 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
26004 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
26005 finalizing MALLSTREAM.
26007 * sysdeps/mach/hurd/syncfs.c: New file.
26009 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26012 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
26013 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
26014 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
26015 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
26016 (_nss_dns_gethostbyname4_r): Likewise.
26017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
26018 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
26020 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
26023 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
26025 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
26027 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
26028 * elf/cache.c (print_entry): Print ",AArch64" for
26031 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
26032 * elf/cache.c (print_entry): Print ",hard-float" for
26035 2012-11-18 David S. Miller <davem@davemloft.net>
26037 With help from Joseph Myers.
26038 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
26040 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
26042 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
26043 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
26045 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
26046 * math/libm-test.inc (y0_test): New tests.
26047 (y1_test): New tests.
26048 * sysdeps/i386/fpu/libm-test-ulps: Update.
26049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26052 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
26054 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
26056 * configure: Regenerated.
26058 2012-11-17 David S. Miller <davem@davemloft.net>
26061 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
26062 nonzero exponents with absolute value below 0x1p-128 to +/-
26065 2012-11-17 Joseph Myers <joseph@codesourcery.com>
26067 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
26069 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
26071 * posix/getconf-speclist.c: New file.
26072 * posix/posix-envs.def: Likewise.
26073 * posix/confstr.c (START_ENV_GROUP): New macro.
26074 (END_ENV_GROUP): Likewise.
26075 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26076 (KNOWN_PRESENT_ENV_STRING): Likewise.
26077 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26078 (UNKNOWN_ENVIRONMENT): Likewise.
26079 (confstr): Include posix-envs.def instead of handling
26080 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
26081 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
26082 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
26083 (END_ENV_GROUP): Likewise.
26084 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
26085 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
26086 (UNKNOWN_ENVIRONMENT): Likewise.
26087 (__sysconf): Include posix-envs.def instead of handling associated
26088 cases directly here.
26089 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
26090 preprocessing getconf-speclist.c rather than running getconf or
26091 generating empty file.
26093 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
26095 * scripts/check-local-headers.sh: Ignore 'mach' headers.
26097 2012-11-16 Andrej Lajovic <natrij@gmail.com>
26100 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
26102 2012-11-16 David S. Miller <davem@davemloft.net>
26104 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
26105 smaller than LDBL_EPSILON/2.0L, just return xm1.
26107 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
26109 * elf/tst-array1.c (init): Set constructor priority to 1000.
26110 (fini): Set destructor priority to 1000.
26111 * elf/tst-array2dep.c: Likewise.
26113 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26116 * libio/fileops.c (_IO_new_file_write): Correctly return error.
26117 (_IO_new_file_xsputn): Also return EOF if none of the input
26118 data was written when overflow failed.
26119 * libio/iopadn.c (_IO_padn): Likewise.
26120 * libio/iowpadn.c (_IO_wpadn): Likewise.
26121 * stdio-common/tst-put-error.c: Add copyright notice.
26122 (do_test): Add case for printing padded string.
26123 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
26124 _IO_padn returned error.
26125 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
26126 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
26129 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26131 * libio/libioP.h: Add comment note that the references to C++
26132 bits are now obsolete.
26134 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26136 * math/libm-test.inc (check_complex): Use asprintf.
26138 2012-11-14 Joseph Myers <joseph@codesourcery.com>
26140 * debug/pcprofiledump.c (print_version): Update copyright year.
26141 * malloc/memusagestat.c (print_version): Likewise.
26143 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
26146 * elf/Makefile (tests): Add tst-audit8.
26147 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
26148 ($(objpfx)tst-audit8.out): New target.
26149 (tst-audit8-ENV): New variable.
26150 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
26151 audit if l_reloc_result is NULL.
26152 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
26153 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
26154 * elf/tst-audit8.c: New file.
26156 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26158 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
26159 * misc/Makefile (CFLAGS-select.c): Define.
26160 * posix/Makefile (CFLAGS-pause.c): Define.
26162 2012-11-13 David S. Miller <davem@davemloft.net>
26164 * crypt/Makefile: Move test targets after toplevel Rules
26165 inclusion. Grab any necessary sysdep routines when linking.
26166 * crypt/md5.c (md5_process_block): Remove define, we will always
26167 name it __md5_process_block.
26168 (md5_finish_ctx): Update md5_process_block call.
26169 (md5_stream): Likewise.
26170 (md5_process_bytes): Likewise.
26171 (md5_process_block): Rename to __md5_process_block and move to ...
26172 * crypt/md5-block.c: ... here.
26173 * crypt/sha256.c (sha256_process_block): Move to ...
26174 * crypt/sha256-block.c: ... here.
26175 * crypt/sha512.c (sha512_process_block): Move to ...
26176 * crypt/sha512-block.c: ... here.
26177 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
26179 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
26180 * sysdeps/sparc/sparc64/multiarch/Makefile
26181 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
26183 (localedef-aux): Add md5 crypto assembler when in locale subdir.
26184 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
26186 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
26187 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
26188 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
26189 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
26190 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
26191 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
26192 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
26193 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
26194 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
26196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
26197 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
26199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
26201 2012-11-13 Joseph Myers <joseph@codesourcery.com>
26203 * timezone/tzselect.ksh: Update from tzcode git revision
26204 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
26205 * timezone/zdump.c: Likewise.
26206 * timezone/zic.c: Likewise.
26207 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
26208 in TZVERSION setting, not $(PKGVERSION).
26209 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
26210 REPORT_BUGS_TO settings.
26213 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
26216 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26218 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
26219 detection to immediately after _FP_ROUND().
26220 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
26223 2012-11-11 David S. Miller <davem@davemloft.net>
26225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
26227 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
26228 __close rather than their public counterparts.
26230 2012-11-10 Joseph Myers <joseph@codesourcery.com>
26232 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
26234 [UNIX98] (sem_timedwait): Do not expect.
26235 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
26236 [XPG4 || UNIX98] (sockatmark): Do not expect.
26237 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
26238 (clock_getcpuclockid): Do not expect.
26239 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
26240 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
26242 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
26243 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
26244 [UNIX98] (vwscanf): Likewise.
26245 [UNIX98] (vswscanf): Likewise.
26247 2012-11-09 Joseph Myers <joseph@codesourcery.com>
26249 * timezone/version.h: Remove file.
26250 * timezone/README: Do not refer to version.h.
26251 * timezone/Makefile ($(objpfx)zic.o): New dependency on
26252 $(objpfx)version.h.
26253 ($(objpfx)zdump.o): Likewise.
26254 ($(objpfx)version.h): New target.
26256 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
26258 * timezone/README: Don't mention modification to tzselect.ksh.
26259 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
26260 work on unmodified tzselect.ksh. Substitute version numbers in
26263 * Makefile (format-me): Remove.
26264 (INSTALL): Adjust indentation. Use commands directly instead of
26265 using $(format-me).
26267 * aclocal.m4 (ACX_PKGVERSION): New macro.
26268 (ACX_BUGURL): Likewise.
26269 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
26270 (PKGVERSION): New AC_DEFINE_UNQUOTED.
26271 (REPORT_BUGS_TO): Likewise.
26272 * configure: Regenerated.
26273 * config.h.in (PKGVERSION): New macro.
26274 (REPORT_BUGS_TO): Likewise.
26275 * config.make.in (PKGVERSION): New variable.
26276 (PKGVERSION_TEXI): Likewise.
26277 (REPORT_BUGS_TO): Likewise.
26278 (REPORT_BUGS_TEXI): Likewise.
26279 * Makefile (format-me): Use -I$(common-objpfx)manual.
26280 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
26281 ($(common-objpfx)manual/%): New target.
26282 (manual/%): Remove target.
26283 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
26284 (print_version): Use PKGVERSION.
26285 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
26286 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
26287 and REPORT_BUGS_TO.
26288 ($(objpfx)xtrace): Likewise.
26289 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
26290 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
26291 (print_version): Use PKGVERSION.
26292 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
26293 (do_version): Use PKGVERSION.
26294 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
26296 (common-ldd-rewrite): Likewise.
26297 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
26298 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
26299 (print_version): Use PKGVERSION.
26300 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
26301 * elf/pldd.c (argp_program_bug_address): Remove variable.
26302 (more_help): New function.
26303 (argp): Use more_help.
26304 (print_version): Use PKGVERSION.
26305 * elf/sln.c (main): Use PKGVERSION.
26306 (usage): Use REPORT_BUGS_TO.
26307 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
26308 (top level): Use PKGVERSION.
26309 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
26310 (print_version): Use PKGVERSION.
26311 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
26312 (print_version): Use PKGVERSION.
26313 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
26314 (print_version): Use PKGVERSION.
26315 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
26316 (print_version): Use PKGVERSION.
26317 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
26318 (print_version): Use PKGVERSION.
26319 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
26320 (print_version): Use PKGVERSION.
26321 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
26323 ($(objpfx)memusage): Likewise.
26324 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
26325 (do_version): Use PKGVERSION.
26326 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
26327 (print_version): Use PKGVERSION.
26328 * malloc/mtrace.pl ($PACKAGE): Remove variable.
26329 ($PKGVERSION): New variable.
26330 ($REPORT_BUGS_TO): Likewise.
26331 (usage): Use $REPORT_BUGS_TO.
26332 (top level): Use $PKGVERSION.
26333 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
26334 ($(objpfx)pkgvers.texi): New rule.
26335 ($(objpfx)stamp-pkgvers): Likewise.
26336 * manual/install.texi: Include pkgvers.texi.
26337 (--with-pkgversion): Document new configure option.
26338 (--with-bugurl): Likewise.
26339 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
26340 than necessarily for this particular distribution. Use
26341 REPORT_BUGS_TO for where to report bugs.
26342 * INSTALL: Regenerated.
26343 * manual/libc.texinfo: Include pkgvers.texi.
26344 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
26345 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
26346 (print_version): Use PKGVERSION.
26347 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
26348 (print_version): Use PKGVERSION.
26349 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
26350 (print_version): Use PKGVERSION.
26351 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
26352 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
26354 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
26355 (print_version): Use PKGVERSION.
26356 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
26357 (print_version): Use PKGVERSION.
26358 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
26361 * timezone/checktab.awk: Update from tzcode 2012i.
26362 * timezone/ialloc.c: Likewise.
26363 * timezone/private.h: Likewise.
26364 * timezone/scheck.c: Likewise.
26365 * timezone/tzfile.h: Likewise.
26366 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
26367 (TZVERSION): Hardcode tzcode version number.
26368 * timezone/zdump.c: Update from tzcode 2012i.
26369 * timezone/zic.c: Likewise.
26370 * timezone/version.h: New file.
26371 * timezone/README: Describe version.h. Update upstream location.
26374 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
26375 (mktemp): Enable declaration.
26376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
26377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
26378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
26379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
26381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
26383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
26385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
26387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
26389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
26393 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
26394 offset in buffer as u_int32_t not u_long. Consistently use memcpy
26395 for copies of such integer values.
26396 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26397 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26399 2012-11-09 Andreas Jaeger <aj@suse.de>
26401 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
26402 definitions and declarations that are provided by
26403 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26405 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26407 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
26408 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
26409 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
26412 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26414 * elf/elf.h: Update comment before AArch64 relocations.
26416 2012-11-07 David S. Miller <davem@davemloft.net>
26418 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
26419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26420 (__start_context): Declare.
26421 (__makecontext_ret): Delete.
26422 (__makecontext): Hook up __start_context instead of
26424 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
26425 (sysdep_routines): Add __start_context when in stdlib.
26427 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26429 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26430 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26431 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
26433 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
26434 (READELF): New variable. Use it instead of hardcoded "readelf".
26436 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
26438 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26439 * sysdeps/x86/Makefile: Here.
26440 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26441 * sysdeps/x86/tst-xmmymm.sh: This.
26443 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26445 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26447 [UNIX98] (pthread_barrier_t): Do not expect.
26448 [UNIX98] (pthread_barrierattr_t): Likewise.
26449 [UNIX98] (pthread_spinlock_t): Likewise.
26450 [UNIX98] (pthread_barrier_destroy): Likewise.
26451 [UNIX98] (pthread_barrier_init): Likewise.
26452 [UNIX98] (pthread_barrier_wait): Likewise.
26453 [UNIX98] (pthread_barrierattr_destroy): Likewise.
26454 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26455 [UNIX98] (pthread_barrierattr_init): Likewise.
26456 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26457 [UNIX98] (pthread_getcpuclockid): Likewise.
26458 [UNIX98] (pthread_mutex_timedlock): Likewise.
26459 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26460 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26461 [UNIX98] (pthread_sigmask): Likewise.
26462 [UNIX98] (pthread_spin_destroy): Likewise.
26463 [UNIX98] (pthread_spin_init): Likewise.
26464 [UNIX98] (pthread_spin_lock): Likewise.
26465 [UNIX98] (pthread_spin_trylock): Likewise.
26466 [UNIX98] (pthread_spin_unlock): Likewise.
26467 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26469 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26470 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26471 [XPG3 || XPG4] (pthread_cond_t): Likewise.
26472 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26473 [XPG3 || XPG4] (pthread_key_t): Likewise.
26474 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26475 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26476 [XPG3 || XPG4] (pthread_once_t): Likewise.
26477 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26478 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26479 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26480 [XPG3 || XPG4] (pthread_t): Likewise.
26482 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26484 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26486 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26487 Change function return type to int.
26489 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26490 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26491 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26492 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26493 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26494 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26495 [!POSIX] (posix_madvise): Likewise.
26496 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26498 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26499 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26500 (mode_t): Likewise.
26501 (posix_mem_offset): Likewise.
26502 (posix_typed_mem_get_info): Likewise.
26503 (posix_typed_mem_open): Likewise.
26505 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26506 Change condition to [XOPEN2K8].
26508 * conform/conformtest.pl: Preprocess allow-header data with -x c
26509 instead of from stdin.
26510 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26511 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26512 [C99-based standards] (cerfc): Likewise.
26513 [C99-based standards] (cexp2): Likewise.
26514 [C99-based standards] (cexpm1): Likewise.
26515 [C99-based standards] (clog10): Likewise.
26516 [C99-based standards] (clog1p): Likewise.
26517 [C99-based standards] (clog2): Likewise.
26518 [C99-based standards] (clgamma): Likewise.
26519 [C99-based standards] (ctgamma): Likewise.
26520 [C99-based standards] (cerff): Likewise.
26521 [C99-based standards] (cerfcf): Likewise.
26522 [C99-based standards] (cexp2f): Likewise.
26523 [C99-based standards] (cexpm1f): Likewise.
26524 [C99-based standards] (clog10f): Likewise.
26525 [C99-based standards] (clog1pf): Likewise.
26526 [C99-based standards] (clog2f): Likewise.
26527 [C99-based standards] (clgammaf): Likewise.
26528 [C99-based standards] (ctgammaf): Likewise.
26529 [C99-based standards] (cerfl): Likewise.
26530 [C99-based standards] (cerfcl): Likewise.
26531 [C99-based standards] (cexp2l): Likewise.
26532 [C99-based standards] (cexpm1l): Likewise.
26533 [C99-based standards] (clog10l): Likewise.
26534 [C99-based standards] (clog1pl): Likewise.
26535 [C99-based standards] (clog2l): Likewise.
26536 [C99-based standards] (clgammal): Likewise.
26537 [C99-based standards] (ctgammal): Likewise.
26538 * conform/data/inttypes.h-data [C99-based standards]: Include
26539 stdint.h-data. Remove all expectations for stdint.h contents.
26540 [C99-based standards] (PRI*): Do not allow.
26541 [C99-based standards] (SCN*): Likewise.
26542 [C99-based standards] (*_t): Likewise.
26543 [C99-based-standards] (PRId8): Expect macro.
26544 [C99-based-standards] (PRIi8): Likewise.
26545 [C99-based-standards] (PRIo8): Likewise.
26546 [C99-based-standards] (PRIu8): Likewise.
26547 [C99-based-standards] (PRIx8): Likewise.
26548 [C99-based-standards] (PRIX8): Likewise.
26549 [C99-based-standards] (SCNd8): Likewise.
26550 [C99-based-standards] (SCNi8): Likewise.
26551 [C99-based-standards] (SCNo8): Likewise.
26552 [C99-based-standards] (SCNu8): Likewise.
26553 [C99-based-standards] (SCNx8): Likewise.
26554 [C99-based-standards] (PRIdLEAST8): Likewise.
26555 [C99-based-standards] (PRIiLEAST8): Likewise.
26556 [C99-based-standards] (PRIoLEAST8): Likewise.
26557 [C99-based-standards] (PRIuLEAST8): Likewise.
26558 [C99-based-standards] (PRIxLEAST8): Likewise.
26559 [C99-based-standards] (PRIXLEAST8): Likewise.
26560 [C99-based-standards] (SCNdLEAST8): Likewise.
26561 [C99-based-standards] (SCNiLEAST8): Likewise.
26562 [C99-based-standards] (SCNoLEAST8): Likewise.
26563 [C99-based-standards] (SCNuLEAST8): Likewise.
26564 [C99-based-standards] (SCNxLEAST8): Likewise.
26565 [C99-based-standards] (PRIdFAST8): Likewise.
26566 [C99-based-standards] (PRIiFAST8): Likewise.
26567 [C99-based-standards] (PRIoFAST8): Likewise.
26568 [C99-based-standards] (PRIuFAST8): Likewise.
26569 [C99-based-standards] (PRIxFAST8): Likewise.
26570 [C99-based-standards] (PRIXFAST8): Likewise.
26571 [C99-based-standards] (SCNdFAST8): Likewise.
26572 [C99-based-standards] (SCNiFAST8): Likewise.
26573 [C99-based-standards] (SCNoFAST8): Likewise.
26574 [C99-based-standards] (SCNuFAST8): Likewise.
26575 [C99-based-standards] (SCNxFAST8): Likewise.
26576 [C99-based-standards] (PRId16): Likewise.
26577 [C99-based-standards] (PRIi16): Likewise.
26578 [C99-based-standards] (PRIo16): Likewise.
26579 [C99-based-standards] (PRIu16): Likewise.
26580 [C99-based-standards] (PRIx16): Likewise.
26581 [C99-based-standards] (PRIX16): Likewise.
26582 [C99-based-standards] (SCNd16): Likewise.
26583 [C99-based-standards] (SCNi16): Likewise.
26584 [C99-based-standards] (SCNo16): Likewise.
26585 [C99-based-standards] (SCNu16): Likewise.
26586 [C99-based-standards] (SCNx16): Likewise.
26587 [C99-based-standards] (PRIdLEAST16): Likewise.
26588 [C99-based-standards] (PRIiLEAST16): Likewise.
26589 [C99-based-standards] (PRIoLEAST16): Likewise.
26590 [C99-based-standards] (PRIuLEAST16): Likewise.
26591 [C99-based-standards] (PRIxLEAST16): Likewise.
26592 [C99-based-standards] (PRIXLEAST16): Likewise.
26593 [C99-based-standards] (SCNdLEAST16): Likewise.
26594 [C99-based-standards] (SCNiLEAST16): Likewise.
26595 [C99-based-standards] (SCNoLEAST16): Likewise.
26596 [C99-based-standards] (SCNuLEAST16): Likewise.
26597 [C99-based-standards] (SCNxLEAST16): Likewise.
26598 [C99-based-standards] (PRIdFAST16): Likewise.
26599 [C99-based-standards] (PRIiFAST16): Likewise.
26600 [C99-based-standards] (PRIoFAST16): Likewise.
26601 [C99-based-standards] (PRIuFAST16): Likewise.
26602 [C99-based-standards] (PRIxFAST16): Likewise.
26603 [C99-based-standards] (PRIXFAST16): Likewise.
26604 [C99-based-standards] (SCNdFAST16): Likewise.
26605 [C99-based-standards] (SCNiFAST16): Likewise.
26606 [C99-based-standards] (SCNoFAST16): Likewise.
26607 [C99-based-standards] (SCNuFAST16): Likewise.
26608 [C99-based-standards] (SCNxFAST16): Likewise.
26609 [C99-based-standards] (PRId32): Likewise.
26610 [C99-based-standards] (PRIi32): Likewise.
26611 [C99-based-standards] (PRIo32): Likewise.
26612 [C99-based-standards] (PRIu32): Likewise.
26613 [C99-based-standards] (PRIx32): Likewise.
26614 [C99-based-standards] (PRIX32): Likewise.
26615 [C99-based-standards] (SCNd32): Likewise.
26616 [C99-based-standards] (SCNi32): Likewise.
26617 [C99-based-standards] (SCNo32): Likewise.
26618 [C99-based-standards] (SCNu32): Likewise.
26619 [C99-based-standards] (SCNx32): Likewise.
26620 [C99-based-standards] (PRIdLEAST32): Likewise.
26621 [C99-based-standards] (PRIiLEAST32): Likewise.
26622 [C99-based-standards] (PRIoLEAST32): Likewise.
26623 [C99-based-standards] (PRIuLEAST32): Likewise.
26624 [C99-based-standards] (PRIxLEAST32): Likewise.
26625 [C99-based-standards] (PRIXLEAST32): Likewise.
26626 [C99-based-standards] (SCNdLEAST32): Likewise.
26627 [C99-based-standards] (SCNiLEAST32): Likewise.
26628 [C99-based-standards] (SCNoLEAST32): Likewise.
26629 [C99-based-standards] (SCNuLEAST32): Likewise.
26630 [C99-based-standards] (SCNxLEAST32): Likewise.
26631 [C99-based-standards] (PRIdFAST32): Likewise.
26632 [C99-based-standards] (PRIiFAST32): Likewise.
26633 [C99-based-standards] (PRIoFAST32): Likewise.
26634 [C99-based-standards] (PRIuFAST32): Likewise.
26635 [C99-based-standards] (PRIxFAST32): Likewise.
26636 [C99-based-standards] (PRIXFAST32): Likewise.
26637 [C99-based-standards] (SCNdFAST32): Likewise.
26638 [C99-based-standards] (SCNiFAST32): Likewise.
26639 [C99-based-standards] (SCNoFAST32): Likewise.
26640 [C99-based-standards] (SCNuFAST32): Likewise.
26641 [C99-based-standards] (SCNxFAST32): Likewise.
26642 [C99-based-standards] (PRId64): Likewise.
26643 [C99-based-standards] (PRIi64): Likewise.
26644 [C99-based-standards] (PRIo64): Likewise.
26645 [C99-based-standards] (PRIu64): Likewise.
26646 [C99-based-standards] (PRIx64): Likewise.
26647 [C99-based-standards] (PRIX64): Likewise.
26648 [C99-based-standards] (SCNd64): Likewise.
26649 [C99-based-standards] (SCNi64): Likewise.
26650 [C99-based-standards] (SCNo64): Likewise.
26651 [C99-based-standards] (SCNu64): Likewise.
26652 [C99-based-standards] (SCNx64): Likewise.
26653 [C99-based-standards] (PRIdLEAST64): Likewise.
26654 [C99-based-standards] (PRIiLEAST64): Likewise.
26655 [C99-based-standards] (PRIoLEAST64): Likewise.
26656 [C99-based-standards] (PRIuLEAST64): Likewise.
26657 [C99-based-standards] (PRIxLEAST64): Likewise.
26658 [C99-based-standards] (PRIXLEAST64): Likewise.
26659 [C99-based-standards] (SCNdLEAST64): Likewise.
26660 [C99-based-standards] (SCNiLEAST64): Likewise.
26661 [C99-based-standards] (SCNoLEAST64): Likewise.
26662 [C99-based-standards] (SCNuLEAST64): Likewise.
26663 [C99-based-standards] (SCNxLEAST64): Likewise.
26664 [C99-based-standards] (PRIdFAST64): Likewise.
26665 [C99-based-standards] (PRIiFAST64): Likewise.
26666 [C99-based-standards] (PRIoFAST64): Likewise.
26667 [C99-based-standards] (PRIuFAST64): Likewise.
26668 [C99-based-standards] (PRIxFAST64): Likewise.
26669 [C99-based-standards] (PRIXFAST64): Likewise.
26670 [C99-based-standards] (SCNdFAST64): Likewise.
26671 [C99-based-standards] (SCNiFAST64): Likewise.
26672 [C99-based-standards] (SCNoFAST64): Likewise.
26673 [C99-based-standards] (SCNuFAST64): Likewise.
26674 [C99-based-standards] (SCNxFAST64): Likewise.
26675 [C99-based-standards] (PRIdMAX): Likewise.
26676 [C99-based-standards] (PRIiMAX): Likewise.
26677 [C99-based-standards] (PRIoMAX): Likewise.
26678 [C99-based-standards] (PRIuMAX): Likewise.
26679 [C99-based-standards] (PRIxMAX): Likewise.
26680 [C99-based-standards] (PRIXMAX): Likewise.
26681 [C99-based-standards] (SCNdMAX): Likewise.
26682 [C99-based-standards] (SCNiMAX): Likewise.
26683 [C99-based-standards] (SCNoMAX): Likewise.
26684 [C99-based-standards] (SCNuMAX): Likewise.
26685 [C99-based-standards] (SCNxMAX): Likewise.
26686 [C99-based-standards] (PRIdPTR): Likewise.
26687 [C99-based-standards] (PRIiPTR): Likewise.
26688 [C99-based-standards] (PRIoPTR): Likewise.
26689 [C99-based-standards] (PRIuPTR): Likewise.
26690 [C99-based-standards] (PRIxPTR): Likewise.
26691 [C99-based-standards] (PRIXPTR): Likewise.
26692 [C99-based-standards] (SCNdPTR): Likewise.
26693 [C99-based-standards] (SCNiPTR): Likewise.
26694 [C99-based-standards] (SCNoPTR): Likewise.
26695 [C99-based-standards] (SCNuPTR): Likewise.
26696 [C99-based-standards] (SCNxPTR): Likewise.
26697 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26699 * conform/data/stdint.h-data: Update comments to clarify
26701 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
26703 [C99-based standards] (INT8_MAX): Likewise.
26704 [C99-based standards] (INT16_MIN): Likewise.
26705 [C99-based standards] (INT16_MAX): Likewise.
26706 [C99-based standards] (INT32_MIN): Likewise.
26707 [C99-based standards] (INT32_MAX): Likewise.
26708 [C99-based standards] (INT64_MIN): Likewise.
26709 [C99-based standards] (INT64_MAX): Likewise.
26710 [C99-based standards] (UINT8_MAX): Likewise.
26711 [C99-based standards] (UINT16_MAX): Likewise.
26712 [C99-based standards] (UINT32_MAX): Likewise.
26713 [C99-based standards] (UINT64_MAX): Likewise.
26714 [C99-based standards] (INT_LEAST8_MIN): Likewise.
26715 [C99-based standards] (INT_LEAST8_MAX): Likewise.
26716 [C99-based standards] (INT_LEAST16_MIN): Likewise.
26717 [C99-based standards] (INT_LEAST16_MAX): Likewise.
26718 [C99-based standards] (INT_LEAST32_MIN): Likewise.
26719 [C99-based standards] (INT_LEAST32_MAX): Likewise.
26720 [C99-based standards] (INT_LEAST64_MIN): Likewise.
26721 [C99-based standards] (INT_LEAST64_MAX): Likewise.
26722 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26723 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26724 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26725 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26726 [C99-based standards] (INT_FAST8_MIN): Likewise.
26727 [C99-based standards] (INT_FAST8_MAX): Likewise.
26728 [C99-based standards] (INT_FAST16_MIN): Likewise.
26729 [C99-based standards] (INT_FAST16_MAX): Likewise.
26730 [C99-based standards] (INT_FAST32_MIN): Likewise.
26731 [C99-based standards] (INT_FAST32_MAX): Likewise.
26732 [C99-based standards] (INT_FAST64_MIN): Likewise.
26733 [C99-based standards] (INT_FAST64_MAX): Likewise.
26734 [C99-based standards] (UINT_FAST8_MAX): Likewise.
26735 [C99-based standards] (UINT_FAST16_MAX): Likewise.
26736 [C99-based standards] (UINT_FAST32_MAX): Likewise.
26737 [C99-based standards] (UINT_FAST64_MAX): Likewise.
26738 [C99-based standards] (INTPTR_MIN): Likewise.
26739 [C99-based standards] (INTPTR_MAX): Likewise.
26740 [C99-based standards] (UINTPTR_MAX): Likewise.
26741 [C99-based standards] (INTMAX_MIN): Likewise.
26742 [C99-based standards] (INTMAX_MAX): Likewise.
26743 [C99-based standards] (UINTMAX_MAX): Likewise.
26744 [C99-based standards] (PTRDIFF_MIN): Likewise.
26745 [C99-based standards] (PTRDIFF_MAX): Likewise.
26746 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26747 [C99-based standards] (SIZE_MAX): Likewise.
26748 [C99-based standards] (WCHAR_MAX): Likewise.
26749 [C99-based standards] (WINT_MAX): Likewise.
26750 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
26751 constraint on value.
26752 [C99-based standards] (WCHAR_MIN): Likewise.
26753 [C99-based standards] (WINT_MIN): Likewise.
26754 [C99-based standards] (*_t): Allow.
26755 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26756 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26757 Include math.h-data and complex.h-data. Remove all expectations
26758 of math.h and complex.h contents.
26759 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26761 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26762 (struct tm): Expect tag.
26763 [C99-based-standards] (wcstof): Expect function.
26764 [C99-based-standards] (wcstold): Likewise.
26765 [C99-based-standards] (wcstoll): Likewise.
26766 [C99-based-standards] (wcstoull): Likewise.
26767 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26768 macro-int-constant. Specify type.
26769 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
26770 constraint on value.
26771 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26773 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26775 [ISO C standards]: Do not allow headers.
26776 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26777 wcs[abcdefghijklmnopqrstuvwxyz]*.
26778 [ISO C standards] (*_t): Do not allow.
26779 * conform/data/wctype.h-data [C99-based standards] (iswblank):
26781 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26782 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26784 [ISO C standards]: Do not allow headers.
26785 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26786 is[abcdefghijklmnopqrstuvwxyz]*.
26787 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26788 to[abcdefghijklmnopqrstuvwxyz]*.
26789 [ISO C standards] (*_t): Do not allow.
26790 * conform/data/stdalign.h-data: New file.
26791 * conform/data/stdbool.h-data: Likewise.
26792 * conform/data/stdnoreturn.h-data: Likewise.
26794 2012-11-07 Roland McGrath <roland@hack.frob.com>
26797 * manual/filesys.texi (Directory Entries): Typo fix.
26798 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26800 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26802 * elf/elf.h (EM_AARCH64): New macro.
26803 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26804 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26805 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26806 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26807 (R_AARCH64_TLSDESC): Likewise.
26808 (NT_ARM_TLS): Likewise.
26809 (NT_ARM_HW_BREAK): Likewise.
26810 (NT_ARM_HW_WATCH): Likewise.
26812 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26815 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26816 (__ieee754_powl): Saturate nonzero exponents with absolute value
26817 below 0x1p-79 to +/- 0x1p-79.
26818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26819 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26820 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26821 nonzero exponents with absolute value below 0x1p-32 to +/-
26823 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26824 (__ieee754_powl): Saturate nonzero exponents with absolute value
26825 below 0x1p-79 to +/- 0x1p-79.
26826 * math/libm-test.inc (pow_test): Add more tests.
26828 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26830 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26831 _dl_s390_cap_flags with kernel. Increase string length.
26832 (_dl_s390_platforms): Add z196 and zEC12.
26834 2012-11-07 Joseph Myers <joseph@codesourcery.com>
26836 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26837 Change XOPEN21K to XOPEN2K.
26839 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
26841 * string/memmove.c: Use memcpy when possible.
26843 2012-11-06 Andreas Jaeger <aj@suse.de>
26845 * po/eo.po: Update from translation team.
26847 2012-11-06 Joseph Myers <joseph@codesourcery.com>
26850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26851 exponent and small x and y exponents, scale x or y up. Increase
26852 by 2 the exponent used in scaling up.
26853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26855 * math/libm-test.inc (fma_test): Add more tests.
26856 (fma_test_towardzero): Likewise.
26857 (fma_test_downward): Likewise.
26858 (fma_test_upward): Likewise.
26860 2012-11-05 Joseph Myers <joseph@codesourcery.com>
26863 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26867 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26868 namespace for names of struct fields.
26869 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26871 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26872 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26874 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26877 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26879 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26881 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26885 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26888 2012-11-04 Joseph Myers <joseph@codesourcery.com>
26891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26892 definitely overflow as x * y not x * y + z.
26893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26895 * math/libm-test.inc (fma_test): Add more tests.
26896 (fma_test_towardzero): Likewise.
26897 (fma_test_downward): Likewise.
26898 (fma_test_upward): Likewise.
26900 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
26904 * include/stub-tag.h: Remove file.
26905 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26907 * manual/maint.texi (Porting): Don't reference it.
26908 * Makerules ($(objpfx)stubs): Likewise.
26909 * dirent/closedir.c: Don't include <stub-tag.h>.
26910 * dirent/dirfd.c: Likewise.
26911 * dirent/fdopendir.c: Likewise.
26912 * dirent/getdents.c: Likewise.
26913 * dirent/getdents64.c: Likewise.
26914 * dirent/opendir.c: Likewise.
26915 * dirent/readdir.c: Likewise.
26916 * dirent/readdir64.c: Likewise.
26917 * dirent/readdir64_r.c: Likewise.
26918 * dirent/readdir_r.c: Likewise.
26919 * dirent/rewinddir.c: Likewise.
26920 * dirent/seekdir.c: Likewise.
26921 * dirent/telldir.c: Likewise.
26922 * gmon/profil.c: Likewise.
26923 * grp/setgroups.c: Likewise.
26924 * inet/if_index.c: Likewise.
26925 * io/access.c: Likewise.
26926 * io/chdir.c: Likewise.
26927 * io/chmod.c: Likewise.
26928 * io/chown.c: Likewise.
26929 * io/close.c: Likewise.
26930 * io/dup.c: Likewise.
26931 * io/dup2.c: Likewise.
26932 * io/dup3.c: Likewise.
26933 * io/euidaccess.c: Likewise.
26934 * io/faccessat.c: Likewise.
26935 * io/fchdir.c: Likewise.
26936 * io/fchmod.c: Likewise.
26937 * io/fchmodat.c: Likewise.
26938 * io/fchown.c: Likewise.
26939 * io/fchownat.c: Likewise.
26940 * io/fcntl.c: Likewise.
26941 * io/flock.c: Likewise.
26942 * io/fstatfs.c: Likewise.
26943 * io/fstatfs64.c: Likewise.
26944 * io/fstatvfs.c: Likewise.
26945 * io/fstatvfs64.c: Likewise.
26946 * io/futimens.c: Likewise.
26947 * io/fxstat.c: Likewise.
26948 * io/fxstat64.c: Likewise.
26949 * io/fxstatat.c: Likewise.
26950 * io/fxstatat64.c: Likewise.
26951 * io/getcwd.c: Likewise.
26952 * io/isatty.c: Likewise.
26953 * io/lchmod.c: Likewise.
26954 * io/lchown.c: Likewise.
26955 * io/link.c: Likewise.
26956 * io/linkat.c: Likewise.
26957 * io/lseek.c: Likewise.
26958 * io/lseek64.c: Likewise.
26959 * io/lxstat64.c: Likewise.
26960 * io/mkdir.c: Likewise.
26961 * io/mkdirat.c: Likewise.
26962 * io/mkfifo.c: Likewise.
26963 * io/mkfifoat.c: Likewise.
26964 * io/open.c: Likewise.
26965 * io/open64.c: Likewise.
26966 * io/openat.c: Likewise.
26967 * io/openat64.c: Likewise.
26968 * io/pipe.c: Likewise.
26969 * io/pipe2.c: Likewise.
26970 * io/poll.c: Likewise.
26971 * io/posix_fadvise.c: Likewise.
26972 * io/posix_fadvise64.c: Likewise.
26973 * io/posix_fallocate.c: Likewise.
26974 * io/posix_fallocate64.c: Likewise.
26975 * io/read.c: Likewise.
26976 * io/readlink.c: Likewise.
26977 * io/readlinkat.c: Likewise.
26978 * io/rmdir.c: Likewise.
26979 * io/sendfile.c: Likewise.
26980 * io/sendfile64.c: Likewise.
26981 * io/statfs.c: Likewise.
26982 * io/statfs64.c: Likewise.
26983 * io/statvfs.c: Likewise.
26984 * io/statvfs64.c: Likewise.
26985 * io/symlink.c: Likewise.
26986 * io/symlinkat.c: Likewise.
26987 * io/ttyname.c: Likewise.
26988 * io/ttyname_r.c: Likewise.
26989 * io/umask.c: Likewise.
26990 * io/unlink.c: Likewise.
26991 * io/unlinkat.c: Likewise.
26992 * io/utime.c: Likewise.
26993 * io/utimensat.c: Likewise.
26994 * io/write.c: Likewise.
26995 * io/xmknod.c: Likewise.
26996 * io/xmknodat.c: Likewise.
26997 * io/xstat.c: Likewise.
26998 * io/xstat64.c: Likewise.
26999 * login/getpt.c: Likewise.
27000 * login/grantpt.c: Likewise.
27001 * login/unlockpt.c: Likewise.
27002 * math/e_acoshl.c: Likewise.
27003 * math/e_acosl.c: Likewise.
27004 * math/e_asinl.c: Likewise.
27005 * math/e_atan2l.c: Likewise.
27006 * math/e_atanhl.c: Likewise.
27007 * math/e_coshl.c: Likewise.
27008 * math/e_expl.c: Likewise.
27009 * math/e_fmodl.c: Likewise.
27010 * math/e_gammal_r.c: Likewise.
27011 * math/e_hypotl.c: Likewise.
27012 * math/e_j0l.c: Likewise.
27013 * math/e_j1l.c: Likewise.
27014 * math/e_jnl.c: Likewise.
27015 * math/e_lgammal_r.c: Likewise.
27016 * math/e_log10l.c: Likewise.
27017 * math/e_log2l.c: Likewise.
27018 * math/e_logl.c: Likewise.
27019 * math/e_powl.c: Likewise.
27020 * math/e_rem_pio2l.c: Likewise.
27021 * math/e_sinhl.c: Likewise.
27022 * math/e_sqrtl.c: Likewise.
27023 * math/fclrexcpt.c: Likewise.
27024 * math/fedisblxcpt.c: Likewise.
27025 * math/feenablxcpt.c: Likewise.
27026 * math/fegetenv.c: Likewise.
27027 * math/fegetexcept.c: Likewise.
27028 * math/fegetround.c: Likewise.
27029 * math/feholdexcpt.c: Likewise.
27030 * math/fesetenv.c: Likewise.
27031 * math/fesetround.c: Likewise.
27032 * math/feupdateenv.c: Likewise.
27033 * math/fgetexcptflg.c: Likewise.
27034 * math/fraiseexcpt.c: Likewise.
27035 * math/fsetexcptflg.c: Likewise.
27036 * math/ftestexcept.c: Likewise.
27037 * math/k_cosl.c: Likewise.
27038 * math/k_rem_pio2l.c: Likewise.
27039 * math/k_sinl.c: Likewise.
27040 * math/k_tanl.c: Likewise.
27041 * math/s_asinhl.c: Likewise.
27042 * math/s_atanl.c: Likewise.
27043 * math/s_cbrtl.c: Likewise.
27044 * math/s_erfl.c: Likewise.
27045 * math/s_expm1l.c: Likewise.
27046 * math/s_log1pl.c: Likewise.
27047 * math/s_tanhl.c: Likewise.
27048 * misc/acct.c: Likewise.
27049 * misc/brk.c: Likewise.
27050 * misc/chflags.c: Likewise.
27051 * misc/chroot.c: Likewise.
27052 * misc/fchflags.c: Likewise.
27053 * misc/fgetxattr.c: Likewise.
27054 * misc/flistxattr.c: Likewise.
27055 * misc/fremovexattr.c: Likewise.
27056 * misc/fsetxattr.c: Likewise.
27057 * misc/fsync.c: Likewise.
27058 * misc/ftruncate.c: Likewise.
27059 * misc/futimes.c: Likewise.
27060 * misc/futimesat.c: Likewise.
27061 * misc/getdomain.c: Likewise.
27062 * misc/getdtsz.c: Likewise.
27063 * misc/gethostid.c: Likewise.
27064 * misc/gethostname.c: Likewise.
27065 * misc/getloadavg.c: Likewise.
27066 * misc/getpagesize.c: Likewise.
27067 * misc/getsysstats.c: Likewise.
27068 * misc/getxattr.c: Likewise.
27069 * misc/gtty.c: Likewise.
27070 * misc/ioctl.c: Likewise.
27071 * misc/lgetxattr.c: Likewise.
27072 * misc/listxattr.c: Likewise.
27073 * misc/llistxattr.c: Likewise.
27074 * misc/lremovexattr.c: Likewise.
27075 * misc/lsetxattr.c: Likewise.
27076 * misc/lutimes.c: Likewise.
27077 * misc/madvise.c: Likewise.
27078 * misc/mincore.c: Likewise.
27079 * misc/mlock.c: Likewise.
27080 * misc/mlockall.c: Likewise.
27081 * misc/mmap.c: Likewise.
27082 * misc/mprotect.c: Likewise.
27083 * misc/msync.c: Likewise.
27084 * misc/munlock.c: Likewise.
27085 * misc/munlockall.c: Likewise.
27086 * misc/munmap.c: Likewise.
27087 * misc/preadv.c: Likewise.
27088 * misc/preadv64.c: Likewise.
27089 * misc/ptrace.c: Likewise.
27090 * misc/pwritev.c: Likewise.
27091 * misc/pwritev64.c: Likewise.
27092 * misc/readv.c: Likewise.
27093 * misc/reboot.c: Likewise.
27094 * misc/remap_file_pages.c: Likewise.
27095 * misc/removexattr.c: Likewise.
27096 * misc/revoke.c: Likewise.
27097 * misc/select.c: Likewise.
27098 * misc/setdomain.c: Likewise.
27099 * misc/setegid.c: Likewise.
27100 * misc/seteuid.c: Likewise.
27101 * misc/sethostid.c: Likewise.
27102 * misc/sethostname.c: Likewise.
27103 * misc/setregid.c: Likewise.
27104 * misc/setreuid.c: Likewise.
27105 * misc/setxattr.c: Likewise.
27106 * misc/sstk.c: Likewise.
27107 * misc/stty.c: Likewise.
27108 * misc/swapoff.c: Likewise.
27109 * misc/swapon.c: Likewise.
27110 * misc/sync.c: Likewise.
27111 * misc/syncfs.c: Likewise.
27112 * misc/syscall.c: Likewise.
27113 * misc/truncate.c: Likewise.
27114 * misc/ualarm.c: Likewise.
27115 * misc/usleep.c: Likewise.
27116 * misc/ustat.c: Likewise.
27117 * misc/utimes.c: Likewise.
27118 * misc/vhangup.c: Likewise.
27119 * misc/writev.c: Likewise.
27120 * posix/_exit.c: Likewise.
27121 * posix/alarm.c: Likewise.
27122 * posix/execve.c: Likewise.
27123 * posix/fexecve.c: Likewise.
27124 * posix/fork.c: Likewise.
27125 * posix/fpathconf.c: Likewise.
27126 * posix/getaddrinfo.c: Likewise.
27127 * posix/getegid.c: Likewise.
27128 * posix/geteuid.c: Likewise.
27129 * posix/getgid.c: Likewise.
27130 * posix/getgroups.c: Likewise.
27131 * posix/getlogin.c: Likewise.
27132 * posix/getlogin_r.c: Likewise.
27133 * posix/getpgid.c: Likewise.
27134 * posix/getpid.c: Likewise.
27135 * posix/getppid.c: Likewise.
27136 * posix/getresgid.c: Likewise.
27137 * posix/getresuid.c: Likewise.
27138 * posix/getsid.c: Likewise.
27139 * posix/getuid.c: Likewise.
27140 * posix/glob64.c: Likewise.
27141 * posix/nanosleep.c: Likewise.
27142 * posix/pathconf.c: Likewise.
27143 * posix/pause.c: Likewise.
27144 * posix/posix_madvise.c: Likewise.
27145 * posix/pread.c: Likewise.
27146 * posix/pread64.c: Likewise.
27147 * posix/pwrite.c: Likewise.
27148 * posix/pwrite64.c: Likewise.
27149 * posix/sched_getaffinity.c: Likewise.
27150 * posix/sched_getp.c: Likewise.
27151 * posix/sched_gets.c: Likewise.
27152 * posix/sched_primax.c: Likewise.
27153 * posix/sched_primin.c: Likewise.
27154 * posix/sched_rr_gi.c: Likewise.
27155 * posix/sched_setaffinity.c: Likewise.
27156 * posix/sched_setp.c: Likewise.
27157 * posix/sched_sets.c: Likewise.
27158 * posix/sched_yield.c: Likewise.
27159 * posix/setgid.c: Likewise.
27160 * posix/setlogin.c: Likewise.
27161 * posix/setpgid.c: Likewise.
27162 * posix/setresgid.c: Likewise.
27163 * posix/setresuid.c: Likewise.
27164 * posix/setsid.c: Likewise.
27165 * posix/setuid.c: Likewise.
27166 * posix/sleep.c: Likewise.
27167 * posix/spawni.c: Likewise.
27168 * posix/sysconf.c: Likewise.
27169 * posix/times.c: Likewise.
27170 * posix/wait.c: Likewise.
27171 * posix/wait3.c: Likewise.
27172 * posix/wait4.c: Likewise.
27173 * posix/waitpid.c: Likewise.
27174 * resolv/gai_sigqueue.c: Likewise.
27175 * resource/getpriority.c: Likewise.
27176 * resource/getrlimit.c: Likewise.
27177 * resource/getrusage.c: Likewise.
27178 * resource/nice.c: Likewise.
27179 * resource/setpriority.c: Likewise.
27180 * resource/setrlimit.c: Likewise.
27181 * resource/ulimit.c: Likewise.
27182 * rt/aio_cancel.c: Likewise.
27183 * rt/aio_fsync.c: Likewise.
27184 * rt/aio_read.c: Likewise.
27185 * rt/aio_sigqueue.c: Likewise.
27186 * rt/aio_suspend.c: Likewise.
27187 * rt/aio_write.c: Likewise.
27188 * rt/clock_getres.c: Likewise.
27189 * rt/clock_gettime.c: Likewise.
27190 * rt/clock_nanosleep.c: Likewise.
27191 * rt/clock_settime.c: Likewise.
27192 * rt/lio_listio.c: Likewise.
27193 * rt/mq_close.c: Likewise.
27194 * rt/mq_getattr.c: Likewise.
27195 * rt/mq_notify.c: Likewise.
27196 * rt/mq_open.c: Likewise.
27197 * rt/mq_receive.c: Likewise.
27198 * rt/mq_send.c: Likewise.
27199 * rt/mq_setattr.c: Likewise.
27200 * rt/mq_timedreceive.c: Likewise.
27201 * rt/mq_timedsend.c: Likewise.
27202 * rt/mq_unlink.c: Likewise.
27203 * rt/shm_open.c: Likewise.
27204 * rt/shm_unlink.c: Likewise.
27205 * rt/timer_create.c: Likewise.
27206 * rt/timer_delete.c: Likewise.
27207 * rt/timer_getoverr.c: Likewise.
27208 * rt/timer_gettime.c: Likewise.
27209 * rt/timer_settime.c: Likewise.
27210 * setjmp/__longjmp.c: Likewise.
27211 * setjmp/setjmp.c: Likewise.
27212 * signal/kill.c: Likewise.
27213 * signal/killpg.c: Likewise.
27214 * signal/raise.c: Likewise.
27215 * signal/sigaction.c: Likewise.
27216 * signal/sigaltstack.c: Likewise.
27217 * signal/sigblock.c: Likewise.
27218 * signal/sigignore.c: Likewise.
27219 * signal/sigintr.c: Likewise.
27220 * signal/signal.c: Likewise.
27221 * signal/sigpause.c: Likewise.
27222 * signal/sigpending.c: Likewise.
27223 * signal/sigqueue.c: Likewise.
27224 * signal/sigreturn.c: Likewise.
27225 * signal/sigset.c: Likewise.
27226 * signal/sigsetmask.c: Likewise.
27227 * signal/sigstack.c: Likewise.
27228 * signal/sigsuspend.c: Likewise.
27229 * signal/sigtimedwait.c: Likewise.
27230 * signal/sigvec.c: Likewise.
27231 * signal/sigwait.c: Likewise.
27232 * signal/sigwaitinfo.c: Likewise.
27233 * signal/sysv_signal.c: Likewise.
27234 * socket/accept.c: Likewise.
27235 * socket/accept4.c: Likewise.
27236 * socket/bind.c: Likewise.
27237 * socket/connect.c: Likewise.
27238 * socket/getpeername.c: Likewise.
27239 * socket/getsockname.c: Likewise.
27240 * socket/getsockopt.c: Likewise.
27241 * socket/isfdtype.c: Likewise.
27242 * socket/listen.c: Likewise.
27243 * socket/recv.c: Likewise.
27244 * socket/recvfrom.c: Likewise.
27245 * socket/recvmsg.c: Likewise.
27246 * socket/send.c: Likewise.
27247 * socket/sendmsg.c: Likewise.
27248 * socket/sendto.c: Likewise.
27249 * socket/setsockopt.c: Likewise.
27250 * socket/shutdown.c: Likewise.
27251 * socket/sockatmark.c: Likewise.
27252 * socket/socket.c: Likewise.
27253 * socket/socketpair.c: Likewise.
27254 * stdio-common/ctermid.c: Likewise.
27255 * stdio-common/cuserid.c: Likewise.
27256 * stdio-common/remove.c: Likewise.
27257 * stdio-common/rename.c: Likewise.
27258 * stdio-common/renameat.c: Likewise.
27259 * stdio-common/tempname.c: Likewise.
27260 * stdlib/getcontext.c: Likewise.
27261 * stdlib/makecontext.c: Likewise.
27262 * stdlib/setcontext.c: Likewise.
27263 * stdlib/swapcontext.c: Likewise.
27264 * stdlib/system.c: Likewise.
27265 * streams/fattach.c: Likewise.
27266 * streams/fdetach.c: Likewise.
27267 * streams/getmsg.c: Likewise.
27268 * streams/getpmsg.c: Likewise.
27269 * streams/putmsg.c: Likewise.
27270 * streams/putpmsg.c: Likewise.
27271 * sysdeps/unix/bsd/getpt.c: Likewise.
27272 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
27273 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
27274 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27277 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
27278 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27279 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27280 * sysvipc/msgctl.c: Likewise.
27281 * sysvipc/msgget.c: Likewise.
27282 * sysvipc/msgrcv.c: Likewise.
27283 * sysvipc/msgsnd.c: Likewise.
27284 * sysvipc/semctl.c: Likewise.
27285 * sysvipc/semget.c: Likewise.
27286 * sysvipc/semop.c: Likewise.
27287 * sysvipc/semtimedop.c: Likewise.
27288 * sysvipc/shmat.c: Likewise.
27289 * sysvipc/shmctl.c: Likewise.
27290 * sysvipc/shmdt.c: Likewise.
27291 * sysvipc/shmget.c: Likewise.
27292 * termios/tcdrain.c: Likewise.
27293 * termios/tcflow.c: Likewise.
27294 * termios/tcflush.c: Likewise.
27295 * termios/tcgetattr.c: Likewise.
27296 * termios/tcgetpgrp.c: Likewise.
27297 * termios/tcsendbrk.c: Likewise.
27298 * termios/tcsetattr.c: Likewise.
27299 * termios/tcsetpgrp.c: Likewise.
27300 * time/adjtime.c: Likewise.
27301 * time/clock.c: Likewise.
27302 * time/getitimer.c: Likewise.
27303 * time/gettimeofday.c: Likewise.
27304 * time/setitimer.c: Likewise.
27305 * time/settimeofday.c: Likewise.
27306 * time/stime.c: Likewise.
27307 * time/time.c: Likewise.
27309 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
27311 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
27314 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
27316 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
27318 2012-11-03 Joseph Myers <joseph@codesourcery.com>
27321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
27322 FE_TONEAREST before applying Dekker multiplication and Knuth
27323 addition. Clear inexact exceptions and check for exact zero
27324 results afterwards.
27325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27328 * math/libm-test.inc (fma_test): Add more tests.
27329 (fma_test_towardzero): Likewise.
27330 (fma_test_downward): Likewise.
27331 (fma_test_upward): Likewise.
27332 * sysdeps/generic/math_private.h (default_libc_fesetround): New
27334 (libc_fesetround): New macro.
27335 (libc_fesetroundf): Likewise.
27336 (libc_fesetroundl): Likewise.
27337 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
27339 (libc_fesetround_387): Likewise.
27340 (libc_fesetroundf): New macro.
27341 (libc_fesetround): Likewise.
27342 (libc_fesetroundl): Likewise.
27343 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
27345 (libc_fesetroundf): New macro.
27346 (libc_fesetround): Likewise.
27347 (libc_fesetroundl): Likewise.
27348 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
27349 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
27350 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
27352 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
27353 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
27355 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
27356 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
27358 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
27362 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
27363 integer constant usable in #if and use that to give value to enum
27365 (FE_DIVBYZERO): Likewise.
27366 (FE_UNDERFLOW): Likewise.
27367 (FE_OVERFLOW): Likewise.
27368 (FE_INVALID): Likewise.
27369 (FE_INVALID_SNAN): Likewise.
27370 (FE_INVALID_ISI): Likewise.
27371 (FE_INVALID_IDI): Likewise.
27372 (FE_INVALID_ZDZ): Likewise.
27373 (FE_INVALID_IMZ): Likewise.
27374 (FE_INVALID_COMPARE): Likewise.
27375 (FE_INVALID_SOFTWARE): Likewise.
27376 (FE_INVALID_SQRT): Likewise.
27377 (FE_INVALID_INTEGER_CONVERSION): Likewise.
27378 (FE_TONEAREST): Likewise.
27379 (FE_TOWARDZERO): Likewise.
27380 (FE_UPWARD): Likewise.
27381 (FE_DOWNWARD): Likewise.
27382 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
27383 (FE_DIVBYZERO): Likewise.
27384 (FE_OVERFLOW): Likewise.
27385 (FE_UNDERFLOW): Likewise.
27386 (FE_INEXACT): Likewise.
27387 (FE_TONEAREST): Likewise.
27388 (FE_DOWNWARD): Likewise.
27389 (FE_UPWARD): Likewise.
27390 (FE_TOWARDZERO): Likewise.
27391 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
27392 (FE_UNDERFLOW): Likewise.
27393 (FE_OVERFLOW): Likewise.
27394 (FE_DIVBYZERO): Likewise.
27395 (FE_INVALID): Likewise.
27396 (FE_TONEAREST): Likewise.
27397 (FE_TOWARDZERO): Likewise.
27398 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
27399 (FE_OVERFLOW): Likewise.
27400 (FE_UNDERFLOW): Likewise.
27401 (FE_DIVBYZERO): Likewise.
27402 (FE_INEXACT): Likewise.
27403 (FE_TONEAREST): Likewise.
27404 (FE_TOWARDZERO): Likewise.
27405 (FE_UPWARD): Likewise.
27406 (FE_DOWNWARD): Likewise.
27407 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
27408 (FE_DIVBYZERO): Likewise.
27409 (FE_OVERFLOW): Likewise.
27410 (FE_UNDERFLOW): Likewise.
27411 (FE_INEXACT): Likewise.
27412 (FE_TONEAREST): Likewise.
27413 (FE_DOWNWARD): Likewise.
27414 (FE_UPWARD): Likewise.
27415 (FE_TOWARDZERO): Likewise.
27417 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
27419 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
27421 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
27423 * scripts/cross-test-ssh.sh (command): Use newlines to separate
27424 commands. Quote $PWD.
27425 (blacklist_exports): Don't use remove_newlines. Replace "declare
27427 (remove_newlines): Remove.
27429 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
27431 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27432 * stdlib/stdlib.h (atof): Moved to ...
27433 * include/bits/stdlib-float.h: Here. New file.
27434 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27435 * stdlib/bits/stdlib-float.h: New file.
27436 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27441 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27443 * conform/conformtest.pl (@headers): Add fenv.h.
27444 * conform/data/fenv.h-data: New file.
27445 * include/fenv.h [_ISOMAC]: Disable all contents of file except
27446 include of <math/fenv.h>.
27448 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27449 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27450 && !UNIX98]. Enables tests for XOPEN2K8.
27451 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27452 POSIX2008]: Likewise.
27454 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27455 (struct rusage): Do not expect type or its members.
27458 * math/math.h (FP_NAN): Define macro to integer constant usable in
27459 #if and use that to give value to enum constant.
27460 (FP_INFINITE): Likewise.
27461 (FP_ZERO): Likewise.
27462 (FP_SUBNORMAL): Likewise.
27463 (FP_NORMAL): Likewise.
27465 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
27467 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27468 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27471 2012-11-02 Roland McGrath <roland@hack.frob.com>
27473 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27474 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27475 autoconf-time if not.
27476 * configure.in: Remove AC_PREREQ.
27478 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27480 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27481 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27482 of the internal implementation.
27484 2012-11-02 Joseph Myers <joseph@codesourcery.com>
27486 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27487 except include of <misc/sys/syslog.h>.
27489 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27492 function returns with a NULL context exit with zero.
27494 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27496 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27498 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
27500 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27501 (run_program_cmd): This.
27502 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27503 (tst_langinfo): New variable. Use it.
27505 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
27507 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27508 floating point opcodes.
27510 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27512 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27515 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27517 * sysdeps/mach/hurd/powerpc: Remove directory.
27518 * sysdeps/mach/powerpc: Likewise.
27520 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
27522 * scripts/check-local-headers.sh: Ignore c++ headers.
27524 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27526 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27527 __libc_cleanup_region_start argument.
27529 2012-11-01 Joseph Myers <joseph@codesourcery.com>
27533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27534 x * y using scaling, not as x * y + z.
27535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27537 * math/libm-test.inc (fma_test): Add more tests.
27538 (fma_test_towardzero): Likewise.
27539 (fma_test_downward): Likewise.
27540 (fma_test_upward): Likewise.
27542 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
27544 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27546 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27548 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27551 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
27553 * rt/tst-shm.c (worker): Correct checking for mmap failure.
27555 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27562 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27565 Fix the order of the list for glibc 2.17.
27566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27569 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
27571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27573 2012-10-31 Joseph Myers <joseph@codesourcery.com>
27576 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27577 for low part of x being zero before using __atanl (y).
27578 * math/libm-test.inc (atan2_test): Add another test.
27580 * manual/install.texi (Configuring and compiling): Document
27581 general use of test-wrapper and test-wrapper-env.
27582 * INSTALL: Regenerated.
27584 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27585 (__fma): Do not extract and scale down low bits on after-rounding
27586 systems when result rounded to normal precision would have normal
27588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27589 (__fmal): Do not extract and scale down low bits on after-rounding
27590 systems when result rounded to normal precision would have normal
27592 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27593 (__fmal): Do not extract and scale down low bits on after-rounding
27594 systems when result rounded to normal precision would have normal
27596 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27598 (fma_test): Add more tests.
27599 (fma_test_towardzero): Likewise.
27600 (fma_test_downward): Likewise.
27601 (fma_test_upward): Likewise.
27603 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
27605 * sysdeps/i386/tininess.h: Renamed to ...
27606 * sysdeps/x86/tininess.h: This.
27607 * sysdeps/x86_64/tininess.h: Removed.
27609 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27611 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27612 input. Use $(build-program-cmd).
27613 ($(objpfx)tst-array1-static.out): Likewise.
27614 ($(objpfx)tst-array2.out): Likewise.
27615 ($(objpfx)tst-array3.out): Likewise.
27616 ($(objpfx)tst-array4.out): Likewise.
27617 ($(objpfx)tst-array5.out): Likewise.
27618 ($(objpfx)tst-array5-static.out): Likewise.
27620 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
27622 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27625 * nss/nsswitch.h (nss_interface_function): Provide new
27626 macro for use with NSS functions.
27627 * grp/initgroups.c: Use new macro.
27628 * nss/getXXbyYY.c: Likewise.
27629 * nss/getXXbyYY_r.c: Likewise.
27630 * nss/getXXent.c: Likewise.
27631 * nss/getXXent_r.c: Likewise.
27632 * sysdeps/posix/getaddrinfo.c: Likewise.
27634 2012-10-30 Andreas Jaeger <aj@suse.de>
27636 * po/ru.po: Update Russion translation from translation project.
27638 2012-10-30 Joseph Myers <joseph@codesourcery.com>
27642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27643 result and shift together with sticky bit instead of replicating
27644 round-to-nearest rounding.
27645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27647 * math/libm-test.inc (fma_test): Add more tests. Do not permit
27648 missing underflow exceptions.
27649 (fma_test_towardzero): Add more tests.
27650 (fma_test_downward): Likewise.
27651 (fma_test_upward): Likewise.
27654 * sysdeps/generic/tininess.h: New file.
27655 * sysdeps/i386/tininess.h: Likewise.
27656 * sysdeps/sh/tininess.h: Likewise.
27657 * sysdeps/x86_64/tininess.h: Likewise.
27658 * stdlib/tst-strtod-underflow.c: Likewise.
27659 * stdlib/tst-tininess.c: Likewise.
27660 * stdlib/strtod_l.c: Include <tininess.h>.
27661 (round_and_return): Do not set errno for exact underflow cases.
27662 Force an underflow exception when setting errno for underflow.
27663 Determine underflow based on rounding to normal precision if
27664 TININESS_AFTER_ROUNDING.
27665 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27666 ERANGE for exact underflow cases.
27667 * stdlib/Makefile (tests): Add tst-tininess and
27668 tst-strtod-underflow.
27669 ($(objpfx)tst-tininess): Use $(link-libm).
27670 ($(objpfx)tst-strtod-underflow): Likewise.
27672 2012-10-30 Andreas Jaeger <aj@suse.de>
27675 * elf/Makefile (tests): Remove conditional for have-initfini-array
27676 since this is now always required and the variable does not exist
27678 (tests-static): Likewise.
27679 (modules-names): Likewise.
27681 * po/eo.po: Add Esperanto translation from translation project.
27683 * elf/tst-array1.c (fini_array): Make writeable so that it can be
27684 merged with constructor/destructor.
27685 (init_array): Likewise.
27686 * elf/tst-array2dep.c (fini_array): Likewise.
27687 (init_array): Likewise.
27689 2012-10-29 Mike Frysinger <vapier@gentoo.org>
27691 * manual/message.texi: Delete @cartouche tags.
27693 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
27695 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27697 * sysdeps/mach/hurd/fsync.c: Likewise.
27699 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27700 [_POSIX_REALTIME_SIGNALS]: Change condition to
27701 [_POSIX_REALTIME_SIGNALS > 0].
27703 2012-10-27 Andreas Jaeger <aj@suse.de>
27705 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27706 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27708 [__WORDSIZE != 64]: Likewise.
27710 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
27712 * iconvdata/tst-table.sh: Remove ${SHELL}.
27713 * iconvdata/tst-tables.sh: Likewise.
27715 2012-10-25 David S. Miller <davem@davemloft.net>
27717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27718 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27724 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27725 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27728 2012-10-25 Roland McGrath <roland@hack.frob.com>
27730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27731 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27734 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27735 Jim Blandy <jimb@codesourcery.com>
27737 * scripts/cross-test-ssh.sh: New file.
27738 * manual/install.texi (Configuring and compiling): Document use of
27740 * INSTALL: Regenerated.
27742 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
27744 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27747 2012-10-25 Joseph Myers <joseph@codesourcery.com>
27749 * Makeconfig (run-program-prefix): Fix comment.
27751 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27752 Jim Blandy <jimb@codesourcery.com>
27754 * Makeconfig (test-wrapper): New variable,
27755 (test-wrapper-env): Likewise.
27756 [$(cross-compiling) = yes && $(test-wrapper) != ""]
27757 (run-built-tests): Define to yes.
27758 (run-program-prefix): Use $(test-wrapper).
27759 (built-program-cmd): Likewise.
27760 * Rules (make-test-out): Use $(test-wrapper-env) and
27761 $(host-built-program-cmd).
27762 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27763 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27765 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27766 $(test-wrapper-env) to tst-rtld-load-self.sh.
27767 ($(objpfx)order2.out): Use $(test-wrapper).
27768 ($(objpfx)tst-initorder.out): Likewise.
27769 ($(objpfx)tst-initorder2.out): Likewise.
27770 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27771 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27772 (test_wrapper_env): New variable. Use it to run ld.so.
27773 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27774 Use it to run ld.so.
27775 (test_wrapper_env): Likewise.
27776 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27777 $(test-wrapper) to run-iconv-test.sh.
27778 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27779 (ICONV): Use $test_wrapper.
27780 * posix/Makefile ($(objpfx)globtest.out): Pass
27781 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27782 globtest.sh, not $(run-program-prefix).
27783 * posix/globtest.sh (run_via_rtld_prefix): New variable.
27784 (test_wrapper): Likewise.
27785 (test_wrapper_env): Likewise. Use it to run globtest with HOME
27786 set together with run_via_rtld_prefix.
27787 (run_program_prefix): Define in terms of test_wrapper and
27788 run_via_rtld_prefix.
27790 2012-10-24 Roland McGrath <roland@hack.frob.com>
27792 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27793 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27797 * include/time.h: Remove librt_hidden_proto (clock_gettime).
27798 Declare __clock_getres, __clock_gettime, __clock_settime,
27799 __clock_nanosleep, and __clock_getcpuclockid.
27800 * rt/clock_gettime.c: Define __clock_gettime as an alias.
27801 Remove librt_hidden_def (clock_gettime).
27802 * sysdeps/unix/clock_gettime.c: Likewise.
27803 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27805 * rt/clock_getres.c: Define __clock_getres as an alias.
27806 * sysdeps/posix/clock_getres.c: Likewise.
27807 * rt/clock_settime.c: Define __clock_settime as an alias.
27808 * sysdeps/unix/clock_settime.c: Likewise.
27809 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27810 * sysdeps/unix/clock_nanosleep.c: Likewise.
27811 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27812 * rt/clock-compat.c: New file.
27813 * rt/Makefile (librt-routines): Add clock-compat and move
27814 $(clock-routines) to ...
27815 (routines): ... here, new variable.
27816 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27817 Don't add get_clockfreq here.
27818 * rt/Versions (libc: GLIBC_2.17): New version set.
27819 Add clock_* symbols here.
27820 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
27821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27822 (GLIBC_2.17): Add clock_* symbols.
27823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27834 * NEWS: Mention the move.
27836 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27837 Use __open, __read, __close rather than their public counterparts.
27838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27839 (__get_clockfreq_via_cpuinfo): Likewise.
27840 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27841 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27843 * config.h.in (HAVE_IFUNC): New #undef.
27844 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27846 * configure: Regenerated.
27848 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27850 * configure.in: Move READELF check to start of file.
27851 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27852 libc_cv_asm_gnu_indirect_function in the process.
27853 * configure: Regenerated.
27855 2012-10-24 Mike Frysinger <vapier@gentoo.org>
27857 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27858 send the output to /dev/null.
27859 (libc_cv_cc_with_libunwind): Likewise.
27860 (libc_cv_as_noexecstack): Likewise.
27861 * configure: Regenerate.
27863 2012-10-24 Joseph Myers <joseph@codesourcery.com>
27865 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27867 * posix/globtest.sh (TMPDIR): Do not set.
27868 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27869 (testout): Likewise.
27871 2012-10-24 Andreas Jaeger <aj@suse.de>
27873 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27874 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27875 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27876 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27877 posix_fadvise64, posix_fallocate64.
27879 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27880 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27881 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27883 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27885 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27888 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27889 <bits/fcntl-linux.h>.
27890 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27893 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27894 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27895 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27896 [__WORDSIZE != 64]: Likewise.
27898 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27900 * Makeconfig (run-built-tests): New variable.
27901 * Rules [$(cross-compiling) = yes]: Change condition to
27902 [$(run-built-tests) = no].
27903 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27904 to [$(run-built-tests) = yes].
27905 * elf/Makefile [$(cross-compiling) = no]: Likewise
27906 * grp/Makefile [$(cross-compiling) = no]: Likewise.
27907 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27908 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27909 * intl/Makefile [$(cross-compiling) = no]: Likewise.
27910 * io/Makefile [$(cross-compiling) = no]: Likewise.
27911 * libio/Makefile [$(cross-compiling) = no]: Likewise.
27912 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27913 * misc/Makefile [$(cross-compiling) = no]: Likewise.
27914 * posix/Makefile [$(cross-compiling) = no]: Likewise.
27915 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27916 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27917 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27918 * string/Makefile [$(cross-compiling) = no]: Likewise.
27920 * posix/Makefile ($(objpfx)globtest.out): Pass
27921 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27922 $(rtld-installed-name).
27923 * posix/globtest.sh (elf_objpfx): Remove variable.
27924 (rtld_installed_name): Likewise.
27925 (library_path): Likewise.
27926 (run_program_prefix): New variable. Use for running globtest
27929 2012-10-23 Jim Blandy <jimb@codesourcery.com>
27930 Joseph Myers <joseph@codesourcery.com>
27932 * Makeconfig (host-built-program-cmd): New variable.
27933 * elf/Makefile (tst-stackguard1-ARGS): Use
27934 $(host-built-program-cmd).
27935 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27936 (tst-spawn-ARGS): Likewise.
27937 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27939 2012-10-23 Joseph Myers <joseph@codesourcery.com>
27940 Jim Blandy <jimb@codesourcery.com>
27942 * Makeconfig (run-via-rtld-prefix): New variable.
27943 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27944 (built-program-cmd): Likewise.
27946 2012-10-22 Andreas Jaeger <aj@suse.de>
27948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27949 __O_RSYNC if it exists, otherwise to O_SYNC.
27951 2012-10-22 Jim Blandy <jimb@codesourcery.com>
27952 Joseph Myers <joseph@codesourcery.com>
27954 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27956 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27958 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27961 2012-10-22 Andreas Jaeger <aj@suse.de>
27963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27968 bits/fcntl-linux.h.
27970 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27971 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27978 2012-10-21 Jim Blandy <jimb@codesourcery.com>
27979 Joseph Myers <joseph@codesourcery.com>
27981 * config.make.in (NM): New variable.
27983 2012-10-21 Andreas Jaeger <aj@suse.de>
27985 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27986 definitions and declarations that are provided by
27987 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27989 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
27992 * elf/Makefile (tests-static): Add tst-leaks1-static.
27993 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27994 ($(objpfx)tst-leaks1-static): New rule.
27995 ($(objpfx)tst-leaks1-static-mem): Likewise.
27996 (tst-leaks1-static-ENV): New macro.
27997 * elf/dl-open.c (dl_open_worker): Check the main application
27998 only if SHARED is defined.
27999 * elf/tst-leaks1-static.c: New file.
28001 2012-10-20 Andreas Jaeger <aj@suse.de>
28003 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
28004 generic values for Linux.
28005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
28006 and declarations that are provided by <bits/fcntl-linux.h> and
28007 include <bits/fcntl-linux.h>.
28008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28011 2012-10-20 Roland McGrath <roland@hack.frob.com>
28013 * io/fcntl.h: Move include of <bits/types.h> to the top and
28014 include it unconditionally.
28016 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
28018 * wcsmbs/Makefile (tests-ifunc): New variable.
28019 (tests): Add $(tests-ifunc).
28020 * wcsmbs/test-wcschr-ifunc.c: New file.
28021 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28022 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28023 * wcsmbs/test-wcslen-ifunc.c: Likewise.
28024 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28025 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28027 * string/Makefile (tests-ifunc): New variable.
28028 (tests): Add $(tests-ifunc).
28029 * string/test-memccpy.c (TEST_NAME): New macro.
28030 * string/test-memchr.c (TEST_NAME): Likewise.
28031 * string/test-memcmp.c (TEST_NAME): Likewise.
28032 * string/test-memcpy.c (TEST_NAME): Likewise.
28033 * string/test-memmem.c (TEST_NAME): Likewise.
28034 * string/test-memmove.c (TEST_NAME): Likewise.
28035 * string/test-memset.c (TEST_NAME): Likewise.
28036 * string/test-rawmemchr.c (TEST_NAME): Likewise.
28037 * string/test-stpcpy.c (TEST_NAME): Likewise.
28038 * string/test-stpncpy.c (TEST_NAME): Likewise.
28039 * string/test-strcasecmp.c (TEST_NAME): Likewise.
28040 * string/test-strcasestr.c (TEST_NAME): Likewise.
28041 * string/test-strcat.c (TEST_NAME): Likewise.
28042 * string/test-strchr.c (TEST_NAME): Likewise.
28043 * string/test-strcmp.c(TEST_NAME): Likewise.
28044 * string/test-strcpy.c (TEST_NAME): Likewise.
28045 * string/test-strcspn.c (TEST_NAME): Likewise.
28046 * string/test-strlen.c (TEST_NAME): Likewise.
28047 * string/test-strncasecmp.c (TEST_NAME): Likewise.
28048 * string/test-strncmp.c (TEST_NAME): Likewise.
28049 * string/test-strncpy.c (TEST_NAME): Likewise.
28050 * string/test-strnlen.c (TEST_NAME): Likewise.
28051 * string/test-strpbrk.c (TEST_NAME): Likewise.
28052 * string/test-strrchr.c (TEST_NAME): Likewise.
28053 * string/test-strspn.c (TEST_NAME): Likewise.
28054 * string/test-strstr.c (TEST_NAME): Likewise.
28055 * string/test-bcopy-ifunc.c: New file.
28056 * string/test-bzero-ifunc.c: Likewise.
28057 * string/test-memccpy-ifunc.c: Likewise.
28058 * string/test-memchr-ifunc.c: Likewise.
28059 * string/test-memcmp-ifunc.c: Likewise.
28060 * string/test-memcpy-ifunc.c: Likewise.
28061 * string/test-memmem-ifunc.c: Likewise.
28062 * string/test-memmove-ifunc.c: Likewise.
28063 * string/test-mempcpy-ifunc.c: Likewise.
28064 * string/test-memset-ifunc.c: Likewise.
28065 * string/test-rawmemchr-ifunc.c: Likewise.
28066 * string/test-stpcpy-ifunc.c: Likewise.
28067 * string/test-stpncpy-ifunc.c: Likewise.
28068 * string/test-strcasecmp-ifunc.c: Likewise.
28069 * string/test-strcasestr-ifunc.c: Likewise.
28070 * string/test-strcat-ifunc.c: Likewise.
28071 * string/test-strchr-ifunc.c: Likewise.
28072 * string/test-strchrnul-ifunc.c: Likewise.
28073 * string/test-strcmp-ifunc.c: Likewise.
28074 * string/test-strcpy-ifunc.c: Likewise.
28075 * string/test-strcspn-ifunc.c: Likewise.
28076 * string/test-strlen-ifunc.c: Likewise.
28077 * string/test-strncasecmp-ifunc.c: Likewise.
28078 * string/test-strncat-ifunc.c: Likewise.
28079 * string/test-strncmp-ifunc.c: Likewise.
28080 * string/test-strncpy-ifunc.c: Likewise.
28081 * string/test-strnlen-ifunc.c: Likewise.
28082 * string/test-strpbrk-ifunc.c: Likewise.
28083 * string/test-strrchr-ifunc.c: Likewise.
28084 * string/test-strspn-ifunc.c: Likewise.
28085 * string/test-strstr-ifunc.c: Likewise.
28087 * debug/Makefile (tests-ifunc): New variable.
28088 (tests): Add $(tests-ifunc).
28089 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
28090 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
28091 * debug/test-stpcpy_chk-ifunc.c: New file.
28092 * debug/test-strcpy_chk-ifunc.c: Likewise.
28094 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
28097 * elf/dl-load.c (open_verify): Retry read if the entire ELF
28098 header is not read in.
28100 2012-10-19 Joseph Myers <joseph@codesourcery.com>
28102 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
28103 script to $(SHELL) as $<. Pass $(common-objpfx) to script
28104 directly. Pass built executable to script as
28105 $(built-program-cmd).
28106 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
28107 $testprogram without using LD_LIBRARY_PATH and $ldso.
28109 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
28110 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
28111 $(rtld-installed-name).
28112 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
28113 (rtld_installed_name): Likewise.
28114 (library_path): Likewise.
28115 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
28116 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
28117 $(run-program-prefix) to tst-tables.sh.
28118 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
28119 it to run tst-table-from and tst-table-to.
28120 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
28121 Pass it to tst-table.sh.
28122 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
28123 $(run-program-prefix) to tst-gettext.sh.
28124 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
28126 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
28128 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
28129 to run tst-gettext.
28130 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
28131 to run tst-gettext2.
28132 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
28133 to run tst-translit.
28134 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
28135 $(run-program-prefix) to tst-mtrace.sh.
28136 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
28138 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
28139 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
28140 $(rtld-installed-name).
28141 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
28142 (rtld_installed_name): Likewise.
28143 (run_program_prefix): New variable. Use it to run wordexp-test.
28145 * Makeconfig (ARCH): Remove all definitions.
28146 (machine): Likewise.
28147 [ARCH]: Remove conditional code.
28148 [!objdir]: Give error.
28149 [!objdir] (objpfx): Remove.
28150 [!objdir] (common-objpfx): Likewise.
28151 [!objdir] (common-objdir): Likewise.
28152 * configure.in (config_makefile): Remove. Hardcode Makefile in
28153 AC_CONFIG_FILES call.
28154 * configure: Regenerated.
28157 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
28159 (testout): Likewise.
28161 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
28162 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
28163 $(rtld-installed-name).
28164 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
28165 (rtld_installed_name): Likwise.
28166 (runit): Remove function.
28167 (run_getconf): New variable, Use it for running getconf binary.
28169 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
28172 * string/test-memmem.c (check_result): New function.
28173 (do_one_test): Use it.
28174 (check1): New function.
28175 (test_main): Use it.
28177 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
28179 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
28181 2012-10-18 Joseph Myers <joseph@codesourcery.com>
28183 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
28184 (_G_LSEEK64): Likewise.
28185 (_G_MMAP64): Likewise.
28186 (_G_FSTAT64): Likewise.
28187 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
28188 (_G_LSEEK64): Likewise.
28189 (_G_MMAP64): Likewise.
28190 (_G_FSTAT64): Likewise.
28191 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
28192 unconditional. Call __mmap64 directly.
28193 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
28194 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
28195 __lseek64 directly.
28196 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
28197 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
28199 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
28200 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
28201 __lseek64 directly.
28202 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
28203 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
28204 __lseek64 directly.
28205 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
28206 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
28207 __lseek64 directly.
28208 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
28209 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
28210 __fxstat64 directly.
28211 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
28212 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
28214 (freopen64) [!_G_OPEN64]: Remove conditional code.
28215 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
28217 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
28218 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
28220 (ftello64) [!_G_LSEEK64]: Remove conditional code.
28221 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
28223 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28224 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
28226 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
28227 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
28229 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28230 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
28232 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
28233 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
28235 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
28237 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28240 * manual/memory.texi (Malloc Tunable Parameters): Add note
28241 about free list pointers overwriting some perturb bytes.
28242 Wording suggested by Roland McGrath.
28244 2012-10-17 Joseph Myers <joseph@codesourcery.com>
28246 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
28247 (lgamma_test): Likewise.
28248 (tgamma_test): Likewise.
28250 2012-10-16 Florian Weimer <fweimer@redhat.com>
28253 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
28254 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
28256 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
28258 * NEWS: Mention BZ #14716.
28259 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
28260 when removing AVAILABLE1_USES_J macro.
28262 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
28264 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
28265 (__bswap_64): __uint64_t for unsigned 64-bit int.
28267 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
28269 * include/string.h (memmem): Declare libc hidden alias.
28270 * string/memmem.c (memmem): Define libc hidden alias.
28271 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
28272 __read, __close instead of open, read, close.
28274 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
28276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
28277 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
28279 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
28280 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
28281 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
28283 (__rawmemchr_sse2): Likewise.
28284 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
28285 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
28286 (__strchr_sse2): Likewise.
28287 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
28288 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
28289 (__strcasecmp_sse2): Likewise.
28290 (__strncasecmp_sse2): Likewise.
28291 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
28292 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
28293 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
28294 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
28295 (__strrchr_sse2): Likewise.
28296 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
28298 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28300 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28301 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28302 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28303 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28304 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28305 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28306 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
28307 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
28308 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
28309 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
28310 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
28311 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28312 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28313 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28314 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28315 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28316 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
28317 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
28318 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
28319 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
28320 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
28321 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28322 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
28323 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28324 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28325 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28326 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28327 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28329 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
28331 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
28332 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
28333 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
28334 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
28336 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
28338 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
28339 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
28340 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
28341 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
28343 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28344 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28345 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28346 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28347 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28348 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28349 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28350 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28351 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28352 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28353 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28354 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28355 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28356 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
28357 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
28358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28359 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
28360 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
28361 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28362 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28364 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28365 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28366 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28367 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28368 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
28369 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
28370 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
28371 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
28372 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28373 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
28374 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28375 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28376 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
28377 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28378 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28379 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28380 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28381 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28382 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28383 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
28385 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
28386 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
28387 * include/ifunc-impl-list.h: New file.
28388 * misc/ifunc-impl-list.c: Likewise.
28389 * misc/Makefile (routines): Add ifunc-impl-list.
28390 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
28391 * string/test-string.h: Include <ifunc-impl-list.h>.
28392 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
28393 TEST_NAME]: New variables.
28394 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
28396 (test_init): Call __libc_ifunc_impl_list to initialize
28397 func_list if TEST_IFUNC and TEST_NAME are defined.
28399 * string/Makefile (strop-tests): Add bcopy and bzero.
28400 * string/test-bcopy.c: New file.
28401 * string/test-bzero.c: Likewise.
28402 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
28404 * string/test-memset.c: Support bzero test if TEST_BZERO is
28406 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
28408 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
28410 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
28413 2012-10-10 Joseph Myers <joseph@codesourcery.com>
28415 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
28416 * configure: Regenerated.
28418 * Makeconfig (+link-static-before-libc): Don't include
28419 $(link-static-libc).
28421 * libio/libio.h (_IO_pos_t): Remove.
28423 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28425 * NEWS: Add note about FIPS mode. Wording suggested by Roland
28428 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28430 * crypt/crypt-entry.c: Include fips-private.h.
28431 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28432 * crypt/md5c-test.c (main): Tolerate disabled MD5.
28433 * sysdeps/unix/sysv/linux/fips-private.h: New file.
28434 * sysdeps/generic/fips-private.h: New file, dummy fallback.
28436 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
28438 * crypt/crypt-private.h: Include stdbool.h.
28439 (_ufc_setup_salt_r): Return bool.
28440 * crypt/crypt-entry.c: Include errno.h.
28441 (__crypt_r): Return NULL with EINVAL for bad salt.
28442 * crypt/crypt_util.c (bad_for_salt): New.
28443 (_ufc_setup_salt_r): Check that salt is long enough and within
28444 the specified alphabet.
28445 * crypt/badsalttest.c: New file.
28446 * crypt/Makefile (tests): Add it.
28447 ($(objpfx)badsalttest): New.
28449 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
28451 * NEWS: Add entry for BZ #14602.
28453 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28455 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28457 * math/libm-test.inc: Update comment listing what functions and
28459 (isgreater_test): New function.
28460 (isgreaterequal_test): Likewise.
28461 (isless_test): Likewise.
28462 (islessequal_test): Likewise.
28463 (islessgreater_test): Likewise.
28464 (isunordered_test): Likewise.
28465 (main): Call the new functions.
28467 2012-10-09 Roland McGrath <roland@hack.frob.com>
28469 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28470 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28471 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28472 * sysdeps/i386/configure: Regenerated.
28473 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28474 * sysdeps/mach/configure: Regenerated.
28475 * sysdeps/mach/hurd/configure: Regenerated.
28476 * sysdeps/powerpc/configure: Regenerated.
28477 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28478 * sysdeps/powerpc/powerpc64/configure: Regenerated.
28479 * sysdeps/s390/s390-32/configure: Regenerated.
28480 * sysdeps/s390/s390-64/configure: Regenerated.
28481 * sysdeps/sh/configure: Regenerated.
28482 * sysdeps/sparc/configure: Regenerated.
28483 * sysdeps/unix/sysv/linux/configure: Regenerated.
28484 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28485 * sysdeps/x86_64/configure: Regenerated.
28487 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28488 defined. Don't check if MAP is NULL.
28490 2012-10-09 Joseph Myers <joseph@codesourcery.com>
28492 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28493 (_G_stat64): Likewise.
28494 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28495 (_G_stat64): Likewise.
28496 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28497 instead of struct _G_stat64.
28498 * libio/fileops.c (mmap_remap_check): Likewise.
28499 (decide_maybe_mmap): Likewise.
28500 (_IO_new_file_seekoff): Likewise.
28501 (_IO_file_stat): Likewise.
28502 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28504 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28505 instead of struct _G_stat64.
28506 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28508 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
28511 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28513 (CHECK_EOL): New macro.
28514 (two_way_short_needle): Check beginning of haystack for EOL. Use
28516 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28517 Replace with CHECK_EOL.
28518 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28519 Replace with CHECK_EOL.
28521 2012-10-08 Joseph Myers <joseph@codesourcery.com>
28523 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28525 * math/libm-test.inc: Update comment listing what functions and
28527 (finite_test): New function.
28528 (isinf_test): Likewise.
28529 (isnan_test): Likewise.
28530 (fpclassify_test): Test subnormal input.
28531 (isfinite_test): Likewise.
28532 (isnormal_test): Likewise.
28533 (main): Call the new functions.
28535 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
28538 * Makerules (%.dynsym): Force C locale when running
28539 $(OBJDUMP) --dynamic-syms.
28541 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
28543 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28546 2012-10-06 David S. Miller <davem@davemloft.net>
28548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28549 upper 32-bits of the length value in %o2 since we use branch-on-register
28550 tests which consider the entire 64-bit register.
28552 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
28554 * string/test-strstr.c (check2): Add a test for page boundary.
28556 2012-10-05 David S. Miller <davem@davemloft.net>
28558 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28559 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28561 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28563 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28564 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28565 and bzero when HWCAP_SPARC_CRYPTO is present.
28567 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
28570 * string/test-strstr.c (check2): New function.
28571 (test_main): Call check2.
28573 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28575 * string/bug-strcasestr1.c (do_test): Moved to ...
28576 * string/test-strcasestr.c (check1): Here. New function.
28577 (do_one_test): Break out result checking code into ...
28578 (check_result): This. New function.
28579 (do_one_test): Call check_result.
28580 (test_main): Call check1.
28581 * string/bug-strchr1.c (do_test): Moved to ...
28582 * string/test-strchr.c (check1): Here. New function.
28583 (do_one_test): Break out result checking code into ...
28584 (check_result): This. New function.
28585 (do_one_test): Call check_result.
28586 (test_main): Call check1.
28587 * string/bug-strstr1.c (main): Moved to ...
28588 * string/test-strstr.c (check1): Here. New function.
28589 (do_one_test): Break out result checking code into ...
28590 (check_result): This. New function.
28591 (do_one_test): Call check_result.
28592 (test_main): Call check1.
28593 * string/bug-strcasestr1.c: Removed.
28594 * string/bug-strchr1.c: Likewise.
28595 * string/bug-strstr1.c: Likewise.
28597 * elf/Makefile (dl-routines): Add hwcaps.
28598 * elf/dl-support.c (_dl_important_hwcaps): Removed.
28599 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28600 (_dl_important_hwcaps): Moved to ...
28601 * elf/dl-hwcaps.c: Here. New file.
28602 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28605 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28606 if IS_IN_rtld isn't defined.
28608 * elf/dl-support.c (_dl_sysinfo_map): New.
28609 Include "get-dynamic-info.h" and "setup-vdso.h".
28610 (_dl_non_dynamic_init): Call setup_vdso.
28611 * elf/dynamic-link.h: Don't include <assert.h>.
28612 (elf_get_dynamic_info): Moved to ...
28613 * elf/get-dynamic-info.h: Here. New file.
28614 * elf/dynamic-link.h: Include "get-dynamic-info.h".
28615 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28616 * elf/setup-vdso.h: Here. New file.
28617 * elf/rtld.c: Include "setup-vdso.h".
28618 (dl_main): Call setup_vdso.
28620 2012-10-05 Joseph Myers <joseph@codesourcery.com>
28622 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28623 creal in comment listing functions tested. List finite, isinf,
28624 isnan, isless, islessequal, isgreater, isgreaterequal,
28625 islessgreater, isunordered, lgamma_r and pow10 as functions and
28626 macros not tested. Mention which functions not tested are aliases
28627 for other functions. Fix typo. Note that signs of NaNs are not
28630 * scripts/config.guess: Update from config.git.
28631 * scripts/config.sub: Likewise.
28633 2012-10-04 Roland McGrath <roland@hack.frob.com>
28635 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28636 * misc/madvise.c (madvise): Renamed to __madvise.
28637 Make madvise a weak alias.
28638 * include/sys/mman.h: Declare __madvise.
28639 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28640 * sysdeps/unix/syscalls.list
28641 (madvise): Make __madvise the strong name, and madvise a weak alias.
28642 * sysdeps/unix/sysv/linux/syscalls.list
28643 (madvise, mmap): Remove redundant entries.
28644 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28645 * malloc/malloc.c (mtrim): Likewise.
28646 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28648 2012-10-03 Roland McGrath <roland@hack.frob.com>
28650 * sysdeps/mach/hurd/dl-cache.c: File removed.
28651 * config.h.in (USE_LDCONFIG): New #undef.
28652 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28653 * configure: Regenerated.
28654 * elf/Makefile (dl-routines): Add dl-cache only under
28655 [$(use-ldconfig) = yes].
28656 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28657 cache on [USE_LDCONFIG].
28658 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28660 * elf/rtld.c (dl_main): Likewise.
28662 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
28664 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28665 _SC_LEVEL4_CACHE_LINESIZE.
28667 2012-10-03 Roland McGrath <roland@hack.frob.com>
28669 * sysdeps/unix/bsd/confstr.h: File removed.
28671 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
28673 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28676 2012-10-02 Roland McGrath <roland@hack.frob.com>
28678 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28679 Make 'mapoff' field ElfW(Off) rather than off_t.
28681 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
28683 * nscd/Makefile: Remove nscd-cflags and all its users.
28684 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28685 (CFLAGS-nonlib): Add compiler flags for nscd modules.
28688 * malloc.c (malloc_printerr): Clarify error message.
28690 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
28693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28694 Set bit_FMA_Usable if FMA is supported.
28695 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28697 (bit_FMA4_Usable): Updated.
28698 (index_FMA_Usable): New macro.
28699 (CPUID_FMA): Likewise
28700 (HAS_FMA): Defined with bit_FMA_Usable.
28702 2012-10-01 Roland McGrath <roland@hack.frob.com>
28704 * bits/types.h (__swblk_t): Type removed.
28705 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28706 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28708 (__SWBLK_T_TYPE): Likewise.
28709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28710 (__SWBLK_T_TYPE): Likewise.
28711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28712 (__SWBLK_T_TYPE): Likewise.
28713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28714 (__SWBLK_T_TYPE): Likewise.
28716 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
28717 Honza Horak <hhorak@redhat.com>
28719 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28720 (xdr_mapname): Use YPMAXMAP as maxsize.
28721 (xdr_peername): Use YPMAXPEER as maxsize.
28722 (xdr_keydat): Use YPAXRECORD as maxsize.
28723 (xdr_valdat): Use YPMAXRECORD as maxsize.
28725 2012-10-01 Roland McGrath <roland@hack.frob.com>
28727 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28729 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28730 * csu/init-first.c: ... here.
28731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28732 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28734 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28735 * sysdeps/i386/init-first.c: File removed.
28736 * sysdeps/sh/init-first.c: File removed.
28738 2012-10-01 Joseph Myers <joseph@codesourcery.com>
28741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28742 if x * y might underflow to zero and z is zero.
28743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28745 * math/libm-test.inc (min_subnorm_value): New variable.
28746 (fma_test): Add more tests.
28747 (fma_test_towardzero): Likewise.
28748 (fma_test_downward): Likewise
28749 (fma_test_upward): Likewise.
28750 (initialize): Set min_subnorm_value.
28752 2012-09-29 Joseph Myers <joseph@codesourcery.com>
28755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28758 mode for addition resulting in exact zero.
28759 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28764 * math/libm-test.inc (fma_test): Add more tests.
28765 (fma_test_towardzero): New function.
28766 (fma_test_downward): Likewise.
28767 (fma_test_upward): Likewise.
28768 (main): Call the new functions.
28770 2012-09-28 David S. Miller <davem@davemloft.net>
28772 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28774 2012-09-28 Roland McGrath <roland@hack.frob.com>
28776 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28777 instead of SIGALRM.
28779 * sysdeps/gnu/_G_config.h: Moved to ...
28780 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28781 * sysdeps/mach/hurd/_G_config.h: Moved to ...
28782 * sysdeps/generic/_G_config.h: ... here.
28784 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
28786 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28788 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28789 Conditionalize target on [libnss_test1.so-version].
28791 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28793 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28794 (elfobjdir): Move out of conditionals.
28796 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28797 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28798 (__nss_lookup_function): Conditionalize label remove_from_tree on
28799 [!DO_STATIC_NSS || SHARED], matching its only use.
28801 2012-09-28 David S. Miller <davem@davemloft.net>
28803 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28804 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28806 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28808 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28810 when HWCAP_SPARC_CRYPTO is present.
28812 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28814 * io/tst-mknodat.c: Create a FIFO instead of a socket.
28816 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
28819 * stdio-common/vfprintf.c (process_string_arg): Revert
28822 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
28824 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28826 * stdio-common/tst-sprintf.c: Include <locale.h>
28827 (main): Test sprintf's handling of incomplete multibyte
28830 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
28832 * elf/dl-runtime.c (VERSYMIDX): Removed.
28833 * elf/dl-version.c (VERSYMIDX): Likewise.
28834 * elf/do-rel.h (VERSYMIDX): Likewise.
28835 (VALIDX): Likewise.
28836 * elf/dynamic-link.h (VERSYMIDX): Likewise.
28837 * elf/rtld.c (VALIDX): Likewise.
28838 (ADDRIDX): Likewise.
28839 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28840 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28841 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28842 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28843 (VALIDX): Likewise.
28844 (ADDRIDX): Likewise.
28846 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28848 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28850 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
28853 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28855 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28856 addresses are in the same scope as 192.0.2/24.
28857 * posix/gai.conf: Document new scope table defaults.
28859 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28862 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28863 for ftell. Compute offsets from write pointers instead.
28864 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28866 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28869 * libio/Makefile (tests): New test case tst-fseek.
28870 * libio/tst-fseek.c: New test case to verify that fseek/ftell
28871 combination works in wide mode.
28872 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28873 state when the external buffer state changes.
28875 2012-09-27 David S. Miller <davem@davemloft.net>
28878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28879 pass reloc->r_addend in as the 'high' argument to
28880 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28884 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
28886 * rt/tst-aio2.c: Include <pthread.h>.
28887 * rt/tst-aio3.c: Likewise.
28889 2012-09-27 Steve Ellcey <sellcey@mips.com>
28891 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28893 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
28895 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28896 contents on [SHARED].
28898 2012-09-26 Marek Polacek <polacek@redhat.com>
28902 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28903 for C++ and GCC <4.3 as well as for non GCC compilers.
28905 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28909 2012-09-25 Roland McGrath <roland@hack.frob.com>
28911 * Makefile.in (all, install): Declare with .PHONY.
28912 Reported by Michael Hope <michael.hope@linaro.org>.
28914 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28916 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28917 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28919 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28921 (sydep_routines): Add the new and the internal functions.
28922 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28923 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28925 (GLIBC_2.17): Add the new function.
28926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28927 (GLIBC_2.17): Likewise.
28928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28929 (GLIBC_2.17): Likewise.
28930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28931 (GLIBC_2.17): Likewise.
28932 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28934 2012-09-25 Alan Modra <amodra@gmail.com>
28936 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28937 Add release barrier before setting once_control to say
28938 initialisation is done. Add hints on lwarx. Use macro in
28940 (clear_once_control): Add release barrier.
28942 2012-09-25 Joseph Myers <joseph@codesourcery.com>
28945 * math/s_clog.c (__clog): Handle more values close to |z| = 1
28947 * math/s_clog10.c (__clog10): Likewise.
28948 * math/s_clog10f.c (__clog10f): Likewise.
28949 * math/s_clog10l.c (__clog10l): Likewise.
28950 * math/s_clogf.c (__clogf): Likewise.
28951 * math/s_clogl.c (__clogl): Likewise.
28952 * math/Makefile (libm-calls): Add x2y2m1.
28953 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28954 (__x2y2m1): Likewise.
28955 (__x2y2m1l): Likewise.
28956 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28957 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28960 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28961 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28962 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28963 * sysdeps/i386/fpu/libm-test-ulps: Update.
28964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28967 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28968 int as type of variable DEPTH.
28969 (glob): Use size_t instead of int as type of variables NEWCOUNT
28972 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28975 Add s_sincosf-sse2.
28976 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28977 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28978 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28979 macros for using routine as __sincosf_ia32.
28980 Use macro for function declaration and weak_alias.
28981 * sysdeps/i386/fpu/libm-test-ulps: Update.
28983 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28986 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28987 subnormal argument.
28988 * math/s_cexpf.c (__cexpf): Likewise.
28989 * math/s_csinf.c (__csinf): Likewise.
28990 * math/s_csinhf.c (__csinhf): Likewise.
28991 * math/s_ctanf.c (__ctanf): Likewise.
28992 * math/s_ctanhf.c (__ctanhf): Likewise.
28993 * math/s_ccosh.c (__ccoshf): Likewise.
28994 * math/s_cexp.c (__cexpl): Likewise.
28995 * math/s_csin.c (__csin): Likewise.
28996 * math/s_csinh.c (__csinh): Likewise.
28997 * math/s_ctan.c (__ctan): Likewise.
28998 * math/s_ctanh.c (ctanh): Likewise.
28999 * math/s_ccoshl.c (__ccoshl): Likewise.
29000 * math/s_cexpl.c (__cexpl): Likewise.
29001 * math/s_csinl.c (__csinl): Likewise.
29002 * math/s_csinhl.c (__csinhl): Likewise.
29003 * math/s_ctanl.c (__ctanl): Likewise.
29004 * math/s_ctanhl.c (__ctanhl): Likewise.
29006 2012-09-25 Joseph Myers <joseph@codesourcery.com>
29008 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
29009 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
29010 (_IO_off_t): Define to __off_t, not _G_off_t.
29011 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
29012 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
29013 (_IO_wint_t): Define to wint_t, not _G_wint_t.
29014 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
29015 type of __dummy and __dummy2 fields.
29016 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
29017 (_G_ssize_t): Likewise.
29018 (_G_off_t): Likewise.
29019 (_G_pid_t): Likewise.
29020 (_G_uid_t): Likewise.
29021 (_G_wchar_t): Likewise.
29022 (_G_wint_t): Likewise.
29023 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
29024 (_G_ssize_t): Likewise.
29025 (_G_off_t): Likewise.
29026 (_G_pid_t): Likewise.
29027 (_G_uid_t): Likewise.
29028 (_G_wchar_t): Likewise.
29029 (_G_wint_t): Likewise.
29030 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
29031 (_G_ssize_t): Likewise.
29032 (_G_off_t): Likewise.
29033 (_G_pid_t): Likewise.
29034 (_G_uid_t): Likewise.
29035 (_G_wchar_t): Likewise.
29036 (_G_wint_t): Likewise.
29038 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29040 * malloc/arena.c: Include malloc-sysdep.h.
29041 (shrink_heap): Use check_may_shrink_heap to decide if madvise
29042 is sufficient to shrink the heap or an unmap is needed.
29043 * sysdeps/generic/malloc-sysdep.h: New file. Define
29044 new function check_may_shrink_heap.
29045 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
29046 new function check_may_shrink_heap.
29048 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29050 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
29053 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
29055 * catgets/test-gencat.sh: Add "set -e".
29056 * elf/tst-pathopt.sh: Likewise.
29057 * grp/tst_fgetgrent.sh: Likewise.
29058 * iconvdata/run-iconv-test.sh: Likewise.
29059 * intl/tst-gettext.sh: Likewise.
29060 * intl/tst-gettext2.sh: Likewise.
29061 * intl/tst-gettext4.sh: Likewise.
29062 * intl/tst-gettext6.sh: Likewise.
29063 * intl/tst-translit.sh: Likewise.
29064 * io/ftwtest-sh: Likewise.
29065 * libio/test-freopen.sh: Likewise.
29066 * malloc/tst-mtrace.sh: Likewise.
29067 * posix/globtest.sh: Likewise.
29068 * posix/tst-getconf.sh: Likewise.
29069 * posix/wordexp-tst.sh: Likewise.
29070 * stdio-common/tst-printf.sh: Likewise.
29071 * stdio-common/tst-unbputc.sh: Likewise.
29072 * stdlib/tst-fmtmsg.sh: Likewise.
29073 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29074 * catgets/Makefile: Do not specify -e option when running
29075 testsuite shell scripts.
29076 * elf/Makefile: Likewise.
29077 * grp/Makefile: Likewise.
29078 * iconvdata/Makefile: Likewise.
29079 * intl/Makefile: Likewise.
29080 * io/Makefile: Likewise.
29081 * libio/Makefile: Likewise.
29082 * malloc/Makefile: Likewise.
29083 * posix/Makefile: Likewise.
29084 * stdio-common/Makefile: Likewise.
29085 * stdlib/Makefile: Likewise.
29086 * sysdeps/x86_64/Makefile: Likewise.
29088 * io/ftwtest-sh: Add copyright header.
29089 * posix/globtest.sh: Likewise.
29090 * posix/tst-getconf.sh: Likewise.
29091 * posix/wordexp-tst.sh: Likewise.
29092 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
29094 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
29097 * Makeconfig (+link): Defined as $(+link-static) if
29098 $(build-shared) isn't yes.
29099 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
29101 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
29103 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
29106 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
29107 new chunk size with MALLOC_ALIGN_MASK.
29109 2012-09-24 Joseph Myers <joseph@codesourcery.com>
29112 * stdio-common/printf_fphex.c: Include <stdbool.h> and
29114 (__printf_fphex): Determine rounding using get_rounding_mode and
29116 * stdio-common/tst-printf-round.c (struct hex_test): New
29118 (hex_tests): New variable.
29119 (test_hex_in_one_mode): New function.
29120 (do_test): Also run tests for hex float output.
29122 2012-09-21 Joseph Myers <joseph@codesourcery.com>
29124 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29125 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29126 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
29127 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
29128 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
29129 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
29130 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29131 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
29133 2012-09-20 Joseph Myers <joseph@codesourcery.com>
29135 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
29136 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
29137 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
29138 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
29140 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
29143 * elf/rtld.c (dl_main): Limit the check for self loading to normal
29145 * elf/tst-rtld-load-self.sh: New test.
29146 * elf/Makefile: Run it.
29148 2012-09-18 Joseph Myers <joseph@codesourcery.com>
29150 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
29151 (tst-writev-ENV): Remove.
29152 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
29154 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
29156 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
29158 2012-09-17 Joseph Myers <joseph@codesourcery.com>
29160 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
29162 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
29164 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
29165 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
29166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
29169 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
29172 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
29173 * config.make.in (have-cpp-asm-debuginfo): Removed.
29174 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
29175 * configure: Regenerated.
29177 2012-09-14 Joseph Myers <joseph@codesourcery.com>
29180 * stdio-common/printf_fp.c: Include <stdbool.h> and
29182 (___printf_fp): Determine rounding using get_rounding_mode and
29184 * stdio-common/tst-printf-round.c: New file.
29185 * stdio-common/Makefile (tests): Add tst-printf-round.
29186 (link-libm): New variable.
29187 ($(objpfx)tst-printf-round): Depend in $(link-libm).
29189 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
29192 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
29193 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
29195 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
29198 2012-09-13 Joseph Myers <joseph@codesourcery.com>
29200 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
29201 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29202 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29203 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
29205 2012-09-12 Joseph Myers <joseph@codesourcery.com>
29208 * include/rounding-mode.h: New file.
29209 * sysdeps/generic/get-rounding-mode.h: Likewise.
29210 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
29211 * stdlib/strtod_l.c: Include <rounding-mode.h>.
29212 (MAX_VALUE): New macro.
29213 (MIN_VALUE): Likewise.
29214 (overflow_value): New function.
29215 (underflow_value): Likewise.
29216 (round_and_return): Use overflow_value and underflow_value to
29217 determine return values in overflow and underflow cases. Use
29218 round_away to determine rounding depending on rounding mode.
29219 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
29220 determine return values in overflow and underflow cases.
29221 * stdlib/tst-strtod-round.c: Include <fenv.h>.
29222 (struct test_results): New structure.
29223 (struct test): Use struct test_results to store expected results
29224 for all rounding modes.
29225 (TEST): Include expected results for all rounding modes.
29226 (test_in_one_mode): New function.
29227 (do_test): Use test_in_one_mode to compute and check results.
29228 Check results for all rounding modes.
29229 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
29232 2012-12-09 Allan McRae <allan@archlinux.org>
29234 * sysdeps/i386/fpu/libm-test-ulps: Update
29236 2012-09-11 Joseph Myers <joseph@codesourcery.com>
29238 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
29239 (_G_int32_t): Likewise.
29240 (_G_uint16_t): Likewise.
29241 (_G_uint32_t): Likewise.
29242 (_G_HAVE_BOOL): Likewise.
29243 (_G_HAVE_ATEXIT): Likewise.
29244 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29245 (_G_HAVE_IO_FILE_OPEN): Likewise.
29246 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
29247 (_G_int32_t): Likewise.
29248 (_G_uint16_t): Likewise.
29249 (_G_uint32_t): Likewise.
29250 (_G_HAVE_BOOL): Likewise.
29251 (_G_HAVE_ATEXIT): Likewise.
29252 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29253 (_G_HAVE_IO_FILE_OPEN): Likewise.
29254 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
29255 (_G_int32_t): Likewise.
29256 (_G_uint16_t): Likewise.
29257 (_G_uint32_t): Likewise.
29258 (_G_HAVE_BOOL): Likewise.
29259 (_G_HAVE_ATEXIT): Likewise.
29260 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
29261 (_G_HAVE_IO_FILE_OPEN): Likewise.
29263 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
29265 * csu/libc-tls.c: Update copyright years.
29267 2012-09-10 Joseph Myers <joseph@codesourcery.com>
29269 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
29270 [!_G_USING_THUNKS]: Remove conditional code.
29271 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
29272 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
29274 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
29275 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
29276 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29277 (_G_VTABLE_LABEL_PREFIX): Likewise.
29278 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29279 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29281 (_G_VTABLE_LABEL_PREFIX): Likewise.
29282 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29283 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
29284 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
29285 (_G_VTABLE_LABEL_PREFIX): Likewise.
29286 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
29288 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
29290 * libio/Makefile: Include ../Makeconfig before tests.
29291 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
29292 only if $(build-shared) is yes.
29294 * iconv/gconv_db.c: Update copyright years.
29296 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29298 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
29299 unwind info if defined PIC. Fix special cases description.
29300 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
29302 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
29304 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
29306 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
29308 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
29310 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
29313 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
29314 (LDLIBS-tst-chk4): This.
29315 (LDFLAGS-tst-chk5): Renamed to ...
29316 (LDLIBS-tst-chk5): This.
29317 (LDFLAGS-tst-chk6): Renamed to ...
29318 (LDLIBS-tst-chk6): This.
29319 (LDFLAGS-tst-lfschk4): Renamed to ...
29320 (LDLIBS-tst-lfschk4): This.
29321 (LDFLAGS-tst-lfschk5): Renamed to ...
29322 (LDLIBS-tst-lfschk5): This.
29323 (LDFLAGS-tst-lfschk6): Renamed to ...
29324 (LDLIBS-tst-lfschk6): This.
29326 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
29327 on $(common-objpfx)soversions.mk.
29329 2012-09-07 Joseph Myers <joseph@codesourcery.com>
29332 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
29335 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29337 * malloc/arena.c (arena_get_retry): New function that gets
29338 another arena for the caller to try its request on.
29339 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
29340 current arena cannot fulfill the request.
29341 (__libc_memalign): Likewise.
29342 (__libc_memalign): Likewise.
29343 (__libc_pvalloc): Likewise.
29344 (__libc_calloc): Likewise.
29346 2012-09-05 John Tobey <john.tobey@gmail.com>
29349 * manual/arith.texi (Operations on Complex): Fix description
29350 of carg branch cut.
29352 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29355 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
29359 * manual/memory.texi (Memory): Make order of menu items match
29362 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29364 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
29365 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
29366 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
29368 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29370 * csu/libc-tls.c (static_dtv): Renamed to ...
29371 (_dl_static_dtv): This. Make it global.
29372 (_dl_initial_dtv): Removed.
29373 (__libc_setup_tls): Updated.
29374 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
29375 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
29378 2012-09-06 Petr Machata <pmachata@redhat.com>
29380 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
29381 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
29382 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
29383 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
29385 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29388 * csu/libc-tls.c (_dl_initial_dtv): New variable.
29389 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
29392 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
29395 * Makeconfig (link-static-before-libc): Replace $(+prector)
29397 (link-static-after-libc): Replace $(+postctor) with
29399 (link-bounded): Replace $(+prector)/$(+postctor) with
29400 $(+prectorT)/$(+postctorT).
29401 (+prectorT): New macro.
29402 (+postctorT): Likewise.
29404 2012-09-06 Joseph Myers <joseph@codesourcery.com>
29406 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
29407 (round_str): Handle values above the maximum for IBM long double
29409 * stdlib/tst-strtod-round.c (tests): Regenerated.
29411 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29413 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
29415 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
29416 zarch_nohighgprs around the zarch optimized routines.
29417 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29418 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29419 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
29422 2012-09-05 David S. Miller <davem@davemloft.net>
29424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29426 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
29427 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
29428 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
29429 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29432 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29434 * malloc/arena.c: Fold copyright years.
29435 * malloc/mcheck.c, malloc/memusage.c: Likewise.
29437 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29439 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29441 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29443 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
29445 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29447 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29448 change internal state upon failure.
29450 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
29452 * malloc/mcheck.c (mcheck_check_all): Fix typo.
29453 * malloc/memusage.c (mmap): Likewise.
29454 (mmap64, mremap): Likewise. Adjust name in comment.
29456 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29458 * libio/fileops.c: Fix typos in comments.
29459 * libio/oldfileops.c: Likewise.
29460 * libio/wfileops.c: Likewise.
29462 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29465 * malloc/Makefile (tests): Add tst-malloc-usable test case.
29466 (tst-malloc-usable-ENV): Set environment for test case.
29467 * malloc/hooks.c (malloc_check_get_size): New function to get
29469 * malloc/malloc.c (musable): Use malloc_check_get_size.
29470 * malloc/tst-malloc-usable.c: New test case.
29472 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29474 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29476 2012-09-05 Allan McRae <allan@archlinux.org>
29479 * configure.in (CXX_SYSINCLUDES): Use compiler output to
29480 determine header location.
29481 * configure: Regenerated.
29483 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
29485 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29487 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29488 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29490 (test): Regenerate.
29492 2012-09-04 David S. Miller <davem@davemloft.net>
29494 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29495 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29496 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29498 2012-09-04 Florian Weimer <fweimer@redhat.com>
29500 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29503 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29505 2012-09-04 Joseph Myers <joseph@codesourcery.com>
29508 * libio/iogetdelim.c: Include <limits.h>.
29509 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29510 + len + 1 would overflow.
29512 2012-09-03 Andreas Jaeger <aj@suse.de>
29514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29515 * sysdeps/i386/fpu/libm-test-ulps: Update.
29517 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29519 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29520 Add s_sinf-sse2, s_conf-sse2.
29522 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29523 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29524 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29525 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29527 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29528 for using routine as __sinf_ia32.
29529 Use macro for function declaration and weak_alias.
29530 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29531 for using routine as __cosf_ia32.
29532 Use macro for function declaration and weak_alias.
29534 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29535 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29537 * sysdeps/x86_64/fpu/s_sinf.S: New file.
29538 * sysdeps/x86_64/fpu/s_cosf.S: New file.
29539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29541 * math/libm-test.inc (cos_test): Add more test cases.
29542 (sin_test): Likewise.
29543 (sincos_test): Likewise.
29545 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29547 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29548 (IFUNC_RESOLVE): Make pointers to the specialized implementations
29550 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29552 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
29555 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29556 first element of the GOT.
29557 (elf_machine_load_address): Return the difference between
29558 the runtime address of _DYNAMIC and elf_machine_dynamic ().
29560 2012-09-01 Allan McRae <allan@archlinux.org>
29563 * configure.in (AWK): Require gawk version 3.0 or later.
29564 * configure: Regenerated.
29566 2012-09-01 Joseph Myers <joseph@codesourcery.com>
29568 * sysdeps/unix/sysv/linux/kernel-features.h
29569 (__ASSUME_POSIX_CPU_TIMERS): Remove.
29570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29571 [__NR_clock_getres]: Make code unconditional.
29572 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29573 (clock_getcpuclockid): Remove code left unreachable by removal of
29575 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29576 code unconditional.
29577 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29578 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29579 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29580 Make code unconditional.
29581 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29583 * sysdeps/unix/sysv/linux/clock_settime.c
29584 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29586 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29587 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29589 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
29592 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29593 scripts/test-installation.pl.
29595 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29596 and $ld_so_version if it is set.
29598 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29601 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29602 failure if reading from procfs failed.
29603 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29605 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29607 * sysdeps/unix/sysv/linux/kernel-features.h
29608 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29609 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29610 Remove conditional code.
29611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29612 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29613 Remove conditional code.
29614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29615 * sysdeps/unix/sysv/linux/i386/fxstat.c
29616 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29617 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29618 * sysdeps/unix/sysv/linux/i386/fxstatat.c
29619 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29620 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29621 * sysdeps/unix/sysv/linux/i386/lxstat.c
29622 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29623 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29624 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29625 Remove conditional code.
29626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29627 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29628 Remove conditional code.
29629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29630 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29631 <kernel-features.h>.
29632 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29634 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29635 Remove conditional code.
29636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29637 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29638 Remove conditional.
29640 2012-08-27 Mike Frysinger <vapier@gentoo.org>
29643 * NEWS: Add fixed bug number.
29645 2012-08-27 Joseph Myers <joseph@codesourcery.com>
29648 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29649 underflowing exponent in case of negative sign.
29650 * stdlib/tst-strtod-round-data: Add more tests.
29651 * stdlib/tst-strtod-round.c (tests): Regenerated.
29654 * stdlib/strtod_l.c (NDIG): Remove.
29655 (HEXNDIG): Likewise.
29656 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29657 smallest representable value.
29658 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29659 lie within an exact representation of 1/2 ulp of the result.
29660 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29662 (TENS_P9_IDX): Define unconditionally.
29663 (TENS_P9_SIZE): Likewise.
29664 (TENS_P10_IDX): Likewise.
29665 (TENS_P10_SIZE): Likewise.
29666 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29667 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29668 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29669 entries for 10^2^13 and 10^2^14.
29670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29671 (TENS_P13_IDX): Define.
29672 (TENS_P13_SIZE): Likewise.
29673 (TENS_P14_IDX): Likewise.
29674 (TENS_P14_SIZE): Likewise.
29675 (_fpioconst_pow10): Change array size to
29676 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
29678 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29679 1024]: Add entries for 10^2^13 and 10^2^14.
29680 [LAST_POW10 > _LAST_POW10]: Remove #error.
29681 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29682 (_fpioconst_pow10): Change array size to
29683 FPIOCONST_POW10_ARRAY_SIZE.
29684 * stdlib/gen-fpioconst.c: New file.
29685 * stdlib/gen-tst-strtod-round.c: Likewise.
29686 * stdlib/tst-strtod-round-data: Likewise.
29687 * stdlib/tst-strtod-round.c: Likewise.
29688 * stdlib/Makefile (tests): Add tst-strtod-round.
29691 * stdlib/strtod_l.c: Include <stdint.h>.
29692 (NDEBUG): Do not define.
29693 (round_and_return): Change EXPONENT parameter to type intmax_t.
29694 Rearrange calculations to avoid internal overflow possibilities.
29695 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29696 Rearrange calculations to avoid internal overflow possibilities.
29697 Assert that number fits inside MPNSIZE limbs.
29698 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29699 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
29700 calculations and add assertions to avoid internal overflow
29701 possibilities. Add casts to avoid signed/unsigned operations.
29702 * stdlib/tst-strtod-overflow.c: New file.
29703 * stdlib/Makefile (tests): Add tst-strtod-overflow.
29705 2012-08-25 Marek Polacek <polacek@redhat.com>
29707 * time/time.h: Fix some typos in comments.
29709 2012-08-23 Roland McGrath <roland@hack.frob.com>
29711 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29712 * posix/tst-rfc3484-2.c: Likewise.
29713 * posix/tst-rfc3484-3.c: Likewise.
29715 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
29717 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29718 (EF_ARM_ABI_FLOAT_HARD): Likewise.
29720 2012-08-23 Joseph Myers <joseph@codesourcery.com>
29722 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29723 #include of fxstatat64.c.
29725 2012-08-22 Roland McGrath <roland@hack.frob.com>
29727 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29728 * shadow/getspent_r.c: Likewise.
29729 * shadow/getspnam.c: Likewise.
29730 * shadow/getspnam_r.c: Likewise.
29731 * gshadow/getsgent.c: Likewise.
29732 * gshadow/getsgent_r.c: Likewise.
29733 * gshadow/getsgnam.c: Likewise.
29734 * gshadow/getsgnam_r.c: Likewise.
29735 * inet/getnetbyad.c: Likewise.
29736 * inet/getnetbyad_r.c: Likewise.
29737 * inet/getnetbynm.c: Likewise.
29738 * inet/getnetbynm_r.c: Likewise.
29739 * inet/getnetent.c: Likewise.
29740 * inet/getnetent_r.c: Likewise.
29741 * inet/getproto.c: Likewise.
29742 * inet/getproto_r.c: Likewise.
29743 * inet/getprtent.c: Likewise.
29744 * inet/getprtent_r.c: Likewise.
29745 * inet/getprtname.c: Likewise.
29746 * inet/getprtname_r.c: Likewise.
29747 * inet/getrpcbyname.c: Likewise.
29748 * inet/getrpcbyname_r.c: Likewise.
29749 * inet/getrpcbynumber.c: Likewise.
29750 * inet/getrpcbynumber_r.c: Likewise.
29751 * inet/getrpcent.c: Likewise.
29752 * inet/getrpcent_r.c: Likewise.
29753 * inet/getaliasent.c: Likewise.
29754 * inet/getaliasent_r.c: Likewise.
29755 * inet/getaliasname.c: Likewise.
29756 * inet/getaliasname_r.c: Likewise.
29757 * nscd/getgrgid_r.c: Likewise.
29758 * nscd/getgrnam_r.c: Likewise.
29759 * nscd/gethstbyad_r.c: Likewise.
29760 * nscd/gethstbynm3_r.c: Likewise.
29761 * nscd/getpwnam_r.c: Likewise.
29762 * nscd/getpwuid_r.c: Likewise.
29763 * nscd/getsrvbynm_r.c: Likewise.
29764 * nscd/getsrvbypt_r.c: Likewise.
29765 * nscd/gai.c: Likewise.
29767 * configure.in (build_nscd): New substituted variable, set
29768 by --disable-build-nscd and defaults to $use_nscd.
29769 * configure: Regenerated.
29770 * config.make.in (build-nscd): New substituted variable.
29771 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29772 Change conditional to require [$(build-nscd) = yes] as well.
29773 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29776 * configure.in (use_nscd): New substituted variable, set by
29777 --disable-nscd. If enabled, define USE_NSCD.
29778 * configure: Regenerated.
29779 * config.h.in: Add USE_NSCD.
29780 * config.make.in (use-nscd): New substituted variable.
29781 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29782 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29783 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29784 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29785 (CFLAGS-getgrnam_r.c): Likewise.
29786 (CFLAGS-initgroups.c): Likewise.
29787 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29788 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29790 * inet/getnetgrent_r.c
29791 (nscd_setnetgrent): New function, broken out of ...
29792 (setnetgrent): ... here. Call it.
29793 (innetgr): Conditionalize nscd bits on [USE_NSCD].
29794 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29795 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29796 * nscd/Makefile (routines, aux): Move definitions after include of
29797 Makeconfig. Conditionalize on [$(use-nscd) != no].
29798 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29799 Conditionalize on [USE_NSCD].
29800 (is_nscd, nscd_init_cb): Likewise.
29801 (nss_load_library): Conditionalize init callback on [USE_NSCD].
29802 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29803 * nss/nss_db/db-init.c: Likewise.
29804 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29806 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29807 (make_request): Use it.
29808 (cache_valid_p): New function.
29809 (__check_pf): Use it.
29810 * NEWS: Add item for --disable-nscd.
29812 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
29814 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29815 to support sed >= 4.2.1-20-ga9bf076.
29816 * configure: Regenerated.
29818 2012-08-22 Roland McGrath <roland@hack.frob.com>
29820 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29821 Conditionalize whole body on [IREL].
29823 2012-08-22 Jeff Law <law@redhat.com>
29826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29827 if the family is PF_UNSPEC.
29829 2012-08-22 Mike Frysinger <vapier@gentoo.org>
29831 * Makerules (lib-version): Rename from V.
29832 (install-lib-nosubdir): Change V to lib-version.
29834 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
29837 * powerpc32/power6/wcschr.c: New file.
29838 * powerpc32/power6/wcscpy.c: New file.
29839 * powerpc32/power6/wcsrchr.c: New file.
29840 * powerpc64/power6/wcschr.c: New file.
29841 * powerpc64/power6/wcscpy.c: New file.
29842 * powerpc64/power6/wcsrchr.c: New file.
29844 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29846 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29847 (two_way_short_needle): Use it.
29848 * string/strstr.c (AVAILABLE1_USES_J): Define.
29849 * string/strcasestr.c: Likewise.
29851 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29853 * string/strcasestr.c (TOLOWER): Make side-effect safe.
29856 * NEWS: Add an entry.
29857 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29858 define their defaults.
29859 (two_way_short_needle): Detect end-of-string on-the-fly.
29860 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29861 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29862 * string/bug-strcasestr1.c: New test.
29863 * string/Makefile: Run it.
29865 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
29868 * string/str-two-way.h (two_way_short_needle): Optimize matching of
29869 the first character.
29871 2012-08-21 Roland McGrath <roland@hack.frob.com>
29873 * csu/elf-init.c (__libc_csu_irel): Function removed.
29874 * csu/libc-start.c (apply_irel): New function.
29875 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29877 2012-08-21 Joseph Myers <joseph@codesourcery.com>
29879 * sysdeps/unix/sysv/linux/kernel-features.h
29880 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29881 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29882 <kernel-features.h>.
29883 [__NR_fadvise64_64]: Make code unconditional.
29884 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29885 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29886 !__NR_fadvise64_64)]: Likewise.
29887 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29888 !__NR_fadvise64_64))]: Likewise.
29889 [__NR_fadvise64]: Make code unconditional.
29890 [!__NR_fadvise64]: Remove conditional code.
29891 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29892 <kernel-features.h>.
29893 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29895 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29898 not include <kernel-features.h>.
29899 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29901 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29903 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29904 include <kernel-features.h>.
29905 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29907 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29910 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29913 slight instruction rearrangements per scrollpipe analysis.
29914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29916 2012-08-20 Roland McGrath <roland@hack.frob.com>
29918 * manual/syslog.texi (syslog; vsyslog, closelog):
29919 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29920 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29922 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29923 DSOCAPS to match condition on defining it.
29925 2012-08-20 Joseph Myers <joseph@codesourcery.com>
29927 * sysdeps/unix/sysv/linux/kernel-features.h
29928 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29930 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29931 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29933 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29934 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29936 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29937 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29939 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29940 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29942 * sysdeps/unix/sysv/linux/kernel-features.h
29943 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29944 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29946 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29947 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29948 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29949 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29950 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29951 Make code unconditional.
29952 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29953 (__mmap64) [!__NR_mmap2]: Likewise.
29954 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29955 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29956 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29957 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29958 [__NR_mmap2]: Make code unconditional.
29959 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29960 (__mmap64) [!__NR_mmap2]: Likewise.
29962 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29964 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29966 2012-08-18 Andreas Jaeger <aj@suse.de>
29968 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29970 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29972 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29973 * include/unistd.h (__have_sock_cloexec): Likewise.
29974 (__have_pipe2): Likewise.
29975 (__have_dup3): Likewise.
29977 2012-08-18 Mike Frysinger <vapier@gentoo.org>
29980 * include/unistd.h (__have_pipe2): Change define into an extern int.
29981 (__have_dup3): Likewise.
29982 * socket/have_sock_cloexec.c: Include fcntl.h.
29983 (__have_pipe2): New variable.
29984 (__have_dup3): Likewise.
29986 2012-08-17 Mike Frysinger <vapier@gentoo.org>
29988 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29990 2012-08-17 Marek Polacek <polacek@redhat.com>
29992 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29993 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29995 2012-08-17 Roland McGrath <roland@hack.frob.com>
29997 * configure.in: Add AC_SUBST for sysheaders.
29998 * configure: Regenerated.
29999 * config.make.in (sysheaders): New substituted variable.
30001 * sysdeps/unix/mkfifo.c: Moved ...
30002 * sysdeps/posix/mkfifo.c: ... here.
30003 * sysdeps/unix/mkfifoat.c: Moved ...
30004 * sysdeps/posix/mkfifoat.c: ... here.
30006 * sysdeps/unix/utime.c: Moved ...
30007 * sysdeps/posix/utime.c: ... here.
30009 * sysdeps/unix/time.c: Moved ...
30010 * sysdeps/posix/time.c: ... here.
30011 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
30012 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
30014 * sysdeps/unix/nice.c: Moved ...
30015 * sysdeps/posix/nice.c: ... here.
30017 * sysdeps/unix/alarm.c: Moved ...
30018 * sysdeps/posix/alarm.c: ... here.
30020 * intl/Makefile ($(codeset_mo)): Depend on the input file.
30022 2012-08-17 Jeff Law <law@redhat.com>
30024 * intl/Makefile (codeset_mo): New variable.
30025 ($(codeset_mo)): New target.
30026 (tst-codeset.out): Depend on that. Remove explicit rule.
30027 (tst-gettext3.out, tst-gettext5.out): Likewise.
30028 (LOCPATH-ENV, tst-codeset-ENV): New variables.
30029 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
30030 * intl/tst-codeset.sh: Remove.
30031 * intl/tst-gettext3.sh: Likewise.
30032 * intl/tst-gettext5.sh: Likewise.
30034 2012-08-17 Roland McGrath <roland@hack.frob.com>
30036 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
30037 * sysdeps/unix/syscalls.list: ... here.
30039 * sysdeps/posix/getaddrinfo.c
30040 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
30041 (gaiconf_init, gaiconf_reload): Use them.
30042 [!_STATBUF_ST_NSEC]
30043 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
30044 Define using time_t rather than struct timespec.
30046 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
30047 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
30049 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
30051 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
30052 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
30055 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
30056 __libc_cleanup_push argument.
30058 * bits/param.h: New file.
30059 * misc/sys/param.h: New file.
30060 * include/sys/param.h: New file.
30061 * misc/Makefile (headers): Add bits/param.h.
30062 * sysdeps/generic/sys/param.h: File removed.
30063 * sysdeps/unix/sysv/linux/bits/param.h: New file.
30064 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
30065 * sysdeps/mach/hurd/bits/param.h: New file.
30066 * sysdeps/mach/hurd/sys/param.h: File removed.
30068 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
30071 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
30073 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
30074 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
30077 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
30078 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
30079 rather than -D_IO_MTSAFE_IO conditionally.
30080 * stdio-common/Makefile (CPPFLAGS): Likewise.
30081 * wcsmbs/Makefile (CPPFLAGS): Likewise.
30082 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
30083 Use $(libio-mtsafe).
30084 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
30085 of -D_IO_MTSAFE_IO.
30086 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
30087 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
30088 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
30089 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
30090 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
30091 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
30092 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
30093 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
30094 (CFLAGS-fread_u_chk.c): Likewise.
30095 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
30096 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
30097 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
30098 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
30099 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
30100 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
30101 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
30102 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
30103 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
30105 * libio/Makefile: Test [$(libc-reentrant) = yes]
30106 instead of [$(filter %REENTRANT, $(defines)) nonempty].
30109 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
30110 * sysdeps/pthread/configure: File removed.
30111 * sysdeps/pthread/Makeconfig: New file.
30112 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
30113 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
30115 2012-08-16 Gary Benson <gbenson@redhat.com>
30117 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
30118 unmapping the first object in a namespace.
30120 2012-08-16 Roland McGrath <roland@hack.frob.com>
30122 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
30123 (__internal_setnetgrent): ... this. Add internal_function to
30124 definition. Add libc_hidden_def.
30125 (setnetgrent): Update caller.
30126 (internal_endnetgrent): Renamed to ...
30127 (__internal_endnetgrent): ... this. Add internal_function to
30128 definition. Add libc_hidden_def.
30129 (endnetgrent): Update caller.
30130 (internal_getnetgrent_r): Renamed to ...
30131 (__internal_getnetgrent_r): ... this. Add internal_function to
30132 definition. Add libc_hidden_def.
30133 (__getnetgrent_r): Update caller.
30134 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
30136 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30138 * stdlib/longlong.h: Update from GCC.
30140 2012-08-16 Roland McGrath <roland@hack.frob.com>
30142 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
30143 on _QL, which is set by umul_ppmm but never used.
30144 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
30145 variables, which are set by GMP macros but never used.
30146 * stdio-common/_itowa.c (_itowa): Likewise.
30147 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
30148 * stdlib/mod_1.c (mpn_mod_1): Likewise.
30150 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
30152 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
30153 struct La_sh_regs is not constant.
30154 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
30155 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
30156 and struct La_sparc64_regs are not constant.
30158 2012-08-16 Joseph Myers <joseph@codesourcery.com>
30160 * sysdeps/unix/sysv/linux/kernel-features.h
30161 (__ASSUME_POSIX_TIMERS): Remove.
30162 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30163 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30164 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
30165 Make code unconditional.
30166 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30167 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
30168 Make code unconditional.
30169 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30170 * sysdeps/unix/sysv/linux/clock_nanosleep.c
30171 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
30172 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30173 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
30174 Make code unconditional.
30175 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
30176 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
30177 (__libc_missing_posix_timers): Remove.
30179 2012-08-15 Roland McGrath <roland@hack.frob.com>
30181 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
30182 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
30184 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
30186 * elf/dl-sym.c: Include <stdlib.h>.
30188 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
30189 constants, which avoids warnings in 32-bit builds.
30191 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
30192 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
30194 * misc/lseek.c: File moved to ...
30195 * io/lseek.c: ... here.
30197 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
30199 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
30200 shifting LEN more than 31 bits at once.
30202 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30205 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
30206 segmentation fault for a case of two empty input strings.
30207 * string/test-strncasecmp.c (check1): Renamed to...
30208 (bz12205): ...this.
30209 (bz14195): Add new testcase for two empty input strings and N > 0.
30210 (test_main): Call new testcase, adapt for renamed function.
30212 2012-08-15 Andreas Jaeger <aj@suse.de>
30215 * crypt/md5test2.c: New test, based on test supplied by Serge
30216 Belyshev <belyshev@depni.sinp.msu.ru>.
30217 * crypt/Makefile (xtests): Add md5test-giant..
30218 * crypt/Makefile ($(objpfx)md5test-giant): Add.
30220 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
30223 * crypt/md5.c (md5_process_block): Don't assume the buffer
30224 length is less than 2**32.
30225 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
30226 length is less than 2**64.
30228 2012-08-15 Roland McGrath <roland@hack.frob.com>
30230 * string/str-two-way.h: Include <sys/param.h>.
30231 (MAX): Macro removed.
30233 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
30234 Move #define and #undef of memmove to just before and after
30235 including <string.h>.
30237 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
30238 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
30239 and after including <string.h>. Move declarations of
30240 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
30241 to before #include "string/memmove.c".
30243 * include/dirent.h: Declare __getdirentries.
30245 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
30246 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
30248 2012-08-14 Mike Frysinger <vapier@gentoo.org>
30250 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
30251 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
30252 * sysdeps/i386/configure: Regenerated.
30253 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
30254 STABS_CURRENT_FILE, and STABS_FUN.
30255 (END): Remove call to STABS_FUN_END.
30256 (STABS_CURRENT_FILE1): Delete.
30257 (STABS_CURRENT_FILE): Likewise.
30258 (STABS_FUN): Likewise.
30259 (STABS_FUN_END): Likewise.
30260 (STABS_FUN2): Likewise.
30261 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
30262 * sysdeps/x86_64/configure: Regenerated.
30264 2012-08-14 Roland McGrath <roland@hack.frob.com>
30266 * elf/dl-open.c: Include <atomic.h>.
30267 * elf/dl-lookup.c: Likewise.
30269 2012-08-14 Joseph Myers <joseph@codesourcery.com>
30271 * sysdeps/unix/sysv/linux/kernel-features.h
30272 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
30273 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
30275 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
30277 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
30278 condition on __ASSUME_CLONE_THREAD_FLAGS.
30280 2012-08-14 Andreas Jaeger <aj@suse.de>
30282 * sysdeps/i386/fpu/libm-test-ulps: Update.
30284 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
30286 * include/atomic.h (atomic_exchange_and_add): Split into ...
30287 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
30290 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
30292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30294 2012-08-13 Jeff Law <law@redhat.com>
30296 * manual/stdio.texi (snprintf): Clarify handling of the trailing
30297 null byte in the output string.
30299 2012-08-10 Joseph Myers <joseph@codesourcery.com>
30301 * sysdeps/unix/sysv/linux/kernel-features.h
30302 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
30303 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
30304 (__ASSUME_ARG_MAX_STACK_BASED): Define.
30305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
30306 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
30307 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
30308 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
30310 2012-08-09 Jeff Law <law@redhat.com>
30313 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
30314 When avoid_arena is set, don't retry in the that arena. Pick the
30315 next one, whatever it might be.
30316 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
30317 (arena_lock): Pass in new parameter to arena_get2.
30318 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
30320 (__libc_malloc): Unify retrying after main arena failure with
30321 __libc_memalign version.
30322 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
30324 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
30327 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
30328 to __redirect_strstr.
30329 (__strstr_sse42): Use typeof __redirect_strstr.
30330 (__strstr_ia32): Likewise.
30331 (__libc_strstr): New prototype.
30332 (strstr): Renamed to ...
30333 (__libc_strstr): This.
30334 (strstr): New strong alias of __libc_strstr.
30335 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
30336 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
30339 (__libc_time): New prototype.
30340 (time_ifunc): Replace time with __libc_time.
30341 (time): New strong alias and hidden definition of __libc_time.
30342 (__GI_time): Remove strong alias.
30343 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
30344 Include <stddef.h>.
30345 (memmove): Redefined to __redirect_memmove.
30346 (__memmove_sse2): Use typeof __redirect_memmove.
30347 (__memmove_ssse3): Likewise.
30348 (__memmove_ssse3_back): Likewise.
30349 (__libc_memmove): New prototype.
30350 (memmove): Renamed to ...
30351 (__libc_memmove): This.
30352 (memmove): New strong alias of __libc_memmove.
30354 2012-08-08 Mark Salter <msalter@redhat.com>
30357 (R_MN10300_TLS_GD): Define.
30358 (R_MN10300_TLS_LD): Likewise.
30359 (R_MN10300_TLS_LDO): Likewise.
30360 (R_MN10300_TLS_GOTIE): Likewise.
30361 (R_MN10300_TLS_IE): Likewise.
30362 (R_MN10300_TLS_LE): Likewise.
30363 (R_MN10300_TLS_DTPMOD): Likewise.
30364 (R_MN10300_TLS_DTPOFF): Likewise.
30365 (R_MN10300_TLS_TPOFF): Likewise.
30366 (R_MN10300_SYM_DIFF): Likewise.
30367 (R_MN10300_ALIGN): Likewise.
30368 (R_MN10300_NUM): Update.
30370 2012-08-08 Joseph Myers <joseph@codesourcery.com>
30372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
30375 2012-08-08 Roland McGrath <roland@hack.frob.com>
30377 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
30379 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
30380 sysdeps/unix -> sysdeps/posix move.
30381 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30383 2012-08-07 Allan McRae <allan@archlinux.org>
30386 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
30387 (SUNOS_CPP): Likewise.
30388 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
30390 (open_input): Call CPP using execvp.
30392 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30394 * sysdeps/unix/sysv/linux/kernel-features.h
30395 (__ASSUME_PROT_GROWSUPDOWN): Remove.
30396 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30397 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30398 (__ASSUME_WAITID_SYSCALL): Likewise.
30399 * sysdeps/unix/sysv/linux/dl-execstack.c
30400 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
30401 code unconditional.
30402 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
30404 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
30405 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
30406 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
30408 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
30410 [__ASSUME_WAITID_SYSCALL]: Likewise.
30411 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
30413 2012-08-07 Roland McGrath <roland@hack.frob.com>
30415 * sysdeps/unix/closedir.c: Renamed to ...
30416 * sysdeps/posix/closedir.c: ... here.
30417 * sysdeps/unix/dirfd.c: Renamed to ...
30418 * sysdeps/posix/dirfd.c: ... here.
30419 * sysdeps/unix/dirstream.h: Renamed to ...
30420 * sysdeps/posix/dirstream.h: ... here.
30421 * sysdeps/unix/fdopendir.c: Renamed to ...
30422 * sysdeps/posix/fdopendir.c: ... here.
30423 * sysdeps/unix/opendir.c: Renamed to ...
30424 * sysdeps/posix/opendir.c: ... here.
30425 * sysdeps/unix/readdir.c: Renamed to ...
30426 * sysdeps/posix/readdir.c: ... here.
30427 * sysdeps/unix/readdir_r.c: Renamed to ...
30428 * sysdeps/posix/readdir_r.c: ... here.
30429 * sysdeps/unix/rewinddir.c: Renamed to ...
30430 * sysdeps/posix/rewinddir.c: ... here.
30431 * sysdeps/unix/seekdir.c: Renamed to ...
30432 * sysdeps/posix/seekdir.c: ... here.
30433 * sysdeps/unix/telldir.c: Renamed to ...
30434 * sysdeps/posix/telldir.c: ... here.
30435 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30436 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30437 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30438 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30440 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30441 * bits/fcntl.h: ... here.
30443 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30445 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30446 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30447 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30448 (struct flock): Move l_start, l_len to the beginning.
30449 Use __pid_t for l_pid.
30450 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30451 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30452 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30453 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30454 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30455 [__USE_LARGEFILE64] (struct flock64): New type.
30456 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30458 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30459 * bits/dirent.h: ... here.
30461 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30462 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30464 2012-08-07 Joseph Myers <joseph@codesourcery.com>
30466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30467 Change from 2.6.0 to 2.6.16.
30468 * sysdeps/unix/sysv/linux/configure: Regenerated.
30469 * sysdeps/unix/sysv/linux/kernel-features.h
30470 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30471 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30473 (__ASSUME_UTIMES): Likewise.
30474 (__ASSUME_CLONE_STOPPED): Remove.
30475 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30476 architectures, not kernel version.
30477 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30478 (__ASSUME_NO_CLONE_DETACHED): Likewise.
30479 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30480 (__ASSUME_WAITID_SYSCALL): Likewise.
30481 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30482 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30483 * README: State 2.6.16 as minimum Linux kernel version. Do not
30484 refer to older versions.
30486 2012-08-06 Roland McGrath <roland@hack.frob.com>
30488 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30489 Define alphasort64 as an alias.
30490 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30491 Define versionsort64 as an alias.
30492 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30493 Define scandir64 as an alias.
30494 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30495 Define scandirat64 as an alias.
30496 * dirent/alphasort64.c (alphasort64):
30497 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30498 * dirent/versionsort64.c: Likewise.
30499 * dirent/scandir64.c: Likewise.
30500 * dirent/scandirat64.c: Likewise.
30501 * sysdeps/wordsize-64/alphasort.c: File removed.
30502 * sysdeps/wordsize-64/alphasort64.c: File removed.
30503 * sysdeps/wordsize-64/scandir.c: File removed.
30504 * sysdeps/wordsize-64/scandir64.c: File removed.
30505 * sysdeps/wordsize-64/scandirat.c: File removed.
30506 * sysdeps/wordsize-64/scandirat64.c: File removed.
30507 * sysdeps/wordsize-64/versionsort.c: File removed.
30508 * sysdeps/wordsize-64/versionsort64.c: File removed.
30509 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30511 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30512 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30513 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30514 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30515 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30516 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30518 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30520 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30522 [defined __arch64__ || defined __sparcv9]
30523 (__INO_T_MATCHES_INO64_T): New macro.
30524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30525 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30526 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30527 * sysdeps/unix/sysv/linux/bits/dirent.h
30528 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30529 (_DIRENT_MATCHES_DIRENT64): New macro.
30531 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30532 Define lockf64 as an alias.
30533 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30534 Define fseeko64 as an alias.
30535 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30536 Define ftello64 as an alias.
30537 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30538 Define _IO_fgetpos64 and fgetpos64 as aliases.
30539 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30540 Define _IO_fsetpos64 and fsetpos64 as aliases.
30541 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30542 Conditionalize body on this.
30543 * libio/fseeko64.c: Likewise.
30544 * libio/ftello64.c: Likewise.
30545 * libio/iofgetpos64.c: Likewise.
30546 * libio/iofsetpos64.c: Likewise.
30547 * sysdeps/wordsize-64/lockf.c: File removed.
30548 * sysdeps/wordsize-64/lockf64.c: File removed.
30549 * sysdeps/wordsize-64/fseeko.c: File removed.
30550 * sysdeps/wordsize-64/fseeko64.c: File removed.
30551 * sysdeps/wordsize-64/ftello.c: File removed.
30552 * sysdeps/wordsize-64/ftello64.c: File removed.
30553 * sysdeps/wordsize-64/iofgetpos.c: File removed.
30554 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30555 * sysdeps/wordsize-64/iofsetpos.c: File removed.
30556 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30557 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30558 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30559 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30560 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30561 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30562 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30564 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30568 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30570 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30572 [defined __arch64__ || defined __sparcv9]
30573 (__OFF_T_MATCHES_OFF64_T): New macro.
30574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30575 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30577 (__OFF_T_MATCHES_OFF64_T): New macro.
30579 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30581 * stdlib/secure-getenv.c (__secure_getenv): Replace
30582 GLIBC_2_16 with GLIBC_2_17.
30584 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
30586 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30589 2012-08-03 David S. Miller <davem@davemloft.net>
30591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30593 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30597 (__ASSUME_CORRECT_SI_PID): Likewise.
30598 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30599 (__ASSUME_TMPFS_NAME): Likewise.
30600 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30601 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30602 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30603 (HAVE_AUX_SECURE): Make definition unconditional.
30604 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30605 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30607 2012-08-03 Roland McGrath <roland@hack.frob.com>
30609 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30610 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30611 * sysdeps/mach/hurd/eloop-threshold.h: New file.
30612 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30613 __eloop_threshold instead of SYMLOOP_MAX.
30615 * sysdeps/generic/eloop-threshold.h: New file.
30616 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30618 * elf/chroot_canon.c (chroot_canon): Likewise.
30620 2012-08-03 Joseph Myers <joseph@codesourcery.com>
30623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30624 Change to 2.6.0 everywhere.
30625 * sysdeps/unix/sysv/linux/configure: Regenerated.
30626 * sysdeps/unix/sysv/linux/kernel-features.h
30627 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30628 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30630 (__ASSUME_POSIX_TIMERS): Define unconditionally.
30631 (__ASSUME_FUTEX_REQUEUE): Remove.
30632 (__ASSUME_STATFS64): Define unconditionally.
30633 (__ASSUME_AT_SECURE): Likewise.
30634 (__ASSUME_CORRECT_SI_PID): Likewise.
30635 (__ASSUME_TGKILL): Define without depending on kernel version for
30637 (__ASSUME_UTIMES): Likewise.
30638 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30640 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30641 (__ASSUME_TMPFS_NAME): Likewise.
30642 * README: Update reference to Linux kernel versions.
30644 2012-08-02 Marek Polacek <polacek@redhat.com>
30647 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
30648 libc_cv_asm_type_prefix with %.
30649 * configure: Regenerated.
30650 * include/libc-symbols.h: Remove comment about
30651 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30652 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30653 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30654 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30655 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30656 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30657 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30658 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30659 * elf/tst-unique2mod1.c: Likewise.
30660 * elf/tst-unique1mod2.c: Likewise.
30661 * elf/tst-unique1mod1.c: Likewise.
30662 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30663 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30664 Replace ASM_TYPE_DIRECTIVE with .type.
30665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30666 * sysdeps/i386/sysdep.h: Likewise.
30667 * sysdeps/x86_64/sysdep.h: Likewise.
30668 * sysdeps/sh/sysdep.h: Likewise.
30669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30670 Do not define ASM_TYPE_DIRECTIVE.
30671 * sysdeps/powerpc/sysdep.h: Likewise.
30672 * sysdeps/powerpc/powerpc32/sysdep.h:
30673 Replace ASM_TYPE_DIRECTIVE with .type.
30674 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30675 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30676 * sysdeps/i386/fpu/e_powf.S: Likewise.
30677 * sysdeps/i386/fpu/e_expl.S: Likewise.
30678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30679 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30680 * sysdeps/i386/fpu/e_pow.S: Likewise.
30681 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30682 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30683 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30684 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30685 * sysdeps/i386/fpu/e_log2.S: Likewise.
30686 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30687 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30688 * sysdeps/i386/fpu/e_powl.S: Likewise.
30689 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30690 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30691 * sysdeps/i386/fpu/e_logl.S: Likewise.
30692 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30697 * sysdeps/i386/fpu/e_log.S: Likewise.
30698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30699 * sysdeps/i386/fpu/e_logf.S: Likewise.
30700 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30701 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30702 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30703 * sysdeps/i386/fpu/e_log10.S: Likewise.
30704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30709 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30710 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30711 * sysdeps/i386/i686/strtok.S: Likewise.
30712 * sysdeps/i386/i386-mcount.S: Likewise.
30713 * sysdeps/i386/strtok.S: Likewise.
30714 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30718 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30719 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30720 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30721 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30722 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30723 * sysdeps/x86_64/_mcount.S: Likewise.
30724 * sysdeps/x86_64/strtok.S: Likewise.
30725 * sysdeps/sh/_mcount.S: Likewise.
30727 2012-08-01 Roland McGrath <roland@hack.frob.com>
30729 * libio/iofopen.c: Include <fcntl.h>.
30730 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30731 (_IO_fopen64, fopen64): Define as aliases.
30732 * libio/iofopen64.c: Include <fcntl.h>.
30733 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30734 Conditionalize body on this.
30735 * sysdeps/wordsize-64/iofopen.c: File removed.
30736 * sysdeps/wordsize-64/iofopen64.c: File removed.
30738 2012-08-01 Marek Polacek <polacek@redhat.com>
30740 * libc/Makeconfig: Use elf in place of binfmt-subdir.
30741 Use dlfcn directly instead of a variable.
30742 (binfmt-subdir): Do not define.
30745 2012-08-01 Joseph Myers <joseph@codesourcery.com>
30747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30748 Remove all definitions.
30749 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30750 <kernel-features.h>.
30751 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30752 (miss_F_GETOWN_EX): Remove all definitions.
30753 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30755 [!__ASSUME_FCNTL64]: Remove conditional code.
30756 [__ASSUME_FCNTL64]: Make code unconditional.
30757 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30758 <kernel-features.h>.
30759 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30760 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30761 (lockf64) [__NR_fcntl64]: Make code unconditional.
30762 (lockf64) [__ASSUME_FCNTL64]: Likewise.
30764 * sysdeps/unix/sysv/linux/kernel-features.h
30765 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30766 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30767 Make code unconditional.
30768 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30769 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30771 [__NR_vfork]: Make code unconditional.
30772 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30773 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30775 [__NR_vfork]: Make code unconditional.
30776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30779 2012-08-01 Roland McGrath <roland@hack.frob.com>
30781 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30782 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30784 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30785 Define mkstemp64 as an alias.
30786 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30787 Define mkstemps64 as an alias.
30788 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30789 Define mkostemp64 as an alias.
30790 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30791 Define mkostemps64 as an alias.
30792 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30793 Conditionalize body on this.
30794 * misc/mkostemp64.c: Likewise.
30795 * misc/mkostemps64.c: Likewise.
30796 * misc/mkstemps64.c: Likewise.
30797 * sysdeps/wordsize-64/mkstemp64.c: File removed.
30798 * sysdeps/wordsize-64/mkostemp64.c: File removed.
30799 * sysdeps/wordsize-64/mkostemp.c: File removed.
30800 * sysdeps/wordsize-64/mkstemp.c: File removed.
30801 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30802 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30803 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30804 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30807 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30808 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30809 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30810 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30812 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30813 compat_symbol macros from <shlib-compat.h> rather than the underlying
30814 default_symbol_version and symbol_version macros, so that DEFAULT
30815 lines in shlib-versions are respected.
30816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30818 2012-08-01 Florian Weimer <fweimer@redhat.com>
30820 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30821 Declare with warn_unused_result.
30822 (setgid, setregid, setegid, setresgid): Likewise.
30823 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30825 * WUR-REPORT: Remove set*id functions.
30827 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
30829 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30831 2012-07-31 Roland McGrath <roland@hack.frob.com>
30834 * include/sys/socket.h (__libc_accept, __libc_accept4):
30835 Add attribute_hidden.
30836 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30838 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30840 * inet/getnetgrent_r.c (setup): Likewise.
30842 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30844 2012-07-31 David S. Miller <davem@davemloft.net>
30846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30848 2012-07-31 Joseph Myers <joseph@codesourcery.com>
30851 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30852 value between 1.0 and 2.0 and smaller part has absolute value less
30854 * math/s_clog10.c (__clog10): Likewise.
30855 * math/s_clog10f.c (__clog10f): Likewise.
30856 * math/s_clog10l.c (__clog10l): Likewise.
30857 * math/s_clogf.c (__clogf): Likewise.
30858 * math/s_clogl.c (__clogl): Likewise.
30859 * math/libm-test.inc (clog_test): Add more tests.
30860 (clog10_test): Likewise.
30861 * sysdeps/i386/fpu/libm-test-ulps: Update.
30862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30864 2012-07-31 Florian Weimer <fweimer@redhat.com>
30866 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30867 Exit with zero in case no suitable GID is found, and write a
30868 message to standard error.
30870 2012-07-30 Roland McGrath <roland@hack.frob.com>
30872 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30874 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30875 (MAXPATHLEN): Removed.
30876 (NOGROUP, NODEV): New macros.
30877 (setbit, clrbit, isset, isclr): New macros.
30878 (howmany, roundup, powerof2): New macros.
30879 (DEV_BSIZE): New macro.
30881 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30882 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30884 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30885 definition on [!__NO_LONG_DOUBLE_MATH].
30887 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30888 PTR_MANGLE and PTR_DEMANGLE.
30890 * socket/accept4.c (accept4): Rename to __libc_accept4.
30891 Define accept4 as a weak alias.
30893 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30894 on [_DIRENT_HAVE_D_TYPE].
30895 * io/ftw.c (ftw_dir): Likewise.
30897 * io/xmknod.c (__xmknod): Don't check PATH for being null.
30899 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30901 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30902 Use the BSD numbers rather than the arbitrary ones we had.
30903 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30904 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30905 (SIGXCPU, SIGXFSZ): New macros.
30908 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30909 initializer on [_LIBC_REENTRANT].
30911 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30912 definitions inside [_POSIX_MAPPED_FILES].
30914 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30916 * dirent/opendir.c: Include <fcntl.h>.
30918 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30919 (__libc_getspecific): Likewise.
30920 (__libc_key_create): Likewise.
30922 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30923 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30924 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30925 (tmpfile64): Define as alias.
30926 * sysdeps/wordsize-64/tmpfile.c: File removed.
30927 * sysdeps/wordsize-64/tmpfile64.c: File removed.
30928 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30931 * stdio-common/vfscanf.c: Include <stdbool.h>.
30932 * nss/makedb.c: Likewise.
30933 * stdio-common/_i18n_number.h: Likewise.
30934 * argp/argp-help.c: Likewise.
30935 * posix/wordexp.c: Likewise.
30936 * sysdeps/posix/spawni.c: Likewise.
30937 * nss/nss_files/files-initgroups.c: Likewise.
30938 * stdio-common/reg-modifier.c: Include <stdlib.h>.
30939 * nss/nss_files/files-initgroups.c: Likewise.
30940 * nss/nss_db/db-netgrp.c: Likewise.
30941 * nss/nss_db/db-initgroups.c: Likewise.
30942 * io/fchmodat.c: Include <sys/stat.h>.
30944 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30945 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30947 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30950 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30951 Add multiple inclusion protection.
30953 2012-07-27 David S. Miller <davem@davemloft.net>
30955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30957 2012-07-27 Gary Benson <gbenson@redhat.com>
30960 * elf/rtld.c: Include <stap-probe.h>.
30961 (dl_main): Added static probes "init_start" and "init_complete".
30962 * elf/dl-load.c: Include <stap-probe.h>.
30963 (lose): Take new parameter "nsid".
30964 Added static probe "map_failed".
30965 (_dl_map_object_from_fd): Pass namespace id to lose.
30966 Added static probe "map_start".
30967 (open_verify): Pass namespace id to lose.
30968 * elf/dl-open.c: Include <stap-probe.h>.
30969 (dl_open_worker) Added static probes "map_complete", "reloc_start"
30970 and "reloc_complete".
30971 * elf/dl-close.c: Include <stap-probe.h>.
30972 (_dl_close_worker): Added static probes "unmap_start" and
30974 * elf/rtld-debugger-interface.txt: New file documenting the above.
30976 2012-07-26 Roland McGrath <roland@hack.frob.com>
30978 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30979 rather than a string variable.
30980 * sunrpc/rpc_main.c (h_output): Likewise.
30981 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30983 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
30985 * inet/check_native.c: New file.
30987 2012-07-26 Joseph Myers <joseph@codesourcery.com>
30990 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30991 if larger part has absolute value 1.0.
30992 * math/s_clog10.c (__clog10): Likewise.
30993 * math/s_clog10f.c (__clog10f): Likewise.
30994 * math/s_clog10l.c (__clog10l): Likewise.
30995 * math/s_clogf.c (__clogf): Likewise.
30996 * math/s_clogl.c (__clogl): Likewise.
30997 * math/libm-test.inc (clog_test): Add more tests.
30998 (clog10_test): Likewise.
30999 * sysdeps/i386/fpu/libm-test-ulps: Update.
31000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31002 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
31003 (pltexit): Likewise.
31004 (La_regs): Likewise.
31005 (La_retval): Likewise.
31006 (int_retval): Likewise.
31007 Update #error for removed macros to refer only to definitions in
31009 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
31011 (pltexit): Likewise.
31012 (La_regs): Likewise.
31013 (La_retval): Likewise.
31014 (int_retval): Likewise.
31015 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
31017 (pltexit): Likewise.
31018 (La_regs): Likewise.
31019 (La_retval): Likewise.
31020 (int_retval): Likewise.
31021 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
31023 (pltexit): Likewise.
31024 (La_regs): Likewise.
31025 (La_retval): Likewise.
31026 (int_retval): Likewise.
31027 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
31029 (pltexit): Likewise.
31030 (La_regs): Likewise.
31031 (La_retval): Likewise.
31032 (int_retval): Likewise.
31033 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
31035 (pltexit): Likewise.
31036 (La_regs): Likewise.
31037 (La_retval): Likewise.
31038 (int_retval): Likewise.
31039 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
31041 (pltexit): Likewise.
31042 (La_regs): Likewise.
31043 (La_retval): Likewise.
31044 (int_retval): Likewise.
31045 * sysdeps/generic/tst-audit.h: Update comment to refer only to
31046 macro definitions in tst-audit.h.
31047 * sysdeps/i386/tst-audit.h: New file.
31048 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
31049 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
31050 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
31051 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
31052 * sysdeps/sh/tst-audit.h: Likewise.
31053 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
31054 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
31055 * sysdeps/x86_64/tst-audit.h: Likewise.
31057 2012-07-26 Andreas Jaeger <aj@suse.de>
31059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
31062 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
31063 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
31064 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
31066 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
31067 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
31068 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
31070 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
31073 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
31075 (si_call_addr, si_syscall, si_arch): Define new macro.
31076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
31078 (si_call_addr, si_syscall, si_arch): Define new marcro.
31079 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
31081 (si_call_addr, si_syscall, si_arch): Define new macro.
31082 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
31084 (si_call_addr, si_syscall, si_arch): Define new macro.
31086 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31089 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31090 Change to 2.4.21 where previously 2.4.1.
31091 * sysdeps/unix/sysv/linux/configure: Regenerated.
31092 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
31093 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
31094 Linux kernel version.
31095 (__ASSUME_STD_AUXV): Remove.
31096 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
31098 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
31099 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
31100 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
31101 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
31102 (__ASSUME_NETLINK_SUPPORT): Likewise.
31103 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
31104 (__no_netlink_support): Remove conditional definition.
31105 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
31107 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31108 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
31109 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
31110 (if_nameindex_ioctl): Remove.
31111 (if_nameindex_netlink): Do not handle __no_netlink_support.
31112 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31114 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
31115 Remove conditional code.
31116 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
31118 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
31120 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
31121 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
31122 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
31124 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
31125 [!__ASSUME_STD_AUXV]: Remove conditional code.
31126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
31127 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
31128 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
31129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
31130 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
31131 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31133 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31135 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
31136 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31138 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
31140 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
31142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31143 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
31145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
31146 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31147 code unconditional.
31148 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31150 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31152 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31155 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31157 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31160 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31161 code unconditional.
31162 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31164 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31166 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31169 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
31170 code unconditional.
31171 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31173 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
31175 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
31178 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
31180 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
31181 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
31182 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31183 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
31184 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
31185 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31186 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31187 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
31188 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
31189 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31190 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
31191 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
31192 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
31193 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31194 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
31195 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
31196 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
31197 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
31198 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
31199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
31200 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
31201 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
31202 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31204 2012-07-25 Florian Weimer <fweimer@redhat.com>
31206 * Versions.def: Add GLIBC_2.17.
31207 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31208 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
31209 Introduce __libc_secure_getenv.
31210 * stdlib/Versions (2.17): Add secure_getenv
31211 (GLIBC_PRIVATE): Add __libc_secure_getenv.
31212 * stdlib/secure-getenv.c: Rename __secure_getenv to
31213 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
31214 symbol __secure_getenv for GLIBC_2.0.
31215 * stdlib/tst-secure-getenv.c: New.
31216 * stdlib/Makefile (tests): Add testcase.
31217 * manual/startup.texi (Environment Access): Document
31219 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
31220 __libc_secure_getenv.
31221 * inet/ruserpass.c (ruserpass): Likewise.
31222 * malloc/mtrace.c (mtrace): Likewise.
31223 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
31224 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
31225 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
31226 * sysdeps/posix/tempname.c: Likewise. Evaluate
31227 HAVE_SECURE_GETENV.
31228 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
31229 __secure_getenv to __libc_secure_getenv.
31230 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
31231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31243 2012-07-25 Joseph Myers <joseph@codesourcery.com>
31245 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
31246 (struct La_i86_retval): Likewise.
31247 (struct La_x86_64_regs): Likewise.
31248 (struct La_x86_64_retval): Likewise.
31249 (struct La_x32_regs): Likewise.
31250 (struct La_x32_retval): Likewise.
31251 (struct La_ppc32_regs): Likewise.
31252 (struct La_ppc32_retval): Likewise.
31253 (struct La_ppc64_regs): Likewise.
31254 (struct La_ppc64_retval): Likewise.
31255 (struct La_sh_regs): Likewise.
31256 (struct La_sh_retval): Likewise.
31257 (struct La_s390_32_regs): Likewise.
31258 (struct La_s390_32_retval): Likewise.
31259 (struct La_s390_64_regs): Likewise.
31260 (struct La_s390_64_retval): Likewise.
31261 (struct La_sparc32_regs): Likewise.
31262 (struct La_sparc32_retval): Likewise.
31263 (struct La_sparc64_regs): Likewise.
31264 (struct La_sparc64_retval): Likewise.
31265 (struct audit_ifaces): Remove architecture-specific pltenter and
31267 * sysdeps/i386/ldsodefs.h: New file.
31268 * sysdeps/powerpc/ldsodefs.h: Likewise.
31269 * sysdeps/s390/ldsodefs.h: Likewise.
31270 * sysdeps/sh/ldsodefs.h: Likewise.
31271 * sysdeps/sparc/ldsodefs.h: Likewise.
31272 * sysdeps/x86_64/ldsodefs.h: Likewise.
31274 2012-07-25 Marek Polacek <polacek@redhat.com>
31277 * math/libm-test.inc (yn_test): Add another test.
31278 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
31279 to ERANGE when the result is +-Inf.
31280 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
31281 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
31282 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
31283 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
31285 2012-07-24 Joseph Myers <joseph@codesourcery.com>
31287 * conform/data/time.h-data (NULL): Use macro-constant. Require
31289 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
31291 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
31293 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
31295 * configure.in <sysdeps resolving>: Correct printing
31297 * configure: Regenerate.
31299 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
31301 * math/w_ilogb.c: Include <limits.h>.
31302 * math/w_ilogbl.c: Likewise.
31304 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31306 * manual/lang.texi (__va_copy): Document primarily as ISO C99
31307 va_copy. Document allowing for unavailable va_copy only as
31308 pre-C99 compatibility.
31309 * manual/string.texi (Copying and Concatenation): Use va_copy
31310 instead of __va_copy in concat example.
31312 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
31314 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
31315 (__sendto): Use create_address_port. Initialize APORT and deallocate
31318 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
31319 with O_NOLINK passed to __file_name_lookup.
31321 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
31322 with O_NOLINK passed to __file_name_lookup.
31324 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
31325 negative N or less than NGIDS.
31327 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
31328 type to string_t. Set ERANGE as errno and return it if NAME is not big
31329 enough. Use memcpy instead of strncpy.
31331 2012-07-20 Joseph Myers <joseph@codesourcery.com>
31333 * elf/Makefile (check-data): Remove.
31334 (localplt.data): New vpath directive.
31335 ($(objpfx)check-localplt.out): Use localplt.data from vpath
31336 instead of $(check-data).
31337 * scripts/data/localplt-generic.data: Move to ...
31338 * sysdeps/generic/localplt.data: ... here.
31339 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
31340 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
31341 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
31342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31344 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
31345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31347 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
31348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
31350 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
31351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31353 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
31354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
31356 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
31357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
31360 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31362 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
31363 PPC32 and PPC64 files.
31364 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
31365 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
31367 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31369 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
31370 __makecontext_ret to ...
31371 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31372 ... here and call exit if uc_link is NULL. New file.
31373 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
31374 __makecontext_ret.S.
31375 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
31376 __makecontext_ret to ...
31377 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31378 ... here and call exit if uc_link is NULL. New file.
31379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
31380 __makecontext_ret.S.
31382 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31384 * elf/elf.h (R_390_IRELATIVE): New definition.
31385 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
31386 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
31387 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
31388 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31389 (elf_machine_lazy_rel): Likewise.
31390 * sysdeps/s390/dl-irel.h: New file.
31391 * sysdeps/s390/s390-64/memcpy.S: New asm code.
31392 * sysdeps/s390/s390-64/memset.S: New asm code.
31393 * sysdeps/s390/s390-64/memcmp.S: New asm code.
31394 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
31395 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
31396 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
31397 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
31398 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
31399 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
31400 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
31401 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
31402 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
31403 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
31404 * sysdeps/s390/s390-32/memcpy.S: New asm code.
31405 * sysdeps/s390/s390-32/memset.S: New asm code.
31406 * sysdeps/s390/s390-32/memcmp.S: New asm code.
31408 2012-07-17 Marek Polacek <polacek@redhat.com>
31411 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
31412 * sysdeps/s390/s390-64/configure.in: Likewise.
31413 * sysdeps/sparc/configure.in: Likewise.
31414 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
31415 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
31416 * sysdeps/i386/configure.in: Likewise.
31417 * sysdeps/x86_64/configure.in: Likewise.
31418 * sysdeps/sh/configure.in: Likewise.
31419 * sysdeps/s390/s390-32/configure: Regenerated.
31420 * sysdeps/s390/s390-64/configure: Likewise.
31421 * sysdeps/x86_64/configure: Likewise.
31422 * sysdeps/sh/configure: Likewise.
31423 * sysdeps/powerpc/powerpc64/configure: Likewise.
31424 * sysdeps/powerpc/powerpc32/configure: Likewise.
31425 * sysdeps/sparc/configure: Likwise.
31426 * sysdeps/i386/configure: Likewise.
31428 * elf/dl-open.c: Comment fixes.
31430 2012-07-17 Joseph Myers <joseph@codesourcery.com>
31432 * Makefile [CXX] (check-data): Remove.
31433 [CXX] (c++-types.data): New vpath directive.
31434 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31435 vpath. Do not allow for C++ type data being missing.
31436 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31437 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31438 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31439 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31440 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31441 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31442 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31445 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31448 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31451 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31454 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31457 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31460 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31463 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31466 * elf/tls-macros.h (TLS_LE): Move architecture-specific
31467 definitions to architecture-specific files.
31468 (TLS_IE): Likewise.
31469 (TLS_LD): Likewise.
31470 (TLS_GD): Likewise.
31471 * sysdeps/i386/tls-macros.h: New file.
31472 * sysdeps/powerpc/tls-macros.h: Likewise.
31473 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31474 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31475 * sysdeps/sh/tls-macros.h: Likewise.
31476 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31477 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31478 * sysdeps/x86_64/tls-macros.h: Likewise.
31480 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31482 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31483 zero value for regular exit case.
31485 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31486 (__start_context): Preserve zero value for regular exit case.
31488 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
31489 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31491 * manual/setjmp.texi (setcontext): Clarify normal process
31492 termination when uc_link is the null pointer.
31493 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31496 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
31498 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31499 preprocessor. Test for each exception mask separately.
31501 2012-07-16 Andreas Jaeger <aj@suse.de>
31503 * po/ru.po: Update from translation team.
31505 2012-07-15 Joseph Myers <joseph@codesourcery.com>
31507 * conform/data/string.h-data (NULL): Use macro-constant. Require
31509 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31510 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31511 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31512 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31515 2012-07-13 Andreas Jaeger <aj@suse.de>
31517 * po/fr.po: Update from translation team.
31519 2012-07-12 Marek Polacek <polacek@redhat.com>
31522 * math/libm-test.inc (yn_test): Add test for BZ #14173.
31523 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31526 2012-07-12 Joseph Myers <joseph@codesourcery.com>
31529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31530 Change to 2.4.1 where previously 2.4.0.
31531 * sysdeps/unix/sysv/linux/configure: Regenerated.
31532 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31533 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31535 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31536 (__ASSUME_AT_CLKTCK): Remove.
31537 (__ASSUME_AT_PAGESIZE): Likewise.
31538 (__ASSUME_AT_XID): Likewise.
31539 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31540 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31541 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31543 (HAVE_AUX_PAGESIZE): Likewise.
31544 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31545 [__ASSUME_AT_CLKTCK]: Make code unconditional.
31546 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31548 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
31551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31552 the temporary buffer used to invoke __gethostbyname2_r,
31553 __gethostbyaddr_r and gethostbyname4_r to make room for struct
31554 host_data / struct gaih_addrtuple.
31555 * resolv/nss_dns/dns-host.c (global scope): Move definition of
31556 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31557 header file nss/nsswitch.h.
31558 * nss/nsswitch.h (global scope): Add definition of implementation
31559 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31560 resolv/nss_dns/dns-host.c).
31562 2012-07-11 Andreas Jaeger <aj@suse.de>
31564 * po/fr.po: Update from translation team.
31566 * po/sv.po: Update from translation team
31567 * po/fr.po: Another update from translation team.
31569 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31571 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31572 for subnormals or multiply small sinh result by itself.
31573 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31576 2012-07-11 David S. Miller <davem@davemloft.net>
31578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31580 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
31583 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31584 (INTERNAL_MARK): Shift it here.
31586 2012-07-10 Marek Polacek <polacek@redhat.com>
31589 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
31590 libc_cv_asm_global_directive with .globl.
31591 * configure: Regenerated.
31592 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31594 * sysdeps/i386/configure: Regenerated.
31595 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31597 * sysdeps/x86_64/configure: Regenerated.
31598 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31599 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31600 * elf/tst-unique2mod2.c: Likewise.
31601 * elf/tst-unique2mod1.c: Likewise.
31602 * elf/tst-unique1mod2.c: Likewise.
31603 * elf/tst-unique1mod1.c: Likewise.
31604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31605 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31607 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31608 * sysdeps/mach/sysdep.h: Likewise.
31609 * sysdeps/i386/sysdep.h: Likewise.
31610 * sysdeps/i386/i386-mcount.S: Likewise.
31611 * sysdeps/x86_64/_mcount.S: Likewise.
31612 * sysdeps/x86_64/sysdep.h: Likewise.
31613 * sysdeps/sh/_mcount.S: Likewise.
31614 * sysdeps/sh/sysdep.h: Likewise.
31615 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31616 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31617 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31618 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31619 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31620 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31621 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31622 * locale/localeinfo.h: Likewise.
31623 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31624 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31626 2012-07-09 Roland McGrath <roland@hack.frob.com>
31629 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31631 * manual/message.texi (The Uniforum approach): Likewise.
31632 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31633 (glibc iconv Implementation): Likewise.
31635 2012-07-09 Joseph Myers <joseph@codesourcery.com>
31638 * math/s_clog.c (__clog): Avoid scaling a value down where that
31639 could result in underflow.
31640 * math/s_clog10.c (__clog10): Likewise.
31641 * math/s_clog10f.c (__clog10f): Likewise.
31642 * math/s_clog10l.c (__clog10l): Likewise.
31643 * math/s_clogf.c (__clogf): Likewise.
31644 * math/s_clogl.c (__clogl): Likewise.
31645 * math/libm-test.inc (clog_test): Add more tests.
31646 (clog10_test): Likewise.
31647 * sysdeps/i386/fpu/libm-test-ulps: Update.
31648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31650 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
31653 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31654 by 7 not 8 to examine high bit of fractional part.
31657 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31658 for call to __mcount_internal.
31659 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31660 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31661 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31663 2012-07-06 Joseph Myers <joseph@codesourcery.com>
31666 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31667 approximation for values within 0x1p-13f of an odd multiple of
31669 * math/libm-test.inc (tan_test): Do not allow spurious underflow
31670 exception. Add more tests.
31671 * sysdeps/i386/fpu/libm-test-ulps: Update.
31674 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31675 inputs and return -1 for them. Do not check for +Inf in case not
31676 reachable for +Inf.
31677 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31678 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31680 and return -1 for them. Do not check for +Inf in case not
31681 reachable for +Inf.
31682 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31684 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31685 and return -1 for them. Do not check for +Inf in case not
31686 reachable for +Inf.
31687 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
31688 spurious underflow.
31689 * sysdeps/i386/fpu/libm-test-ulps: Update.
31690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31692 2012-07-06 Mike Frysinger <vapier@gentoo.org>
31694 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31696 2012-07-05 Joseph Myers <joseph@codesourcery.com>
31700 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31701 could result in spurious underflow. Scale down values above
31702 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31703 * math/s_csqrtf.c (__csqrtf): Likewise.
31704 * math/s_csqrtl.c (__csqrtl): Likewise.
31705 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
31706 spurious underflow.
31707 * sysdeps/i386/fpu/libm-test-ulps: Update.
31708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31710 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
31712 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31714 * catgets/xopen-msg.awk: New file.
31715 * catgets/xopen-msg.sed: Removed.
31717 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31719 * intl/po2test.awk: New file.
31720 * intl/po2test.sed: Removed.
31722 2012-07-04 Joseph Myers <joseph@codesourcery.com>
31725 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31726 or multiply small sinh result by itself.
31727 * math/s_ctanf.c (__ctanf): Likewise.
31728 * math/s_ctanh.c (__ctanh): Likewise.
31729 * math/s_ctanhf.c (__ctanhf): Likewise.
31730 * math/s_ctanhl.c (__ctanhl): Likewise.
31731 * math/s_ctanl.c (__ctanl): Likewise.
31732 * math/libm-test.inc (ctan_test_tonearest): New function.
31733 (ctan_test_towardzero): Likewise.
31734 (ctan_test_downward): Likewise.
31735 (ctan_test_upward): Likewise.
31736 (ctanh_test_tonearest): Likewise.
31737 (ctanh_test_towardzero): Likewise.
31738 (ctanh_test_downward): Likewise.
31739 (ctanh_test_upward): Likewise.
31740 (main): Call these new functions.
31741 * sysdeps/i386/fpu/libm-test-ulps: Update.
31742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31744 2012-07-03 Mike Frysinger <vapier@gentoo.org>
31746 * .gitignore: Delete /ports entry.
31748 2012-07-03 Andreas Jaeger <aj@suse.de>
31750 * po/bg.po: Update from translation team.
31751 * po/cs.po: Likewise.
31752 * po/de.po: Likewise.
31753 * po/hr.po: Likewise.
31754 * po/nl.pl: Likewise.
31755 * po/pl.po: Likewise.
31756 * po/vi.po: Likewise.
31758 2012-07-03 Joseph Myers <joseph@codesourcery.com>
31760 * Makeconfig [!+link] (+link-before-libc): New variable.
31761 [!+link] (+link-after-libc): Likewise.
31762 [!+link] (+link-tests): Likewise.
31763 [!+link] (+link): Define in terms of $(+link-before-libc) and
31764 $(+link-after-libc).
31765 [!+link-static] (+link-static-before-libc): New variable.
31766 [!+link-static] (+link-static-after-libc): Likewise.
31767 [!+link-static] (+link-static-tests): Likewise.
31768 [!+link-static] (+link-static): Define in terms of
31769 $(+link-static-before-libc) and $(+link-static-after-libc).
31770 [build-shared] (link-libc-before-gnulib): New variable.
31771 [build-shared] (link-libc-tests): Likewise.
31772 [build-shared] (link-libc): Define in terms of
31773 $(link-libc-before-gnulib).
31774 [!build-shared] (link-libc-tests): New variable.
31775 (link-libc-static-tests): New variable.
31776 [!gnulib] (gnulib-arch): New variable.
31777 [!gnulib] (gnulib-tests): Likewise.
31778 [!gnulib] (static-gnulib-arch): Likewise.
31779 [!gnulib] (static-gnulib-tests): Likewise.
31780 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
31781 Define with "=" instead of ":=".
31782 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
31783 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
31784 * Rules (binaries-all-notests): New variable.
31785 (binaries-all-tests): Likewise.
31786 (binaries-static-notests): Likewise.
31787 (binaries-static-tests): Likewise.
31788 (binaries-all): Define using $(binaries-all-notests) and
31789 $(binaries-all-tests).
31790 (binaries-static): Define using $(binaries-static-notests) and
31791 $(binaries-static-tests).
31792 (binaries-shared-tests): New variable.
31793 (binaries-shared-notests): Likewise.
31794 (binaries-shared): Remove variable.
31795 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31796 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31797 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31798 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31799 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31800 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31801 * elf/Makefile (sln-modules): New variable.
31802 (extra-objs): Add $(sln-modules:=.o).
31803 (ldconfig-modules): Add static-stubs.
31804 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31805 * elf/static-stubs.c: New file.
31808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31809 by 7 not 8 to examine high bit of fractional part. Use volatile
31810 variables when splitting into final array of floats if
31811 __FLT_EVAL_METHOD__ != 0.
31812 * math/libm-test.inc (cos_test): Add another test.
31813 (sin_test): Likewise.
31814 * sysdeps/i386/fpu/libm-test-ulps: Update.
31817 * math/libm-test.inc (cosh_test): Add more tests.
31819 * version.h (RELEASE): Set to "development".
31820 (VERSION): Set to "2.16.90".
31822 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
31824 * NEWS: Update copyright. Remove last-updated date.
31825 Mention math library bug fixes and timezone data changes.
31826 * README: Mention GNU/Hurd, x32, and HPPA support status.
31828 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
31830 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31832 2012-06-27 Andreas Jaeger <aj@suse.de>
31834 * manual/contrib.texi (Contributors): Add Samuel Thibault.
31836 2012-06-25 Andreas Jaeger <aj@suse.de>
31838 * sysdeps/s390/fpu/libm-test-ulps: Update.
31840 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
31841 Thomas Schwinge <thomas@codesourcery.com>
31843 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31844 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31848 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
31850 * sysdeps/mach/start.c: Remove file.
31851 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31852 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31853 * sysdeps/sh/init-first.c: Likewise.
31855 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31856 registers for frame unwinding purposes, add CFI directives.
31857 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31858 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31859 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31862 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31863 __fortify_fail returning.
31864 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31866 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31867 sysdeps/sh/____longjmp_chk.S.
31868 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31869 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31870 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31871 (gen-as-const-headers): Append sigaltstack-offsets.sym.
31873 * sysdeps/sh/abort-instr.h: New file.
31874 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31875 process in case exit returns.
31877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31878 initialize the GOT register before use.
31880 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31881 calculation of ARGC > 4.
31883 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31884 meaningful names to some local labels.
31886 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31887 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31889 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31890 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31891 (__arch_compare_and_exchange_val_16_acq): Likewise.
31892 (__arch_compare_and_exchange_val_32_acq): Likewise.
31893 (atomic_exchange_and_add): Fix gUSA sequence.
31894 (atomic_add): Likewise.
31895 (atomic_add_negative): Likewise.
31896 (atomic_add_zero): Likewise.
31897 (atomic_bit_test_set): Likewise.
31899 2012-06-22 Andreas Schwab <schwab@redhat.com>
31902 * include/link.h (struct link_map): Add l_free_initfini.
31903 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31905 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31906 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31907 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31910 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
31912 * configure.in: Use AC_LANG_SOURCE.
31913 * configure: Regenerate.
31915 2012-06-22 Roland McGrath <roland@hack.frob.com>
31917 * configure.in (libc_cv_localstatedir): New substituted variable.
31918 * configure: Regenerated.
31919 * config.make.in (localstatedir): New variable, substituted from
31920 libc_cv_localstatedir.
31921 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31922 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31923 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31924 * sysdeps/gnu/configure: Regenerated.
31926 2012-06-21 Jeff Law <law@redhat.com>
31929 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31930 free. Simplify list management for _LIBC case.
31932 2012-06-21 Joseph Myers <joseph@codesourcery.com>
31935 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31936 Clear sign bit of 64-bit integer value before comparing against
31939 * sysdeps/mach/configure: Regenerated.
31941 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
31944 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31946 2012-06-21 Jeff Law <law@redhat.com>
31949 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
31950 uint16_t for elements in the "seen" array to avoid char overflows.
31951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31952 * elf/dl-open.c (dl_open_worker): Likewise.
31954 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
31956 * scripts/list-sources.sh: Scan PORTS for translations.
31957 * po/libc.pot: Regenerated.
31959 2012-06-21 Andreas Jaeger <aj@suse.de>
31962 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31964 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31965 * bits/byteswap-16.h (__bswap_16): Likewise.
31966 * bits/byteswap.h (__bswap_constant_16): Likewise.
31968 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
31971 * sysdeps/i386/fpu_control.h: Removed.
31972 * sysdeps/x86_64/fpu_control.h: Moved to ...
31973 * sysdeps/x86/fpu_control.h: Here.
31975 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31976 (_FPU_SETCW): Likewise.
31978 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
31981 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31982 * sysdeps/x86/fpu/bits/mathinline.h: This.
31983 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31987 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31988 functions if __x86_64__ is defined.
31990 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
31992 * string/endian.h: Add !__ASSEMBLER__ condition for including
31993 conversion interfaces.
31995 2012-06-15 Joseph Myers <joseph@codesourcery.com>
31998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31999 of ABS(x) in calculating zero to negative powers other than odd
32001 * math/libm-test.inc (pow_test): Add more tests.
32003 2012-06-15 Andreas Jaeger <aj@suse.de>
32005 * manual/contrib.texi (Contributors): Update entry of Liubov
32006 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
32009 2012-06-15 Cyril Hrubis <metan@ucw.cz>
32011 * string/string.h: Add __wur to GNU version of strerror_r.
32013 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
32016 * string/Makefile (tests): Add tst-strtok_r.
32017 * string/tst-strtok_r.c: New file.
32018 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
32019 RAX_LP/RDX_LP on SAVE_PTR.
32021 2012-06-14 Roland McGrath <roland@hack.frob.com>
32023 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
32025 2012-06-14 Joseph Myers <joseph@codesourcery.com>
32027 * libm_test.inc (csqrt_test): Allow more spurious underflow
32029 (j0_test): Likewise.
32030 (j1_test): Likewise.
32031 (y0_test): Likewise.
32032 (y1_test): Likewise.
32034 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
32036 * po/Makefile (libc.pot): Use UTF-8 charset.
32038 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
32041 Suppress sign-conversion warning from FD_SET.
32042 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
32043 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
32044 not unsigned long int.
32045 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
32047 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
32051 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
32052 __extern_always_inline instead of __extern_inline.
32053 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
32054 (__signbit): Likewise.
32055 (__signbitl): Support C++ namespace.
32056 (lrintf): New inline function.
32058 (llrintf): Likewise.
32059 (llrint): Likewise.
32069 (floorf): Likewise.
32070 (nearbyint): Likewise.
32071 (nearbyintf): Likewise.
32073 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
32075 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
32076 non-default versions.
32078 2012-06-11 Roland McGrath <roland@hack.frob.com>
32081 * manual/argp.texi (Argp): Reword argp_parse description slightly.
32083 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
32085 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
32086 (FE_UPWARD, FE_DOWNWARD): Don't define.
32087 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
32088 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32090 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
32092 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32095 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32097 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
32099 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
32100 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
32102 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
32105 * sysdeps/i386/fpu/bits/fenv.h: Removed.
32106 * sysdeps/i386/fpu/Implies: New file.
32107 * sysdeps/x86_64/fpu/Implies: Likewise.
32108 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
32109 * sysdeps/x86/fpu/bits/fenv.h: This.
32111 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
32114 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32117 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
32118 character 0xffff that matches the last element of the
32121 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32123 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
32126 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
32129 values higher than 25.6283.
32131 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32133 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
32134 subnormal exponent extraction and add some __builtin_expect.
32135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
32136 Fix for subnormal mantissa calculation.
32138 2012-06-04 Mike Frysinger <vapier@gentoo.org>
32140 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
32141 cpu2 is -1 and errno is not ENOSYS.
32143 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
32146 * sysdeps/i386/i486/bits/string.h: Renamed to ...
32147 * sysdeps/x86/bits/string.h: This.
32148 * sysdeps/x86_64/bits/string.h: Removed.
32150 * sysdeps/i386/i486/bits/string.h: Define inline functions only
32151 if not compiling for x86-64, but compiling for >= i486.
32153 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
32154 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
32156 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
32157 New macro from Linux kernel 3.4.0.
32158 (FP_XSTATE_MAGIC2): Likewise.
32159 (FP_XSTATE_MAGIC2_SIZE): Likewise.
32160 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
32161 (struct _fpx_sw_bytes): New struct.
32162 (struct _xsave_hdr): Likewise.
32163 (struct _ymmh_state): Likewise.
32164 (struct _xstate): Likewise.
32166 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
32167 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
32168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
32169 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
32170 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
32171 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
32173 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
32174 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
32175 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
32176 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
32177 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
32178 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
32180 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32183 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
32184 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
32185 (sysdep_headers): Include sys/platform/ppc.h.
32186 * sysdeps/powerpc/test-gettimebase.c: Test for
32187 __ppc_get_timebase() to catch future ISA opcode/insn changes.
32188 * manual/Makefile (appendices): Include platform.texi.
32189 * manual/contrib.texi (Contributors): Update @node pointers.
32190 * manual/maint.texi (Maintenance): Likewise.
32191 (Platform): New node.
32192 * manual/platform.texi: New file. Document the new features.
32194 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32195 Jakub Jelinek <jakub@redhat.com>
32198 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
32199 where __builtin_expect is unavailable.
32201 2012-06-03 David S. Miller <davem@davemloft.net>
32203 * stdlib/longlong.h: Updated from GCC.
32205 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
32208 * sysdeps/powerpc/powerpc32/mcount.c: New file.
32209 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
32211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32212 (GLIBC_2.16): Likewise.
32214 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32216 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
32218 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
32221 (default-abi): New variable.
32222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
32223 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
32225 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
32227 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
32229 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
32232 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
32233 definition. Document in comment.
32235 2012-06-01 David S. Miller <davem@davemloft.net>
32237 * stdlib/longlong.h: Updated from GCC.
32239 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32242 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
32243 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
32244 sys/debugreg.h sys/io.h here.
32245 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
32246 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
32248 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
32249 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
32250 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
32251 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
32252 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
32253 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
32255 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
32256 Define only if __x86_64__ is defined.
32258 2012-06-01 Joseph Myers <joseph@codesourcery.com>
32261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
32262 Use int64_t for variable i.
32263 * math/libm-test.inc (fmod_test): Add more tests.
32265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
32266 z computation is not scheduled after fetestexcept.
32267 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
32268 Use math_force_eval instead of asm to ensure calculation scheduled
32269 before exception test.
32270 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
32271 Ensure a1 + u.d computation is not scheduled after fetestexcept.
32273 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
32275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
32276 computation is not scheduled after fetestexcept.
32278 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
32281 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
32282 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
32284 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32286 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
32287 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32289 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32292 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
32294 (__WCHAR_MIN): Support __WORDSIZE == 64.
32295 (__WCHAR_MAX): Likewise.
32297 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
32298 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
32301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
32302 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
32305 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
32306 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
32308 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
32309 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
32311 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
32312 Defined to 1 if __x86_64__ isn't defined.
32313 (_STAT_VER_LINUX_OLD): New.
32314 (st_atime): Remove duplicate.
32315 (st_mtime): Likewise.
32316 (st_ctime): Likewise.
32318 2012-05-31 David S. Miller <davem@davemloft.net>
32320 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
32323 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
32325 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
32329 * elf/dl-reloc.c: Include <_itoa.h>.
32330 (_dl_reloc_bad_type): Remove use of INTUSE.
32331 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
32332 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
32333 * stdio-common/psiginfo.c (psiginfo): Likewise.
32334 * stdio-common/psignal.c (psignal): Likewise.
32335 * string/strsignal.c (strsignal): Likewise.
32336 * include/signal.h (_sys_siglist): Declare hidden proto.
32337 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
32338 INTVARDEF with libc_hidden_data_def.
32339 * stdio-common/itoa-udigits.c: Likewise.
32340 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
32341 (_itoa_lower_digits_internal): Remove declaration.
32342 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
32343 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
32344 (_sys_sigabbrev_internal): Remove aliases.
32345 (_sys_siglist): Define hidden alias.
32347 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32352 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
32355 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
32356 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
32358 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
32359 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
32360 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
32361 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
32362 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
32363 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
32365 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
32366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
32367 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
32369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
32377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32378 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
32379 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
32381 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
32382 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
32383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
32384 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
32385 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
32386 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
32388 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
32389 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
32391 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
32392 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
32394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
32395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
32396 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
32398 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
32399 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
32401 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
32403 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
32404 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32405 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
32407 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32409 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
32411 2012-05-31 Joseph Myers <joseph@codesourcery.com>
32413 * math/math.h (M_El): Use two more decimal places.
32414 (M_LOG2El): Likewise.
32415 (M_LOG10El): Likewise.
32416 (M_LN2l): Likewise.
32417 (M_LN10l): Likewise.
32419 (M_PI_2l): Likewise.
32420 (M_PI_4l): Likewise.
32421 (M_1_PIl): Likewise.
32422 (M_2_PIl): Likewise.
32423 (M_2_SQRTPIl): Likewise.
32424 (M_SQRT2l): Likewise.
32425 (M_SQRT1_2l): Likewise.
32427 2012-05-31 David S. Miller <davem@davemloft.net>
32429 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32430 values between float registers.
32431 * sysdeps/sparc/sparc64/memset.S: Likewise.
32432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32434 2012-05-31 Mike Frysinger <vapier@gentoo.org>
32436 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32437 -D_FORTIFY_SOURCE=1.
32438 (CPPFLAGS-tst-longjmp_chk.c): Define.
32439 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32440 (CPPFLAGS-tst-longjmp_chk2.c): Define.
32441 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32442 CFLAGS-tst-wchar-h.c.
32444 2012-05-31 Marek Polacek <polacek@redhat.com>
32447 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32448 __endmntent_internal): Remove declaration.
32449 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32450 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32451 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32453 2012-05-30 David S. Miller <davem@davemloft.net>
32455 * sysdeps/sparc/sparc32/soft-fp/q_util.c
32456 (___Q_simulate_exceptions): Use real FP ops rather than writing
32458 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32461 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32464 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32465 * sysdeps/x86/bits/xtitypes.h: This.
32467 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32468 * sysdeps/x86/bits/wordsize.h: This.
32470 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32471 * sysdeps/x86/bits/huge_vall.h: This.
32473 * sysdeps/i386/bits/select.h: Removed.
32474 * sysdeps/x86_64/bits/select.h: Renamed to ...
32475 * sysdeps/x86/bits/select.h: This.
32477 * sysdeps/i386/bits/setjmp.h: Removed.
32478 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32479 * sysdeps/x86/bits/setjmp.h: This.
32481 * sysdeps/i386/bits/mathdef.h: Removed.
32482 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32483 * sysdeps/x86/bits/mathdef.h: This.
32485 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
32488 * include/sys/socket.h (__connect_internal)
32489 (__libc_sa_len_internal): Remove declaration.
32490 (__connect, __libc_sa_len): Declare hidden_proto.
32491 (SA_LEN): Remove use of INTUSE.
32492 * socket/connect.c: Add libc_hidden_def.
32493 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32494 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32495 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32497 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32498 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32499 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32500 of adding _internal alias.
32502 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32505 * sysdeps/i386/bits/link.h: Removed.
32506 * sysdeps/i386/bits/linkmap.h: Likewise.
32507 * sysdeps/x86_64/bits/link.h: Renamed to ...
32508 * sysdeps/x86/bits/link.h: This.
32509 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32510 * sysdeps/x86/bits/linkmap.h: This.
32512 * sysdeps/i386/bits/endian.h: Removed.
32513 * sysdeps/x86_64/bits/endian.h: Renamed to ...
32514 * sysdeps/x86/bits/endian.h: This.
32516 * sysdeps/i386/bits/byteswap.h: Removed.
32517 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32518 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32519 * sysdeps/x86/bits/byteswap.h: This.
32520 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32521 * sysdeps/x86/bits/byteswap-16.h: This.
32522 * sysdeps/i386/Implies: Add x86.
32523 * sysdeps/x86_64/Implies: Likewise.
32525 2012-05-30 David S. Miller <davem@davemloft.net>
32527 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32528 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32529 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32530 (FP_TRAPPING_EXCEPTIONS): Define.
32531 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32532 (FP_TRAPPING_EXCEPTIONS): Define.
32533 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32534 subnormals only when inexact has been signalled or underflow
32535 exceptions are enabled.
32536 (_FP_PACK_CANONICAL): Likewise.
32538 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32541 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32542 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32544 2012-05-30 Richard Henderson <rth@twiddle.net>
32546 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32547 with #ifndef NOT_IN_libc.
32549 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
32550 marked to avoid plt entry.
32552 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
32555 * Makeconfig (default-abi): New macro.
32556 (abi-includes): Likewise.
32557 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
32558 $(abi-$(default-abi)-lib-soname) for soname if defined.
32559 ($(common-objpfx)gnu/lib-names.stmp): Generate from
32561 * Makefile (installed-stubs): Likewise.
32562 * include/stubs-biarch.h: Removed.
32563 * scripts/lib-names.awk: Only handle one library at a time.
32564 * scripts/soversions.awk: Remove WORDSIZE support.
32565 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32567 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32569 (syscall-list-default-condition): Likewise.
32570 (syscall-list-default-condition): Likewise.
32571 (syscall-list-includes): Likewise.
32572 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32573 syscall-list-* with abi-*. Handle undefined abi-variants.
32574 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32575 * sysdeps/unix/sysv/linux/i386/Implies: New file.
32576 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32577 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32578 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32579 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32581 (syscall-list-32-options): Likewise.
32582 (syscall-list-32-condition): Likewise.
32583 (syscall-list-64-options): Likewise.
32584 (syscall-list-64-condition): Likewise.
32585 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32587 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32590 (abi-64-ld-soname): New macro.
32591 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32592 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32595 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32596 * sysdeps/x86_64/x32/shlib-versions: Likewise.
32598 2012-05-30 Joseph Myers <joseph@codesourcery.com>
32600 * sysdeps/unix/sysv/linux/kernel-features.h
32601 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32602 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32603 include <kernel-features.h>.
32604 [!__NR_ftruncate64]: Remove conditional code.
32605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32606 [__NR_ftruncate64]: Make code unconditional.
32607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32608 * sysdeps/unix/sysv/linux/truncate64.c: Do not
32609 include <kernel-features.h>.
32610 [!__NR_ftruncate64]: Remove conditional code.
32611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32612 [__NR_ftruncate64]: Make code unconditional.
32613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32615 include <kernel-features.h>.
32616 [!__NR_ftruncate64]: Remove conditional code.
32617 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32618 [__NR_ftruncate64]: Make code unconditional.
32619 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32621 include <kernel-features.h>.
32622 [!__NR_ftruncate64]: Remove conditional code.
32623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32624 [__NR_ftruncate64]: Make code unconditional.
32625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32627 * configure.in (libc_cv_fpie): Weaken to a compile test using
32628 LIBC_TRY_CC_OPTION.
32629 * configure: Regenerated.
32631 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32646 2012-05-27 David S. Miller <davem@davemloft.net>
32648 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32650 (__Q_simulate_exceptions): Return void. Change to simulate
32651 exceptions by writing into the %fsr.
32652 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32653 (__Qp_handle_exceptions): Likewise.
32655 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32656 __Qp_handle_exceptions.
32657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32658 __Qp_handle_exceptions.
32659 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32660 as unused and give dummy FP_RND_NEAREST initializer.
32661 (FP_INHIBIT_RESULTS): Define.
32662 (___Q_simulate_exceptions): Update declaration.
32663 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32665 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32666 as unused and give dummy FP_RND_NEAREST initializer.
32667 (__Qp_handle_exceptions): Update declaration.
32668 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32671 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
32673 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32674 the temporary FPU control word.
32675 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32676 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32678 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32679 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32680 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32681 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32682 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32683 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32684 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32685 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32687 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32689 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32692 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
32694 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32695 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32696 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32697 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32699 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32700 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32703 2012-05-27 Ulrich Drepper <drepper@gmail.com>
32705 * po/h.po: Update from translation team.
32707 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
32709 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32711 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32712 handling of denormals.
32713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32714 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32715 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32716 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32718 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32722 2012-05-26 Marek Polacek <polacek@redhat.com>
32725 * math/libm-test.inc (fma_test): Don't always expect underflow
32728 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32731 * elf/tst-execstack.c: Include stackinfo.h.
32732 (do_test): Adjust test case to ensure that pthread_getattr_np
32733 behaviour remains the same after marking stack executable.
32735 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32737 * sysdeps/unix/sysv/linux/kernel-features.h
32738 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32739 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32741 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32742 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32743 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32745 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32746 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32748 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
32750 * configure.in: Define the default includes to being none.
32751 * configure: Regenerated.
32753 2012-05-25 Roland McGrath <roland@hack.frob.com>
32755 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32756 * sysdeps/x86_64/setjmp.S: Likewise.
32757 * sysdeps/i386/bsd-setjmp.S: Likewise.
32758 * sysdeps/i386/bsd-_setjmp.S: Likewise.
32759 * sysdeps/i386/setjmp.S: Likewise.
32760 * sysdeps/i386/__longjmp.S: Likewise.
32761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32762 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32764 * include/stap-probe.h: New file.
32765 * configure.in: Handle --enable-systemtap.
32766 * configure: Regenerated.
32767 * config.h.in (USE_STAP_PROBE): New #undef.
32768 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32769 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32770 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32772 2012-05-25 Joseph Myers <joseph@codesourcery.com>
32775 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32776 to 2.4.0 where earlier.
32777 * sysdeps/unix/sysv/linux/configure: Regenerated.
32778 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
32787 [__ASSUME_32BITUIDS]: Make code unconditional.
32788 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32789 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32790 <kernel-features.h>.
32791 [__ASSUME_32BITUIDS]: Make code unconditional.
32792 [!__ASSUME_32BITUIDS]: Remove conditional code.
32793 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32794 <kernel-features.h>.
32795 [__ASSUME_32BITUIDS]: Make code unconditional.
32796 [!__ASSUME_32BITUIDS]: Remove conditional code.
32797 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32798 <kernel-features.h>.
32799 [__ASSUME_32BITUIDS]: Make code unconditional.
32800 [!__ASSUME_32BITUIDS]: Remove conditional code.
32801 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32802 <kernel-features.h>.
32803 [__ASSUME_32BITUIDS]: Make code unconditional.
32804 [!__ASSUME_32BITUIDS]: Remove conditional code.
32805 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32806 <kernel-features.h>.
32807 [__ASSUME_32BITUIDS]: Make code unconditional.
32808 [!__ASSUME_32BITUIDS]: Remove conditional code.
32809 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32810 <kernel-features.h>.
32811 [__ASSUME_32BITUIDS]: Make code unconditional.
32812 [!__ASSUME_32BITUIDS]: Remove conditional code.
32813 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32814 <kernel-features.h>.
32815 [__ASSUME_32BITUIDS]: Make code unconditional.
32816 [!__ASSUME_32BITUIDS]: Remove conditional code.
32817 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32818 <kernel-features.h>.
32819 [__ASSUME_32BITUIDS]: Make code unconditional.
32820 [!__ASSUME_32BITUIDS]: Remove conditional code.
32821 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32822 <kernel-features.h>.
32823 [__ASSUME_32BITUIDS]: Make code unconditional.
32824 [!__ASSUME_32BITUIDS]: Remove conditional code.
32825 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32826 <kernel-features.h>.
32827 [__ASSUME_32BITUIDS]: Make code unconditional.
32828 [!__ASSUME_32BITUIDS]: Remove conditional code.
32829 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32830 <kernel-features.h>.
32831 [__NR_setresgid] (__setresgid): Do not declare.
32832 [__ASSUME_32BITUIDS]: Make code unconditional.
32833 [!__ASSUME_32BITUIDS]: Remove conditional code.
32834 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32835 <kernel-features.h>.
32836 [__NR_setresuid] (__setresuid): Do not declare.
32837 [__ASSUME_32BITUIDS]: Make code unconditional.
32838 [!__ASSUME_32BITUIDS]: Remove conditional code.
32839 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32840 <kernel-features.h>.
32841 [__ASSUME_32BITUIDS]: Make code unconditional.
32842 [!__ASSUME_32BITUIDS]: Remove conditional code.
32843 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32844 <kernel-features.h>.
32845 [__ASSUME_32BITUIDS]: Make code unconditional.
32846 [!__ASSUME_32BITUIDS]: Remove conditional code.
32847 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32848 <kernel-features.h>.
32849 [__ASSUME_32BITUIDS]: Make code unconditional.
32850 [!__ASSUME_32BITUIDS]: Remove conditional code.
32851 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32852 <kernel-features.h>.
32853 [__ASSUME_32BITUIDS]: Make code unconditional.
32854 [!__ASSUME_32BITUIDS]: Remove conditional code.
32855 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32856 <kernel-features.h>.
32857 [__ASSUME_32BITUIDS]: Make code unconditional.
32858 [!__ASSUME_32BITUIDS]: Remove conditional code.
32859 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32860 <kernel-features.h>.
32861 [__ASSUME_32BITUIDS]: Make code unconditional.
32862 [!__ASSUME_32BITUIDS]: Remove conditional code.
32863 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32864 <kernel-features.h>.
32865 [__ASSUME_32BITUIDS]: Make code unconditional.
32866 [!__ASSUME_32BITUIDS]: Remove conditional code.
32867 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32868 <kernel-features.h>.
32869 [__ASSUME_32BITUIDS]: Make code unconditional.
32870 [!__ASSUME_32BITUIDS]: Remove conditional code.
32871 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32872 <kernel-features.h>.
32873 [__ASSUME_32BITUIDS]: Make code unconditional.
32874 [!__ASSUME_32BITUIDS]: Remove conditional code.
32875 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32876 <kernel-features.h>.
32877 [__ASSUME_32BITUIDS]: Make code unconditional.
32878 [!__ASSUME_32BITUIDS]: Remove conditional code.
32879 * sysdeps/unix/sysv/linux/kernel-features.h
32880 (__ASSUME_SETRESUID_SYSCALL): Remove.
32881 (__ASSUME_SETRESGID_SYSCALL): Likewise.
32882 (__ASSUME_32BITUIDS): Likewise.
32883 (__ASSUME_LDT_WORKS): Likewise.
32884 (__ASSUME_O_DIRECTORY): Likewise.
32885 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32886 architecture but not kernel version.
32887 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32888 (__ASSUME_MMAP2_SYSCALL): Likewise.
32889 (__ASSUME_STAT64_SYSCALL): Likewise.
32890 (__ASSUME_IPC64): Likewise.
32891 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32892 <kernel-features.h>.
32893 [__ASSUME_32BITUIDS]: Make code unconditional.
32894 [!__ASSUME_32BITUIDS]: Remove conditional code.
32895 * sysdeps/unix/sysv/linux/opendir.c: Do not include
32896 <kernel-features.h>.
32897 [__ASSUME_O_DIRECTORY]: Make code unconditional.
32898 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32899 132096]: Remove conditional code.
32900 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32901 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32902 <kernel-features.h>.
32903 [__ASSUME_32BITUIDS]: Make code unconditional.
32904 [!__ASSUME_32BITUIDS]: Remove conditional code.
32905 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32906 <kernel-features.h>.
32907 [__ASSUME_32BITUIDS]: Make code unconditional.
32908 [!__ASSUME_32BITUIDS]: Remove conditional code.
32909 * sysdeps/unix/sysv/linux/setegid.c: Do not include
32910 <kernel-features.h>.
32911 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32913 (__setresgid): Do not declare.
32914 [__ASSUME_32BITUIDS]: Make code unconditional.
32915 [!__ASSUME_32BITUIDS]: Remove conditional code.
32916 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32917 <kernel-features.h>.
32918 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32920 (__setresuid): Do not declare.
32921 [__ASSUME_32BITUIDS]: Make code unconditional.
32922 [!__ASSUME_32BITUIDS]: Remove conditional code.
32923 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32924 <kernel-features.h>.
32925 [__ASSUME_32BITUIDS]: Make code unconditional.
32926 [!__ASSUME_32BITUIDS]: Remove conditional code.
32927 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32928 <kernel-features.h>.
32929 [__ASSUME_32BITUIDS]: Make code unconditional.
32930 [!__ASSUME_32BITUIDS]: Remove conditional code.
32932 2012-05-25 Richard Henderson <rth@twiddle.net>
32934 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32935 dl_hwcap to ifunc resolver.
32936 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32938 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32939 dl_hwcap to ifunc resolver.
32940 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32942 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32945 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32946 for |x| <= 2**-26, not 2**-57.
32947 * math/libm-test.inc (acos_test): Do not allow spurious underflow
32950 2012-05-24 Jeff Law <law@redhat.com>
32952 * stdio-common/Makefile (tests): Add bug25.
32953 * stdio-common/bug25.c: New test.
32955 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
32958 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32959 multiple of MALLOC_ALIGNMENT in size.
32960 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32962 2012-05-24 Joseph Myers <joseph@codesourcery.com>
32964 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32966 (FILENAME_MAX): Use macro-int-constant.
32967 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
32968 (_IOFBF): Use macro-int-constant.
32969 (_IOLBF): Likewise.
32970 (_IONBF): Likewise.
32971 (SEEK_CUR): Likewise.
32972 (SEEK_END): Likewise.
32973 (SEEK_SET): Likewise.
32974 (TMP_MAX): Likewise.
32975 (EOF): Use macro-int-constant. Require < 0.
32976 (NULL): Use macro-constant. Require == 0.
32977 (stdin): Require type to be FILE *.
32978 (stdout): Likewise.
32979 (stderr): Likewise.
32980 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32981 macro-int-constant.
32982 (EXIT_SUCCESS): Likewise.
32983 (NULL): Use macro-constant. Require == 0.
32984 (RAND_MAX): Use macro-int-constant.
32985 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32986 [C99-based standards] (strtof): Require function.
32987 [C99-based standards] (strtold): Likewise.
32988 [C99-based standards] (strtoll): Likewise.
32989 [C99-based standards] (strtoull): Likewise.
32990 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32991 [ISO || ISO99 || ISO11] (limits.h): Likewise.
32992 [ISO || ISO99 || ISO11] (math.h): Likewise.
32993 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32994 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32997 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
33000 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
33001 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
33002 * intl/dgettext.c (DCGETTEXT): Likewise.
33003 * intl/gettext.c (DCGETTEXT): Likewise.
33004 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
33005 * posix/regex_internal.h (gettext): Likewise.
33006 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
33007 Remove declaration.
33008 * include/argz.h (__argz_count_internal)
33009 (__argz_stringify_internal): Remove declaration.
33010 (__argz_count, __argz_stringify): Declare hidden proto.
33011 * intl/dcgettext.c: Remove use of INTDEF.
33012 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
33013 * string/argz-stringify.c: Likewise.
33014 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33015 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33016 Declare hidden proto.
33017 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
33018 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
33019 Declare hidden proto.
33020 * include/stdio.h (__asprintf_internal): Don't declare.
33021 (__asprintf): Don't define as macro. Declare hidden proto.
33022 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
33023 (__fsetlocking): Declare hidden proto.
33024 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
33025 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
33027 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
33028 (_IO_setlinebuf): Remove use of INTUSE.
33029 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
33030 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
33031 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
33032 Remove declaration.
33033 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
33034 (_IO_do_flush): Remove use of INTUSE.
33035 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
33036 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
33037 (_IO_adjust_column, _IO_least_wmarker)
33038 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
33039 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
33040 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
33041 (_IO_default_doallocate, _IO_wdefault_doallocate)
33042 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
33043 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
33044 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
33045 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
33046 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
33047 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
33048 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
33049 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
33050 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
33051 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
33052 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
33053 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
33054 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
33056 (_IO_flush_all_internal, _IO_adjust_column_internal)
33057 (_IO_default_uflow_internal, _IO_default_finish_internal)
33058 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
33059 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
33060 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
33061 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
33062 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
33063 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
33064 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
33065 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
33066 (_IO_file_close_internal, _IO_file_close_it_internal)
33067 (_IO_file_underflow_internal, _IO_file_overflow_internal)
33068 (_IO_file_init_internal, _IO_file_attach_internal)
33069 (_IO_file_fopen_internal, _IO_file_read_internal)
33070 (_IO_file_sync_internal, _IO_file_seek_internal)
33071 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
33072 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
33073 (_IO_str_underflow_internal, _IO_str_overflow_internal)
33074 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
33075 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
33076 (_IO_list_all_internal, _IO_link_in_internal)
33077 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
33078 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
33079 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
33080 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
33081 (_IO_do_write_internal, _IO_padn_internal)
33082 (_IO_getline_info_internal, _IO_getline_internal)
33083 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
33084 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
33085 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
33086 (_IO_vfscanf_internal, _IO_vfprintf_internal)
33087 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
33088 (_IO_init_internal, _IO_un_link_internal): Don't declare.
33089 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
33090 with libc_hidden_ver, remove use of INTUSE.
33091 * libio/genops.c: Likewise.
33092 * libio/freopen.c: Likewise.
33093 * libio/freopen64.c: Likewise.
33094 * libio/iofclose.c: Likewise.
33095 * libio/iofdopen.c: Likewise.
33096 * libio/iofflush.c: Likewise.
33097 * libio/iofflush_u.c: Likewise.
33098 * libio/iofgets.c: Likewise.
33099 * libio/iofgets_u.c: Likewise.
33100 * libio/iofopen.c: Likewise.
33101 * libio/iofopncook.c: Likewise.
33102 * libio/iofread.c: Likewise.
33103 * libio/iofread_u.c: Likewise.
33104 * libio/ioftell.c: Likewise.
33105 * libio/iofwrite.c: Likewise.
33106 * libio/iogetline.c: Likewise.
33107 * libio/iogets.c: Likewise.
33108 * libio/iogetwline.c: Likewise.
33109 * libio/iopadn.c: Likewise.
33110 * libio/iopopen.c: Likewise.
33111 * libio/ioseekoff.c: Likewise.
33112 * libio/ioseekpos.c: Likewise.
33113 * libio/iosetbuffer.c: Likewise.
33114 * libio/iosetvbuf.c: Likewise.
33115 * libio/ioungetc.c: Likewise.
33116 * libio/ioungetwc.c: Likewise.
33117 * libio/iovdprintf.c: Likewise.
33118 * libio/iovsprintf.c: Likewise.
33119 * libio/iovsscanf.c: Likewise.
33120 * libio/memstream.c: Likewise.
33121 * libio/obprintf.c: Likewise.
33122 * libio/oldfileops.c: Likewise.
33123 * libio/oldiofclose.c: Likewise.
33124 * libio/oldiofdopen.c: Likewise.
33125 * libio/oldiofopen.c: Likewise.
33126 * libio/oldiopopen.c: Likewise.
33127 * libio/oldstdfiles.c: Likewise.
33128 * libio/putc.c: Likewise.
33129 * libio/setbuf.c: Likewise.
33130 * libio/setlinebuf.c: Likewise.
33131 * libio/stdfiles.c: Likewise.
33132 * libio/strops.c: Likewise.
33133 * libio/vasprintf.c: Likewise.
33134 * libio/vscanf.c: Likewise.
33135 * libio/vsnprintf.c: Likewise.
33136 * libio/vswprintf.c: Likewise.
33137 * libio/wfiledoalloc.c: Likewise.
33138 * libio/wfileops.c: Likewise.
33139 * libio/wgenops.c: Likewise.
33140 * libio/wmemstream.c: Likewise.
33141 * libio/wstrops.c: Likewise.
33142 * libio/__fpurge.c: Likewise.
33143 * libio/__fsetlocking.c: Likewise.
33144 * assert/assert.c: Likewise.
33145 * debug/fgets_chk.c: Likewise.
33146 * debug/fgets_u_chk.c: Likewise.
33147 * debug/fread_chk.c: Likewise.
33148 * debug/fread_u_chk.c: Likewise.
33149 * debug/gets_chk.c: Likewise.
33150 * debug/obprintf_chk.c: Likewise.
33151 * debug/vasprintf_chk.c: Likewise.
33152 * debug/vdprintf_chk.c: Likewise.
33153 * debug/vsnprintf_chk.c: Likewise.
33154 * debug/vsprintf_chk.c: Likewise.
33155 * malloc/mtrace.c: Likewise.
33156 * misc/error.c: Likewise.
33157 * misc/syslog.c: Likewise.
33158 * stdio-common/asprintf.c: Likewise.
33159 * stdio-common/fxprintf.c: Likewise.
33160 * stdio-common/getw.c: Likewise.
33161 * stdio-common/isoc99_fscanf.c: Likewise.
33162 * stdio-common/isoc99_scanf.c: Likewise.
33163 * stdio-common/isoc99_vfscanf.c: Likewise.
33164 * stdio-common/isoc99_vscanf.c: Likewise.
33165 * stdio-common/isoc99_vsscanf.c: Likewise.
33166 * stdio-common/printf-prs.c: Likewise.
33167 * stdio-common/printf_fp.c: Likewise.
33168 * stdio-common/printf_fphex.c: Likewise.
33169 * stdio-common/printf_size.c: Likewise.
33170 * stdio-common/putw.c: Likewise.
33171 * stdio-common/scanf.c: Likewise.
33172 * stdio-common/sprintf.c: Likewise.
33173 * stdio-common/tmpfile.c: Likewise.
33174 * stdio-common/vfprintf.c: Likewise.
33175 * stdio-common/vfscanf.c: Likewise.
33176 * stdlib/strfmon_l.c: Likewise.
33177 * sunrpc/openchild.c: Likewise.
33178 * sunrpc/xdr_stdio.c: Likewise.
33179 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
33180 * sysdeps/mach/hurd/tmpfile.c: Likewise.
33182 2012-05-24 Roland McGrath <roland@hack.frob.com>
33184 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33186 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
33187 in the third column, to generate for the shared library an IFUNC
33188 that uses _dl_vdso_vsym.
33189 * Makerules (COMPILE.c, compile-stdin.c): New variables.
33190 * Makeconfig (object-suffixes-noshared): New variable.
33192 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
33193 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
33194 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
33195 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
33198 * include/sys/time.h (__gettimeofday): Remove macro.
33199 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
33200 * time/gettimeofday.c (__gettimeofday): Remove #undef.
33202 (__gettimeofday): Add libc_hidden_def.
33203 (gettimeofday): Add libc_hidden_weak.
33204 * sysdeps/mach/gettimeofday.c: Likewise.
33205 * sysdeps/posix/gettimeofday.c: Likewise.
33206 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
33207 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
33209 (__gettimeofday_internal): Remove strong_alias.
33210 (__gettimeofday): Add libc_hidden_def.
33211 (gettimeofday): Add libc_hidden_weak.
33212 * sysdeps/unix/syscalls.list (gettimeofday):
33213 Remove __gettimeofday_internal alias.
33215 2012-05-24 Daniel Jacobowitz <drow@false.org>
33216 H.J. Lu <hongjiu.lu@intel.com>
33219 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
33220 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
33221 (largebin_index_32_big): New.
33222 (largebin_index): Use it for 16-byte alignment.
33223 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
33224 correction with front_misalign.
33226 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
33228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
33229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
33231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
33233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
33237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
33239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
33241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
33243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
33247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
33249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
33251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
33254 * scripts/data/c++-types-x32-linux-gnu.data: New file.
33255 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
33257 2012-05-24 Joseph Myers <joseph@codesourcery.com>
33261 * math/libm-test.inc (exp_test): Add test from bug 14036.
33262 (pow_test): Add test from bug 10846.
33264 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
33266 (special_function): Do not include flags in test name.
33267 (parse_args): Likewise.
33268 * sysdeps/i386/fpu/libm-test-ulps: Update.
33269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33270 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
33271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
33272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33274 * math/gen-libm-test.pl (%beautify): Add entries for underflow
33276 * math/libm-test.inc ("Philosophy"): Update comment about
33278 (UNDERFLOW_EXCEPTION): New macro.
33279 (UNDERFLOW_EXCEPTION_OK): Likewise.
33280 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
33281 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
33282 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
33283 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
33284 (INVALID_EXCEPTION_OK): Update value.
33285 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
33286 (OVERFLOW_EXCEPTION_OK): Likewise.
33287 (IGNORE_ZERO_INF_SIGN): Likewise.
33288 (test_exceptions): Handle underflow exceptions.
33289 (acos_test): Update for underflow exception expectations.
33290 (cexp_test): Likewise.
33291 (clog_test): Likewise.
33292 (clog10_test): Likewise.
33293 (csqrt_test): Likewise.
33294 (ctan_test): Likewise.
33295 (ctanh_test): Likewise.
33296 (exp_test): Likewise.
33297 (exp10_test): Likewise.
33298 (exp2_test): Likewise.
33299 (expm1_test): Likewise.
33300 (fma_test): Likewise.
33301 (j0_test): Likewise.
33302 (jn_test): Likewise.
33303 (nexttoward_test): Likewise.
33304 (pow_test): Likewise.
33305 (scalbn_test): Likewise.
33306 (scalbln_test): Likewise.
33307 (tan_test): Likewise.
33308 (y1_test): Likewise.
33309 * sysdeps/i386/fpu/libm-test-ulps: Update.
33310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33312 2012-05-23 David S. Miller <davem@davemloft.net>
33314 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33315 (__libc_sigaction): Remove unused local variables.
33317 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33319 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
33321 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
33323 mktime: avoid signed integer overflow
33324 * time/mktime.c (__mktime_internal): Do not mishandle the case
33325 where diff == INT_MIN.
33327 mktime: simplify computation of average
33328 * time/mktime.c (ranged_convert): Use new time_t_avg function
33329 instead of rolling our own (probably-slower) code.
33331 mktime: do not assume signed right shift propagates sign bit
33332 * time/mktime.c (isdst_differ): New static function.
33333 (__mktime_internal): No need to normalize tm_isdst now.
33334 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
33337 mktime: merge another wrapv change from gnulib
33338 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
33339 from some compilers.
33341 mktime: remove incorrect attempt at unusual arithmetics
33342 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
33343 The code didn't really work on such machines anyway.
33344 (TYPE_MINIMUM): Assume two's complement.
33345 (twos_complement_arithmetic): Verify that long_int and time_t
33346 are two's complement (or unsigned, in the latter case).
33348 mktime: check signed shifts on long_int and time_t, too
33349 * time/mktime.c (SHR): Check that shifts work as desired
33350 on the types long_int and time_t too, as SHR is used on
33353 mktime: do not assume 'long' is wide enough
33354 * time/mktime.c (verify): Move decl up.
33355 (long_int): New type.
33356 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
33357 to remove assumption in the code that 'long' is wide enough to
33358 store year values. This assumption is not true on x32 and on
33359 some non-glibc platforms.
33361 mktime: merge wrapv change from gnulib
33362 * time/mktime.c (WRAPV): New macro.
33363 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
33364 (guess_time_tm, __mktime_internal): Do not assume that signed
33365 integer overflow wraps around; modern compilers generate code
33366 where this assumption is no longer valid.
33368 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33370 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33371 Replace "jmp L(pseudo_end)" with "ret".
33372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
33375 2012-05-23 Andreas Jaeger <aj@suse.de>
33377 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
33378 * sysdeps/unix/sysv/linux/poll.c: Remove file.
33380 2012-05-23 Andreas Jaeger <aj@suse.de>
33381 Maximilian Attems <max@stro.at>
33383 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
33386 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
33388 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
33389 code so that pseudo_end is just ret and the stack pointer is
33390 correct also for static library in error case.
33392 2012-05-23 Joseph Myers <joseph@codesourcery.com>
33394 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
33395 move to syscalls.list.
33396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33401 * manual/install.texi (Running make install): Do not mention Linux
33402 kernel version for which pt_chown is not needed.
33403 (Linux): Do not mention problems with nscd with 2.0 kernels.
33404 * INSTALL: Regenerated.
33406 2012-05-23 Andreas Jaeger <aj@suse.de>
33408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
33409 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
33411 * sysdeps/unix/sysv/linux/s390/bits/mman.h
33412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33413 * sysdeps/unix/sysv/linux/sh/bits/mman.h
33414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33415 * sysdeps/unix/sysv/linux/i386/bits/mman.h
33416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33417 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
33418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
33420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
33421 * sysdeps/unix/sysv/linux/bits/in.h
33422 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
33424 2012-05-22 Roland McGrath <roland@hack.frob.com>
33426 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
33427 (PREPARE_VERSION): Just use assert instead, it will be elided
33428 under [NDEBUG] anyway.
33430 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33432 * sysdeps/unix/sysv/linux/Makefile: Include
33433 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33434 (sysdep_routines): Remove sysctl.
33435 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33436 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33437 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33438 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33439 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33441 2012-05-22 Andreas Jaeger <aj@suse.de>
33443 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33444 that pseudo_end is just ret and the stack pointer is correct also
33445 for static library in error case.
33447 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
33450 * nss/nsswitch.c (defconfig_entries): New variable.
33451 (__nss_database_lookup): Don't leak defconfig entries.
33452 (nss_parse_service_list): Don't leak on error paths.
33453 (free_database_entries): New function.
33454 (free_defconfig): New function.
33455 (free_mem): Move common code to free_database_entries.
33457 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33459 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33461 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33463 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33464 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33467 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33468 (INTERNAL_SYSCALL_TYPES): Likewise.
33469 (LOAD_ARGS_TYPES_[1-6]): Likewise.
33470 (LOAD_REGS_TYPES_[1-6]): Likewise.
33471 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33472 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33474 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33477 copysignl for GLIBC_2_0.
33478 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33479 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33481 logbl for GLIBC_2_0.
33482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33483 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33485 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33487 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33488 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
33490 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33493 * time/mktime.c: Update copyright years.
33495 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
33497 mktime: merge comment-quoting-style change from gnulib
33498 * time/mktime.c: Quote 'like this' in comments.
33499 The GNU coding standards suggest that we no longer quote `like this',
33500 as "`" and "'" are typically rendered asymmetrically nowadays.
33501 The typical gnulib style is to quote 'like this' when quoting
33502 code, and "like this" when quoting English.
33504 * time/mktime.c (compile-command): Add "-I.".
33506 mktime: merge mktime-internal.h change from gnulib
33507 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33509 mktime: merge time_r change from gnulib
33510 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33512 mktime: merge DEBUG change from gnulib
33513 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33514 case system <time.h> has a #define.
33516 mktime: merge <sys/types.h> change from gnulib
33517 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33518 since <time.t> is now guaranteed to define time_t.
33520 mktime: merge HAVE_CONFIG_H change from gnulib
33521 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33523 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
33525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33530 (struct rusage): Use anonymous union to pad each field to
33533 2012-05-21 David S. Miller <davem@davemloft.net>
33535 * Makefules (o-iterator): Remove .s cases.
33536 (compile-command.s): Delete.
33537 (COMPILE.s): Delete.
33538 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33540 2012-05-21 Joseph Myers <joseph@codesourcery.com>
33542 * configure.in (libc_cv_predef_stack_protector): Only consider
33543 "foobar" and "__stack_chk_fail" lines in libc_undefs.
33544 * configure: Regenerated.
33546 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33549 New macro. Use R*LP on int and pointer.
33550 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33551 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33552 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33553 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33555 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33556 [__WORDSIZE_TIME64_COMPAT32] instead of
33557 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33558 (struct utmp): Likewise.
33559 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33560 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33562 (__WORDSIZE_TIME64_COMPAT32): This.
33563 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33564 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33565 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33566 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33567 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33568 (__WORDSIZE_TIME64_COMPAT32): New macro.
33570 2012-05-21 Andreas Jaeger <aj@suse.de>
33572 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33573 only if [SHARED]. Add prototype for __wcschr_ia32.
33575 2012-05-21 Roland McGrath <roland@hack.frob.com>
33577 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33578 of %rbp unmolested in the jmp_buf while mangling the low bits.
33579 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33580 unmolested high bits of %rbp while demangling the low bits.
33581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33583 2012-05-21 Andreas Jaeger <aj@suse.de>
33585 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33586 * sunrpc/svc_simple.c: Use it for registerrpc.
33587 * sunrpc/xcrypt.c: Use it for passwd2des.
33589 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33591 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33593 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33594 Don't define if [__SYSCALL_WORDSIZE != 32].
33595 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33598 2012-05-21 Bruno Haible <bruno@clisp.org>
33599 Andreas Jaeger <aj@suse.de>
33601 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33602 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33603 inptr and inend for must_buffer_ch.
33604 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33605 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33606 * stdio-common/Makefile (tests): Remove bug15.
33607 (bug15-ENV): Remove macro.
33608 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33611 2012-05-19 Andreas Jaeger <aj@suse.de>
33612 Roland McGrath <roland@hack.frob.com>
33614 * manual/contrib.texi: Completely rewritten. It contains now an
33615 alphabetical list of contributors and their contributions.
33617 2012-05-21 Richard Henderson <rth@twiddle.net>
33619 * misc/getauxval.c (__getauxval): Use unsigned long int.
33620 * misc/sys/auxv.h: Include <sys/cdefs.h>.
33621 (getauxval): Use unsigned long int.
33623 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
33625 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33627 2012-05-21 Roland McGrath <roland@hack.frob.com>
33629 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33630 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33631 __alignof__ (long double).
33633 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33637 2012-05-20 Richard Henderson <rth@twiddle.net>
33639 * misc/getauxval.c: New file.
33640 * misc/sys/auxv.h: New file.
33641 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33642 (routines): Add getauxval.
33643 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33644 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33645 * elf/dl-sysdep.c (_dl_auxv): Remove.
33646 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33647 * elf/dl-support.c (_dl_auxv): New variable.
33648 (_dl_aux_init): Initialize it.
33649 * manual/startup.texi (Auxiliary Vector): New node.
33650 * sysdeps/generic/bits/hwcap.h: New file.
33651 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33652 * sysdeps/powerpc/sysdep.h: ... here. Include it.
33653 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33654 * sysdeps/sparc/sysdep.h: ... here. Include it.
33655 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33662 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33668 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33672 2012-05-19 David S. Miller <davem@davemloft.net>
33674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33676 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33679 * math/s_ccosh.c: Include <float.h>
33680 (__ccosh): Avoid internal overflow calculating sinh and cosh
33681 values before multiplying by sin and cos values.
33682 * math/s_ccoshf.c: Likewise.
33683 * math/s_ccoshl.c: Likewise.
33684 * math/s_csin.c: Likewise.
33685 * math/s_csinf.c: Likewise.
33686 * math/s_csinl.c: Likewise.
33687 * math/s_csinh.c: Likewise.
33688 * math/s_csinhf.c: Likewise.
33689 * math/s_csinhl.c: Likewise.
33690 * math/libm-test.inc (ccos_test): Add more tests.
33691 (ccosh_test): Likewise.
33692 (csin_test): Likewise.
33693 (csinh_test): Likewise.
33694 * sysdeps/i386/fpu/libm-test-ulps: Update.
33695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33697 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
33699 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33700 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33702 * sysdeps/x86_64/x32/_itoa.h: Add comment.
33704 2012-05-19 Joseph Myers <joseph@codesourcery.com>
33706 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33707 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33708 * sysdeps/powerpc/soft-fp/Versions: Likewise.
33709 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33710 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33711 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33712 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33713 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33714 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33715 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33716 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33717 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33718 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33719 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33720 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33721 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33722 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33723 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33724 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33725 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33726 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33727 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33728 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33729 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33730 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33731 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33732 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33733 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33734 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33735 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33736 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33738 2012-05-18 Andreas Jaeger <aj@suse.de>
33740 * csu/.gitignore: Delete.
33742 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33744 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33745 (timex): Use __syscall_slong_t.
33747 2012-05-18 Andreas Jaeger <aj@suse.de>
33748 Carlos O'Donell <carlos_odonell@mentor.com>
33750 * manual/install.texi (Configuring and compiling): Update
33751 description about files modified in the source directory.
33752 * INSTALL: Regenerated.
33754 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33756 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33757 value. Use "or" to set return value to -1.
33758 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33759 negate return value.
33761 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33763 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33764 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33765 failure if the compiler has Graphite support disabled.
33766 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33768 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33769 (CFLAGS-memmove.c): Likewise.
33770 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33773 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
33775 * sysdeps/x86_64/x32/_itoa.h: New file.
33777 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33778 getdents system call only if kernel and user dirents have the
33779 same d_ino and d_off.
33781 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33782 LLONG_MAX != LONG_MAX.
33783 (_itoa_word): Use _ITOA_WORD_TYPE on value.
33784 (_fitoa_word): Likewise.
33786 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33788 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33789 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33790 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33792 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33793 include <bits/wordsize.h>. Check __x86_64__ instead of
33795 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33796 if __x86_64__ is defined. Use anonymous union on fpstate.
33798 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33801 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33803 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33804 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33805 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33806 Refer to _rtld_local_ro instead of _rtld_global_ro.
33807 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33809 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33811 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33813 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33814 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33815 of _rtld_global, and rtld_progname instead of _dl_argv[0].
33817 * sysdeps/powerpc/powerpc32/dl-machine.c
33818 (__elf_machine_runtime_setup) [PROF]: Don't reference
33821 2012-05-18 Andreas Jaeger <aj@suse.de>
33823 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33824 function only available for GCCs before 3.4 since GCC 3.4
33825 introduced a builtin.
33827 (llrintf): Likewise.
33828 (llrint): Likewise.
33835 (nearbyint): Likewise.
33836 (nearbyintf): Likewise.
33840 (floorf): Likewise.
33842 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33844 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33845 on both fields and cast pointer to __syscall_ulong_t.
33847 * bits/types.h (__fsword_t): New type.
33848 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33849 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33851 (__FSWORD_T_TYPE): Likewise.
33852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33853 (__FSWORD_T_TYPE): Likewise.
33854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33855 (__FSWORD_T_TYPE): Likewise.
33856 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33857 (__FSWORD_T_TYPE): Likewise.
33858 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33859 __SWORD_TYPE with __fsword_t.
33860 (statfs64): Likewise.
33862 2012-05-17 David S. Miller <davem@davemloft.net>
33864 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33866 2012-05-17 Andreas Jaeger <aj@suse.de>
33868 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33871 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33873 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33875 2012-05-17 Andreas Jaeger <aj@suse.de>
33877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33880 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33882 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33884 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
33886 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33887 * sysdeps/x86_64/tst-mallocalign1.c: New file.
33889 2012-05-17 Andreas Jaeger <aj@suse.de>
33890 Carlos O'Donell <carlos_odonell@mentor.com>
33893 * sysdeps/x86_64/multiarch/init-arch.h
33894 (bit_YMM_Usable): Rename to...
33895 (bit_AVX_Usable): ... this.
33896 (bit_FMA4_Usable): New macro.
33897 (bit_XMM_state): New macro.
33898 (bit_YMM_state): New macro.
33899 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33900 [__ASSEMBLER__] (index_AVX_Usable): ... this.
33901 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33902 (CPUID_OSXSAVE): New macro.
33903 (CPUID_AVX): New macro.
33904 (CPUID_FMA4): New macro.
33905 (index_YMM_Usable): Rename to...
33906 (index_AVX_Usable): ... this.
33907 (HAS_AVX): Use HAS_ARCH_FEATURE.
33908 (HAS_FMA4): Likewise.
33909 (HAS_YMM_USABLE): Remove.
33910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33911 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33913 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33914 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33915 * sysdeps/x86_64/multiarch/Makefile: Likewise.
33916 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33917 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33919 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
33921 * math/libm-test.c: Support platforms without multiple rounding modes.
33922 * math/bug-nextafter.c: Support platforms without FP exceptions.
33923 * math/bug-nexttoward.c: Likewise.
33924 * math/test-fenv.c: Likewise.
33925 * math/test-misc.c: Likewise.
33926 * stdlib/bug-getcontext.c: Likewise.
33928 2012-05-17 Andreas Jaeger <aj@suse.de>
33930 * manual/examples/search.c (critter_cmp): Change signature to
33932 * manual/string.texi (Collation Functions): Likewise.
33934 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33936 * bits/types.h: Fold copyright years.
33937 * bits/typesizes.h: Likewise.
33938 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33940 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33942 * time/time.h: Likewise.
33944 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
33947 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33948 in instead of returning them. Return void.
33949 (__libc_mallinfo): Accumulate over all arenas.
33950 (__malloc_stats): Adjust for change in int_mallinfo interface.
33952 2012-05-16 Roland McGrath <roland@hack.frob.com>
33955 * configure.in (NM): Add AC_CHECK_TOOL for it.
33956 (libc_extra_cflags): New substituted variable.
33957 Check for -fstack-protector being used implicitly.
33958 * configure: Regenerated.
33959 * config.make.in (config-extra-cflags): New variable,
33960 gets @libc_extra_cflags@.
33961 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33964 * configure.in: Check for _FORTIFY_SOURCE being predefined.
33965 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33966 * configure: Regenerated.
33967 * config.make.in (CPPUNDEFS): New substituted variable.
33968 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33969 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33970 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33972 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33974 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33975 (mq_attr): Use __syscall_slong_t.
33977 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33979 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33980 Check __x86_64__ instead of __WORDSIZE.
33981 (_STAT_VER_LINUX): Likewise.
33982 (stat): Check __x86_64__ instead of __WORDSIZE. Use
33983 __syscall_ulong_t and __syscall_slong_t.
33984 (stat64): Likewise.
33986 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33990 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33992 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33994 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
33996 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33999 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
34000 include <bits/wordsize.h>. Check __x86_64__ instead of
34002 (greg_t): Use "__extension__ long long int" if __x86_64__ is
34004 (mcontext_t): Replace "unsigned long" with "unsigned long long".
34006 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
34007 include <bits/wordsize.h>. Check __x86_64__ instead of
34009 (user_regs_struct): Use "__extension__ unsigned long long"
34010 instead of "unsigned long" if __x86_64__ is defined.
34011 (user): Likewise. Pad after pointer field if __ILP32__ is
34014 2012-05-16 Joseph Myers <joseph@codesourcery.com>
34016 * configure.in (makeinfo): Require version 4.5 or later. Allow
34018 * configure: Regenerated.
34019 * manual/install.texi (texinfo): Increase version requirement to
34021 * INSTALL: Regenerated.
34023 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
34025 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
34027 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
34029 * sysdeps/x86_64/x32/ffs.c: New file.
34031 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
34033 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
34034 defined. Use __syscall_ulong_t.
34035 (shminfo): Use __syscall_ulong_t.
34036 (shm_info): Likewise.
34038 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
34041 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
34043 (msgqnum_t): Use __syscall_ulong_t.
34044 (msglen_t): Likewise.
34045 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
34048 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
34049 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34051 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
34053 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
34054 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
34056 * sysvipc/sys/msg.h (msgbuf): Replace long int with
34059 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
34060 include <bits/wordsize.h>. Check __x86_64__ instead of
34063 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
34064 "unsigned long long int" if __x86_64__ is defined.
34065 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
34067 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
34068 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34069 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
34071 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
34073 (GET_PC): Cast to uintptr_t first.
34074 (GET_FRAME): Likewise.
34075 (GET_STACK): Likewise.
34077 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
34078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
34079 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
34080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
34081 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
34082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
34083 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
34084 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
34085 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
34086 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
34087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
34088 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
34089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34090 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
34091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
34092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
34093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
34094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
34095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
34096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
34097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
34098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
34099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
34100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
34101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
34102 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
34103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
34104 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
34105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
34107 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
34109 * Makerules (+depfiles): Also collect depfiles from .oS in
34111 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
34112 .oS, $(libnldbl-routines)).
34114 * Makerules (native-compile-mkdep-flags): Define.
34115 * sunrpc/Makefile (extra-objs): Add $(addprefix
34116 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
34117 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
34118 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
34119 calling $(make-target-directory).
34121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34123 * bits/types.h (__snseconds_t): Removed.
34124 * time/time.h (struct timespec): Replace __snseconds_t with
34126 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
34127 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
34129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34130 (__SNSECONDS_T_TYPE): Likewise.
34131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34132 (__SNSECONDS_T_TYPE): Likewise.
34133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34134 (__SNSECONDS_T_TYPE): Likewise.
34136 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34138 * sysdeps/mach/hurd/bits/typesizes.h
34139 (__SYSCALL_SLONG_TYPE): New macro.
34140 (__SYSCALL_ULONG_TYPE): Likewise.
34142 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34144 * bits/types.h (__syscall_slong_t): New type.
34145 (__syscall_ulong_t): Likewise.
34147 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
34148 (__SYSCALL_ULONG_TYPE): Likewise.
34149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34150 (__SYSCALL_SLONG_TYPE): Likewise.
34151 (__SYSCALL_ULONG_TYPE): Likewise.
34152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34153 (__SYSCALL_SLONG_TYPE): Likewise.
34154 (__SYSCALL_ULONG_TYPE): Likewise.
34155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34156 (__SYSCALL_SLONG_TYPE): Likewise.
34157 (__SYSCALL_ULONG_TYPE): Likewise.
34159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34161 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
34162 Add sigaltstack-offsets.sym.
34163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
34164 <sigaltstack-offsets.h>.
34165 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
34166 longjmp_msg pointer.
34167 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
34168 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
34170 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
34172 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34174 * elf/stackguard-macros.h: Remove file.
34175 * sysdeps/generic/stackguard-macros.h: New file.
34176 * sysdeps/i386/stackguard-macros.h: Likewise.
34177 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
34178 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
34179 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
34180 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
34181 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
34182 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
34183 * sysdeps/x86_64/stackguard-macros.h: Likewise.
34184 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
34185 <elf/stackguard-macros.h>.
34188 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
34189 __aligned__ in attribute.
34190 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
34191 (gregset_t): Likewise.
34193 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34195 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
34196 * sysdeps/x86_64/64/Implies-after: Here. New file.
34197 * sysdeps/x86_64/x32/Implies-after: New file.
34199 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34201 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
34202 and access return value for _dl_profile_fixup. Use R10_LP to
34205 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34207 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
34209 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34211 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
34212 * sysdeps/x86_64/x32/sysdep.h: New file.
34214 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34216 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
34217 * sysdeps/x86_64/setjmp.S: Likewise.
34219 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
34222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
34223 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34224 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
34225 remove unused global constant.
34227 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
34229 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
34230 include of <not-cancel.h>.
34232 2012-05-15 Roland McGrath <roland@hack.frob.com>
34234 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
34236 2012-05-15 Jeff Law <law@redhat.com>
34237 Andreas Jaeger <aj@suse.de>
34240 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
34242 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
34243 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
34244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
34245 code changing __hst_map_handle.map.
34247 2012-05-15 Roland McGrath <roland@hack.frob.com>
34249 * configure.in (sysnames): Look for Implies-before and Implies-after
34251 * configure: Regenerated.
34253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34255 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
34256 8-byte data alignment with LP_SIZE alignment.
34258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34260 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
34263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34265 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
34267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34269 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
34270 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
34271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
34273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34275 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34277 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
34278 (stackinfo_sub_sp): Likewise.
34280 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
34285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
34290 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34292 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
34295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34297 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
34299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34301 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
34302 into R11_LP and load __x86_64_shared_cache_size_half into
34305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34307 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
34310 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
34314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
34316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
34318 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
34319 powerpc32/power7/fpu/s_logb.c via #include.
34320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
34321 powerpc32/power7/fpu/s_logbf.c via #include.
34322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
34323 powerpc32/power7/fpu/s_logbl.c via #include.
34325 2012-05-15 Joseph Myers <joseph@codesourcery.com>
34327 * README.libm: Remove file.
34329 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34331 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
34332 count for x32. Use R*_LP and omit operand-size suffix.
34334 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34336 * shlib-versions: Move x86_64-.*-linux.* entries to ...
34337 * sysdeps/x86_64/64/shlib-versions: Here. New file.
34338 * sysdeps/x86_64/x32/shlib-versions: New file.
34340 2012-05-14 Roland McGrath <roland@hack.frob.com>
34342 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
34343 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
34344 Use _dl_fatal_printf instead.
34346 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34348 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
34349 set if not set by the user. Do not allow for being unset.
34350 * sysdeps/unix/sysv/linux/configure: Regenerated.
34352 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34354 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
34355 the `q' suffix from lea and replace .quad with ASM_ADDR.
34357 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
34360 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
34362 (PTR_DEMANGLE): Likewise.
34364 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34366 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34368 (ASM_ADDR): Likewise.
34369 (RAX_LP): Likewise.
34370 (RBP_LP): Likewise.
34371 (RBX_LP): Likewise.
34372 (RCX_LP): Likewise.
34373 (RDI_LP): Likewise.
34374 (RSI_LP): Likewise.
34375 (RSP_LP): Likewise.
34378 (R10_LP): Likewise.
34379 (R10_LP): Likewise.
34380 (R11_LP): Likewise.
34381 (R12_LP): Likewise.
34382 (R13_LP): Likewise.
34383 (R14_LP): Likewise.
34384 (R15_LP): Likewise.
34386 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34388 * sysdeps/x86_64/x32/dl-machine.h: New file.
34390 2012-05-14 Andreas Jaeger <aj@suse.de>
34392 * manual/Makefile (subdir): Remove export of subdir.
34393 (all): Remove target.
34394 (.PHONY): Remove all from list.
34395 (mkinstalldirs): Remove.
34396 (.PHONY): Remove installdirs from list.
34397 ($(inst_infodir)/libc.info): Use make-target-directory.
34398 (installdirs): Remove.
34399 (subdir_%): Remove.
34400 (glibc-targets): Remove.
34403 ($(objpfx)stubs ../po/manual.pot): Remove.
34404 ($(objpfx)stamp%): Remove.
34405 (make-target-directory): Remove.
34406 (subdir_install): Remove.
34407 (routines): Remove.
34414 * manual/.gitignore: Remove, it's not needed anymore.
34415 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
34417 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
34419 (texis): Renamed to $(objpfx)texis.
34420 (texis-path): New, contains path to generated files.
34421 (chapters.%): Use texis-path for complete path, add extra argument
34423 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
34424 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
34425 (summary,texi, stamp-summary): Use complete path of
34426 files. Generate files in build dir.
34427 (dir-add.texi): Build in build dir.
34428 (libm-err.texi,stamp-libm-err): Likewise.
34429 (version.texi, stamp-version): Likewise.
34430 (.%c.texi): Likewise.
34431 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34432 (mostlyclean): Remove target.
34433 (realclean): Remove target.
34434 (generated): Add new variable with contents from mostlyclean and
34435 realclean, remove entries duplicated in common-mostlyclean, add
34436 stamp-libm-err and stamp-version.
34437 (generated-dirs): Add libc directory.
34438 ($(inst_infodir)/libc.info): Install files from build dir.
34440 * manual/install.texi (Configuring and compiling): Adjust since
34441 the info files are not part of the tar ball anymore.
34443 2012-05-14 Andreas Jaeger <aj@suse.de>
34445 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34448 2012-05-14 Joseph Myers <joseph@codesourcery.com>
34451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34452 to 2.2.0 where earlier.
34453 * sysdeps/unix/sysv/linux/configure: Regenerated.
34454 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34455 Remove conditional code.
34456 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34457 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34458 Remove conditional code.
34459 [!__NR_lchown]: Likewise.
34460 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34461 [__NR_lchown]: Likewise.
34462 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34463 comment referencing __ASSUME_LCHOWN_SYSCALL.
34464 * sysdeps/unix/sysv/linux/i386/sigaction.c
34465 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34466 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34467 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34468 Remove conditional code.
34469 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34470 (__protocol_available): Remove #if 0 code.
34471 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34473 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34474 * sysdeps/unix/sysv/linux/kernel-features.h
34475 (__ASSUME_GETCWD_SYSCALL): Don't define.
34476 (__ASSUME_REALTIME_SIGNALS): Likewise.
34477 (__ASSUME_PREAD_SYSCALL): Likewise.
34478 (__ASSUME_PWRITE_SYSCALL): Likewise.
34479 (__ASSUME_POLL_SYSCALL): Likewise.
34480 (__ASSUME_LCHOWN_SYSCALL): Likewise.
34481 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34483 (__ASSUME_SIOCGIFNAME): Don't define.
34484 (__ASSUME_MSG_NOSIGNAL): Likewise.
34485 (__ASSUME_SENDFILE): Define unconditionally.
34486 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34487 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34489 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34490 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34491 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34492 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34493 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34494 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34495 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34497 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34500 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34503 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34509 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34512 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34515 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34516 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34518 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34519 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34520 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34521 Remove conditional code.
34522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34523 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34524 Remove conditional code.
34525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34526 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34527 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34528 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34529 Remove conditional code.
34530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34531 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34532 Remove conditional code.
34533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34534 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34535 Remove conditional code.
34536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34537 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34538 Remove conditional code.
34539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34540 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34541 Remove conditional code.
34542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34543 * sysdeps/unix/sysv/linux/sh/pwrite64.c
34544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34546 * sysdeps/unix/sysv/linux/sigaction.c
34547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34549 * sysdeps/unix/sysv/linux/sigpending.c
34550 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34551 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34552 * sysdeps/unix/sysv/linux/sigprocmask.c
34553 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34554 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34555 * sysdeps/unix/sysv/linux/sigsuspend.c
34556 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34557 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34558 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34559 (__libc_missing_rt_sigs): Remove.
34560 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34561 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34562 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34563 Remove conditional code.
34564 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34565 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34567 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34568 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34569 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34570 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34572 2012-05-14 Andreas Jaeger <aj@suse.de>
34574 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34575 it's not used in glibc.
34576 (__coshm1): Likewise.
34577 (__acosh1p): Likewise.
34580 * manual/string.texi (Copying and Concatenation): Add missing
34581 variable in concat example.
34582 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34584 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34588 __builtin_clzl with __builtin_clzll.
34590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
34593 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34596 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34598 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34599 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34600 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34601 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34603 2012-05-14 Mike Frysinger <vapier@gentoo.org>
34605 * NEWS: Update ia64 info.
34607 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
34609 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34612 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
34614 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34615 * sysdeps/unix/syscalls.list (dup3): Likewise.
34616 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34617 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34619 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34621 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34622 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34624 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
34626 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34628 (TLS_IE): Use mov/add instead of movq/addq to load thread
34630 (TLS_GD_PREFIX): New.
34633 2012-05-11 David S. Miller <davem@davemloft.net>
34635 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34636 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34637 (_FPU_SETCW): Likewise.
34639 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34641 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34642 is 32-byte aligned.
34644 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
34647 * iconvdata/gb18030.c: Update tables.
34648 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
34649 characters specially.
34650 (BODY for TO_LOOP): Add encoding of missing ranges.
34652 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
34655 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34656 * sysdeps/mach/hurd/dup3.c: Likewise.
34657 * sysdeps/mach/hurd/readlinkat.c: Likewise.
34658 * sysdeps/powerpc/memmove.c:: Likewise.
34660 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34663 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34665 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
34667 * elf/elf.h (R_X86_64_RELATIVE64): New.
34668 (R_X86_64_NUM): Updated.
34669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34670 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
34671 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34672 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34673 tst-quad1pie tst-quad2pie
34674 (modules-names): Add tst-quadmod1 tst-quadmod2.
34675 ($(objpfx)tst-quad1): New dependency.
34676 ($(objpfx)tst-quad2): Likewise.
34677 ($(objpfx)tst-quad1pie): Likewise.
34678 ($(objpfx)tst-quad2pie): Likewise.
34679 * sysdeps/x86_64/tst-quad1.c: New file.
34680 * sysdeps/x86_64/tst-quad1pie.c: New file.
34681 * sysdeps/x86_64/tst-quad2.c: Likewise.
34682 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34683 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34684 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34685 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34686 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34688 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34690 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34691 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34692 * streams/stropts.h (t_scalar_t): Define type.
34694 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34695 (_PATH_PRESERVE): Set to "/var/lib".
34696 (_PATH_RWHODIR): Set to "/var/spool/rwho".
34698 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34701 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34702 if __dir_mkfile succeeded.
34704 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34705 checking for _hurd_dtablesize. Unlock it right after having
34706 finished _hurd_dtable allocation.
34708 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34710 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34711 * sysdeps/mach/hurd/configure: Regenerated.
34712 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34713 special-casing to...
34714 * sysdeps/gnu/configure.in: ... this new file.
34715 * sysdeps/unix/sysv/linux/configure: Regenerated.
34716 * sysdeps/gnu/configure: New generated file.
34718 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34719 for Linux: use nsec instead of usec, as well as:
34720 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34721 members of type struct timespec.
34722 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34724 (struct stat64): Likewise.
34725 (_STATBUF_ST_NSEC): New macro.
34726 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34728 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34729 __strtoul_internal rather than strtoul.
34731 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34733 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34736 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34738 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34739 which preserves existing values.
34740 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34742 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34744 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34745 TIMEOUT values. Return EINVAL for NFDS values either negative or
34746 greater than FD_SETSIZE.
34748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34750 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34751 allocated, call __vm_protect to finish enabling the existing space, and
34752 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34753 allocate the remainder.
34755 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34757 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34758 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
34760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34762 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34763 sysdeps/mach/hurd/readlink.c.
34765 * posix/tst-sysconf.c (posix_options): Only use
34766 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34767 _POSIX_SYNCHRONIZED_IO when they are defined
34768 * sysdeps/mach/hurd/bits/posix_opt.h:
34769 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34770 (_XOPEN_REALTIME): Undefine macro.
34771 (_XOPEN_REALTIME_THREADS): Undefine macro.
34772 (_XOPEN_SHM): Undefine macro.
34773 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34775 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34777 (_POSIX_ASYNC_IO): Undefine macro.
34778 (_POSIX_PRIORITIZED_IO): Undefine macro.
34779 (_POSIX_SPIN_LOCKS): Define macro to -1.
34781 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34782 SA_NODEFER, SA_RESETHAND.
34783 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34784 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34787 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34789 * elf/Makefile (pldd-modules): Define unconditionally.
34791 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34793 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34795 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34797 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34798 Return ENOENT when name is empty.
34799 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34801 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34803 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34805 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34807 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34809 Fix mlock in all cases except non-readable pages.
34810 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34811 instead of VM_PROT_ALL as parameter to __vm_wire function.
34813 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34814 (__mkdir): When path is `/', just fail with EEXIST.
34815 * sysdeps/mach/hurd/mkdirat.c: Likewise.
34817 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34819 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34820 <sys/uio.h> (for writev).
34821 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34822 and <sys/param.h> (for MIN).
34824 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
34826 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34827 REQUESTED_TIME. Properly set the remaining time and return EINTR
34830 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34832 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34833 Depend on against $(link-rpcuserlibs).
34835 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34837 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34838 (__libc_stack_end): Do not use attribute_relro.
34839 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34840 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34841 to libthread-provided value.
34842 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34845 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34848 * bits/libc-lock.h (__libc_once_get): New macro.
34849 * sysdeps/mach/bits/libc-lock.h: Likewise.
34850 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34851 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34852 instead of using implementation details.
34854 * libio/fileops.c: Unconditionally include <kernel-features.h>.
34855 * libio/freopen.c: Likewise.
34856 * libio/freopen64.c: Likewise.
34857 * misc/syslog.c: Likewise.
34858 * nscd/connections.c: Likewise.
34859 * nscd/netgroupcache.c: Likewise.
34860 * sysdeps/posix/getcwd.c: Likewise.
34862 2012-05-10 Roland McGrath <roland@hack.frob.com>
34864 * math/w_ilogbf.c: Add #include <limits.h>.
34866 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34868 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34869 path instead of returning without unlocking.
34871 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34872 immediate-write ioctls.
34873 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34875 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34877 * sysdeps/mach/hurd/i386/init-first.c (init): Use
34878 __builtin_frame_address instead of making assumptions about the
34879 location of the return address relative to DATA. Force early load of
34880 the return address.
34881 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34882 __builtin_frame_address.
34885 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34886 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
34887 implement dup3 and do some further code clean-ups.
34888 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34889 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34893 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34895 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34896 HURD_CRITICAL_END around holding _hurd_dtable_lock.
34897 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34898 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34899 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34902 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34903 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
34904 when handler == SIG_ERR, not when handler != SIG_ERR.
34906 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34908 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34909 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34912 accept4 for GNU Hurd.
34913 * include/sys/socket.h (__libc_accept4): New prototype.
34914 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
34915 to implement __libc_accept4.
34916 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34918 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34920 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34921 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34922 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34923 signal-defines.sym.
34925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34927 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
34931 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34932 assertion on O_CLOEXEC flag.
34933 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34934 * hurd/intern-fd.c: Likewise.
34935 * hurd/port2fd.c: Likewise.
34937 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
34940 * bits/in.h (IPV6_PKTINFO): Define new macro.
34941 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34943 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34948 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34949 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34950 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34951 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34952 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34953 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34954 * math/libm-test.inc (logb_test) : Additional logb tests.
34956 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
34957 Andreas Jaeger <aj@suse.de>
34959 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34960 * configure: Regenerated.
34961 * config.h.in (LINK_OBSOLETE_RPC): New macro.
34962 * config.make.in (link-obsolete-rpc): New substituted variable.
34963 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34964 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34965 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34966 (shared-only-routines): Don't set it under [link-obsolete-rpc],
34967 so that libc.a contains the symbols.
34968 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34969 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34970 * sunrpc/auth_none.c: Likewise.
34971 * sunrpc/auth_unix.c: Likewise.
34972 * sunrpc/authdes_prot.c: Likewise.
34973 * sunrpc/authuxprot.c: Likewise.
34974 * sunrpc/clnt_gen.c: Likewise.
34975 * sunrpc/clnt_perr.c: Likewise.
34976 * sunrpc/clnt_raw.c: Likewise.
34977 * sunrpc/clnt_simp.c: Likewise.
34978 * sunrpc/clnt_tcp.c: Likewise.
34979 * sunrpc/clnt_udp.c: Likewise.
34980 * sunrpc/clnt_unix.c: Likewise.
34981 * sunrpc/des_crypt.c: Likewise.
34982 * sunrpc/des_soft.c: Likewise.
34983 * sunrpc/get_myaddr.c: Likewise.
34984 * sunrpc/key_call.c: Likewise.
34985 * sunrpc/key_prot.c: Likewise.
34986 * sunrpc/netname.c: Likewise.
34987 * sunrpc/pm_getmaps.c: Likewise.
34988 * sunrpc/pm_getport.c: Likewise.
34989 * sunrpc/pmap_clnt.c: Likewise.
34990 * sunrpc/pmap_prot.c: Likewise.
34991 * sunrpc/pmap_prot2.c: Likewise.
34992 * sunrpc/pmap_rmt.c: Likewise.
34993 * sunrpc/publickey.c: Likewise.
34994 * sunrpc/rpc_cmsg.c: Likewise.
34995 * sunrpc/rpc_common.c: Likewise.
34996 * sunrpc/rpc_dtable.c: Likewise.
34997 * sunrpc/rpc_prot.c: Likewise.
34998 * sunrpc/rpc_thread.c: Likewise.
34999 * sunrpc/rtime.c: Likewise.
35000 * sunrpc/svc.c: Likewise.
35001 * sunrpc/svc_auth.c: Likewise.
35002 * sunrpc/svc_raw.c: Likewise.
35003 * sunrpc/svc_run.c: Likewise.
35004 * sunrpc/svc_tcp.c: Likewise.
35005 * sunrpc/svc_udp.c: Likewise.
35006 * sunrpc/svc_unix.c: Likewise.
35007 * sunrpc/svcauth_des.c: Likewise.
35008 * sunrpc/xcrypt.c: Likewise.
35009 * sunrpc/xdr.c: Likewise.
35010 * sunrpc/xdr_array.c: Likewise.
35011 * sunrpc/xdr_float.c: Likewise.
35012 * sunrpc/xdr_intXX_t.c: Likewise.
35013 * sunrpc/xdr_mem.c: Likewise.
35014 * sunrpc/xdr_rec.c: Likewise.
35015 * sunrpc/xdr_ref.c: Likewise.
35016 * sunrpc/xdr_sizeof.c: Likewise.
35017 * sunrpc/xdr_stdio.c: Likewise.
35019 2012-05-10 Roland McGrath <roland@hack.frob.com>
35021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
35022 change. Update copyright years.
35024 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35026 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
35028 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
35029 Joseph Myers <joseph@codesourcery.com>
35030 Paul Pluzhnikov <ppluzhnikov@google.com>
35033 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
35035 [cross-compiling] (extra-libs): Likewise.
35036 [cross-compiling] (extra-libs-others): Likewise.
35037 [cross-compiling] (librpcsvc-routines): Likewise.
35038 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
35039 [cross-compiling] (omit-deps): Likewise.
35040 (sunrpc-CPPFLAGS): New variable.
35041 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
35042 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
35043 (cross-rpcgen-objs): New variable.
35044 (extra-objs): Append $(cross-rpcgen-objs).
35045 ($(cross-rpcgen-objs)): New rule.
35046 ($(objpfx)cross-rpcgen): Likewise.
35047 (rpcgen-cmd): Define to use $(built-program-file). Expand
35049 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
35050 ($(objpfx)x%.stmp): Likewise.
35051 * sunrpc/proto.h [IS_IN_build] (_): Define.
35052 [IS_IN_build] (_libc_intl_domainname): Likewise.
35054 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
35056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
35057 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
35058 and R_X86_64_TPOFF64.
35060 2012-05-10 Joseph Myers <joseph@codesourcery.com>
35062 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
35063 sysdeps/unix/sysv/syscalls.list.
35066 * sysdeps/unix/sysv/syscalls.list: Remove file.
35068 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
35071 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
35072 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
35073 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
35074 (__LC_IDENTIFICATION): Make these macros useful in #if
35075 expressions, as required by C99.
35077 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
35079 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
35080 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
35083 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
35085 * stdlib/longlong.h: Updated from GCC.
35087 2012-05-09 Andreas Jaeger <aj@suse.de>
35089 * nscd/nscd.c (run_modes): Make named enum, reorder so that
35090 default is first entry.
35091 (run_mode): Set type.
35092 (main): Remove informal message about syslog.
35093 (options): Fix typo.
35096 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
35099 (llrintf): Likewise.
35100 (llrint): Likewise.
35103 (nearbyint): Likewise.
35104 (nearbyintf): Likewise.
35106 2012-05-09 Andreas Jaeger <aj@suse.de>
35107 Pedro Alves <palves@redhat.com>
35109 * nscd/nscd.c (run_mode): Use enum.
35110 (main): Cleanup coding style issue.
35112 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
35113 Andreas Jaeger <aj@suse.de>
35115 * nscd/nscd.c (go_background): Replaced with...
35116 (run_mode): ... this.
35117 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
35118 (options): Add -F --foreground.
35119 (main): Implement it.
35120 (parse_opt): Parse it.
35122 2012-05-09 Andreas Jaeger <aj@suse.de>
35125 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
35126 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
35127 -Wconversion warning.
35128 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
35131 2012-05-09 Joseph Myers <joseph@codesourcery.com>
35133 * conform/data/locale.h-data (NULL): Use macro-constant. Require
35135 (LC_ALL): Use macro-int-constant.
35136 (LC_COLLATE): Likewise.
35137 (LC_CTYPE): Likewise.
35138 (LC_MESSAGES): Likewise.
35139 (LC_MONETARY): Likewise.
35140 (LC_NUMERIC): Likewise.
35141 (LC_TIME): Likewise.
35142 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
35143 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35145 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
35147 [C99-based standards] (float_t): Expect type.
35148 [C99-based standards] (double_t): Expect type.
35149 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
35151 [C99-based standards] (HUGE_VALL): Likewise.
35152 [C99-based standards] (INFINITY): Likewise.
35153 [C99-based standards] (NAN): Likewise.
35154 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
35155 [C99-based standards] (FP_NAN): Likewise.
35156 [C99-based standards] (FP_NORMAL): Likewise.
35157 [C99-based standards] (FP_SUBNORMAL): Likewise.
35158 [C99-based standards] (FP_ZERO): Likewise.
35159 [C99-based standards] (FP_FAST_FMA): Use
35160 optional-macro-int-constant. Specify type. Require == 1.
35161 [C99-based standards] (FP_FAST_FMAF): Likewise.
35162 [C99-based standards] (FP_FAST_FMAL): Likewise.
35163 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
35164 [C99-based standards] (FP_ILOGBNAN): Likewise.
35165 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
35167 [C99-based standards] (MATH_ERREXCEPT): Likewise.
35168 [C99-based standards] (math_errhandling): Specify type.
35169 [ISO99 || ISO11] (signgam): Do not allow.
35170 [non-C99-based standards] (copysignf): Do not allow.
35171 [non-C99-based standards] (exp2f): Likewise.
35172 [non-C99-based standards] (log2f): Likewise.
35173 [non-C99-based standards] (modff): Allow.
35174 [non-C99-based standards] (erff): Do not allow.
35175 [non-C99-based standards] (erfcf): Likewise.
35176 [non-C99-based standards] (gammaf): Likewise.
35177 [non-C99-based standards] (hypotf): Likewise.
35178 [non-C99-based standards] (j0f): Likewise.
35179 [non-C99-based standards] (j1f): Likewise.
35180 [non-C99-based standards] (jnf): Likewise.
35181 [non-C99-based standards] (lgammaf): Likewise.
35182 [non-C99-based standards] (tgammaf): Likewise.
35183 [non-C99-based standards] (y0f): Likewise.
35184 [non-C99-based standards] (y1f): Likewise.
35185 [non-C99-based standards] (ynf): Likewise.
35186 [non-C99-based standards] (isnanf): Likewise.
35187 [non-C99-based standards] (acoshf): Likewise.
35188 [non-C99-based standards] (asinhf): Likewise.
35189 [non-C99-based standards] (atanhf): Likewise.
35190 [non-C99-based standards] (cbrtf): Likewise.
35191 [non-C99-based standards] (expm1f): Likewise.
35192 [non-C99-based standards] (ilogbf): Likewise.
35193 [non-C99-based standards] (log1pf): Likewise.
35194 [non-C99-based standards] (logbf): Likewise.
35195 [non-C99-based standards] (nextafterf): Likewise.
35196 [non-C99-based standards] (remainderf): Likewise.
35197 [non-C99-based standards] (rintf): Likewise.
35198 [non-C99-based standards] (scalbf): Likewise.
35199 [non-C99-based standards] (copysignl): Likewise.
35200 [non-C99-based standards] (exp2l): Likewise.
35201 [non-C99-based standards] (log2l): Likewise.
35202 [non-C99-based standards] (modfl): Allow.
35203 [non-C99-based standards] (erfl): Do not allow.
35204 [non-C99-based standards] (erfcl): Likewise.
35205 [non-C99-based standards] (gammal): Likewise.
35206 [non-C99-based standards] (hypotl): Likewise.
35207 [non-C99-based standards] (j0l): Likewise.
35208 [non-C99-based standards] (j1l): Likewise.
35209 [non-C99-based standards] (jnl): Likewise.
35210 [non-C99-based standards] (lgammal): Likewise.
35211 [non-C99-based standards] (tgammal): Likewise.
35212 [non-C99-based standards] (y0l): Likewise.
35213 [non-C99-based standards] (y1l): Likewise.
35214 [non-C99-based standards] (ynl): Likewise.
35215 [non-C99-based standards] (isnanl): Likewise.
35216 [non-C99-based standards] (acoshl): Likewise.
35217 [non-C99-based standards] (asinhl): Likewise.
35218 [non-C99-based standards] (atanhl): Likewise.
35219 [non-C99-based standards] (cbrtl): Likewise.
35220 [non-C99-based standards] (expm1l): Likewise.
35221 [non-C99-based standards] (ilogbl): Likewise.
35222 [non-C99-based standards] (log1pl): Likewise.
35223 [non-C99-based standards] (logbl): Likewise.
35224 [non-C99-based standards] (nextafterl): Likewise.
35225 [non-C99-based standards] (remainderl): Likewise.
35226 [non-C99-based standards] (rintl): Likewise.
35227 [non-C99-based standards] (scalbl): Likewise.
35228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35229 [non-C99-based standards] (FP_*): Do not allow.
35230 [C99-based standards] (FP_*): Change to
35231 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
35232 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35234 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
35235 (SIG_ERR): Likewise.
35236 [X/Open-based standards] (SIG_HOLD): Likewise.
35237 (SIG_IGN): Likewise.
35238 (SIGABRT): Use macro-int-constant. Specify type. Require
35240 (SIGFPE): Likewise.
35241 (SIGILL): Likewise.
35242 (SIGINT): Likewise.
35243 (SIGSEGV): Likewise.
35244 (SIGTER): Likewise.
35245 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
35246 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
35247 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
35248 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
35249 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
35250 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
35251 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
35252 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
35253 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
35254 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
35255 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
35256 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
35257 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
35258 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
35259 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
35260 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
35261 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
35262 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
35263 [X/Open-based standards] (SIGTRAP): Likewise.
35264 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
35265 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
35266 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
35267 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
35268 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35271 2012-05-08 Ian Wienand <ianw@vmware.com>
35274 * time/tzset.c (__tzset_parse_tz): Update default rules for
35275 daylight time changes in the Energy Policy Act of 2005.
35277 2012-05-09 Andreas Jaeger <aj@suse.de>
35280 * elf/ldconfig.c (parse_conf): Change string to make clear that
35281 ldconfig only issued a warning if ld.so.conf does not exist.
35283 2012-05-08 David S. Miller <davem@davemloft.net>
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
35286 movxtod instead of popping the value on the stack.
35288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35290 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
35292 * config.h.in: Add HAVE_ARM_PCS_VFP.
35294 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
35297 * include/features.h: Warn if user requests __FORTIFY_SOURCE
35298 checking but the checks are disabled for any reason.
35300 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
35302 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
35303 and ELF64_R_TYPE with ELFW(R_TYPE).
35305 2012-05-08 Joseph Myers <joseph@codesourcery.com>
35307 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
35308 (ulimit): Likewise.
35310 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
35311 (settimeofday): Likewise.
35313 2012-05-08 Mike Frysinger <vapier@gentoo.org>
35315 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
35316 a struct th_u2 inside the union, and move tu_block/tu_code into
35317 a new th_u3 union of tu_block/tu_code inside of that. Move
35318 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
35319 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
35320 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
35321 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
35322 (th_stuff): Change to th_u1.tu_stuff.
35324 (th_msg): Change to th_u1.th_u2.tu_data.
35326 2012-05-07 David S. Miller <davem@davemloft.net>
35328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35331 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
35332 (SETUP_PIC_REG): Use it.
35333 (SETUP_PIC_REG_LEAF): Use it.
35335 2012-05-07 Joseph Myers <joseph@codesourcery.com>
35339 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35341 (EXPL_FINITE): Likewise.
35342 (FLDLOG): Likewise.
35343 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35344 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35346 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35348 (EXPL_FINITE): Likewise.
35349 (FLDLOG): Likewise.
35350 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
35351 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
35353 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
35354 test of -max_value argument for long double.
35355 * sysdeps/i386/fpu/libm-test-ulps: Update.
35356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35358 2012-05-06 David S. Miller <davem@davemloft.net>
35360 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
35361 quad soft-float symbols whose references which are compiler
35363 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
35365 2012-05-06 Joseph Myers <joseph@codesourcery.com>
35369 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35371 (EXPL_FINITE): Likewise.
35372 (FLDLOG): Likewise.
35375 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35376 Adjust comments for base varying.
35377 (__expl_finite): Change alias to EXPL_FINITE.
35378 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
35380 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
35381 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
35382 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
35383 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
35384 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
35386 (EXPL_FINITE): Likewise.
35387 (FLDLOG): Likewise.
35390 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
35391 Adjust comments for base varying.
35392 (__expl_finite): Change alias to EXPL_FINITE.
35393 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
35395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35398 * math/libm-test.inc (check_float_internal): Correct ulp
35399 calculation for subnormal expected results.
35401 2012-05-06 Andreas Jaeger <aj@suse.de>
35403 * Makeconfig (+math-flags): New, set to -frounding-math.
35404 (+cflags): Add +math-flags so that all of glibc gets compiled with
35407 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
35409 2012-05-05 Joseph Myers <joseph@codesourcery.com>
35411 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
35417 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
35418 (__ieee754_expl): Allow for and saturate large arguments.
35419 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
35420 (u_threshold): Likewise.
35421 (__exp): Call __ieee754_exp before checking for overflow and
35423 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
35424 (u_threshold): Likewise.
35425 (__expf): Call __ieee754_expf before checking for overflow and
35427 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
35428 (u_threshold): Likewise.
35429 (__expl): Call __ieee754_expl before checking for overflow and
35431 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35432 (__ieee754_expl): Allow for and saturate large arguments.
35433 * math/libm-test.inc (exp_test): Add another test. Do not allow
35434 missing overflow exception on overflow.
35435 (expm1_test): Do not allow missing overflow exception on overflow.
35437 * sysdeps/i386/fpu/e_expl.c: Move to ...
35438 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
35439 rather than using inline asm.
35440 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35441 * sysdeps/x86_64/fpu/e_expl.S: Copy from
35442 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35444 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35447 (signal): Likewise.
35451 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35453 * sysdeps/unix/syscalls.list (adjtime): Add entry from
35454 sysdeps/unix/common/syscalls.list.
35455 (fchmod): Likewise.
35456 (fchown): Likewise.
35457 (ftruncate): Likewise.
35458 (getrusage): Likewise.
35459 (gettimeofday): Likewise.
35460 (setpgid): Likewise.
35461 (setregid): Likewise.
35462 (setreuid): Likewise.
35463 (sigaction): Likewise.
35464 (truncate): Likewise.
35465 (vhangup): Likewise.
35466 * sysdeps/unix/common/syscalls.list: Remove file.
35467 * sysdeps/unix/bsd/Implies: Don't include unix/common.
35468 * sysdeps/unix/sysv/linux/Implies: Likewise.
35470 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
35472 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35474 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35478 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35481 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35484 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35487 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35490 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35493 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35496 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35500 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35504 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35507 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35511 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35515 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35517 * sysdeps/unix/common/bits/dirent.h: Remove file.
35518 * sysdeps/unix/common/bits/fcntl.h: Likewise.
35520 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35521 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35522 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35523 * sysdeps/unix/bsd/isatty.c: Likewise.
35524 * sysdeps/unix/bsd/tcdrain.c: Likewise.
35525 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35526 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35528 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35532 long double comparison inaccuracies.
35533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35536 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
35538 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35539 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35541 2012-05-04 Joseph Myers <joseph@codesourcery.com>
35544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35545 nonzero digits before rounding a hex value.
35546 * stdlib/tst-strtod.c (tests): Add another test.
35548 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35550 * sysdeps/s390/fpu/libm-test-ulps: Update.
35552 2012-05-03 Andreas Jaeger <aj@suse.de>
35554 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35555 does not get optimized out.
35556 (malloc_opt_barrier): New.
35558 2012-05-03 Andreas Jaeger <aj@suse.de>
35559 Roland McGrath <roland@hack.frob.com>
35561 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35562 intermediate file deletion.
35563 (generated): Add .symlist files.
35565 2012-05-03 Joseph Myers <joseph@codesourcery.com>
35568 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35569 Redirect under this condition.
35570 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35571 [__USE_GNU] (__dprintf_chk): Not under this condition.
35572 [__USE_GNU] (__vdprintf_chk): Likewise.
35573 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35574 under this condition.
35575 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35576 [__USE_XOPEN2K8] (dprintf): Define under this condition.
35577 [__USE_XOPEN2K8] (vdprintf): Likewise.
35578 [__USE_GNU] (__dprintf_chk): Not under this condition.
35579 [__USE_GNU] (__vdprintf_chk): Likewise.
35580 [__USE_GNU] (dprintf): Likewise.
35581 [__USE_GNU] (vdprintf): Likewise.
35583 2012-05-03 Roland McGrath <roland@hack.frob.com>
35585 * elf/Makefile (common-generated): Set this instead of generated for
35586 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
35587 $(all-built-dso)-derived lists.
35589 2012-05-03 Andreas Jaeger <aj@suse.de>
35591 * sysdeps/i386/fpu/libm-test-ulps: Update.
35594 * FAQ.in: Likewise.
35595 * scripts/gen-FAQ.pl: Likewise.
35596 * manual/install.texi (Installation): Point to online location of
35598 * Makefile (files-for-dist): Remove FAQ.
35601 2012-05-02 Allan McRae <allan@archlinux.org>
35603 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35604 (LDFLAGS-reldepmod5.so): Likewise.
35605 (LDFLAGS-reldep6mod1.so): Likewise.
35606 (LDFLAGS-reldep6mod4.so): Likewise.
35607 (LDFLAGS-reldep8mod3.so): Likewise.
35608 (LDFLAGS-unload4mod1.so): Likewise.
35609 (LDFLAGS-unload4mod2.so): Likewise.
35610 (LDFLAGS-tst-initorder): Likewise.
35611 (LDFLAGS-tst-initordera2.so): Likewise.
35612 (LDFLAGS-tst-initordera3.so): Likewise.
35613 (LDFLAGS-tst-initordera4.so): Likewise.
35614 (LDFLAGS-tst-initorderb2.so): Likewise.
35615 (LDFLAGS-noload): Likewise.
35616 (LDFLAGS-next): Likewise.
35617 (LDFLAGS-order2mod1.so): Likewise.
35618 (LDFLAGS-order2mod2.so): Likewise.
35619 (LDFLAGS-tst-initorder2): Likewise.
35620 (LDFLAGS-tst-initorder2a.so): Likewise.
35621 (LDFLAGS-tst-initorder2b.so): Likewise.
35622 (LDFLAGS-tst-initorder2c.so): Likewise.
35623 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35625 2012-05-02 David S. Miller <davem@davemloft.net>
35627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35629 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
35632 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35634 2012-05-02 Andreas Jaeger <aj@suse.de>
35636 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35637 since we manipulate rounding mode.
35638 (CPPFLAGS-test-idouble.c): Likewise.
35639 (CPPFLAGS-test-ifloat.c): Likewise.
35640 (CFLAGS-test-ldouble.c): Likewise.
35641 (CFLAGS-test-double.c): Likewise.
35642 (CFLAGS-test-float.c): Likewise.
35643 (CFLAGS-test-misc.c): Likewise.
35644 (CFLAGS-test-test-fenv.c): Likewise.
35646 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35650 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35651 comparisons to determine direction to adjust input.
35653 2012-05-01 Roland McGrath <roland@hack.frob.com>
35655 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35656 output to the target.
35658 * scripts/localplt.awk: New file.
35659 * elf/Makefile ($(objpfx)check-localplt): Target removed.
35660 (check-localplt-CFLAGS): Variable removed.
35661 ($(all-built-dso:=.jmprel)): New static pattern rule.
35662 (generated): Add those targets.
35663 (localplt-built-dso): New variable.
35664 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35666 * elf/check-localplt.c: File removed.
35668 * scripts/check-execstack.awk: New file.
35669 * elf/Makefile ($(objpfx)check-execstack): Target removed.
35670 (check-execstack-CFLAGS): Variable removed.
35671 ($(objpfx)check-execstack.h): Target removed.
35672 ($(objpfx)execstack-default): New target.
35673 (generated): Add that instead of check-execstack.h.
35674 ($(all-built-dso:=.phdr)): New static pattern rule.
35675 (generated): Add those targets.
35676 * elf/check-execstack.c: File removed.
35678 * scripts/check-textrel.awk: New file.
35679 * elf/Makefile ($(objpfx)check-textrel): Target removed.
35680 (check-textrel-CFLAGS): Variable removed.
35681 (all-built-dso): Use := to define.o
35682 ($(all-built-dso:=.dyn)): New static pattern rule.
35683 (generated): Add those targets.
35684 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35685 * config.make.in (READELF): New substituted variable.
35686 * elf/check-textrel.c: File removed.
35688 2012-05-01 Joseph Myers <joseph@codesourcery.com>
35690 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35692 * conform/data/ctype.h-data [C99-based standards] (isblank):
35694 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35695 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35697 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35698 Specify type. Require positive value.
35699 (EILSEQ): Likewise.
35700 (ERANGE): Likewise.
35701 [ISO || POSIX] (EILSEQ): Do not expect.
35702 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35703 Specify type. Require positive value.
35704 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35705 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35706 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35707 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35708 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35709 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35710 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35711 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35712 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35713 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35714 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35715 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35716 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35717 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35718 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35719 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35720 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35721 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35722 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35723 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35724 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35725 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35726 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35727 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35728 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35729 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35730 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35731 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35732 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35733 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35734 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35735 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35736 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35737 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35738 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35739 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35740 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35741 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35742 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35743 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35744 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35745 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35746 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35747 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35748 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35749 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35750 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35751 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35752 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35753 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35754 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35755 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35756 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35757 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35758 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35759 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35760 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35761 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35762 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35763 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35764 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35765 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35766 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35767 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35768 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35769 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35770 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35771 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35772 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35773 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35774 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35775 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35776 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35777 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35778 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35779 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35780 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35782 (FLT_ROUNDS): Expect as macro, not constant.
35783 (FLT_MANT_DIG): Use macro-int-constant.
35784 (DBL_MANT_DIG): Likewise.
35785 (LDBL_MANT_DIG): Likewise.
35786 (FLT_DIG): Likewise.
35787 (DBL_DIG): Likewise.
35788 (LDBL_DIG): Likewise.
35789 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
35790 (DBL_MIN_EXP): Likewise.
35791 (LDBL_MIN_EXP): Likewise.
35792 (FLT_MAX_EXP): Use macro-int-constant.
35793 (DBL_MAX_EXP): Likewise.
35794 (LDBL_MAX_EXP): Likewise.
35795 (FLT_MAX_10_EXP): Likewise.
35796 (DBL_MAX_10_EXP): Likewise.
35797 (LDBL_MAX_10_EXP): Likewise.
35798 (FLT_MAX): Use macro-constant.
35799 (DBL_MAX): Likewise.
35800 (LDBL_MAX): Likewise.
35801 (FLT_EPSILON): Use macro-constant. Give upper bound.
35802 (DBL_EPSILON): Likewise.
35803 (LDBL_EPSILON): Likewise.
35804 (FLT_MIN): Likewise.
35805 (DBL_MIN): Likewise.
35806 (LDBL_MIN): Likewise.
35807 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35808 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35809 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35810 [ISO11] (FLT_HAS_SUBNORM): Likewise.
35811 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35812 [ISO11] (DBL_DECIMAL_DIG): Likewise.
35813 [ISO11] (FLT_DECIMAL_DIG): Likewise.
35814 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35815 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35816 [ISO11] (FLT_TRUE_MIN): Likewise.
35817 [ISO11] (LDBL_TRUE_MIN): Likewise.
35818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35819 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35820 (SCHAR_MIN): Use macro-int-constant. Specify type.
35821 (SCHAR_MAX): Likewise.
35822 (UCHAR_MAX): Likewise.
35823 (CHAR_MIN): Likewise.
35824 (CHAR_MAX): Likewise.
35825 (MB_LEN_MAX): Use macro-int-constant.
35826 (SHRT_MIN): Use macro-int-constant. Specify type.
35827 (SHRT_MAX): Likewise.
35828 (USHRT_MAX): Likewise.
35829 (INT_MAX): Likewise.
35830 (INT_MIN): Use macro-int-constant. Specify type. Make upper
35832 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
35834 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35836 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
35837 bound negative. Suffix upper bound with "L".
35838 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
35840 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35842 [C99-based standards] (LLONG_MAX): Likewise.
35843 [C99-based standards] (ULLONG_MAX): Likewise.
35844 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
35846 [ISO11] (max_align_t): Require type.
35847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35849 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35850 from $CFLAGS, without defining away __attribute__ calls.
35851 (checknamespace): Use $CFLAGS_namespace.
35853 * conform/conformtest.pl (@keywords): Only include C99 keywords
35854 for standards based on C99 or C11.
35856 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35858 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35861 * conform/conformtest.pl: Handle "macro-int-constant" and test for
35862 usability of symbols in #if.
35864 * conform/conformtest.pl: If macro or constant types start
35865 "promoted:", expect the symbol to be of the following type
35866 promoted by the integer promotions.
35868 * conform/conformtest.pl: Parse all "constant" and "macro" lines
35869 in one place. Also handle "macro-constant".
35871 * conform/conformtest.pl: Only accept expected macro values with
35872 "==". Parse all "macro" lines in one place.
35873 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35875 * conform/conformtest.pl: Handle braced types on "constant" lines
35876 instead of handling "typed-constant".
35877 * conform/data/signal.h-data: Use "constant" instead of
35880 * conform/conformtest.pl: Handle "optional-" at start of lines in
35881 one place rather than duplicating several cases. Handle each
35882 format of "macro" line with initial "optional-".
35884 * conform/conformtest.pl: Only accept expected constant or
35885 optional-constant values with "==". Parse all "constant" lines in
35886 one place. Parse all "optional-constant" lines in one place.
35887 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35888 * conform/data/fmtmsg.h-data: Likewise.
35889 * conform/data/netinet/in.h-data: Likewise.
35890 * conform/data/tar.h-data: Likewise.
35891 * conform/data/limits.h-data: Use "==" form on "constant" and
35892 "optional-constant" lines.
35894 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35895 Use -std=c99 for XOPEN2K.
35896 (@knownproblems): Remove.
35897 (newtoken): Don't check %isknown.
35899 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35900 Do not expect macro.
35901 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35902 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35903 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35904 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35905 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35906 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35907 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35908 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35909 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35910 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35911 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35912 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35913 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35914 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35915 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35916 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35917 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35918 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35919 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35920 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35921 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35922 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35925 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35926 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35927 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35928 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35929 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35930 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35931 [XPG3] (acosh): Likewise.
35932 [XPG3] (asinh): Likewise.
35933 [XPG3] (atanh): Likewise.
35934 [XPG3] (cbrt): Likewise.
35935 [XPG3] (expm1): Likewise.
35936 [XPG3] (ilogb): Likewise.
35937 [XPG3] (log1p): Likewise.
35938 [XPG3] (logb): Likewise.
35939 [XPG3] (nextafter): Likewise.
35940 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35941 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35942 [XPG3] (remainder): Likewise.
35943 [XPG3] (rint): Likewise.
35944 [XPG3 || XPG4 || UNIX98] (round): Likewise.
35945 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35946 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35947 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35948 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35949 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35950 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35951 [UNIX98 || XOPEN2K] (scalb): Expect.
35952 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35953 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35954 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35955 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35956 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35957 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35958 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35959 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35960 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35961 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35962 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35963 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35964 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35965 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35966 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35967 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35968 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35969 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35970 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35971 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35972 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35973 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35974 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35975 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35976 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35977 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35978 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35979 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35980 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35981 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35982 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35983 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35984 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35985 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35986 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35987 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35988 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35989 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35990 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35991 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35992 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35993 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35994 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35995 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35996 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35997 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35998 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35999 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
36000 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
36001 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
36002 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
36003 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
36004 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
36005 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
36006 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
36007 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
36008 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
36009 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
36010 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
36011 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
36012 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
36013 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
36014 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
36015 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
36016 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
36017 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
36018 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
36019 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
36020 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
36021 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
36022 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
36023 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
36024 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
36025 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
36026 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
36027 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
36028 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
36029 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
36030 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
36031 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
36032 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
36033 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
36034 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
36035 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
36036 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
36037 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
36038 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
36039 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
36040 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
36041 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
36042 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
36043 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
36044 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
36045 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
36046 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
36047 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
36048 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
36049 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
36050 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
36051 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
36052 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
36053 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
36054 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
36055 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
36056 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
36057 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
36058 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
36059 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
36060 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
36061 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
36062 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
36063 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
36064 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
36065 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
36066 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
36067 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
36068 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
36069 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
36070 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
36071 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
36072 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
36073 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
36074 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
36075 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
36076 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
36077 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
36078 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
36079 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
36080 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
36081 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
36082 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
36083 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
36084 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
36085 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
36086 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
36087 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
36088 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
36090 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
36091 _XOPEN_SOURCE_EXTENDED for XPG4.
36093 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
36095 * Makeconfig (localtime): Remove variable.
36096 (inst_localtime-file): Likewise.
36098 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
36112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
36116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36119 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36123 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
36124 comparisons to determine direction to adjust input.
36125 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
36126 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
36127 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
36129 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
36131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
36133 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
36134 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
36136 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
36138 * math/libm-test.inc (nexttoward_test): Add more tests.
36140 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
36143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
36144 in version GLIBC_2.1, not GLIBC_2.0.
36145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
36148 2012-04-30 Joseph Myers <joseph@codesourcery.com>
36151 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
36153 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36154 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
36155 * math/libm-test.inc (acos_test): Add more tests.
36156 (asin_test): Likewise.
36157 * sysdeps/i386/fpu/libm-test-ulps: Update.
36158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36161 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
36163 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
36164 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36165 * math/libm-test.inc (acos_test_tonearest): New function.
36166 (acos_test_towardzero): Likewise.
36167 (acos_test_downward): Likewise.
36168 (acos_test_upward): Likewise.
36169 (asin_test_tonearest): Likewise.
36170 (asin_test_towardzero): Likewise.
36171 (asin_test_downward): Likewise.
36172 (asin_test_upward): Likewise.
36173 (main): Call the new functions.
36174 * sysdeps/i386/fpu/libm-test-ulps: Update.
36175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36179 * math/e_exp10.c: Include <float.h>.
36180 (__ieee754_exp10): Handle underflow here rather than multiplying
36181 large negative argument by M_LN10.
36182 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
36184 * math/e_exp10l.c: Include <float.h>.
36185 (__ieee754_exp10l): Handle underflow here rather than multiplying
36186 large negative argument by M_LN10l.
36187 * math/libm-test.inc (exp10_test): Add another test. Do not allow
36188 spurious overflow exception on underflow.
36190 2012-04-29 Marek Polacek <polacek@redhat.com>
36192 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
36193 (__fortify_function): New macro.
36194 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
36195 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
36196 __extern_always_inline.
36197 * libio/bits/stdio2.h: Likewise.
36198 * libio/bits/stdio.h: Likewise.
36199 * string/string.h: Likewise.
36200 * string/bits/string3.h: Likewise.
36201 * include/stdio.h: Likewise.
36202 * stdlib/bits/stdlib.h: Likewise.
36203 * stdlib/stdlib.h: Likewise.
36204 * rt/bits/mqueue2.h: Likewise.
36205 * rt/mqueue.h: Likewise.
36206 * posix/bits/unistd.h: Likewise.
36207 * posix/unistd.h: Likewise.
36208 * io/bits/poll2.h: Likewise.
36209 * io/bits/fcntl2.h: Likewise.
36210 * io/fcntl.h: Likewise.
36211 * io/sys/poll.h: Likewise.
36212 * misc/bits/syslog.h: Likewise.
36213 * misc/bits/syslog-ldbl.h: Likewise.
36214 * misc/sys/syslog.h: Likewise.
36215 * socket/bits/socket2.h: Likewise.
36216 * socket/sys/socket.h: Likewise.
36217 * debug/tst-chk1.c: Likewise.
36218 * wcsmbs/bits/wchar2.h: Likewise.
36219 * wcsmbs/bits/wchar-ldbl.h: Likewise.
36220 * wcsmbs/wchar.h: Likewise.
36222 2012-04-29 Andreas Jaeger <aj@suse.de>
36224 * Makerules (tests): Remove enable-check-abi protection.
36225 (check-abi-warn): Remove.
36226 (check-abi-%): Remove check-abi-warn usage.
36228 * configure.in: Remove check-abi configure option.
36229 * configure: Regenerated.
36230 * config.make.in (enable-check-abi): Remove.
36232 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
36235 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
36236 double functions to double *_finite functions.
36239 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
36240 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
36242 * stdio-common/Makefile (tests): Add tst-sprintf3.
36243 * stdio-common/tst-sprintf3.c: New file.
36245 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
36246 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
36248 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36250 * conform/conformtest.pl: Remove duplicate typed-constant
36253 2012-04-28 David S. Miller <davem@davemloft.net>
36255 * Makerules (%.abilist): Add vpath on sysdep_dirs.
36256 (check-abi-%): Remove AWK script prerequisite and explicit
36258 (check-abi): Rewrite to just diff the symlist with the abilist.
36259 (config-tls, config-abi-config): Delete, no longer used.
36260 (update-abi-%): Remove AWK script and explicit abilist directory.
36261 (update-abi): Rewrite to simply compare and conditionally copy the
36262 symlist and the sysdep abilist file. Remove update-abi-config
36264 * abilist/ld.abilist: Remove.
36265 * abilist/libBrokenLocale.abilist: Remove.
36266 * abilist/libanl.abilist: Remove.
36267 * abilist/libcrypt.abilist: Remove.
36268 * abilist/libdl.abilist: Remove.
36269 * abilist/librt.abilist: Remove.
36270 * abilist/libthread_db.abilist: Remove.
36271 * abilist/libutil.abilist: Remove.
36272 * scripts/extract-abilist.awk: Remove.
36273 * scripts/merge-abilist.awk: Remove.
36274 * sysdeps/generic/libcidn.abilist: New file.
36275 * sysdeps/generic/libnss_compat.abilist: New file.
36276 * sysdeps/generic/libnss_db.abilist: New file.
36277 * sysdeps/generic/libnss_dns.abilist: New file.
36278 * sysdeps/generic/libnss_files.abilist: New file.
36279 * sysdeps/generic/libnss_hesiod.abilist: New file.
36280 * sysdeps/generic/libnss_nis.abilist: New file.
36281 * sysdeps/generic/libnss_nisplus.abilist: New file.
36282 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
36283 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
36284 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
36286 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
36287 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
36288 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
36289 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
36290 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
36291 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
36292 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
36293 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
36294 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
36296 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
36297 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
36298 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
36299 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
36301 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
36302 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
36303 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
36304 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
36305 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
36306 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
36308 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
36309 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
36310 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
36312 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
36313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
36315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
36317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
36319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
36321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
36323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
36325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
36327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
36329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
36331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
36333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
36335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
36337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
36339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
36341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
36347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
36353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
36366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
36368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
36370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
36372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
36374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
36376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
36378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
36380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
36384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
36386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
36388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
36390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
36391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
36393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
36395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
36397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
36399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
36401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
36403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
36405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
36409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
36411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
36413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
36415 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36416 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
36417 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
36419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
36420 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
36421 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
36422 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
36423 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
36424 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
36425 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
36426 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
36427 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
36428 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
36429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36480 2012-04-28 Joseph Myers <joseph@codesourcery.com>
36482 * conform/conformtest.pl: Fix typo in handling typed-constant from
36485 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36487 * README: Cut down references to pre-2.6 Linux kernels and
36488 Linuxthreads. Update lists of configurations in libc and ports
36489 and sort alphabetically. Say "or newer" with Linux kernel version
36492 * config.h.in [IS_IN_build]: Allow compiling without optimization.
36494 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36497 * math/libm-test.inc (logb_test_downward): New test to expose
36498 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36501 2012-04-27 Joseph Myers <joseph@codesourcery.com>
36504 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36506 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36507 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36509 2012-04-26 Joseph Myers <joseph@codesourcery.com>
36511 * sysdeps/unix/i386/brk.S: Remove file.
36512 * sysdeps/unix/i386/dl-brk.S: Likewise.
36513 * sysdeps/unix/i386/pipe.S: Likewise.
36514 * sysdeps/unix/i386/sigreturn.S: Likewise.
36515 * sysdeps/unix/i386/syscall.S: Likewise.
36516 * sysdeps/unix/i386/vfork.S: Likewise.
36517 * sysdeps/unix/i386/wait.S: Likewise.
36519 * sysdeps/unix/common/tcsendbrk.c: Move to ...
36520 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36522 * configure.in (arm*-none*): Do not allow without
36523 --enable-hacker-mode.
36524 (netbsd*): Remove case setting base_os.
36525 (386bsd*): Likewise.
36526 (freebsd*): Likewise.
36529 (sunos*): Likewise.
36530 (ultrix*): Likewise.
36531 (newsos*): Likewise.
36532 (dynix*): Likewise.
36538 (minix*): Likewise.
36539 (irix4*): Likewise.
36540 (irix6*): Likewise.
36541 (solaris[2-9]*): Likewise.
36543 * configure: Regenerated.
36545 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36548 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36549 overflow or cancellation in calculating denominator.
36550 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36552 down expression to avoid unexpected rounding in newer GCCs.
36553 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36555 2012-04-26 David S. Miller <davem@davemloft.net>
36557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36558 long-double compat symbols.
36559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36573 2012-04-25 David S. Miller <davem@davemloft.net>
36575 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36576 HWCAP_* values only after the memory barriers have been defined.
36577 (atomic_full_barrier): Define.
36578 (atomic_read_barrier): Define.
36579 (atomic_write_barrier): Define.
36581 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36583 * shlib-versions: Add libgcc_s version information.
36584 * sysdeps/generic/libgcc_s.h: Remove.
36585 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36587 * sysdeps/gnu/unwind-resume.c: Likewise.
36588 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36590 2012-04-25 David S. Miller <davem@davemloft.net>
36592 * sysdeps/unix/sparc/brk.S: Delete.
36593 * sysdeps/unix/sparc/dl-brk.S: Delete.
36594 * sysdeps/unix/sparc/pipe.S: Delete.
36595 * sysdeps/unix/sparc/sysdep.S: Delete.
36596 * sysdeps/unix/sparc/sysdep.h: Delete.
36597 * sysdeps/unix/sparc/vfork.S: Delete.
36598 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36599 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36601 (ret_ERRVAL, r0, r1, MOVE): Define.
36602 (JUMPTARGET): Remove.
36603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36604 sysdeps/unix/sparc/sysdep.h
36605 (ENTRY, END): Remove.
36606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36608 2012-04-25 Joseph Myers <joseph@codesourcery.com>
36610 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36611 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36614 * timezone/README: Update upstream location and email address for
36616 * timezone/zdump.c: Update from tzcode 2012b.
36617 * timezone/zic.c: Likewise.
36619 * configure.in (libc_cv_as_needed): Remove test.
36620 * configure: Regenerated.
36621 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36622 conditional definition.
36623 [$(have-as-needed) != yes] (no-as-needed): Likewise.
36624 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36625 * config.make.in (have-as-needed): Remove variable.
36627 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36628 Paul Pluzhnikov <ppluzhnikov@google.com>
36630 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36633 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
36635 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36636 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36637 * sysdeps/sh/strlen.S: Likewise.
36639 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36641 * sysdeps/unix/fork.S: Remove file.
36642 * sysdeps/unix/i386/fork.S: Likewise.
36643 * sysdeps/unix/sparc/fork.S: Likewise.
36645 * sysdeps/unix/system.c: Remove file.
36646 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36648 * sysdeps/unix/getegid.S: Remove file.
36649 * sysdeps/unix/geteuid.S: Likewise.
36651 2012-04-24 Roland McGrath <roland@hack.frob.com>
36653 * scripts/check-localplt.awk: New file.
36654 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36656 * scripts/data/localplt-generic.data: Add a comment.
36658 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36659 NODE when __dir_mkfile failed.
36660 * sysdeps/mach/hurd/symlinkat.c: Likewise.
36661 Reported by Ludovic Courtès <ludo@gnu.org>.
36663 2012-04-24 Andreas Jaeger <aj@suse.de>
36665 * Makerules (common-clean): Also remove gen-as-const-headers
36668 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36670 * Makerules (native-compile): Do not change working directory for
36671 build. Use $(OUTPUT_OPTION) in command.
36672 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36674 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36677 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36678 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36679 * math/libm-test.inc (floor_test): Add more tests.
36680 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36682 2012-04-24 Joseph Myers <joseph@codesourcery.com>
36684 * sysdeps/unix/getdents.c: Remove file.
36685 * sysdeps/unix/sysv/getdents.c: Likewise.
36686 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36688 * sysdeps/unix/syscalls.list (madvise): Add syscall from
36689 sysdeps/unix/mman/syscalls.list.
36691 (mprotect): Likewise.
36693 (munmap): Likewise.
36694 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36695 * sysdeps/unix/mman/syscalls.list: Remove.
36696 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36698 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36699 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36700 * configure: Regenerated.
36701 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36702 $(libgcc_s_suffix).
36703 * config.make.in (libgcc_s_suffix): Remove variable.
36705 2012-04-23 Joseph Myers <joseph@codesourcery.com>
36707 * sysdeps/unix/sysv/gethostname.c: Move to ...
36708 * sysdeps/posix/gethostname.c: ... here.
36710 * sysdeps/unix/execve.S: Remove file.
36712 * sysdeps/unix/_exit.S: Remove file.
36714 2012-04-23 Andreas Jaeger <aj@suse.de>
36717 * manual/Makefile: Remove make dist support, there's no
36718 need for a stand-alone documentation tar ball.
36719 (TEXI2DVI): Define always, it's not in Makeconfig.
36722 (edition): Removed.
36723 (glibc-doc-$(edition).tar): Removed
36727 (ETAGS): Remove, it's in Makeconfig.
36728 (move-if-change): Remove, it's in Makeconfig.
36730 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
36733 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36734 (strtod, strtof, strtold, strtol, strtoul, strtoq)
36735 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36736 (strtod_l, strtof_l, strtold_l): Remove __wur.
36737 It is not necessarily an error to ignore strtol's return value.
36738 One can reliably look at the stored endptr to decide whether
36739 the number had valid syntax.
36741 2012-04-21 Andreas Jaeger <aj@suse.de>
36744 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36746 2012-04-21 Joseph Myers <joseph@codesourcery.com>
36748 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36749 * sysdeps/unix/sysv/Versions: Remove file.
36751 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
36754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36756 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
36759 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36760 version from __vm86.
36762 2012-04-20 Joseph Myers <joseph@codesourcery.com>
36764 * sysdeps/unix/common/lxstat.c: Remove file.
36765 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36767 * sysdeps/unix/sysv/Makefile: Remove file.
36769 * sysdeps/unix/sysv/direct.h: Remove file.
36771 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36772 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36773 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36774 * sysdeps/unix/sysv/bits/signum.h: Likewise.
36775 * sysdeps/unix/sysv/bits/stat.h: Likewise.
36776 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36777 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36779 * sysdeps/unix/sysv/setrlimit.c: Remove file.
36781 * sysdeps/unix/xmknod.c: Remove file.
36782 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36784 * sysdeps/unix/sysv/settimeofday.c: Remove file.
36786 * sysdeps/unix/sysv/i386/time.S: Remove file.
36788 * sysdeps/unix/fxstat.c: Remove file.
36789 * sysdeps/unix/xstat.c: Likewise.
36790 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36792 * sysdeps/unix/sysv/sigaction.c: Remove file.
36794 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36795 (sysdep_headers): Remove variable.
36796 [termio.h not in sysdep_headers] (generated): Likewise.
36797 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36798 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36799 * sysdeps/unix/sysv/tcdrain.c: Likewise.
36800 * sysdeps/unix/sysv/tcflow.c: Likewise.
36801 * sysdeps/unix/sysv/tcflush.c: Likewise.
36802 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36803 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36804 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36805 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36806 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36808 * sysdeps/unix/siglist.c: Remove file.
36810 * sysdeps/unix/getppid.S: Remove file.
36812 * sysdeps/unix/mkdir.c: Remove file.
36813 * sysdeps/unix/rmdir.c: Likewise.
36815 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
36817 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36819 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36820 errlist-compat value.
36822 2012-04-18 David S. Miller <davem@davemloft.net>
36824 * sysdeps/generic/memcopy.h (reg_char): Delete.
36825 * debug/strcat_chk.c: Use char, not reg_char.
36826 * debug/strcpy_chk.c: Likewise.
36827 * debug/strncat_chk.c: Likewise.
36828 * debug/strncpy_chk.c: Likewise.
36829 * string/memchr.c: Likewise.
36830 * string/memrchr.c: Likewise.
36831 * string/rawmemchr.c: Likewise.
36832 * string/strcat.c: Likewise.
36833 * string/strchr.c: Likewise.
36834 * string/strchrnul.c: Likewise.
36835 * string/strcmp.c: Likewise.
36836 * string/strcpy.c: Likewise.
36837 * string/strncat.c: Likewise.
36838 * string/strncmp.c: Likewise.
36839 * string/strncpy.c: Likewise.
36841 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36843 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36844 __builtin_memcopy is called when src and dest ranges are known to not
36847 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36849 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36850 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36851 fwd_align_merge macro call.
36852 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36853 bwd_align_merge macro call.
36854 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36856 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36858 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36859 bwd_align_merge macros.
36860 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36861 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36862 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36864 2012-04-18 David S. Miller <davem@davemloft.net>
36866 * sysdeps/sparc/sparc64/memcopy.h: Delete.
36868 2012-04-18 Andreas Jaeger <aj@suse.de>
36871 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36872 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36873 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36875 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36876 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36879 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36880 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36881 Adjust for changed ldbl-128 files.
36883 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36884 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36885 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36887 2012-04-17 David S. Miller <davem@davemloft.net>
36889 * sysdeps/sparc/sparc32/memcopy.h: Delete.
36891 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
36893 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36894 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36895 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36896 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36897 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36898 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36900 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36903 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36904 * math/libm-test.inc: Add ilogb errno and exception tests.
36905 * math/w_ilogb.c: New file: ilogb wrapper.
36906 * math/w_ilogbf.c: New file: ilogbf wrapper.
36907 * math/w_ilogbl.c: New file: ilogbl wrapper.
36908 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36909 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36910 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36911 exception being thrown with 0.0 as argument.
36912 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36913 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36914 exception being thrown with 0.0 as argument.
36915 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36916 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36917 exception being thrown with 0.0 as argument.
36918 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36919 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36920 exception being thrown with 0.0 as argument.
36921 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36922 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36923 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36924 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36926 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36927 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36928 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36929 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36931 2012-04-17 Petr Baudis <pasky@ucw.cz>
36933 * include/sys/uio.h: Change __vector to __iovec to avoid clash
36936 2012-04-16 Marek Polacek <polacek@redhat.com>
36938 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36940 2012-04-16 Marek Polacek <polacek@redhat.com>
36942 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36943 operands of fdivp instruction.
36945 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36947 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36948 * elf/tst-auditmod3b.c: Likewise.
36949 * elf/tst-auditmod4b.c: Likewise.
36950 * elf/tst-auditmod5b.c: Likewise.
36951 * elf/tst-auditmod6b.c: Likewise.
36952 * elf/tst-auditmod6c.c: Likewise.
36953 * elf/tst-auditmod7b.c: Likewise.
36954 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36955 * sysdeps/x86_64/preconfigure.in: Likewise.
36956 * sysdeps/x86_64/preconfigure: Regenerated.
36958 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
36960 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36963 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
36965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36966 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36968 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
36971 * locale/iso-639.def: Fix gl language name. Spotted by
36974 2012-04-12 Roland McGrath <roland@hack.frob.com>
36977 * libio/libio.h (__io_write_fn): Update comment.
36979 2012-04-12 Petr Baudis <pasky@ucw.cz>
36982 * stdio.texi (Hook Functions): The user provided writer function
36983 is not allowed to return -1.
36985 2012-04-11 David S. Miller <davem@davemloft.net>
36987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36989 2012-04-11 Mike Frysinger <vapier@gentoo.org>
36991 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36992 Add a leading slash to rtkaio.
36994 2012-04-11 Jim Meyering <meyering@redhat.com>
36997 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36998 It is not necessarily an error to ignore fwrite's return
36999 value. One can reliably use ferror to test for errors after
37002 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37004 * bits/types.h (__snseconds_t): New type.
37005 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
37007 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
37008 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37009 (__SNSECONDS_T_TYPE): Likewise.
37010 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37011 (__SNSECONDS_T_TYPE): Likewise.
37012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37013 (__SNSECONDS_T_TYPE): Likewise.
37015 2012-04-10 Andreas Jaeger <aj@suse.de>
37018 * manual/time.texi (Processor Time): Return type of times is
37019 elapsed real time since an arbitrary point in the past.
37020 (CPU Time): Move CLK_TCK from here...
37021 (Processor Time): ...to here. Correct description.
37022 * manual/conf.texi (Constants for Sysconf): Correct description of
37025 2012-04-10 David S. Miller <davem@davemloft.net>
37028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
37029 where the is a gap between DT_REL(A) and DT_JMPREL.
37031 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
37033 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
37034 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37035 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37037 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37039 * elf/dl-support.c (_dl_inhibit_cache): New variable.
37040 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
37041 (dl_main): Handle --inhibit-cache.
37042 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
37044 * elf/dl-load.c (_dl_map_object): Use it.
37045 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
37047 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37050 * sysdeps/i386/fpu/e_powl.S (p78): New object.
37051 (__ieee754_powl): Saturate large exponents rather than testing for
37052 overflow of y*log2(x).
37053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37054 * math/libm-test.inc (pow_test): Do not permit spurious overflow
37058 * math/s_ctan.c: Include <float.h>.
37059 (__ctan): Avoid internal overflow or cancellation in calculating
37061 * math/s_ctanf.c: Likewise.
37062 * math/s_ctanl.c: Likewise.
37063 * math/s_ctanh.c: Likewise.
37064 * math/s_ctanhf.c: Likewise.
37065 * math/s_ctanhl.c: Likewise.
37066 * math/libm-test.inc (ctan_test): Add more tests.
37067 (ctanh_test): Likewise.
37068 * sysdeps/i386/fpu/libm-test-ulps: Update.
37069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37071 2012-04-09 Andreas Jaeger <aj@suse.de>
37074 * manual/filesys.texi (Directory Entries): Mention that d_namlen
37075 is an optional BSD extension.
37078 * manual/stdio.texi (Opening Streams): Document additional fopen
37081 2012-04-09 Roland McGrath <roland@hack.frob.com>
37083 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
37084 %eax without telling the compiler.
37086 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
37089 * manual/install.texi: Use sourceware.org.
37091 2012-04-09 Joseph Myers <joseph@codesourcery.com>
37094 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
37095 (__ieee754_pow): Generate overflow and underflow using huge*huge
37096 and tiny*tiny rather than just returning constant infinity or zero
37097 for large exponents.
37098 * math/libm-test.inc (pow_test): Require overflow exceptions for
37099 applicable cases of large exponents.
37102 * sysdeps/i386/fpu/e_pow.S (p10): New object.
37103 (__ieee754_pow): Use iterative multiplication algorithm only for
37104 integer exponents with absolute value below 1024. Check for odd
37105 integer exponents when using algorithm for real exponents.
37106 * math/libm-test.inc (pow_test): Add more tests.
37107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37109 2012-04-08 Joseph Myers <joseph@codesourcery.com>
37112 * math/libm-test.inc (exp_test): Do not allow overflow exception
37115 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
37118 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
37119 instead of __kernel_standard_f.
37121 2012-04-08 Mike Frysinger <vapier@gentoo.org>
37123 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
37124 * sysdeps/x86_64/memset_chk.S: Likewise.
37126 2012-04-08 Andreas Jaeger <aj@suse.de>
37129 * manual/startup.texi (Environment Access): Describe return value
37130 for putenv and setenv.
37133 * manual/filesys.texi (Directory Entries): Add description for
37137 * manual/filesys.texi (Directory Entries): Clarify that it's file
37138 system not operating system in the description of DT_UNKNOWN.
37141 * manual/syslog.texi (closelog): Fix reference, it's openlog.
37143 2012-04-08 Stephen Compall <s11@member.fsf.org>
37146 * manual/llio.texi (Opening and Closing Files): Add cross
37147 reference to explain mode argument.
37149 2012-04-07 Mike Frysinger <vapier@gentoo.org>
37151 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
37152 * sysdeps/x86_64/memset_chk.S: Likewise.
37154 2012-04-07 David S. Miller <davem@davemloft.net>
37156 * elf/elf.h (R_SPARC_WDISP10): Define.
37157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
37159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
37160 R_SPARC_SIZE64 and R_SPARC_H34.
37162 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
37164 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
37165 conditions and remove no longer applicable assertion.
37167 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37169 * bits/byteswap.h: Include <features.h>.
37170 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
37171 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
37173 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
37175 * bits/byteswap.h (__bswap_16): Removed.
37176 Include <bits/byteswap-16.h> to get __bswap_16.
37177 * sysdeps/i386/bits/byteswap.h: Likewise.
37178 * sysdeps/s390/bits/byteswap.h: Likewise.
37179 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37180 * bits/byteswap-16.h: New file.
37181 * sysdeps/i386/bits/byteswap-16.h: Likewise.
37182 * sysdeps/s390/bits/byteswap-16.h: Likewise.
37183 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
37184 * string/Makefile (headers): Add bits/byteswap-16.h.
37186 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
37189 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
37191 * nss/Makefile (tests-static, tests): Add tst-nss-static.
37192 * nss/tst-nss-static.c: New.
37194 2012-04-06 Robert Millan <rmh@gnu.org>
37197 * manual/llio.texi (File Position Primitive): lseek
37198 refers to WHENCE when it really means OFFSET.
37200 2012-04-06 Andreas Jaeger <aj@suse.de>
37202 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
37203 strncmp declarations.
37205 * abilist/libc.abilist: Add __poll and __ppoll.
37207 2012-04-05 David S. Miller <davem@davemloft.net>
37209 * scripts/check-local-headers.sh: Accept a host triplet in the
37210 path matched by the exclude regexp.
37212 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
37214 * sysdeps/powerpc/powerpc32/dl-machine.h
37215 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
37216 * sysdeps/s390/s390-32/dl-machine.h
37217 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37218 * sysdeps/sparc/sparc32/dl-machine.h
37219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37220 * sysdeps/sparc/sparc64/dl-machine.h
37221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
37223 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
37225 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
37226 undefined symbol errors.
37228 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
37231 2012-04-05 Michael Matz <matz@suse.de>
37234 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
37236 2012-04-05 Andreas Jaeger <aj@suse.de>
37239 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
37242 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37244 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
37245 which ROUND is no valid rounding mode.
37247 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37249 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
37251 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
37253 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37255 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
37256 an exception using FPU order intentionally.
37258 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37260 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
37261 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
37262 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
37263 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
37265 2012-04-05 Simon Josefsson <simon@josefsson.org>
37268 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
37269 EINVAL when BUFLEN is too smal.
37271 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
37274 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
37275 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
37277 2012-04-03 Andreas Jaeger <aj@suse.de>
37280 * manual/setjmp.texi (System V contexts): Fix sentence.
37283 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
37284 New macro for this case.
37285 [!__GNUC__] (__bswap_64): New inline function for this case.
37286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37287 * bits/byteswap.h: Likewise.
37288 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
37289 ull, guard with __GLIBC_HAVE_LONG_LONG.
37291 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
37292 __GLIBC_HAVE_LONG_LONG.
37294 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
37295 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
37297 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37300 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
37301 inptr and inend, rather than using last_ch.
37303 2012-04-02 David S. Miller <davem@davemloft.net>
37305 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
37306 * stdio-common/printf-parse.h (read_int): Change return type to
37307 'int', return -1 on INT_MAX overflow.
37308 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
37309 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
37310 overflows INT_MAX. Check for overflow of in-format-string precision
37311 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
37312 SIZE_MAX not INT_MAX for integer overflow test.
37313 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
37314 skip the construct in the format string but do not record anything.
37315 * stdio-common/bug22.c: Adjust to test both width/prevision
37316 INT_MAX overflow as well as total length INT_MAX overflow. Check
37317 explicitly for proper errno values.
37319 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
37321 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
37323 * string/test-strcmp.c [! WIDE]: Likewise.
37324 * time/tst-mktime2.c: Likewise for INT_MAX.
37325 * string/test-string.h: #include <sys/param.h> for MIN.
37327 * csu/init-first.c (__libc_init_first): Call __ctype_init.
37328 * sysdeps/i386/init-first.c (init): Likewise.
37329 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
37330 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
37331 * sysdeps/sh/init-first.c (init): Likewise.
37333 2012-04-01 Ulrich Drepper <drepper@gmail.com>
37335 * po/ru.po: Update from translation team.
37336 * po/vi.po: Likewise.
37338 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37340 * resolv/nss_dns/dns-host.c: Merge copyright years.
37342 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37344 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37345 Optimize memcpy with prefetch if
37346 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
37347 src, dst pointers have unequal 16 byte alignments.
37349 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37352 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
37353 from a CNAME entry and return the minimum ttl for the query.
37354 (gaih_getanswer_slice): Likewise.
37356 2012-03-30 Jeff Law <law@redhat.com>
37358 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
37360 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
37361 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
37363 * resolv/nss_dns/dns-host.c: Update copyright year.
37365 2012-03-30 Ulrich Drepper <drepper@gmail.com>
37367 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
37368 requests to save a system call. Fix check that all bytes are sent.
37370 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
37371 comments for sendmmsg.
37373 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37376 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
37377 with only 1 character between 0x0041 and 0x01b0.
37378 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
37379 * wcsmbs/tst-mbsnrtowcs.c: New file.
37381 2012-03-29 David S. Miller <davem@davemloft.net>
37383 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
37384 small copies by hand.
37386 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37389 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
37390 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
37393 2012-03-28 David S. Miller <davem@davemloft.net>
37395 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
37396 that branches into memcpy.
37397 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
37398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37400 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
37403 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37404 implementation too.
37405 * sysdeps/sparc/mempcpy.S: New file.
37407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
37408 the IFUNC routine in the libc case.
37409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37411 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
37412 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
37413 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
37414 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
37415 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
37416 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
37417 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
37418 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
37420 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
37421 loop to 256 bytes instead of 64 bytes and fix test signedness.
37423 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
37424 * sysdeps/sparc/sparc32/Makefile: rather than here...
37425 * sysdeps/sparc/sparc64/Makefile: and here.
37427 2012-03-28 Ulrich Drepper <drepper@gmail.com>
37429 * malloc/mallocbug.c: Avoid warnings about unused variables.
37431 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37434 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37435 in the right place. Discard and retry query if response is
37436 larger than input buffer size.
37438 2012-03-28 Joseph Myers <joseph@codesourcery.com>
37443 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37444 x for large integer exponent.
37445 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37446 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
37447 sign of result as needed afterwards.
37448 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37449 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37450 result for underflowing pow the same as for overflow.
37451 (__kernel_standard_l): Handle powl overflow and underflow here
37452 rather than calling __kernel_standard.
37453 * math/libm-test.inc (pow_test): Add more tests.
37468 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37469 * sysdeps/ieee754/k_standard.c: Include <float.h>.
37470 (__kernel_standard_l): New function.
37471 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37473 * math/w_acosl.c (__acosl): Likewise.
37474 * math/w_asinl.c (__asinl): Likewise.
37475 * math/w_atan2l.c (__atan2l): Likewise.
37476 * math/w_atanhl.c (__atanhl): Likewise.
37477 * math/w_coshl.c (__coshl): Likewise.
37478 * math/w_exp10l.c (__exp10l): Likewise.
37479 * math/w_exp2l.c (__exp2l): Likewise.
37480 * math/w_fmodl.c (__fmodl): Likewise.
37481 * math/w_hypotl.c (__hypotl): Likewise.
37482 * math/w_j0l.c (__j0l, __y0l): Likewise.
37483 * math/w_j1l.c (__j1l, __y1l): Likewise.
37484 * math/w_jnl.c (__jnl, __ynl): Likewise.
37485 * math/w_lgammal.c (__lgammal): Likewise.
37486 * math/w_log10l.c (__log10l): Likewise.
37487 * math/w_log2l.c (__log2l): Likewise.
37488 * math/w_logl.c (__logl): Likewise.
37489 * math/w_powl.c (__powl): Likewise.
37490 * math/w_remainderl.c (__remainderl): Likewise.
37491 * math/w_scalbl.c (sysv_scalbl): Likewise.
37492 * math/w_sinhl.c (__sinhl): Likewise.
37493 * math/w_sqrtl.c (__sqrtl): Likewise.
37494 * math/w_tgammal.c (__tgammal): Likewise.
37495 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37496 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37497 * math/libm-test.inc (acos_test): Add more tests.
37498 (acosh_test): Likewise.
37499 (asin_test): Likewise.
37500 (atanh_test): Likewise.
37501 (exp_test): Likewise.
37502 (exp10_test): Likewise.
37503 (exp2_test): Likewise.
37504 (expm1_test): Likewise.
37505 (lgamma_test): Likewise.
37506 (log_test): Likewise.
37507 (log10_test): Likewise.
37508 (log1p_test): Likewise.
37509 (log2_test): Likewise.
37510 (pow_test): Do not allow some spurious overflow exceptions.
37511 (sqrt_test): Add more tests.
37512 (tgamma_test): Likewise.
37513 (y0_test): Likewise.
37514 (y1_test): Likewise.
37515 (yn_test): Likewise.
37517 2012-03-27 Anton Blanchard <anton@samba.org>
37519 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37521 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37522 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37523 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37525 2012-03-27 David S. Miller <davem@davemloft.net>
37527 * conform/Makefile: Run run-conformtest.sh using $(BASH).
37529 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37530 have-as-vis3 check.
37532 2012-03-27 Andreas Jaeger <aj@suse.de>
37534 * sysdeps/x86_64/elf/configure.in: Moved to ...
37535 * sysdeps/x86_64/configure.in: ... here.
37536 * sysdeps/x86_64/elf/start.S: Moved to ...
37537 * sysdeps/x86_64/start.S: ... here.
37538 * sysdeps/x86_64/elf/configure: Delete.
37540 * sysdeps/x86_64/configure.in: Merge contents from
37541 sysdeps/i386/configure.in (without i686 check).
37543 * sysdeps/i386/elf/Versions: Merge into ...
37544 * sysdeps/i386/Versions: ... this.
37545 * sysdeps/i386/elf/Versions: Delete file.
37546 * sysdeps/i386/elf/start.S: Moved to ...
37547 * sysdeps/i386/start.S: ...here.
37548 * sysdeps/i386/elf/configure.in: Merge into...
37549 * sysdeps/i386/configure.in: ...here.
37550 * sysdeps/i386/elf/configure.in: Delete file.
37551 * sysdeps/i386/elf/configure: Delete file.
37553 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37554 * debug/backtracesyms.c: ... here.
37555 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37556 * debug/backtracesymsfd.c: ... here.
37557 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37558 * sysdeps/generic/ifunc-sel.h: ... here.
37560 * sysdeps/unix/i386/start.c: Delete file.
37561 * sysdeps/unix/sparc/start.c: Delete file.
37562 * sysdeps/unix/start.c: Delete file.
37564 * sysdeps/sh/elf/configure.in: Moved to ...
37565 * sysdeps/sh/configure.in: ... here.
37566 * sysdeps/sh/elf/start.S: Moved to ...
37567 * sysdeps/sh/start.S: ... here.
37568 * sysdeps/sh/elf/configure: Delete file.
37570 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37571 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37572 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37573 * sysdeps/powerpc/powerpc64/entry.h: ... here.
37574 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37575 * sysdeps/powerpc/powerpc64/start.S: here.
37576 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37577 * sysdeps/powerpc/powerpc64/Makefile: ... this.
37578 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37579 * sysdeps/powerpc/powerpc64/configure.in: ... this.
37580 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37582 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37583 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37584 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37585 * sysdeps/powerpc/powerpc32/start.S: ... here.
37586 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37587 * sysdeps/powerpc/powerpc32/configure.in: ... this.
37588 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37590 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37591 * sysdeps/powerpc/ifunc-sel.h: ... here.
37592 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37593 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37595 * sysdeps/sparc/elf/configure.in: Moved to ...
37596 * sysdeps/sparc/configure.in: ... here.
37597 * sysdeps/sparc/elf/configure: Delete file.
37598 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37599 * sysdeps/sparc/sparc32/start.S: ... here.
37600 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37601 * sysdeps/sparc/sparc64/start.S: ... here.
37602 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37603 * sysdeps/sparc/sparc32/Makefile: ... this.
37604 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37605 * sysdeps/sparc/sparc64/Makefile: ... this.
37607 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37608 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37609 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37610 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37611 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37612 * sysdeps/s390/s390-32/setjmp.S: ... here.
37613 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37614 * sysdeps/s390/s390-32/configure.in: ... here.
37615 * sysdeps/s390/s390-32/elf/configure: Delete file.
37616 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37617 * sysdeps/s390/s390-32/start.S: ... here.
37619 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37620 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37621 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37622 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37623 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37624 * sysdeps/s390/s390-64/setjmp.S: ... here.
37625 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37626 * sysdeps/s390/s390-64/configure.in: ... here
37627 * sysdeps/s390/s390-64/elf/configure: Delete file.
37628 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37629 * sysdeps/s390/s390-64/start.S: ... here.
37630 * sysdeps/s390/s390-64/elf/configure: Delete.
37632 * configure.in: Remove support for elf directories in sysdeps.
37634 * configure: Regenerated.
37635 * sysdeps/i386/configure: Regenerated.
37636 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37637 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37638 * sysdeps/s390/s390-32/configure: Regenerated.
37639 * sysdeps/s390/s390-64/configure: Regenerated.
37640 * sysdeps/sh/configure: Regenerated.
37641 * sysdeps/sparc/configure: Regenerated.
37642 * sysdeps/x86_64/configure: Regenerated.
37644 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
37646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37648 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37649 denormal result into account.
37651 2012-03-25 Roland McGrath <roland@hack.frob.com>
37653 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37654 Reported by Allan McRae <allan@archlinux.org>.
37656 2012-03-23 Jeff Law <law@redhat.com>
37658 * nss/getnssent.c (__nss_getent): Fix typo.
37660 2012-03-23 David S. Miller <davem@davemloft.net>
37662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37664 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
37666 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37667 to pad to uint64_t for each field.
37668 (dl_tls_index): Replace unsigned long with uint64_t.
37670 2012-03-23 Daniel Jacobowitz <dmj@google.com>
37671 Paul Pluzhnikov <ppluzhnikov@google.com>
37674 * grp/Makefile (otherlibs): Don't set it.
37675 * inet/Makefile (otherlibs): Likewise.
37676 * login/Makefile (otherlibs): Likewise.
37677 * nscd/Makefile (otherlibs): Likewise.
37678 * posix/Makefile (otherlibs): Likewise.
37679 * pwd/Makefile (otherlibs): Likewise.
37680 * rt/Makefile (otherlibs): Likewise.
37681 * sunrpc/Makefile (otherlibs): Likewise.
37682 * nss/Makefile (otherlibs): Likewise.
37683 Add libnss_files to routines and static-only-routines.
37684 ($(objpfx)getent): Remove rule.
37685 * resolv/Makefile: Add libnss_dns and libresolv to routines and
37686 static-only-routines.
37688 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37691 * math/s_cexp.c: Include <float.h>.
37692 (__cexp): Handle exp result overflowing not necessarily
37693 overflowing both real and imaginary parts of result.
37694 * math/s_cexpf.c: Likewise.
37695 * math/s_cexpl.c: Likewise.
37696 * math/libm-test.inc (cexp_test): Add more tests.
37697 * sysdeps/i386/fpu/libm-test-ulps: Update.
37698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37700 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37702 * include/link.h (ELFW): New macro.
37703 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37704 Replace ELF64_R_TYPE with ELFW(R_TYPE).
37706 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37708 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37711 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37713 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37715 (struct La_x32_retval): Likewise.
37717 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
37719 * sysdeps/x86_64/preconfigure.in: New file.
37720 * sysdeps/x86_64/preconfigure: New generated file.
37722 2012-03-22 Joseph Myers <joseph@codesourcery.com>
37725 * math/e_exp2l.c: Include <float.h>.
37726 (__ieee754_exp2l): Handle overflow and underflow cases
37727 separately. Only pass fractional part of argument to
37729 * math/libm-test.inc (exp2_test): Add more tests.
37731 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37732 negating x to take absolute value.
37733 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37735 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37736 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37738 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37739 computing low part if x was negated.
37740 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37742 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37744 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37745 la_x32_gnu_pltexit.
37746 (pltexit): Cast int_retval to ptrdiff_t.
37747 * elf/tst-auditmod3b.c: Likewise.
37748 * elf/tst-auditmod4b.c: Likewise.
37749 * elf/tst-auditmod5b.c: Likewise.
37750 * elf/tst-auditmod6b.c: Likewise.
37751 * elf/tst-auditmod6c.c: Likewise.
37752 * elf/tst-auditmod7b.c: Likewise.
37754 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37755 and x32_gnu_pltexit.
37757 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37758 __ELF_NATIVE_CLASS.
37759 (La_x32_regs): New macro.
37760 (La_x32_retval): Likewise.
37761 (la_x32_gnu_pltenter): New function prototype.
37762 (la_x32_gnu_pltexit): Likewise.
37764 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
37766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37771 * configure.in (libc_cv_cc_nofma): Check for option to disable
37772 generation of FMA instructions.
37773 * configure: Regenerate.
37774 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37775 * sysdeps/ieee754/dbl-64/Makefile: New file.
37776 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37777 Remove brandred-fma4.
37778 (CFLAGS-brandred-fma4.c): Remove.
37779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37780 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37782 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37785 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37787 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37788 LLONG_MAX != LONG_MAX.
37789 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37790 (_fitoa_word): Likewise.
37791 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37792 LLONG_MAX != LONG_MAX.
37793 * stdio-common/_itowa.h: Include <_itoa.h>.
37794 (_itowa_word): Use _ITOA_WORD_TYPE on value.
37795 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
37796 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
37797 only if not defined.
37798 (_ITOA_WORD_TYPE): Likewise.
37799 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37800 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37802 2012-03-21 David S. Miller <davem@davemloft.net>
37804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37806 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
37808 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37809 of x86_64 when setting libc_cv_slibdir, libdir and
37811 * sysdeps/unix/sysv/linux/configure: Regenerated.
37813 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37815 * manual/lang.texi (Old Varargs): Remove section.
37816 (How Variadic): Update menu.
37817 (va_start): Do not mention varargs.h.
37819 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37820 Joseph Myers <joseph@codesourcery.com>
37822 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37824 * configure: Regenerated.
37826 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
37828 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37829 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37832 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37835 * Makefile (files-for-dist): Remove NOTES.
37836 (NOTES): Remove rule.
37837 * README: Don't refer to NOTES.
37838 * manual/creature.texi: Don't include macros.texi.
37839 * manual/intro.texi (creature.texi): Remove comment referring to
37842 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37843 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37844 * configure: Regenerated.
37845 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37846 LIBC_TRY_CC_OPTION.
37847 (libc_cv_as_i686): Likewise.
37848 (libc_cv_cc_avx): Likewise.
37849 (libc_cv_cc_sse2avx): Likewise.
37850 (libc_cv_cc_fma4): Likewise.
37851 (libc_cv_cc_novzeroupper): Likewise.
37852 * sysdeps/i386/configure: Regenerated.
37855 * sysdeps/i386/fpu/s_cexp.S: Remove.
37856 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37857 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37858 * math/libm-test.inc (cexp_test): Add more tests.
37859 * sysdeps/i386/fpu/libm-test-ulps: Update.
37860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37862 2012-03-21 Allan McRae <allan@archlinux.org>
37864 * timezone/Makefile: Do not install iso3166.tab and zone.tab
37866 2012-03-21 Joseph Myers <joseph@codesourcery.com>
37869 * math/w_exp2.c: Do not include <float.h>.
37870 (o_threshold, u_threshold): Remove.
37871 (__exp2): Calculate result before checking finiteness and calling
37873 * math/w_exp2f.c: Likewise.
37874 * math/w_exp2l.c: Likewise.
37875 * math/libm-test.inc (exp2_test): Require overflow exception for
37879 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37880 range of signed 64-bit integers before using fistpll. Remove
37881 checks for whether integers fit in mantissa bits.
37882 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37883 the range of signed 32-bit integers before using fistpl. Remove
37884 checks for whether integers fit in mantissa bits.
37885 * sysdeps/i386/fpu/e_powl.S (p64): New object.
37886 (__ieee754_powl): Test for y outside the range of signed 64-bit
37887 integers before using fistpll. Reduce 64-bit values to 63-bit
37889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37890 divide-by-zero is raised for zero to large negative powers.
37891 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37892 (__ieee754_powl): Test for y outside the range of signed 64-bit
37893 integers before using fistpll. Reduce 64-bit values to 63-bit
37895 * math/libm-test.inc (pow_test): Add more tests.
37897 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37899 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37900 <stdio-common/_itoa.h>.
37901 * debug/segfault.c: Likewise.
37902 * elf/dl-cache.c: Likewise.
37903 * elf/dl-minimal.c: Likewise.
37904 * elf/dl-misc.c: Likewise.
37905 * elf/dl-sysdep.c: Likewise.
37906 * elf/dl-version.c: Likewise.
37907 * elf/rtld.c: Likewise.
37908 * hurd/hurdsock.c: Likewise.
37909 * hurd/lookup-retry.c: Likewise.
37910 * malloc/malloc.c: Likewise.
37911 * malloc/mtrace.c: Likewise.
37912 * nscd/nscd_getgr_r.c: Likewise.
37913 * nscd/nscd_getpw_r.c: Likewise.
37914 * nscd/nscd_getserv_r.c: Likewise.
37915 * posix/getopt_init.c: Likewise.
37916 * posix/wordexp.c: Likewise.
37917 * stdio-common/_itoa.c: Likewise.
37918 * stdio-common/printf_fphex.c: Likewise.
37919 * stdio-common/vfprintf.c: Likewise.
37920 * string/_strerror.c: Likewise.
37921 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37922 * sysdeps/i386/i686/hp-timing.h: Likewise.
37923 * sysdeps/mach/_strerror.c: Likewise.
37924 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37925 * sysdeps/mach/hurd/sethostid.c: Likewise.
37926 * sysdeps/mach/hurd/xmknodat.c: Likewise.
37927 * sysdeps/mach/xpg-strerror.c: Likewise.
37928 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37930 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37931 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37932 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37933 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37934 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37935 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37936 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37937 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37938 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37939 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37940 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37941 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37942 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37943 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37944 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37945 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37946 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37947 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37948 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37950 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37952 * stdio-common/_itoa.h: Moved to ...
37953 * sysdeps/generic/_itoa.h: Here.
37955 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37957 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37958 instead of "_itoa.h" and "_itowa.h".
37959 * stdio-common/vfprintf.: Likewise.
37961 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37963 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37965 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37966 (__signbit): Likwise.
37967 (llrintf): Likwise.
37970 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
37972 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37975 2012-03-20 Joseph Myers <joseph@codesourcery.com>
37977 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37978 OVERFLOW_EXCEPTION_OK.
37979 * math/libm-test.inc ("Philosophy"): Update comment about
37981 (OVERFLOW_EXCEPTION): Define.
37982 (OVERFLOW_EXCEPTION_OK): Likewise.
37983 (INVALID_EXCEPTION_OK): Renumber.
37984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37985 (IGNORE_ZERO_INF_SIGN): Likewise.
37986 (test_exceptions): Handle FE_OVERFLOW.
37987 (exp10_test): Expect overflow exceptions.
37988 (exp2_test): Likewise.
37989 (expm1_test): Likewise.
37990 (nextafter_test): Likewise.
37991 (pow_test): Likewise.
37992 (scalbn_test): Likewise.
37993 (scalbln_test): Likewise.
37995 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
37997 * sysdeps/x86_64/bits/atomic.h
37998 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
38000 (atomic_exchange_acq): Likewise.
38001 (__arch_exchange_and_add_body): Likewise.
38002 (__arch_add_body): Likewise.
38003 (atomic_add_negative): Likewise.
38004 (atomic_add_zero): Likewise.
38006 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38008 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
38009 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
38011 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38013 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
38014 Check __x86_64__ instead of __WORDSIZE.
38016 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38018 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
38020 2012-03-19 David S. Miller <davem@davemloft.net>
38022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38024 * sysdeps/sparc/fpu/fenv_private.h: New file.
38025 * sysdeps/sparc/fpu/math_private.h: Use it.
38026 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
38028 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
38029 (libc_feholdexcept_setroundl): Remove.
38030 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
38032 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
38033 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
38035 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38037 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
38038 int64_t instead of long int.
38039 (INSERT_WORDS64): Likwise.
38041 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
38043 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
38044 _Unwind_GetCFA return to _Unwind_Ptr first.
38046 2012-03-19 Joseph Myers <joseph@codesourcery.com>
38049 * math/s_clog.c: Include <float.h>.
38050 (__clog): Scale large or subnormal inputs.
38051 * math/s_clogf.c: Likewise.
38052 * math/s_clogl.c: Likewise.
38053 * math/s_clog10.c: Include <float.h>.
38054 (M_LOG10_2): Define.
38055 (__clog10): Scale large or subnormal inputs.
38056 * math/s_clog10f.c: Likewise.
38057 * math/s_clog10l.c: Likewise.
38058 * math/libm-test.inc (clog_test): Add more tests.
38059 (clog10_test): Likewise.
38060 * sysdeps/i386/fpu/libm-test-ulps: Update.
38061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38064 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
38066 * math/libm-test.inc (atan2_test): Add another test.
38068 * Makerules (common-objdir-compile): Remove.
38069 * sysdeps/unix/Makefile (config-generated): Do not add
38070 $(unix-generated) to variable.
38071 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
38072 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
38074 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
38076 [generic bits/local_lim.h] (before-compile): Do not append to
38078 [generic bits/local_lim.h] (common-generated): Likewise.
38079 [generic sys/param.h] (before-compile): Do not append to variable.
38080 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
38081 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
38082 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
38083 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
38085 [generic sys/param.h] (sys/param.h-includes): Remove variable.
38086 [generic sys/param.h] (sys/param.h-includes): Remove rule.
38087 [generic sys/param.h] ($(addprefix
38088 $(common-objpfx),$(sys/param.h-includes))): Likewise.
38089 [generic sys/param.h] (common-generated): Do not append to
38091 [generic sys/param.h] (sysdep_headers): Likewise.
38092 [generic bits/errno.h] (before-compile): Do not append to
38094 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
38096 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
38097 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
38098 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
38099 [generic bits/errno.h] (common-generated): Do not append to
38101 [generic bits/ioctls.h] (before-compile): Do not append to
38103 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
38105 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
38106 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
38107 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
38109 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
38110 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
38111 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
38112 [generic bits/ioctls.h] (common-generated): Do not append to
38114 [generic sys/syscall.h] (syscall.h): Remove variable.
38115 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
38117 [generic sys/syscall.h] (before-compile): Do not append to
38119 [generic sys/syscall.h] (common-generated): Likewise.
38120 * sysdeps/unix/errnos-tmpl.c: Remove file.
38121 * sysdeps/unix/errnos.awk: Likewise.
38122 * sysdeps/unix/ioctls-tmpl.c: Likewise.
38123 * sysdeps/unix/ioctls.awk: Likewise.
38124 * sysdeps/unix/mk-local_lim.c: Likewise.
38125 * sysdeps/unix/snarf-ioctls: Likewise.
38127 2012-03-19 Richard Henderson <rth@twiddle.net>
38129 * sysdeps/i386/fpu/fenv_private.h: New file.
38130 * sysdeps/i386/fpu/math_private.h: Use it.
38131 (math_opt_barrier, math_force_eval): Remove.
38132 (libc_feholdexcept_setround_53bit): Remove.
38133 (libc_feupdateenv_53bit): Remove.
38134 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38135 (math_opt_barrier, math_force_eval): Remove.
38136 (libc_feholdexcept): Remove.
38137 (libc_feholdexcept_setround): Remove.
38138 (libc_fetestexcept, libc_fesetenv): Remove.
38139 (libc_feupdateenv_test): Remove.
38140 (libc_feupdateenv, libc_feholdsetround): Remove.
38141 (libc_feresetround): Remove.
38143 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
38144 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38146 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
38147 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
38148 (libc_feupdateenv_testl): New.
38149 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
38150 (libc_feupdateenv_testf): New.
38151 (libc_feupdateenv): Use libc_feupdateenv_test.
38152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
38153 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
38155 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
38156 (libc_feholdsetroundf, libc_feholdsetroundl): New.
38157 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
38158 (libc_feresetround_noex): New.
38159 (libc_feresetround_noexf): New.
38160 (libc_feresetround_noexl): New.
38161 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
38162 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
38163 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
38164 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
38166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
38169 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
38170 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
38171 SET_RESTORE_ROUND_NOEX.
38172 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
38173 SET_RESTORE_ROUND_NOEXF.
38174 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
38175 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
38176 (libc_feholdsetroundf): New.
38177 (libc_feresetround, libc_feresetroundf): New.
38179 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
38180 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38181 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
38183 * sysdeps/generic/math_private.h: Include <fenv.h>.
38184 (default_libc_feholdexcept): New.
38185 (default_libc_feholdexcept_setround): New.
38186 (default_libc_fesetenv, default_libc_feupdateenv): New.
38187 (libc_feholdexcept): Only define if undefined.
38188 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
38189 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
38190 (libc_feholdexcept_setroundl): Likewise.
38191 (libc_feholdexcept_setround_53bit): Likewise.
38192 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
38193 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
38194 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
38195 (libc_feupdateenv_53bit): Likewise.
38196 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
38197 (libc_feholdexcept): Convert from macro to inline function.
38198 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
38199 (libc_fesetenv, libc_feupdateenv): Likewise.
38201 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
38202 not previously defined.
38203 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
38204 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
38205 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
38206 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
38207 * sysdeps/ieee754/flt-32/math_private.h: New file.
38208 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
38209 math_private.h below SET_FLOAT_WORD.
38210 (__isnan, __isinf_ns, __finite): Remove.
38211 (__isnanf, __isinf_nsf, __finitef): Remove.
38213 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
38215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38217 2012-03-17 David S. Miller <davem@davemloft.net>
38220 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
38223 2012-03-16 David S. Miller <davem@davemloft.net>
38225 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
38229 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
38231 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
38232 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
38233 sysdep_routines when subdir is sysvipc.
38234 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
38235 __getshmlba helper.
38237 * sysdeps/sparc/fpu/libm-test/ulps: Update.
38239 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38241 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
38244 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38246 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
38247 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
38248 (__lround): Renamed to ...
38249 (__llround): This. Replace long int with long long int.
38250 Define lround functions as aliases of llround functions.
38251 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
38253 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38255 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
38256 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
38257 adresses to uintptr_t. Replace "long int" and "unsigned long
38258 int" with "greg_t" on va_arg.
38260 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38262 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
38263 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
38265 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
38266 Move e_machine check before EI_CLASS check. Handle x32
38267 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
38268 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
38269 SKIP_EM_IA_64 and include
38270 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
38272 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
38273 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
38274 (add_system_dir): New macro.
38276 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
38277 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
38279 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38290 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
38292 * math/w_j0f.c (j0f): Likewise.
38294 * math/w_j0l.c (__j0l): Likewise.
38296 * math/w_j1.c (j1): Likewise.
38298 * math/w_j1f.c (j1f): Likewise.
38300 * math/w_j1l.c (__j1l): Likewise.
38302 * math/w_jn.c (jn): Likewise.
38304 * math/w_jnf.c (jnf): Likewise.
38306 * math/w_jnl.c (__jnl): Likewise.
38308 * math/libm-test.inc (j0_test): Add more tests.
38309 (j1_test): Likewise.
38310 (jn_test): Likewise. Add trailing semicolon to existing test.
38311 (y0_test): Likewise.
38312 (y1_test): Likewise.
38313 * sysdeps/i386/fpu/libm-test-ulps: Update.
38314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38318 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
38319 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
38320 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
38321 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
38322 (__tanl): Set errno for infinite argument.
38323 * sysdeps/i386/fpu/mptan.c: Remove.
38324 * sysdeps/i386/fpu/s_tan.S: Likewise.
38325 * sysdeps/i386/fpu/s_tanl.S: Likewise.
38326 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
38327 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
38328 * math/libm-test.inc (tan_test): Add more tests and enable more
38329 tests for double and long double.
38330 * sysdeps/i386/fpu/libm-test-ulps: Update.
38331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38333 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
38335 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
38336 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
38338 2012-03-16 Roland McGrath <roland@hack.frob.com>
38340 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
38341 * configure.in: Use it for both main tree and add-ons.
38342 * configure: Regenerated.
38344 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
38346 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
38348 2012-03-16 Joseph Myers <joseph@codesourcery.com>
38350 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
38354 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
38355 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
38356 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
38357 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
38358 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
38360 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
38361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
38362 != 0 for prec == 2.
38363 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
38364 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
38365 * sysdeps/i386/fpu/s_cosl.S: Likewise.
38366 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
38367 * sysdeps/i386/fpu/s_sinl.S: Likewise.
38368 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
38369 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
38370 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
38371 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
38372 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
38373 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
38374 * math/libm-test.inc (cos_test): Add more tests and enable more
38375 tests for long double.
38376 (sin_test): Likewise.
38377 (sincos_test): Likewise.
38378 * sysdeps/i386/fpu/libm-test-ulps: Update.
38379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38381 2012-03-16 David S. Miller <davem@davemloft.net>
38383 * sysdeps/sparc/fpu/math_private.h: New file.
38385 2012-03-15 David S. Miller <davem@davemloft.net>
38387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
38389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
38390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
38392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
38393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
38394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
38395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
38396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
38397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
38399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38401 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
38402 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
38404 * sysdeps/sparc/sparc-ifunc.h: New file.
38405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
38407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
38408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
38410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
38412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
38413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
38414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
38415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
38417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
38418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
38419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
38420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
38421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
38423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
38425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
38426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
38427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
38428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
38429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38450 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38452 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38456 2012-03-15 Andreas Jaeger <aj@suse.de>
38459 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38460 ieee754/flt-32 implementation for sin, cos and sincos.
38461 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38462 * sysdeps/i386/fpu/s_cosf.S: Likewise.
38463 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38464 * sysdeps/i386/fpu/s_sinf.S: Likewise.
38465 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38466 ieee754/flt-32 implementation for tan.
38468 * math/libm-test.inc (cos_test): Enable some large input tests for
38470 (sin_test): Likewise.
38471 (sincos_test): Likewise.
38472 (tan_test): Add tests for large input.
38474 * sysdeps/i386/fpu/libm-test-ulps: Update.
38476 2012-03-15 Andreas Jaeger <aj@suse.de>
38479 * math/libm-test.inc (cos_test): Add more test cases.
38480 (sin_test): Likewise.
38481 (sincos_test): Likewise.
38483 2012-03-15 Andreas Jaeger <aj@suse.de>
38486 * math/libm-test.inc (cos_test): Add a test case for large input
38488 (sin_test): Likewise.
38489 (sincos_test): Likewise.
38491 2012-03-15 Andreas Jaeger <aj@suse.de>
38492 Joseph Myers <joseph@codesourcery.com>
38495 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38496 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38497 * sysdeps/i386/fpu/branred.c: Likewise.
38498 * sysdeps/i386/fpu/dosincos.c: Likewise.
38499 * sysdeps/i386/fpu/mpa.c: Likewise.
38500 * sysdeps/i386/fpu/s_cos.S: Likewise.
38501 * sysdeps/i386/fpu/s_sin.S: Likewise.
38502 * sysdeps/i386/fpu/s_sincos.S: Likewise.
38503 * sysdeps/i386/fpu/sincos32.c: Likewise.
38505 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38507 (libc_feupdateenv_53bit): Define.
38508 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38510 (libc_feupdateenv_53bit): Define.
38512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38513 53 bit (without extend i386 double precision).
38515 * math/libm-test.inc (sincos_test): Add tests for large input.
38519 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38521 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
38523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38525 2012-03-15 David S. Miller <davem@davemloft.net>
38527 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38528 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38529 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38530 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38554 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38555 fmin/fmax sysdep routines.
38556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38558 2012-03-14 David S. Miller <davem@davemloft.net>
38560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38632 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38637 * sysdeps/sparc/configure.in: New file.
38638 * sysdeps/sparc/configure: Generate.
38639 * configure.in (libc_cv_sparc_as_vis3): Substitute.
38640 * configure: Regenerate.
38641 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38642 * config.make.in (have-as-vis3): New.
38643 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38644 available use -Av9d instead of -Av9a.
38645 * sysdeps/sparc/sparc64/Makefile: Likewise.
38646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38661 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38662 fzeros/fnegs to load 0x80000000 into a float register instead of
38664 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38666 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38670 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38671 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38672 ($(inst_includedir)/bits/syscall.h): Remove rule.
38673 ($(objpfx)bits/syscall.d): Include instead of
38674 $(objpfx)syscall-list.d.
38675 (generated): Change syscall-list.h and syscall-list.d to
38676 bits/syscall.h and bits/syscall.d.
38678 2012-03-14 Roland McGrath <roland@hack.frob.com>
38681 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38683 2012-03-14 Joseph Myers <joseph@codesourcery.com>
38686 * math/s_csqrt.c: Include <float.h>.
38687 (__csqrt): Scale large or subnormal inputs.
38688 * math/s_csqrtf.c: Likewise.
38689 * math/s_csqrtl.c: Likewise.
38690 * math/libm-test.inc (csqrt_test): Add more tests.
38691 * sysdeps/i386/fpu/libm-test-ulps: Update.
38692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38695 * math/libm-test.inc (hypot_test): Add more tests.
38697 2012-03-13 David S. Miller <davem@davemloft.net>
38700 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38701 double-precision for the calculation instead of scaling.
38703 2012-03-13 Joseph Myers <joseph@codesourcery.com>
38705 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38706 manipulate bits before adding and subtracting TWO52[sx].
38707 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38708 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38710 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38712 2012-03-13 David S. Miller <davem@davemloft.net>
38714 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38715 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38717 rtld-global-offsets.h
38718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38720 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38723 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38725 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38726 'err' in the ifdef scope in which it is actually used.
38728 * nss/nss_db/db-init.c: Include string.h
38730 2012-03-12 David S. Miller <davem@davemloft.net>
38732 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38733 masking out of the most significant byte of random value used.
38734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38735 Fix coding style in previous change.
38737 * sysdeps/unix/sysv/linux/kernel-features.h
38738 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38739 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38741 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38744 2012-03-11 David S. Miller <davem@davemloft.net>
38746 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38747 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38748 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38749 for 'resultvar' otherwise things get truncated on 64-bit.
38751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38752 Fix masking out of the most significant byte of random value used.
38754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38756 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
38758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38760 2012-03-09 David S. Miller <davem@davemloft.net>
38762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38763 variables with appropriate CPP guards.
38764 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38765 from the frame pointer, not the stack pointer. Correct layout
38766 comments. Fix test on resulting framesize and the management of
38767 the outregs buffer for pltexit. Preserve floating point return
38768 values across _dl_call_pltexit call.
38769 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38770 framesize and the management of the outregs buffer for pltexit.
38771 Preserve floating point return values across _dl_call_pltexit
38773 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38774 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38775 (la_sparc64_gnu_pltexit): New functions.
38776 (print_exit): Fix format string for return register value.
38778 2012-03-10 Joseph Myers <joseph@codesourcery.com>
38780 * sunrpc/Makefile (others): Add rpcgen.
38781 ($(objpfx)rpcgen): Remove special build rule and dependency on
38783 * sunrpc/rpcgen.c: New file.
38785 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
38788 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38789 * stdio-common/bug-vfprintf-nargs.c: Likewise.
38790 * sysdeps/i386/crti.S: Likewise.
38791 * sysdeps/i386/crtn.S: Likewise.
38792 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38793 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38794 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38795 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38796 * sysdeps/sh/crti.S: Likewise.
38797 * sysdeps/sh/crtn.S: Likewise.
38798 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38801 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38803 * locale/programs/locfile-kw.gperf: Likewise.
38804 * locale/programs/charmap-kw.h: Regenerated.
38805 * locale/programs/locfile-kw.h: Likewise.
38808 * intl/plural.y: Replace FSF snail mail address with URL.
38809 * intl/plural.c: Regenerated.
38811 2012-03-09 Richard Henderson <rth@twiddle.net>
38813 * include/math_private.h: Remove file.
38814 * math/math_private.h: Move file ...
38815 * sysdeps/generic/math_private.h: ... here.
38817 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38818 * sysdeps/powerpc/fpu/math_private.h: Likewise.
38819 * sysdeps/x86_64/fpu/math_private.h: Likewise.
38821 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38822 and <math_private.h>.
38823 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38824 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38825 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38826 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38827 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38828 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38829 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38830 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38831 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38832 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38834 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38835 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38836 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38837 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38838 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38840 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38841 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38842 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38843 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38845 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38848 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38849 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38850 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38852 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38853 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38854 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38855 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38856 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38857 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38858 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38859 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38863 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38864 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38865 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38866 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38867 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38868 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38869 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38870 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38871 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38872 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38873 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38874 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38875 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38876 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38877 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38878 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38879 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38880 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38881 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38882 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38884 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38887 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38888 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38889 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38890 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38891 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38892 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38893 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38894 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38895 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38897 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38899 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38900 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38902 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38903 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38904 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38905 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38906 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38907 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38909 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38910 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38911 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38912 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38913 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38914 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38916 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38917 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38918 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38919 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38920 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38921 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38922 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38923 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38924 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38925 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38926 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38927 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38928 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38929 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38930 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38931 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38933 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38934 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38935 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38936 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38937 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38938 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38939 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38940 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38941 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38942 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38943 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38944 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38945 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38946 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38947 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38948 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38949 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38950 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38951 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38952 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38953 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38954 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38955 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38956 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38957 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38958 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38959 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38960 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38961 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38962 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38963 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38964 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38966 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38967 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38968 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38969 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38970 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38971 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38972 * sysdeps/ieee754/k_standard.c: Likewise.
38973 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38974 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38975 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38976 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38977 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38978 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38979 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38980 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38981 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38982 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38983 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38984 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38985 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38986 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38987 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38988 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38989 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38990 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38991 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38992 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38993 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38994 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38995 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38996 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38997 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38998 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38999 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39000 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39001 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39002 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39003 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
39004 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39005 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39006 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39007 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
39008 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
39011 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
39012 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39013 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
39014 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
39015 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
39016 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39017 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
39018 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
39019 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39021 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39022 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39023 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39024 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
39025 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39026 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
39027 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39028 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39029 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
39030 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
39031 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39032 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39033 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39034 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
39035 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39036 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39037 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39038 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39039 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39040 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39042 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39043 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39044 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39045 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39046 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39047 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39049 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
39050 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39051 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39052 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
39053 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
39054 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
39055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39056 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39057 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
39058 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39059 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39060 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
39061 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39062 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39063 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
39064 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39065 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
39066 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
39067 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39068 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39069 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
39070 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
39071 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
39072 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
39073 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39074 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39075 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39076 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39077 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
39078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39080 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
39081 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
39082 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39083 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39084 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39089 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39090 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39091 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39092 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39093 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39094 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39095 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39096 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39097 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39098 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
39099 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39100 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39101 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39102 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39103 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39104 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39105 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39106 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39107 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39108 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39109 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
39110 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39111 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39112 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
39113 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
39114 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39115 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
39116 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
39117 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39118 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39119 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39120 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39121 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39122 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
39123 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39124 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
39129 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39130 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39133 * sysdeps/ieee754/s_lib_version.c: Likewise.
39134 * sysdeps/ieee754/s_matherr.c: Likewise.
39135 * sysdeps/ieee754/s_signgam.c: Likewise.
39136 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39137 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39138 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
39139 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
39140 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
39141 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39142 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
39143 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
39144 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
39145 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
39146 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
39147 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
39148 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39149 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39150 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
39151 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
39152 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
39153 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
39154 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
39155 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39156 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39158 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39160 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
39161 * sunrpc/rpc_main.c: Likewise.
39162 * sunrpc/rpc_svcout.c: Likewise.
39164 2012-03-09 David S. Miller <davem@davemloft.net>
39166 * include/math_private.h: New file.
39168 2012-03-09 Joseph Myers <joseph@codesourcery.com>
39170 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
39171 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
39172 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
39173 from <bits/socket_type.h>.
39174 (enum __socket_type): Don't define here.
39175 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
39176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39177 bits/socket_type.h.
39180 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
39181 checking __USE_GNU.
39183 * Makerules ($(inst_includedir)/%.h): New rule.
39184 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
39185 (install-others): Remove variable setting.
39186 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
39188 2012-03-08 Richard Henderson <rth@twiddle.net>
39190 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
39191 from macro to inline function; merge with the
39192 !__LIBC_INTERNAL_MATH_INLINES version.
39193 (__ieee754_sqrtf): Likewise.
39195 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
39196 to inline function.
39197 (__rintf, __floor, __floorf): Likewise.
39199 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
39200 macro to inline function.
39201 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
39203 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
39204 not <math/math_private.h>.
39206 2012-03-08 David S. Miller <davem@davemloft.net>
39208 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
39210 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
39212 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
39214 * resolv/gai_misc.c (handle_requests): Fix struct timespec
39216 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
39217 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39219 2012-03-08 Ulrich Drepper <drepper@gmail.com>
39221 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
39222 be defined individually, they must be defined as a block. Define
39223 S for printing a string instead of hidint the different by using a
39224 macro for adding the 'l'.
39225 * stdio-common/tst-fphex-wide.c: Adjust.
39227 2012-03-07 Marek Polacek <polacek@redhat.com>
39229 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
39231 2012-03-08 Marek Polacek <polacek@redhat.com>
39234 * stdio-common/Makefile (tests): Add tst-fphex-wide.
39235 * stdio-common/tst-fphex.c: Define a few macros to make the
39236 test reusable. Use them.
39237 * stdio-common/tst-fphex-wide.c: New file.
39239 2012-03-08 Joseph Myers <joseph@codesourcery.com>
39242 * manual/macros.texi (gnusystems): New macro.
39243 (nongnusystems): Likewise.
39244 (gnulinuxhurdsystems): Likewise.
39245 (gnuhurdsystems): Likewise..
39246 (gnulinuxsystems): Likewise.
39247 * manual/charset.texi: Use new macros or @theglibc{} to refer to
39248 variants of the GNU system, not "GNU system".
39249 * manual/conf.texi: Likewise.
39250 * manual/errno.texi: Likewise. Update example of errno macro
39252 * manual/filesys.texi: Likewise.
39253 (getumask): Document as specific to GNU/Hurd.
39254 * manual/install.texi: Likewise. Reword some references to
39256 * manual/intro.texi: Likewise.
39257 * manual/io.texi: Likewise.
39258 (File Name Portability): Detail which constraints are inapplicable
39259 to all GNU systems and which are only inapplicable to GNU/Hurd.
39260 * manual/job.texi: Likewise.
39261 * manual/llio.texi: Likewise.
39262 (O_NOCTTY): Document as present on GNU/Linux.
39263 * manual/maint.texi: Likewise.
39264 * manual/memory.texi: Likewise.
39265 * manual/pattern.texi: Likewise.
39266 * manual/pipe.texi: Likewise.
39267 * manual/process.texi: Likewise.
39268 * manual/resource.texi: Likewise.
39269 (RUSAGE_CHILDREN): Remove statement about specifying a particular
39271 * manual/setjmp.texi: Likewise.
39272 * manual/signal.texi: Likewise.
39273 * manual/startup.texi: Likewise.
39274 * manual/stdio.texi: Likewise.
39275 * manual/terminal.texi: Likewise.
39276 (ONLCR): Document as POSIX.
39277 (OXTABS): Document availability on GNU/Linux as XTABS.
39278 (ONOEOT): Document availability separately from other bits.
39279 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
39280 * manual/time.texi: Likewise.
39281 * manual/users.texi: Likewise.
39282 * INSTALL: Regenerated.
39283 * sysdeps/gnu/errlist.c: Regenerated.
39285 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
39286 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
39287 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
39289 * configure: Regenerated.
39291 2012-03-07 Joseph Myers <joseph@codesourcery.com>
39293 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
39294 default includes instead of AC_HEADER_CHECK.
39295 * sysdeps/i386/configure: Regenerated.
39298 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
39299 * math/s_cacoshf.c (__cacoshf): Likewise.
39300 * math/s_cacoshl.c (__cacoshl): Likewise.
39301 * math/s_casinh.c (__casinh): Set signs of result from argument.
39302 * math/s_casinhf.c (__casinhf): Likewise.
39303 * math/s_casinhl.c (__casinhl): Likewise.
39304 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
39305 (casinh_test): Add more tests.
39306 * sysdeps/i386/fpu/libm-test-ulps: Update.
39307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39309 2012-03-07 Ulrich Drepper <drepper@gmail.com>
39311 * po/zh_TW.po: Update from translation team.
39313 * login/Makefile (distribute): Remove variable.
39314 * catgets/Makefile: Likewise.
39315 * mach/Makefile: Likewise.
39316 * malloc/Makefile: Likewise.
39317 * misc/Makefile: Likewise.
39318 * iconv/Makefile: Likewise.
39319 * nscd/Makefile: Likewise.
39320 * hurd/Makefile: Likewise.
39321 * manual/Makefile: Likewise.
39322 * locale/Makefile: Likewise.
39323 * intl/Makefile: Likewise.
39324 * conform/Makefile: Likewise.
39325 * nss/Makefile: Likewise.
39326 * time/Makefile: Likewise.
39327 * soft-fp/Makefile: Likewise.
39328 * dirent/Makefile: Likewise.
39329 * gmon/Makefile: Likewise.
39330 * po/Makefile: Likewise.
39331 * rt/Makefile: Likewise.
39332 * socket/Makefile: Likewise.
39333 * math/Makefile: Likewise.
39334 * signal/Makefile: Likewise.
39335 * debug/Makefile: Likewise.
39336 * elf/Makefile: Likewise.
39337 * timezone/Makefile: Likewise.
39338 * stdlib/Makefile: Likewise.
39339 * iconvdata/Makefile: Likewise.
39340 * sunrpc/Makefile: Likewise.
39341 * io/Makefile: Likewise.
39342 * argp/Makefile: Likewise.
39343 * inet/Makefile: Likewise.
39344 * hesiod/Makefile: Likewise.
39345 * grp/Makefile: Likewise.
39346 * csu/Makefile: Likewise.
39347 * wctype/Makefile: Likewise.
39348 * crypt/Makefile: Likewise.
39349 * libio/Makefile: Likewise.
39350 * string/Makefile: Likewise.
39351 * nis/Makefile: Likewise.
39352 * resolv/Makefile: Likewise.
39353 * stdio-common/Makefile: Likewise.
39354 * wcsmbs/Makefile: Likewise.
39355 * dlfcn/Makefile: Likewise.
39356 * posix/Makefile: Likewise.
39359 * timezone/Makefile: Don't install timezone files, just the programs
39362 2012-03-06 Ulrich Drepper <drepper@gmail.com>
39364 * nss/databases.def: Add missing gshadow entry.
39366 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
39368 2012-03-06 Marek Polacek <polacek@redhat.com>
39371 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
39372 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39373 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
39374 * stdio-common/tst-long-dbl-fphex.c: New file.
39376 2012-03-06 David S. Miller <davem@davemloft.net>
39378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39379 (set_obp_int): New function.
39380 (get_obp_int): New function.
39381 (__get_clockfreq_via_dev_openprom): Likewise.
39382 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
39383 Avoid unused variable warnings on 'val' and use builtin_expect.
39384 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
39386 (INLINE_CLONE_SYSCALL): Likewise.
39388 2012-03-05 David S. Miller <davem@davemloft.net>
39390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39392 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
39394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39396 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
39397 only for |x| >= 40.
39398 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39400 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
39402 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
39403 Replace gettimeofday with __vdso_gettimeofday.
39405 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39406 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
39407 __vdso_clock_gettime and __vdso_getcpu.
39409 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
39410 time with __vdso_time.
39412 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39414 * manual/lang.texi (size_t): Note types to which size_t may be
39415 equivalent with the GNU C Library, but do not describe when
39416 differences between them are significant.
39418 2012-03-05 Andreas Jaeger <aj@suse.de>
39420 * sysdeps/i386/fpu/libm-test-ulps: Update.
39422 2012-03-05 Joseph Myers <joseph@codesourcery.com>
39425 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
39426 (__ieee754_pow): Save and restore rounding mode and use
39427 round-to-nearest for main computations.
39428 * math/libm-test.inc (pow_test_tonearest): New function.
39429 (pow_test_towardzero): Likewise.
39430 (pow_test_downward): Likewise.
39431 (pow_test_upward): Likewise.
39432 (main): Call the new functions.
39433 * sysdeps/i386/fpu/libm-test-ulps: Update.
39434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39437 * math/libm-test.inc (cosh_test_tonearest): New function.
39438 (cosh_test_towardzero): Likewise.
39439 (cosh_test_downward): Likewise.
39440 (cosh_test_upward): Likewise.
39441 (sinh_test_tonearest): Likewise.
39442 (sinh_test_towardzero): Likewise.
39443 (sinh_test_downward): Likewise.
39444 (sinh_test_upward): Likewise.
39445 (main): Call the new functions.
39446 * sysdeps/i386/fpu/libm-test-ulps: Update.
39447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39449 2012-03-05 Tom de Vries <tom@codesourcery.com>
39451 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39452 default stack guard is set in last bytes.
39453 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39455 2012-03-05 Kees Cook <keescook@chromium.org>
39457 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39460 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39461 possibly allocate from heap instead of stack.
39462 * stdio-common/bug-vfprintf-nargs.c: New file.
39463 * stdio-common/Makefile (tests): Add nargs overflow test.
39465 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
39467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39469 2012-03-03 Marek Polacek <polacek@redhat.com>
39471 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39472 * math/math_private.h: Likewise.
39473 * stdlib/tst-strtod.c: Likewise.
39474 * sysdeps/i386/i486/bits/atomic.h: Likewise.
39475 * sysdeps/x86_64/bits/atomic.h: Likewise.
39477 2012-03-02 David S. Miller <davem@davemloft.net>
39479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39483 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39484 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39485 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39486 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39488 2012-03-02 Roland McGrath <roland@hack.frob.com>
39491 * manual/examples/README: New file, says the example source files
39492 can be used under GPL>=2.
39493 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39494 line containing just "*/".
39495 * manual/examples/add.c: Add copyright header (GPL>=2).
39496 * manual/examples/argp-ex1.c: Likewise.
39497 * manual/examples/argp-ex2.c: Likewise.
39498 * manual/examples/argp-ex3.c: Likewise.
39499 * manual/examples/argp-ex4.c: Likewise.
39500 * manual/examples/atexit.c: Likewise.
39501 * manual/examples/db.c: Likewise.
39502 * manual/examples/dir.c: Likewise.
39503 * manual/examples/dir2.c: Likewise.
39504 * manual/examples/execinfo.c: Likewise.
39505 * manual/examples/filecli.c: Likewise.
39506 * manual/examples/filesrv.c: Likewise.
39507 * manual/examples/fmtmsgexpl.c: Likewise.
39508 * manual/examples/genpass.c: Likewise.
39509 * manual/examples/inetcli.c: Likewise.
39510 * manual/examples/inetsrv.c: Likewise.
39511 * manual/examples/isockad.c: Likewise.
39512 * manual/examples/longopt.c: Likewise.
39513 * manual/examples/memopen.c: Likewise.
39514 * manual/examples/memstrm.c: Likewise.
39515 * manual/examples/mkfsock.c: Likewise.
39516 * manual/examples/mkisock.c: Likewise.
39517 * manual/examples/mygetpass.c: Likewise.
39518 * manual/examples/pipe.c: Likewise.
39519 * manual/examples/popen.c: Likewise.
39520 * manual/examples/rprintf.c: Likewise.
39521 * manual/examples/search.c: Likewise.
39522 * manual/examples/select.c: Likewise.
39523 * manual/examples/setjmp.c: Likewise.
39524 * manual/examples/sigh1.c: Likewise.
39525 * manual/examples/sigusr.c: Likewise.
39526 * manual/examples/stpcpy.c: Likewise.
39527 * manual/examples/strdupa.c: Likewise.
39528 * manual/examples/strftim.c: Likewise.
39529 * manual/examples/strncat.c: Likewise.
39530 * manual/examples/subopt.c: Likewise.
39531 * manual/examples/swapcontext.c: Likewise.
39532 * manual/examples/termios.c: Likewise.
39533 * manual/examples/testopt.c: Likewise.
39534 * manual/examples/testpass.c: Likewise.
39535 * manual/examples/timeval_subtract.c: Likewise.
39538 * manual/time.texi (Elapsed Time): Move timeval_subtract example
39540 * manual/timeval_subtract.c.texi: ... here, new file.
39542 2012-03-02 David S. Miller <davem@davemloft.net>
39544 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39546 2012-03-02 Joseph Myers <joseph@codesourcery.com>
39549 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39550 (__sin): Save and restore rounding mode and use round-to-nearest
39551 for all computations.
39552 (__cos): Save and restore rounding mode and use round-to-nearest
39553 for all computations.
39554 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39556 (tan): Save and restore rounding mode and use round-to-nearest for
39558 * math/libm-test.inc (cos_test_tonearest): New function.
39559 (cos_test_towardzero): Likewise.
39560 (cos_test_downward): Likewise.
39561 (cos_test_upward): Likewise.
39562 (sin_test_tonearest): Likewise.
39563 (sin_test_towardzero): Likewise.
39564 (sin_test_downward): Likewise.
39565 (sin_test_upward): Likewise.
39566 (tan_test_tonearest): Likewise.
39567 (tan_test_towardzero): Likewise.
39568 (tan_test_downward): Likewise.
39569 (tan_test_upward): Likewise.
39570 (main): Call the new functions.
39571 * sysdeps/i386/fpu/libm-test-ulps: Update.
39572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39575 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39576 small n, then large n, before computing and testing k+n.
39577 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39582 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39583 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39584 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39585 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39586 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39587 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39588 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39589 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39590 * math/libm-test.inc (scalbn_test): Add more tests.
39591 (scalbln_test): Likewise.
39593 * manual/filesys.texi (mode_t): Describe constraints on size and
39594 signedness, not exact equivalence to a particular type.
39596 (ino64_t): Likewise.
39598 (nlink_t): Likewise.
39599 (blkcnt_t): Likewise.
39600 (blkcnt64_t): Likewise.
39601 * manual/llio.texi (off_t): Likewise.
39604 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39605 (__ieee754_exp): Save and restore rounding mode and use
39606 round-to-nearest for all computations.
39607 * math/libm-test.inc (exp_test_tonearest): New function.
39608 (exp_test_towardzero): Likewise.
39609 (exp_test_downward): Likewise.
39610 (exp_test_upward): Likewise.
39611 (main): Call the new functions.
39612 * sysdeps/i386/fpu/libm-test-ulps: Update.
39613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39615 2012-03-01 Chris Demetriou <cgd@google.com>
39617 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39618 have predictable order.
39620 2012-03-01 David S. Miller <davem@davemloft.net>
39622 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39624 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39625 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39626 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39627 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39629 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39630 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39631 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39633 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39634 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39635 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39636 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39637 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39642 * sysdeps/sparc/fpu/libm-test-ulps: to here.
39643 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39645 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39646 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39647 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39648 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39649 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39651 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39652 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39653 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39654 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39655 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39658 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39659 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39660 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39661 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39662 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39663 * sysdeps/sparc/elf/configure: Regenerated.
39665 2012-03-01 Joseph Myers <joseph@codesourcery.com>
39667 * configure.in (AS, LD): Require binutils 2.20 or later.
39668 * configure: Regenerated.
39669 * manual/install.texi (Tools for Compilation): Give binutils 2.20
39670 as required minimum version.
39671 * INSTALL: Regenerated.
39675 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39676 before squaring exponent.
39677 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39678 bottom long double and 27 bits of top long double before squaring
39680 * math/libm-test.inc (erfc_test): Add more tests.
39681 * sysdeps/i386/fpu/libm-test-ulps: Update.
39682 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39685 2012-03-01 Kai Tietz <ktietz@redhat.com>
39687 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39688 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39689 containing bit-fields.
39690 * soft-fp/extended.h (_FP_UNION_E): Likewise.
39691 * soft-fp/single.h (_FP_UNION_S): Likewise.
39692 * soft-fp/double.h (_FP_UNION_D): Likewise.
39694 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39697 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39698 not include ../strcmp.S.
39699 [USE_AS_STRNCASECMP_L]: Likewise.
39700 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39701 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39702 * sysdeps/i386/i686/multiarch/strncase_l-c.c
39703 (__strncasecmp_l_ia32): Define as alias to
39704 __strncasecmp_l_nonascii.
39707 * math/libm-test.inc (expm1_test): Add test for bug 5794.
39708 * sysdeps/i386/fpu/libm-test-ulps: Update.
39709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39711 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39714 2012-02-29 Jeff Law <law@redhat.com>
39716 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39717 out of bounds read.
39719 2012-02-29 Marek Polacek <polacek@redhat.com>
39722 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39723 * elf/Makefile: Add rules to run tst-unused-dep.out.
39725 2012-02-28 David S. Miller <davem@davemloft.net>
39727 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39728 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39730 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39731 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39732 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39734 2012-02-29 Joseph Myers <joseph@codesourcery.com>
39736 * math/libm-test.inc (llround_test): Move one test from
39737 lround_test. Use TEST_f_L in moved test.
39738 (lround_test): Move misplaced test to llround_test. Add testcase
39741 2012-02-28 Ulrich Drepper <drepper@gmail.com>
39743 * sysdeps/x86_64/fpu/e_expf.S: New file.
39744 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39746 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
39749 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39750 of remain_len that may cause incomplete multi-byte character and
39752 * posix/bug-regex33.c: New file.
39753 * posix/Makefile (tests): Add bug-regex33.
39755 2012-02-28 Joseph Myers <joseph@codesourcery.com>
39757 * manual/macros.texi: New file.
39758 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39759 * manual/libc.texinfo: Include macros.texi.
39760 * manual/creatute.texi: Likewise.
39761 * manual/install.texi: Likewise.
39762 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39763 @glibcadj{} in references to the GNU C Library.
39764 * manual/charset.texi: Likewise.
39765 * manual/conf.texi: Likewise.
39766 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
39767 when not using those macros.
39768 * manual/creature.texi: Likewise.
39769 * manual/crypt.texi: Likewise.
39770 * manual/errno.texi: Likewise.
39771 * manual/filesys.texi: Likewise.
39772 * manual/header.texi: Likewise.
39773 * manual/install.texi: Likewise.
39774 * manual/intro.texi: Likewise.
39775 * manual/io.texi: Likewise.
39776 * manual/job.texi: Likewise.
39777 * manual/lang.texi: Likewise.
39778 * manual/libc.texiinfo: Likewise.
39779 * manual/llio.texi: Likewise.
39780 * manual/locale.texi: Likewise.
39781 * manual/maint.texi: Likewise.
39782 * manual/math.texi: Likewise.
39783 * manual/memory.texi: Likewise.
39784 * manual/message.texi: Likewise.
39785 * manual/nss.texi: Likewise.
39786 * manual/pattern.texi: Likewise.
39787 * manual/process.texi: Likewise.
39788 * manual/resource.texi: Likewise.
39789 * manual/search.texi: Likewise.
39790 * manual/setjmp.texi: Likewise.
39791 * manual/signal.texi: Likewise.
39792 * manual/socket.texi: Likewise.
39793 * manual/startup.texi: Likewise.
39794 * manual/stdio.texi: Likewise.
39795 * manual/string.texi: Likewise.
39796 * manual/sysinfo.texi: Likewise.
39797 * manual/syslog.texi: Likewise.
39798 * manual/terminal.texi: Likewise.
39799 * manual/time.texi: Likewise.
39800 * manual/users.texi: Likewise.
39801 * INSTALL: Regenerated.
39802 * NOTES: Regenerated.
39803 * sysdeps/gnu/errlist.c: Regenerated.
39805 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
39807 * include/dirent.h: Include <dirstream.h> before
39810 2012-02-28 David S. Miller <davem@davemloft.net>
39812 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39813 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39814 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39815 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39817 2012-02-27 David S. Miller <davem@davemloft.net>
39819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39821 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39822 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39825 frame pointer instead of stack pointer relative arg slot.
39826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39827 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39828 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39830 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
39833 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39835 2012-02-27 David S. Miller <davem@davemloft.net>
39837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39841 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39842 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39843 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39844 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39846 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39848 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39849 later. Allow versions 5-9.
39850 * configure: Regenerated.
39851 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39852 required minimum version and 4.6 as recommended version. Do not
39853 mention bugs in GCC 2.7 and 2.8.
39854 * INSTALL: Regenerated.
39856 2012-02-27 David S. Miller <davem@davemloft.net>
39858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39862 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39863 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39864 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39865 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39868 manipulate bits before adding and subtracting TWO112[sx].
39869 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39871 2012-02-27 Roland McGrath <roland@hack.frob.com>
39874 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39875 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39876 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39877 being in POSIX, because they are in 1003.1-2008.
39879 * rt/tst-aio.c: Include <fcntl.h>.
39880 * rt/tst-aio7.c: Likewise.
39881 * rt/tst-aio64.c: Likewise.
39883 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39885 2012-02-27 Joseph Myers <joseph@codesourcery.com>
39887 * manual/install.texi (--with-headers): Describe headers as
39888 interface headers, not private headers.
39889 (Specific advice for GNU/Linux systems): Describe use of headers
39890 from "make headers_install", not private headers from older
39892 * INSTALL: Regenerated.
39893 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39895 * sysdeps/unix/sysv/linux/configure: Regenerated.
39897 * manual/llio.texi (fclean): Remove documentation.
39899 * manual/Makefile (libc-texi-generated): New variable. Include
39901 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39902 $(libc-texi-generated), not duplicated list of files.
39903 (version.texi, stamp-version): New rules.
39904 (realclean): Remove $(libc-texi-generated), not individual files
39905 from that list. Do not remove dir-add.texinfo.
39906 * manual/libc.texinfo: Comment out uses of edition numbers and
39907 references to printed manual. Remove last-updated dates.
39908 (EDITION): Comment out.
39910 (VERSION, UPDATED): Remove.
39911 (version.texi): Include.
39913 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
39915 * sysdeps/posix/spawni.c: Include <signal.h>.
39916 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39917 * sysdeps/pthread/aio_fsync.c: Likewise.
39919 2012-02-26 Ulrich Drepper <drepper@gmail.com>
39921 * conform/Makefile (tests): Run only when not cross-compiling and
39922 when fast-check is not defined.
39924 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39925 * conform/data/limits.h-data: Fixes for POSIX2008.
39926 * conform/run-conformtest.sh: Run all tests.
39927 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39929 * include/bits/dlfcn.h: Likewise.
39930 * include/langinfo.h: Likewise.
39931 * include/monetary.h: Likewise.
39932 * include/sys/poll.h: Likewise.
39934 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39936 * posix/spawn.h: Define __need_sigset_t.
39937 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39938 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39939 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
39940 to get sigevent_t only.
39941 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39942 only for __USE_GNU.
39943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39944 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39945 process_vm_writev only for __USE_GNU.
39946 * termios/termios.h: Declare tcgetsid also for POSIX2008.
39948 * conform/Makefile: For now ignore errors from run-conformtest.
39949 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
39950 POSIX to avoid namespace pollution. Don't prepend headers.
39951 * conform/data/aio.h-data: Fixes for POSIX testing.
39952 * conform/data/fcntl.h-data: Likewise.
39953 * conform/data/glob.h-data: Likewise.
39954 * conform/data/grp.h-data: Likewise.
39955 * conform/data/pthread.h-data: Likewise.
39956 * conform/data/pwd.h-data: Likewise.
39957 * conform/data/signal.h-data: Likewise.
39958 * conform/data/spawn.h-data: Likewise.
39959 * conform/data/stdio.h-data: Likewise.
39960 * conform/data/stdlib.h-data: Likewise.
39961 * conform/data/stropts.h-data: Likewise.
39962 * conform/data/sys/mman.h-data: Likewise.
39963 * conform/data/sys/stat.h-data: Likewise.
39964 * conform/data/sys/types.h-data: Likewise.
39965 * conform/data/sys/wait.h-data: Likewise.
39966 * conform/data/time.h-data: Likewise.
39967 * conform/data/unistd.h-data: Likewise.
39968 * conform/data/utime.h-data: Likewise.
39970 * io/sys/stat.h: fchmod was always in POSIX.
39971 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39972 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39973 * rt/aio.h: Define __need_timespec before including <time.h>.
39974 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39975 struct. Add forward declaration of pthread_attr_t and use it in
39977 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39978 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39979 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39980 always remove CLK_TCK definition.
39982 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
39984 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39986 2012-02-25 Ulrich Drepper <drepper@gmail.com>
39988 * conform/run-conformtest.sh: New file.
39989 * conform/Makefile: Run run-conformtest for tests.
39990 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
39993 * conform/data/uchar.h-data: New file.
39994 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39995 * conform/data/arpa/inet.h-data: Likewise.
39996 * conform/data/assert.h-data: Likewise.
39997 * conform/data/complex.h-data: Likewise.
39998 * conform/data/cpio.h-data: Likewise.
39999 * conform/data/ctype.h-data: Likewise.
40000 * conform/data/dirent.h-data: Likewise.
40001 * conform/data/dlfcn.h-data: Likewise.
40002 * conform/data/errno.h-data: Likewise.
40003 * conform/data/fcntl.h-data: Likewise.
40004 * conform/data/float.h-data: Likewise.
40005 * conform/data/fmtmsg.h-data: Likewise.
40006 * conform/data/fnmatch.h-data: Likewise.
40007 * conform/data/ftw.h-data: Likewise.
40008 * conform/data/glob.h-data: Likewise.
40009 * conform/data/grp.h-data: Likewise.
40010 * conform/data/iconv.h-data: Likewise.
40011 * conform/data/inttypes.h-data: Likewise.
40012 * conform/data/langinfo.h-data: Likewise.
40013 * conform/data/libgen.h-data: Likewise.
40014 * conform/data/limits.h-data: Likewise.
40015 * conform/data/locale.h-data: Likewise.
40016 * conform/data/math.h-data: Likewise.
40017 * conform/data/monetary.h-data: Likewise.
40018 * conform/data/mqueue.h-data: Likewise.
40019 * conform/data/ndbm.h-data: Likewise.
40020 * conform/data/net/if.h-data: Likewise.
40021 * conform/data/netdb.h-data: Likewise.
40022 * conform/data/netinet/in.h-data: Likewise.
40023 * conform/data/nl_types.h-data: Likewise.
40024 * conform/data/poll.h-data: Likewise.
40025 * conform/data/pthread.h-data: Likewise.
40026 * conform/data/pwd.h-data: Likewise.
40027 * conform/data/regex.h-data: Likewise.
40028 * conform/data/sched.h-data: Likewise.
40029 * conform/data/search.h-data: Likewise.
40030 * conform/data/semaphore.h-data: Likewise.
40031 * conform/data/setjmp.h-data: Likewise.
40032 * conform/data/signal.h-data: Likewise.
40033 * conform/data/spawn.h-data: Likewise.
40034 * conform/data/stdarg.h-data: Likewise.
40035 * conform/data/stdio.h-data: Likewise.
40036 * conform/data/stdlib.h-data: Likewise.
40037 * conform/data/string.h-data: Likewise.
40038 * conform/data/strings.h-data: Likewise.
40039 * conform/data/stropts.h-data: Likewise.
40040 * conform/data/sys/ipc.h-data: Likewise.
40041 * conform/data/sys/mman.h-data: Likewise.
40042 * conform/data/sys/msg.h-data: Likewise.
40043 * conform/data/sys/resource.h-data: Likewise.
40044 * conform/data/sys/select.h-data: Likewise.
40045 * conform/data/sys/sem.h-data: Likewise.
40046 * conform/data/sys/shm.h-data: Likewise.
40047 * conform/data/sys/socket.h-data: Likewise.
40048 * conform/data/sys/stat.h-data: Likewise.
40049 * conform/data/sys/statvfs.h-data: Likewise.
40050 * conform/data/sys/time.h-data: Likewise.
40051 * conform/data/sys/timeb.h-data: Likewise.
40052 * conform/data/sys/times.h-data: Likewise.
40053 * conform/data/sys/types.h-data: Likewise.
40054 * conform/data/sys/uio.h-data: Likewise.
40055 * conform/data/sys/un.h-data: Likewise.
40056 * conform/data/sys/utsname.h-data: Likewise.
40057 * conform/data/sys/wait.h-data: Likewise.
40058 * conform/data/syslog.h-data: Likewise.
40059 * conform/data/tar.h-data: Likewise.
40060 * conform/data/termios.h-data: Likewise.
40061 * conform/data/utime.h-data: Likewise.
40062 * conform/data/utmpx.h-data: Likewise.
40063 * conform/data/varargs.h-data: Likewise.
40064 * conform/data/wchar.h-data: Likewise.
40065 * conform/data/wctype.h-data: Likewise.
40066 * conform/data/wordexp.h-data: Likewise.
40068 * include/stropts.h: New file.
40069 * include/uchar.h: New file.
40070 * include/aio.h: Changes to allow conformtest.pl to use the headers.
40071 * include/assert.h: Likewise.
40072 * include/ctype.h: Likewise.
40073 * include/dirent.h: Likewise.
40074 * include/dlfcn.h: Likewise.
40075 * include/fcntl.h: Likewise.
40076 * include/fnmatch.h: Likewise.
40077 * include/glob.h: Likewise.
40078 * include/grp.h: Likewise.
40079 * include/libio.h: Likewise.
40080 * include/locale.h: Likewise.
40081 * include/math.h: Likewise.
40082 * include/net/if.h: Likewise.
40083 * include/netdb.h: Likewise.
40084 * include/netinet/in.h: Likewise.
40085 * include/pthread.h: Likewise.
40086 * include/pwd.h: Likewise.
40087 * include/regex.h: Likewise.
40088 * include/sched.h: Likewise.
40089 * include/search.h: Likewise.
40090 * include/setjmp.h: Likewise.
40091 * include/signal.h: Likewise.
40092 * include/stdio.h: Likewise.
40093 * include/stdlib.h: Likewise.
40094 * include/string.h: Likewise.
40095 * include/sys/cdefs.h: Likewise.
40096 * include/sys/mman.h: Likewise.
40097 * include/sys/msg.h: Likewise.
40098 * include/sys/resource.h: Likewise.
40099 * include/sys/select.h: Likewise.
40100 * include/sys/socket.h: Likewise.
40101 * include/sys/stat.h: Likewise.
40102 * include/sys/statvfs.h: Likewise.
40103 * include/sys/time.h: Likewise.
40104 * include/sys/times.h: Likewise.
40105 * include/sys/uio.h: Likewise.
40106 * include/sys/utsname.h: Likewise.
40107 * include/sys/wait.h: Likewise.
40108 * include/termios.h: Likewise.
40109 * include/time.h: Likewise.
40110 * include/ulimit.h: Likewise.
40111 * include/unistd.h: Likewise.
40112 * include/utime.h: Likewise.
40113 * include/wchar.h: Likewise.
40114 * include/wctype.h: Likewise.
40115 * include/wordexp.h: Likewise.
40117 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
40119 * time/time.h: TIME_UTC must be a macro.
40120 Make timespec_get available for ISO C11 only as well.
40122 2012-02-24 Ulrich Drepper <drepper@gmail.com>
40124 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
40125 Reported by Peng Haitao <penght@cn.fujitsu.com>.
40127 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40129 * configure.in: Use -o not -a in test for unsupported multi-arch.
40131 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40133 * manual/texinfo.tex: Update to version 2012-01-19.16.
40135 2012-02-24 Joseph Myers <joseph@codesourcery.com>
40137 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
40139 2012-02-24 Roland McGrath <roland@hack.frob.com>
40142 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
40143 * manual/fdl-1.3.texi: New file.
40144 * manual/fdl-1.1.texi: File removed.
40147 * manual/libc.texinfo (FDL_VERSION): New @set.
40148 Use it for mention of FDL in cover text.
40149 (Documentation License): Use it in @include file name.
40151 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40152 Roland McGrath <roland@hack.frob.com>
40155 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
40156 (not LONG_LONG_MAX and LONG_LONG_MIN.
40157 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
40158 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
40160 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
40162 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40166 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
40167 manipulate bits before adding and subtracting TWO23[sx].
40168 * math/libm-test.inc (nearbyint_test): Add more tests.
40170 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40173 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
40174 bits before adding and subtracting TWO23[sx].
40175 * math/libm-test.inc (rint_test): Add more tests.
40176 (rint_test_tonearest): Likewise.
40177 (rint_test_towardzero): Likewise.
40178 (rint_test_downward): Likewise.
40179 (rint_test_upward: Likewise.
40181 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40184 * include/stdc-predef.h: New file. Extracted from features.h.
40185 * include/features.h: Include stdc-predef.h.
40186 * Makefile (headers): Add stdc-predef.h.
40187 * CONFORMANCE (Compiler limitations): Update.
40189 2012-02-22 Joseph Myers <joseph@codesourcery.com>
40191 * manual/libc.texinfo (VERSION, UPDATED): Revert.
40193 2012-02-21 David S. Miller <davem@davemloft.net>
40195 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
40196 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40198 2012-02-20 David S. Miller <davem@davemloft.net>
40200 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
40201 using a normal save/restore sequence, rather than allocating a
40202 dummy stack frame just to store a frame pointer and restore.
40203 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40205 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40207 * manual/install.texi: Fix stray word in line-wrapped comment.
40209 2012-02-20 David S. Miller <davem@davemloft.net>
40211 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
40212 both binutils and gcc support GOTDATA.
40214 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
40215 "rd %pc" in the PIC register setup sequences.
40217 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
40218 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
40219 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40220 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
40221 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40223 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40225 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
40226 (SYSCALL_ERROR_HANDLER): Likewise.
40227 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40228 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
40230 (SYSCALL_ERROR_HANDLER): Likewise.
40232 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
40233 (HAVE_GCC_GOTDATA): New.
40234 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
40235 relocation support in both binutils and gcc.
40236 * sysdeps/sparc/elf/configure: Regenerate.
40238 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
40239 * sysdeps/sparc/sparc32/elf/configure: Delete.
40240 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
40241 * sysdeps/sparc/sparc64/elf/configure: Delete.
40242 * sysdeps/sparc/elf/configure.in: New file.
40243 * sysdeps/sparc/elf/configure: Generate.
40245 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
40246 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
40247 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40248 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
40249 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
40251 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40253 * manual/install.texi: Do not mention specific glibc version
40255 * manual/libc.texinfo (VERSION, UPDATED): Update.
40256 (@copying): Use @copyright{} and range of years.
40258 2012-02-21 Joseph Myers <joseph@codesourcery.com>
40261 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
40262 [crti.S not in sysdirs] (generated): Do not append.
40263 [crti.S not in sysdirs] (omit-deps): Likewise.
40264 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
40265 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
40266 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
40267 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
40268 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
40270 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
40271 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
40272 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
40273 * csu/defs.awk: Remove file.
40274 * sysdeps/generic/initfini.c: Likewise.
40275 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
40277 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
40280 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40282 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
40283 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
40284 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
40285 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
40286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40287 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
40289 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
40290 (__EPOLL_PACKED): Define to empty if not defined by
40292 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
40293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40296 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40298 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
40299 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
40300 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
40301 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
40303 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
40304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40307 2012-02-20 Joseph Myers <joseph@codesourcery.com>
40309 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
40311 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40312 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
40313 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
40314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40316 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
40318 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40319 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
40321 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
40323 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
40324 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
40326 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
40328 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
40331 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
40333 * math/w_acos.c: Use non-signaling floating-point comparisons.
40334 * math/w_acosf.c: Likewise.
40335 * math/w_acosh.c: Likewise.
40336 * math/w_acoshf.c: Likewise.
40337 * math/w_acoshl.c: Likewise.
40338 * math/w_acosl.c: Likewise.
40339 * math/w_asin.c: Likewise.
40340 * math/w_asinf.c: Likewise.
40341 * math/w_asinl.c: Likewise.
40342 * math/w_atanh.c: Likewise.
40343 * math/w_atanhf.c: Likewise.
40344 * math/w_atanhl.c: Likewise.
40345 * math/w_exp2.c: Likewise.
40346 * math/w_exp2f.c: Likewise.
40347 * math/w_exp2l.c: Likewise.
40348 * math/w_j0.c: Likewise.
40349 * math/w_j0f.c: Likewise.
40350 * math/w_j0l.c: Likewise.
40351 * math/w_j1.c: Likewise.
40352 * math/w_j1f.c: Likewise.
40353 * math/w_j1l.c: Likewise.
40354 * math/w_jn.c: Likewise.
40355 * math/w_jnf.c: Likewise.
40356 * math/w_log.c: Likewise.
40357 * math/w_log10.c: Likewise.
40358 * math/w_log10f.c: Likewise.
40359 * math/w_log10l.c: Likewise.
40360 * math/w_log2.c: Likewise.
40361 * math/w_log2f.c: Likewise.
40362 * math/w_log2l.c: Likewise.
40363 * math/w_logf.c: Likewise.
40364 * math/w_logl.c: Likewise.
40365 * math/w_sqrt.c: Likewise.
40366 * math/w_sqrtf.c: Likewise.
40367 * math/w_sqrtl.c: Likewise.
40368 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40369 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
40370 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40371 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40372 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40374 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40377 * manual/string.texi (strnlen): Use correct parameter name in
40378 equivalent expression.
40380 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40383 * manual/users.texi (seteuid): Consistently use neweuid for
40386 2012-02-19 Joseph Myers <joseph@codesourcery.com>
40389 * manual/nss.texi (Services in the NSS configuration): Correct
40390 list of services in example configuration file.
40392 2012-02-19 Nick Bowler <nbowler@draconx.ca>
40395 * manual/arith.texi: Remove statements about negative zero
40396 behaving identically to zero.
40398 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40401 * manual/install.texi: Do not document upgrading from libc5.
40403 2012-02-18 Joseph Myers <joseph@codesourcery.com>
40406 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
40408 2012-02-18 David S. Miller <davem@davemloft.net>
40410 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
40411 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
40412 %o7 across the call.
40413 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
40415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
40416 SETUP_PIC_REG_LEAF.
40417 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40418 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
40419 * sysdeps/sparc/crtn.S: Likewise.
40421 2012-02-17 Ulrich Drepper <drepper@gmail.com>
40423 * aout/Makefile: Remove.
40425 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
40428 * manual/examples/argp-ex1.c (main): Format definition in GNU
40430 * manual/examples/argp-ex2.c (main): Likewise.
40431 * manual/examples/argp-ex3.c (main): Likewise.
40432 * manual/examples/argp-ex4.c (main): Likewise.
40433 * manual/examples/longopt.c (main): Use new-style prototype
40435 * manual/examples/strncat.c (main): Specify return type and use
40436 (void) for arguments.
40437 * manual/examples/subopt.c (main): Use char **argv argument.
40439 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40442 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40445 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
40448 * manual/string.texi (strchr): Change when strchrnul is
40451 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
40454 * manual/locale.texi (setlocale): Document LOCPATH.
40456 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40459 * manual/process.texi (execle): Move @dots{} before last argument.
40461 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
40464 * manual/charset.texi (Generic Charset Conversion): Fix typo
40465 (LC_TYPE -> LC_CTYPE).
40467 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
40470 * manual/arith.texi (scalbn): Use @var{} on parameter names.
40471 (scalbnf): Likewise.
40472 (scalbnl): Likewise.
40473 (scalbln): Likewise.
40474 (scalblnf): Likewise.
40475 (scalblnl): Likewise.
40476 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40477 (vwarnx): Likewise.
40480 * manual/filesys.texi (telldir): Use braces around return type.
40481 * manual/llio.texi (mmap): Add space after comma.
40482 (mmap64): Likewise.
40483 * manual/math.texi (jn): Use @var{} on parameter names.
40489 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40491 * manual/resource.texi (ulimit): Use @dots{} instead of literal
40493 (sched_get_priority_min): Remove semicolon on @deftypefun line.
40494 (sched_get_priority_max): Likewise.
40495 * manual/signal.texi (sigvec): Add space after comma.
40496 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40498 (if_indextoname): Likewise.
40499 (if_freenameindex): Likewise.
40500 (sendto): Use ',' instead of '.' in prototype.
40501 * manual/startup.texi (syscall): Use @dots{} instead of literal
40503 * manual/stdio.texi (__fpending): Separate initial words of
40504 paragraph from @deftypefun line.
40505 * manual/syslog.texi (syslog): Use @dots{} instead of literal
40507 (vsyslog): Use @var{} on parameter names.
40508 * manual/terminal.texi (stty): Use @var{} on parameter names.
40509 * manual/users.texi (getutmp): Use @var{} on parameter names.
40510 (getutmpx): Likewise.
40512 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40515 * manual/stdio.texi (fopen): Fix typos in description of
40518 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
40521 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40522 get clock_id definition.
40524 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
40527 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40528 (madvise): Cast every argument to void on its own.
40530 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40533 * manual/startup.texi (Exit Status): Fix typo.
40535 2012-02-17 Joseph Myers <joseph@codesourcery.com>
40538 * manual/examples/argp-ex1.c: Include <stdlib.h>.
40539 * manual/examples/argp-ex2.c: Likewise.
40540 * manual/examples/argp-ex3.c: Likewise.
40542 2012-02-16 Richard Henderson <rth@redhat.com>
40544 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40545 * sysdeps/s390/s390-32/initfini.c: Remove.
40546 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40547 * sysdeps/s390/s390-64/initfini.c: Remove.
40549 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40551 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40552 compiler output for sysdeps/generic/initfini.c.
40553 * sysdeps/sh/elf/initfini.c: Remove file.
40555 2012-02-16 David S. Miller <davem@davemloft.net>
40558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40560 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40561 * sysdeps/sparc/crti.S: New file.
40562 * sysdeps/sparc/crtn.S: New file.
40563 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40564 * sysdeps/sparc/sparc64/Makefile: Likewise.
40566 2012-02-15 Mike Frysinger <vapier@gentoo.org>
40569 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40571 2012-02-15 Roland McGrath <roland@hack.frob.com>
40574 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40576 * mach/devstream.c (cookie_io_functions_t): Macro removed.
40577 (write, read, close): Likewise.
40578 Patch by Aurelien Jarno <aurelien@aurel32.net>.
40580 2012-02-15 Joseph Myers <joseph@codesourcery.com>
40582 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40583 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40584 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40585 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40587 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40591 2012-02-14 Marek Polacek <polacek@redhat.com>
40593 * sysdeps/x86_64/crti.S: New file.
40594 * sysdeps/x86_64/crtn.S: New file.
40595 * sysdeps/x86_64/elf/initfini.c: Remove file.
40597 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40599 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40600 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40601 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40602 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40604 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40608 2012-02-13 Joseph Myers <joseph@codesourcery.com>
40610 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40611 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40612 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40613 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40615 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40619 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
40621 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40622 __feraiseexcept instead of feraiseexcept.
40624 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40625 nanosleep invocations.
40626 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40627 strings, and add error checking for a nanosleep invocations.
40629 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
40631 Replace FSF snail mail address with URLs, as per GNU coding standards.
40632 Most of the snail mail addresses were wrong anyway, and omitting
40633 them makes the source code easier to maintain. Almost all of the
40634 changes are to license notices and to locale LC_IDENTIFICATION
40635 addresses, except for this one:
40636 * manual/libc.texinfo: In "Published by", give the FSF's URL,
40637 not its snail mail address.
40639 2012-02-09 Richard Henderson <rth@twiddle.net>
40641 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40642 of kernel-features.h.
40644 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40646 2012-02-08 Marek Polacek <polacek@redhat.com>
40648 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40649 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40650 * sysdeps/gnu/_G_config.h: Likewise.
40651 * sysdeps/generic/_G_config.h: Likewise.
40653 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
40655 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40659 * sysdeps/powerpc/powerpc32/crti.S: New file.
40660 * sysdeps/powerpc/powerpc32/crtn.S: New file.
40661 * sysdeps/powerpc/powerpc64/crti.S: New file.
40662 * sysdeps/powerpc/powerpc64/crtn.S: New file.
40664 * Makeconfig (have-initfini): Don't set.
40665 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40666 * configure.in (nopic_initfini): Don't substitute.
40667 * config.h.in (HAVE_INITFINI): Don't #undef.
40668 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40669 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40671 2012-02-08 Joseph Myers <joseph@codesourcery.com>
40673 Support crti.S and crtn.S provided directly by architectures.
40674 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40675 [crti.S in sysdirs] (omit-deps): Likewise.
40676 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40677 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40678 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40679 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40680 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40681 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40682 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40683 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40684 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40685 compiler output for sysdeps/generic/initfini.c.
40686 * sysdeps/i386/elf/Makefile: Remove file.
40687 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40689 2012-02-07 Marek Polacek <polacek@redhat.com>
40691 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40692 * sysdeps/gnu/_G_config.h: Likewise.
40693 * sysdeps/mach/hurd/_G_config.h: Likewise.
40695 2012-02-07 Marek Polacek <polacek@redhat.com>
40697 * math/Makefile (tests): Add tst-CMPLX2.
40698 * math/tst-CMPLX2.c: New file.
40700 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
40702 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40704 * math/libm-test.inc (jn_test): Add missing L suffix.
40706 2012-02-06 Marek Polacek <polacek@redhat.com>
40708 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40709 * sysdeps/i386/fpu/e_powf.S: Likewise.
40710 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40711 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40712 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40713 * sysdeps/i386/fpu/e_pow.S: Likewise.
40714 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40715 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40716 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40717 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40718 * sysdeps/i386/fpu/e_log2.S: Likewise.
40719 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40720 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40721 * sysdeps/i386/fpu/e_powl.S: Likewise.
40722 * sysdeps/i386/fpu/s_log1p.S: Likewise.
40723 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40724 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40725 * sysdeps/i386/fpu/e_logl.S: Likewise.
40726 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40727 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40728 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40729 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40730 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40731 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40732 * sysdeps/i386/fpu/e_log.S: Likewise.
40733 * sysdeps/i386/fpu/s_cexp.S: Likewise.
40734 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40735 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40736 * sysdeps/i386/fpu/e_logf.S: Likewise.
40737 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40739 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40740 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40741 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40742 * sysdeps/i386/fpu/e_log10.S: Likewise.
40743 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40744 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40745 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40746 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40747 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40748 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40749 * sysdeps/i386/asm-syntax.h: Likewise.
40750 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40751 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40753 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40754 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40755 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40756 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40757 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40758 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40759 * sysdeps/powerpc/sysdep.h: Likewise.
40760 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40761 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40763 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40766 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40768 2012-02-06 Joseph Myers <joseph@codesourcery.com>
40770 * sysdeps/i386/sysdep.h: Include <features.h>.
40771 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40774 2012-02-05 Joseph Myers <joseph@codesourcery.com>
40776 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40778 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40781 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40783 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40784 (SETUP_PIC_REG): Use GET_PC_THUNK.
40785 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40788 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40790 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40791 for non-PIC compilation.
40792 (SETUP_PIC_REG): Add .p2align directive.
40793 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40794 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40795 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40796 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40797 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40798 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40799 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40800 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40801 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40802 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40803 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40804 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40805 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40807 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40808 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40809 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40810 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40811 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40812 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40814 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40815 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40816 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40819 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40820 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40821 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40822 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40823 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40825 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40826 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40827 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40828 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40829 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40830 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40831 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40832 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40833 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40835 2012-02-03 Joseph Myers <joseph@codesourcery.com>
40837 * math/tst-CMPLX.c: Include <stdio.h>.
40839 2012-01-31 Joseph Myers <joseph@codesourcery.com>
40841 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40843 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40844 * sysdeps/sparc/bits/mathdef.h: Likewise.
40846 2012-01-31 Marek Polacek <polacek@redhat.com>
40848 * libio/libio.h: Don't define _PARAMS.
40849 * locale/programs/config.h: Don't define PARAMS.
40850 * stdlib/strtol_l.c: Likewise.
40851 (__strtol_l): Remove PARAMS from the prototype.
40853 2012-01-31 Ulrich Drepper <drepper@gmail.com>
40855 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
40856 names. Just use the correct names. Remove unnecessary wrapper
40858 * malloc/arena.c: Likewise.
40859 * malloc/hooks.c: Likewise.
40861 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40862 ARENA_TEST says not to. Simplify test for creation of a new arena.
40863 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40865 2012-01-30 Ulrich Drepper <drepper@gmail.com>
40867 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40869 (update_get_addr): New function.
40870 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40871 GET_ADDR_MODULE parameter.
40873 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40875 * crypt/cert.c: Remove __STDC__ conditionals.
40876 * crypt/crypt-entry.c: Likewise.
40877 * crypt/crypt_util.c: Likewise.
40878 * libio/filedoalloc.c: Likewise.
40879 * libio/fileops.c: Likewise.
40880 * libio/genops.c: Likewise.
40881 * libio/iofclose.c: Likewise.
40882 * libio/iofdopen.c: Likewise.
40883 * libio/iofopen.c: Likewise.
40884 * libio/iofopen64.c: Likewise.
40885 * libio/iogetdelim.c: Likewise.
40886 * libio/iopopen.c: Likewise.
40887 * libio/obprintf.c: Likewise.
40888 * libio/oldfileops.c: Likewise.
40889 * libio/oldiofclose.c: Likewise.
40890 * libio/oldiofdopen.c: Likewise.
40891 * libio/oldiofopen.c: Likewise.
40892 * libio/oldiopopen.c: Likewise.
40893 * libio/wfiledoalloc.c: Likewise.
40894 * libio/wgenops.c: Likewise.
40895 * locale/programs/xmalloc.c: Likewise.
40896 * misc/syslog.c: Likewise.
40897 * stdio-common/xbug.c: Likewise.
40898 * string/memchr.c: Likewise.
40899 * string/memcmp.c: Likewise.
40900 * string/memrchr.c: Likewise.
40901 * string/rawmemchr.c: Likewise.
40902 * sysdeps/posix/getcwd.c: Likewise.
40903 * time/strftime_l.c: Likewise.
40905 2012-01-30 Joseph Myers <joseph@codesourcery.com>
40907 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40908 * config.make.in (config-cflags-sse2avx): Define.
40909 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40912 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
40914 * scripts/config.guess: Update from upstream config git repository.
40915 * scripts/config.sub: Likewise.
40917 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
40919 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40921 (R_TILEPRO_*, R_TILEGX_*): New macros.
40923 * scripts/firstversions.awk: Fix bug in version range handling.
40925 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40927 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40929 * include/sys/epoll.h: New file.
40930 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40933 2012-01-28 Ulrich Drepper <drepper@gmail.com>
40935 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40936 Avoid unnecessary __WORDSIZE == 64 test.
40937 (fmaxf): Use VEX format if possible.
40942 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40943 * math/math_private.h: Remove libc_fegetround* and
40945 * sysdeps/i386/configure.in: Check for -msse2avx.
40946 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40947 also if SSE2AVX is defined.
40948 Remove libc_fegetround* and libc_fesetround*.
40949 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40950 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
40951 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40953 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40954 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40955 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40957 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40959 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40961 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40963 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40965 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40967 2012-01-27 Ulrich Drepper <drepper@gmail.com>
40970 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40972 * Makeconfig (libm): Define.
40973 * elf/Makefile: Add rules to build and run tst-relsort1.
40974 * elf/tst-relsort1.c: New file.
40975 * elf/tst-relsort1mod1.c: New file.
40976 * elf/tst-relsort1mod2.c: New file.
40978 2012-01-27 Joseph Myers <joseph@codesourcery.com>
40980 * math/s_ldexp.c: Remove __STDC__ conditionals.
40981 * math/s_ldexpf.c: Likewise.
40982 * math/s_ldexpl.c: Likewise.
40983 * math/s_nextafter.c: Likewise.
40984 * math/s_nexttowardf.c: Likewise.
40985 * math/s_significand.c: Likewise.
40986 * math/s_significandf.c: Likewise.
40987 * math/s_significandl.c: Likewise.
40988 * math/w_jnl.c: Likewise.
40989 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40990 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40991 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40992 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40993 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40995 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40996 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40997 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40998 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40999 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41000 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41001 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41002 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
41003 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41004 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41005 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41006 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41007 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
41008 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41009 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41010 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
41011 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
41012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
41013 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
41014 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
41015 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
41016 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
41017 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
41018 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
41019 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
41020 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
41021 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
41022 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
41023 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
41024 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
41025 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
41026 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
41027 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
41028 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
41029 * sysdeps/ieee754/k_standard.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
41066 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
41069 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
41071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
41072 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
41074 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
41077 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
41078 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
41079 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41080 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
41081 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
41082 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
41083 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
41084 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
41085 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
41086 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
41087 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41088 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41089 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41090 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
41091 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
41092 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
41093 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
41094 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
41095 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
41096 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
41097 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
41098 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
41099 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
41100 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
41101 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
41102 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
41103 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
41104 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
41105 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
41106 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
41107 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
41108 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
41109 * sysdeps/ieee754/s_matherr.c: Likewise.
41110 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
41111 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41112 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41113 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41115 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41117 * crypt/md5.h: Remove __STDC__ conditionals.
41118 * libio/libioP.h: Likewise.
41119 * locale/programs/config.h: Likewise.
41120 * sysdeps/generic/sysdep.h: Likewise.
41121 * sysdeps/i386/asm-syntax.h: Likewise.
41122 * sysdeps/s390/asm-syntax.h: Likewise.
41123 * sysdeps/unix/sysdep.h: Likewise.
41124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41127 2012-01-26 Joseph Myers <joseph@codesourcery.com>
41129 * libio/libio.h: Remove __STDC__ conditionals.
41130 * malloc/obstack.h: Likewise.
41131 * math/complex.h: Likewise.
41132 * math/math.h: Likewise.
41133 * sysdeps/generic/_G_config.h: Likewise.
41134 * sysdeps/gnu/_G_config.h: Likewise.
41135 * sysdeps/mach/hurd/_G_config.h: Likewise.
41136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41137 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
41138 * sysdeps/sparc/bits/mathdef.h: Likewise.
41140 2012-01-26 Ulrich Drepper <drepper@gmail.com>
41143 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
41144 Clean up HAS_* macros.
41145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
41146 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
41148 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
41150 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41151 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41152 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41153 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41156 2012-01-25 Joseph Myers <joseph@codesourcery.com>
41158 * elf/tst-unique3.cc (gets): Remove declaration.
41159 * elf/tst-unique3lib.cc (gets): Likewise.
41160 * elf/tst-unique3lib2.cc (gets): Likewise.
41161 * elf/tst-unique4.cc (gets): Likewise.
41163 2012-01-24 Ulrich Drepper <drepper@gmail.com>
41165 * include/stdio.h: Add C++ protection. Add gets declarations and
41167 * debug/tst-chk1.c: Don't declare gets here.
41168 * stdio-common/tst-gets.c: Likewise.
41170 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41172 * posix/glob: Remove directory.
41174 2012-01-24 Joseph Myers <joseph@codesourcery.com>
41176 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
41178 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
41180 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
41181 of the non-standard EPFNOSUPPORT.
41183 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
41185 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
41186 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
41187 ANYWHERE set to 1 only on KERN_NO_SPACE error.
41189 2012-01-21 Ulrich Drepper <drepper@gmail.com>
41191 * wcsmbs/uchar.h: Test __STDC_VERSION__.
41193 2012-01-20 Ulrich Drepper <drepper@gmail.com>
41195 * nscd/aicache.c (addhstaiX): Do not cache negative results of
41197 * nscd/grpcache.c (cache_addgr): Likewise.
41198 * nscd/hstcache.c (cache_addhst): Likewise.
41199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41200 * nscd/pwdcache.c (cache_addpw): Likewise.
41201 * nscd/servicescache.c (cache_addserv): Likewise.
41203 2012-01-16 Ulrich Drepper <drepper@gmail.com>
41205 * malloc/malloc.c: Various cleanups.
41206 * malloc/hooks.c: Likewise.
41208 * stdlib/Makefile (tests): Add bug-fmtmsg1.
41209 * stdlib/bug-fmtmsg1.c: New file.
41211 * stdlib/fmtmsg.c (init): Add missing unlock.
41212 Patch by Peng Haitao <penght@cn.fujitsu.com>.
41214 2012-01-12 Marek Polacek <polacek@redhat.com>
41216 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
41219 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41221 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
41222 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
41223 macro to ensure uniqueness of label name.
41224 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41225 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41227 2012-01-11 Ulrich Drepper <drepper@gmail.com>
41229 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
41231 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
41232 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
41233 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
41234 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
41236 2012-01-10 Ulrich Drepper <drepper@gmail.com>
41238 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
41240 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
41241 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
41242 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
41244 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
41246 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
41247 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
41248 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
41251 * math/bits/math-finite.h: Add ldexp support.
41253 2012-01-10 Marek Polacek <polacek@redhat.com>
41255 * locale/programs/localedef.h (show_archive_content): Add noreturn
41258 2012-01-09 Ulrich Drepper <drepper@gmail.com>
41260 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
41262 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41264 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
41266 * io/Makefile (headers): Add bits/poll2.h.
41268 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
41270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
41271 typo #include statement.
41273 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41275 * include/sys/cdefs.h: Define __attribute_alloc_size.
41276 * catgets/gencat.c: Add alloc_size attribute and apply consistently
41277 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
41278 * elf/pldd.c: Likewise.
41279 * iconv/iconv_charmap.c: Likewise.
41280 * iconv/iconvconfig.c: Likewise.
41281 * iconv/strtab.c: Likewise.
41282 * locale/programs/locale.c: Likewise.
41283 * locale/programs/localedef.h: Likewise.
41284 * locale/programs/simple-hash.c: Likewise.
41285 * nscd/nscd.h: Likewise.
41286 * nss/makedb.c: Likewise.
41287 * sysdeps/generic/ldconfig.h: Likewise.
41288 * locale/programs/localedef.c: Remove xmalloc prototype.
41289 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
41291 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41293 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
41296 2012-01-08 Ulrich Drepper <drepper@gmail.com>
41298 * math/Makefile (tests): Add tst-CMPLX.
41299 * math/tst-CMPLX.c: New file.
41301 * math/complex.h (CMPLXL): Fix typo.
41303 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
41304 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
41306 * debug/tst-chk1.c: Add poll and ppoll tests.
41307 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
41308 * include/sys/poll.h: Add hidden proto for ppoll.
41309 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
41310 * sysdeps/mach/hurd/ppoll.c: Likewise.
41311 * io/ppoll.c: Likewise.
41312 * debug/poll_chk.c: New file.
41313 * debug/ppoll_chk.c: New file.
41314 * include/bits/poll2.h: New file.
41315 * io/bits/poll2.h: New file.
41318 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
41320 * configure.in: static is always set to yes. Remove.
41321 * config.make.in: Don't set build-static.
41322 * Makeconfig: Remove use of build-static.
41323 * dlfcn/Makefile: Likewise.
41324 * elf/Makefile: Likewise.
41325 * math/Makefile: Likewise.
41326 * misc/Makefile: Likewise.
41327 * nptl/Makefile: Likewise.
41328 * sysdeps/mach/hurd/Makefile: Likewise.
41330 * configure.in: PWD_P is not used anymore.
41331 * config.make.in: Remove PWD_P entry.
41333 * configure.in: Remove last remnants of RANLIB.
41334 No need to check for signed size_t anymore.
41335 Don't set libc_commonpagesize and libc_relro_required here for Alpha
41337 Remove __builtin_expect test because we require at least gcc 3.4.
41338 * aclocal.m4: Likewise.
41340 * wcsmbs/mbrtoc16.c: Implement using towc function.
41341 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
41342 * wcsmbs/wcsmbsload.c: Likewise.
41343 * iconv/gconv_simple.c: Likewise.
41344 * iconv/gconv_int.h: Likewise.
41345 * iconv/gconv_builtin.h: Likewise.
41346 * iconv/iconv_prog.c: Remove CHAR16 handling.
41348 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
41350 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
41352 * configure.in: Remove --with-elf and --enable-bounded options.
41353 Dont set base_machine for ia64. More non-ELF conditions removed.
41354 Remove testing and setting of leading underscore information.
41355 * config.make.in (build-bounded): Set to no.
41356 * config.h.in: Remove NO_UNDERSCORES entry.
41357 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
41359 * csu/start.c: Remove !NO_UNDERSCORE code.
41360 * locale/localeinfo.h: Likewise.
41361 * sysdeps/generic/machine-gmon.h: Likewise.
41362 * sysdeps/generic/sysdep.h: Likewise.
41363 * sysdeps/i386/sysdep.h: Likewise.
41364 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41365 * sysdeps/mach/sysdep.h: Likewise.
41366 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41368 * sysdeps/sh/sysdep.h: Likewise.
41369 * sysdeps/sparc/sparc32/alloca.S: Likewise.
41370 * sysdeps/unix/i386/sysdep.S: Likewise.
41371 * sysdeps/unix/sparc/start.c: Likewise.
41372 * sysdeps/unix/sparc/sysdep.S: Likewise.
41373 * sysdeps/unix/sparc/sysdep.h: Likewise.
41374 * sysdeps/unix/start.c: Likewise.
41375 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41376 * sysdeps/x86_64/sysdep.h: Likewise.
41378 2012-01-07 Ulrich Drepper <drepper@gmail.com>
41381 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
41383 * argp/argp-fmtstream.h: Use const instead __const.
41384 * argp/argp.h: Likewise.
41385 * assert/assert.h: Likewise.
41386 * bits/fenv.h: Likewise.
41387 * bits/sched.h: Likewise.
41388 * bits/sigset.h: Likewise.
41389 * bits/sigthread.h: Likewise.
41390 * catgets/nl_types.h: Likewise.
41391 * conform/data/pthread.h-data: Likewise.
41392 * crypt/crypt-private.h: Likewise.
41393 * crypt/crypt.h: Likewise.
41394 * crypt/crypt_util.c: Likewise.
41395 * ctype/ctype.h: Likewise.
41396 * debug/execinfo.h: Likewise.
41397 * debug/mbsnrtowcs_chk.c: Likewise.
41398 * debug/mbsrtowcs_chk.c: Likewise.
41399 * debug/wcsnrtombs_chk.c: Likewise.
41400 * debug/wcsrtombs_chk.c: Likewise.
41401 * debug/wcstombs_chk.c: Likewise.
41402 * dirent/dirent.h: Likewise.
41403 * dlfcn/dlfcn.h: Likewise.
41404 * elf/neededtest4.c: Likewise.
41405 * grp/grp.h: Likewise.
41406 * gshadow/gshadow.h: Likewise.
41407 * iconv/gconv.h: Likewise.
41408 * iconv/gconv_int.h: Likewise.
41409 * iconv/gconv_simple.c: Likewise.
41410 * iconv/iconv.h: Likewise.
41411 * iconv/loop.c: Likewise.
41412 * iconv/skeleton.c: Likewise.
41413 * include/aio.h: Likewise.
41414 * include/aliases.h: Likewise.
41415 * include/argz.h: Likewise.
41416 * include/arpa/inet.h: Likewise.
41417 * include/assert.h: Likewise.
41418 * include/dirent.h: Likewise.
41419 * include/dlfcn.h: Likewise.
41420 * include/execinfo.h: Likewise.
41421 * include/fcntl.h: Likewise.
41422 * include/fenv.h: Likewise.
41423 * include/glob.h: Likewise.
41424 * include/grp.h: Likewise.
41425 * include/libintl.h: Likewise.
41426 * include/mntent.h: Likewise.
41427 * include/netdb.h: Likewise.
41428 * include/pwd.h: Likewise.
41429 * include/rpc/netdb.h: Likewise.
41430 * include/sched.h: Likewise.
41431 * include/search.h: Likewise.
41432 * include/shadow.h: Likewise.
41433 * include/signal.h: Likewise.
41434 * include/stdio.h: Likewise.
41435 * include/stdlib.h: Likewise.
41436 * include/string.h: Likewise.
41437 * include/sys/socket.h: Likewise.
41438 * include/sys/stat.h: Likewise.
41439 * include/sys/statfs.h: Likewise.
41440 * include/sys/statvfs.h: Likewise.
41441 * include/sys/syslog.h: Likewise.
41442 * include/sys/time.h: Likewise.
41443 * include/sys/uio.h: Likewise.
41444 * include/time.h: Likewise.
41445 * include/unistd.h: Likewise.
41446 * include/utmp.h: Likewise.
41447 * include/wchar.h: Likewise.
41448 * include/wctype.h: Likewise.
41449 * inet/aliases.h: Likewise.
41450 * inet/arpa/inet.h: Likewise.
41451 * inet/netinet/ether.h: Likewise.
41452 * inet/netinet/in.h: Likewise.
41453 * intl/libintl.h: Likewise.
41454 * io/bits/fcntl2.h: Likewise.
41455 * io/fcntl.h: Likewise.
41456 * io/ftw.h: Likewise.
41457 * io/sys/poll.h: Likewise.
41458 * io/sys/stat.h: Likewise.
41459 * io/sys/statfs.h: Likewise.
41460 * io/sys/statvfs.h: Likewise.
41461 * io/utime.h: Likewise.
41462 * libio/bits/stdio.h: Likewise.
41463 * libio/bits/stdio2.h: Likewise.
41464 * libio/libio.h: Likewise.
41465 * libio/libioP.h: Likewise.
41466 * libio/stdio.h: Likewise.
41467 * locale/lc-ctype.c: Likewise.
41468 * locale/locale.h: Likewise.
41469 * login/utmp.h: Likewise.
41470 * malloc/arena.c: Likewise.
41471 * malloc/malloc.c: Likewise.
41472 * malloc/malloc.h: Likewise.
41473 * malloc/mcheck.c: Likewise.
41474 * malloc/mtrace.c: Likewise.
41475 * math/bits/mathcalls.h: Likewise.
41476 * math/fenv.h: Likewise.
41477 * math/math_private.h: Likewise.
41478 * misc/bits/error.h: Likewise.
41479 * misc/bits/syslog.h: Likewise.
41480 * misc/err.h: Likewise.
41481 * misc/error.h: Likewise.
41482 * misc/fstab.h: Likewise.
41483 * misc/mntent.h: Likewise.
41484 * misc/regexp.h: Likewise.
41485 * misc/search.h: Likewise.
41486 * misc/sgtty.h: Likewise.
41487 * misc/sys/mman.h: Likewise.
41488 * misc/sys/syslog.h: Likewise.
41489 * misc/sys/uio.h: Likewise.
41490 * misc/sys/xattr.h: Likewise.
41491 * misc/ttyent.h: Likewise.
41492 * nis/rpcsvc/ypclnt.h: Likewise.
41493 * nss/nss.h: Likewise.
41494 * posix/bits/unistd.h: Likewise.
41495 * posix/fnmatch.h: Likewise.
41496 * posix/glob.h: Likewise.
41497 * posix/sched.h: Likewise.
41498 * posix/spawn.h: Likewise.
41499 * posix/sys/wait.h: Likewise.
41500 * posix/unistd.h: Likewise.
41501 * posix/wordexp.h: Likewise.
41502 * pwd/pwd.h: Likewise.
41503 * resolv/netdb.h: Likewise.
41504 * resource/sys/resource.h: Likewise.
41505 * rt/aio.h: Likewise.
41506 * rt/bits/mqueue2.h: Likewise.
41507 * rt/mqueue.h: Likewise.
41508 * shadow/shadow.h: Likewise.
41509 * signal/signal.h: Likewise.
41510 * socket/send.c: Likewise.
41511 * socket/sendto.c: Likewise.
41512 * socket/sys/socket.h: Likewise.
41513 * stdio-common/printf.h: Likewise.
41514 * stdlib/bits/stdlib.h: Likewise.
41515 * stdlib/fmtmsg.h: Likewise.
41516 * stdlib/monetary.h: Likewise.
41517 * stdlib/stdlib.h: Likewise.
41518 * stdlib/ucontext.h: Likewise.
41519 * streams/stropts.h: Likewise.
41520 * string/argz.h: Likewise.
41521 * string/bits/string2.h: Likewise.
41522 * string/string.h: Likewise.
41523 * string/strings.h: Likewise.
41524 * sunrpc/rpc/auth.h: Likewise.
41525 * sunrpc/rpc/auth_des.h: Likewise.
41526 * sunrpc/rpc/clnt.h: Likewise.
41527 * sunrpc/rpc/netdb.h: Likewise.
41528 * sunrpc/rpc/pmap_clnt.h: Likewise.
41529 * sunrpc/rpc/xdr.h: Likewise.
41530 * sysdeps/generic/inttypes.h: Likewise.
41531 * sysdeps/generic/net/if.h: Likewise.
41532 * sysdeps/generic/sys/swap.h: Likewise.
41533 * sysdeps/gnu/net/if.h: Likewise.
41534 * sysdeps/gnu/utmpx.h: Likewise.
41535 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41536 * sysdeps/i386/i486/bits/string.h: Likewise.
41537 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41538 * sysdeps/s390/bits/string.h: Likewise.
41539 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41540 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41541 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41542 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41543 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41544 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41545 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41546 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41547 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41548 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41549 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41550 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41551 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41552 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41553 * sysdeps/unix/sysv/linux/readv.c: Likewise.
41554 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41555 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41556 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41557 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41559 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41560 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41561 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41562 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41563 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41564 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41565 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41567 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41568 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41569 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41570 * sysvipc/sys/ipc.h: Likewise.
41571 * sysvipc/sys/msg.h: Likewise.
41572 * sysvipc/sys/sem.h: Likewise.
41573 * sysvipc/sys/shm.h: Likewise.
41574 * termios/termios.h: Likewise.
41575 * time/sys/time.h: Likewise.
41576 * time/time.h: Likewise.
41577 * wcsmbs/bits/wchar2.h: Likewise.
41578 * wcsmbs/uchar.h: Likewise.
41579 * wcsmbs/wchar.h: Likewise.
41580 * wctype/wctype.h: Likewise.
41583 * Makeconfig: Remove all but ELF support including AIX support.
41584 * Makerules: Likewise.
41585 * config.h.in: Likewise.
41586 * config.make.in: Likewise.
41587 * configure: Likewise.
41588 * configure.in: Likewise.
41589 * csu/Makefile: Likewise.
41590 * csu/version.c: Likewise.
41591 * debug/Makefile: Likewise.
41592 * dlfcn/Makefile: Likewise.
41593 * elf/Makefile: Likewise.
41594 * extra-lib.mk: Likewise.
41595 * iconv/Makefile: Likewise.
41596 * include/libc-symbols.h: Likewise.
41597 * include/shlib-compat.h: Likewise.
41598 * resolv/Makefile: Likewise.
41599 * resolv/res_libc.c: Likewise.
41600 * rt/Makefile: Likewise.
41601 * sysdeps/i386/asm-syntax.h: Likewise.
41602 * sysdeps/i386/sysdep.h: Likewise.
41603 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41604 * sysdeps/mach/sysdep.h: Likewise.
41605 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41606 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41607 * sysdeps/s390/asm-syntax.h: Likewise.
41608 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41609 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41610 * sysdeps/sh/sysdep.h: Likewise.
41611 * sysdeps/unix/sparc/sysdep.h: Likewise.
41612 * sysdeps/wordsize-32/divdi3.c: Likewise.
41613 * sysdeps/x86_64/sysdep.h: Likewise.
41615 * argp/Versions: Remove _argp_unlock_xxx.
41618 * abilist/ld.abilist: Update. Adjust for removal of tls option.
41619 * abilist/libBrokenLocale.abilist: Likewise.
41620 * abilist/libanl.abilist: Likewise.
41621 * abilist/libc.abilist: Likewise.
41622 * abilist/libcrypt.abilist: Likewise.
41623 * abilist/libdl.abilist: Likewise.
41624 * abilist/libm.abilist: Likewise.
41625 * abilist/libnsl.abilist: Likewise.
41626 * abilist/libpthread.abilist: Likewise.
41627 * abilist/libresolv.abilist: Likewise.
41628 * abilist/librt.abilist: Likewise.
41629 * abilist/libthread_db.abilist: Likewise.
41630 * abilist/libutil.abilist: Likewise.
41631 * abilist/libnss_db.abilist: New file.
41633 * scripts/abilist.awk: Add support for indirect functions.
41635 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41637 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41639 * shlib-versions: Remove entries for ports architectures.
41641 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
41643 * elf/stackguard-macros.h: Remove support for IA-64.
41644 * elf/tst-auditmod1.c: Likewise.
41645 * sysdeps/generic/ldsodefs.h: Likewise.
41647 * sysdeps/unix/sysv/linux/configure.in: Ports should define
41648 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41652 * configure.in: Remove --enable-omitfp support.
41654 * config.make.in: Likewise.
41655 * Makeconfig: Likewise.
41656 * manual/install.texi: Likewise.
41658 In case anyone cares, the IA-64 architecture could move to ports.
41659 * sysdeps/ia64/*: Removed.
41660 * sysdeps/unix/sysv/linux/ia64/*: Removed.
41661 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41664 * configure.in: Remove entries for unsupported architectures.
41667 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41668 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
41670 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41671 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41672 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
41673 fall back to using wcrtomb.
41674 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41675 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
41677 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41678 * wcsmbs/tst-c16c32-1.c: New file.
41680 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41683 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41685 * elf/tst-unique3.cc: Add explicit declaration of gets.
41686 * elf/tst-unique3lib.cc: Likewise.
41687 * elf/tst-unique3lib2.cc: Likewise.
41688 * elf/tst-unique4.cc: Likewise.
41690 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41692 2012-01-06 Joseph Myers <joseph@codesourcery.com>
41695 * assert/assert.h (static_assert): Don't define for C++.
41696 * libio/stdio.h (gets): Do declare for C++ <= C++11.
41697 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41699 2012-01-03 Ulrich Drepper <drepper@gmail.com>
41701 * iconv/loop.c (single loop): Fix assertion in storing of
41704 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41706 2012-01-01 Ulrich Drepper <drepper@gmail.com>
41708 * posix/getconf.c: Update copyright year.
41709 * nss/getent.c: Likewise.
41710 * nss/makedb.c: Likewise.
41711 * iconv/iconvconfig.c: Likewise.
41712 * iconv/iconv_prog.c: Likewise.
41713 * elf/ldconfig.c: Likewise.
41714 * elf/pldd.c: Likewise.
41715 * elf/sotruss.ksh: Likewise.
41716 * catgets/gencat.c: Likewise.
41717 * csu/version.c: Likewise.
41718 * elf/ldd.bash.in: Likewise.
41719 * elf/sprof.c (print_version): Likewise.
41720 * locale/programs/locale.c: Likewise.
41721 * locale/programs/localedef.c: Likewise.
41722 * login/programs/pt_chown.c: Likewise.
41723 * nscd/nscd.c (print_version): Likewise.
41724 * debug/xtrace.sh: Likewise.
41725 * malloc/memusage.sh: Likewise.
41726 * malloc/mtrace.pl: Likewise.
41727 * debug/catchsegv.sh: Likewise.
41729 2011-12-30 Jakub Jelinek <jakub@redhat.com>
41731 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41734 2011-12-24 Ulrich Drepper <drepper@gmail.com>
41737 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41738 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41740 * iconv/gconv_int.h: Likewise.
41741 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41742 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41743 from libc for GLIBC_2.16.
41744 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41745 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41746 * wcsmbs/uchar.h: Really define mbstate_t.
41747 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41748 * wcsmbs/c16rtomb.c: New file.
41749 * wcsmbs/mbrtoc16.c: New file.
41750 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41751 for C/POSIX locale.
41752 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41753 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41755 * wcsmbs/wchar.h: Add missing __restrict.
41757 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41760 * time/Makefile (routines): Add timespec_get.
41761 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41762 * time/time.h: Define TIME_UTC and declare timespec_get. Define
41763 timespec for ISO C11.
41764 * time/timespec_get.c: New file.
41765 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41766 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41769 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41770 * stdlib/stdlib.h: Declare aligned_alloc.
41771 * Versions.def: Add GLIBC_2.16 for libc.
41772 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41775 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41778 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41782 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41785 * assert/assert.h (static_assert): Define.
41787 * version.h: Update for 2.16 development version.
41790 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41793 * version.h (RELEASE): Bump for 2.15 release.
41794 * include/features.h (__GLIBC_MINOR__): Bump to 15.
41796 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41797 Patch by Marek Polacek <mpolacek@redhat.com>.
41799 * bits/byteswap.h: Protect long long constants with __extension__.
41800 * sysdeps/i386/bits/byteswap.h: Likewise.
41801 * sysdeps/ia64/bits/byteswap.h: Likewise.
41802 * sysdeps/s390/bits/byteswap.h: Likewise.
41803 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41805 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41809 destination buffer.
41810 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41812 2011-12-23 Marek Polacek <polacek@redhat.com>
41814 * elf/dl-addr.c (determine_info): Add inline keyword.
41815 * elf/tst-auditmod4b.c (check_avx): Likewise.
41816 * elf/tst-auditmod6b.c (check_avx): Likewise.
41817 * elf/tst-auditmod6c.c (check_avx): Likewise.
41818 * elf/tst-auditmod7b.c (check_avx): Likewise.
41820 2011-12-23 Ulrich Drepper <drepper@gmail.com>
41822 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41825 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41828 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41829 processing for last bytes.
41831 2011-08-06 Bruno Haible <bruno@clisp.org>
41834 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41835 U+0385, not to U+1FEE.
41838 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41839 entry for U+00A5 U+0301.
41841 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41844 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41845 buffer for the output is too small.
41847 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41851 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41852 SSE flags if possible.
41854 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41858 processing for last bytes.
41860 2011-12-22 Joseph Myers <joseph@codesourcery.com>
41862 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41863 (syscall-list-default-options, syscall-list-default-condition)
41864 (syscall-list-includes): Define.
41865 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41866 list of ABIs and options and #if conditions for each ABI. Do not
41867 handle common syscalls between ABIs specially.
41868 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41870 (syscall-list-variants, syscall-list-32bit-options)
41871 (syscall-list-32bit-condition, syscall-list-64bit-options)
41872 (syscall-list-64bit-condition): Define.
41873 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41874 (syscall-list-variants, syscall-list-32bit-options)
41875 (syscall-list-32bit-condition, syscall-list-64bit-options)
41876 (syscall-list-64bit-condition): Define.
41877 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41879 (syscall-list-variants, syscall-list-32bit-options)
41880 (syscall-list-32bit-condition, syscall-list-64bit-options)
41881 (syscall-list-64bit-condition): Define.
41882 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41884 (syscall-list-variants, syscall-list-32bit-options)
41885 (syscall-list-32bit-condition, syscall-list-64bit-options)
41886 (syscall-list-64bit-condition): Define.
41888 2011-12-22 Ulrich Drepper <drepper@gmail.com>
41890 * locale/iso-639.def: Add brx entry.
41893 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41894 Proposed by Mariusz_Cukr <marcukr@op.pl>.
41896 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41897 __feraiseexcept_renamed.
41899 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41902 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41903 EPOLLET with unsigned values.
41904 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41905 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41907 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41908 to large cancellation.
41909 * math/s_cacoshf.c: Likewise.
41910 * math/s_cacoshl.c: Likewise.
41912 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
41916 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41917 * math/s_cacoshf.c: Likewise.
41918 * math/s_cacoshl.c: Likewise.
41920 2011-12-21 Ulrich Drepper <drepper@gmail.com>
41923 * iconv/gconv.h: Define __GCONV_SWAP.
41924 * iconvdata/unicode.c: The swap bit must be stored in __flags.
41925 * iconvdata/utf-16.c: Likewise.
41926 * iconvdata/utf-32.c: Likewise.
41928 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
41931 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41932 numerator after shifting it by one limb.
41934 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
41936 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41937 under [__USE_EXTERN_INLINES].
41939 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41942 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41944 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41946 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41947 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41949 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41950 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41951 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41952 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41953 for strncasecmp/strncasecmp_l compilation.
41954 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41955 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41957 2011-12-08 Marek Polacek <mpolacek@redhat.com>
41960 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41963 2011-12-17 Ulrich Drepper <drepper@gmail.com>
41966 * time/tzfile.c (__tzfile_read): Check values from file header.
41968 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41970 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41971 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41972 * powerpc/powerpc32/dl-start.S: Likewise.
41973 * powerpc/powerpc32/elf/start.S: Likewise.
41974 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41975 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41976 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41977 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41978 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41979 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41980 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41981 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41982 * powerpc/powerpc32/fpu/s_round.S: Likewise.
41983 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41984 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41985 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41986 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41987 * powerpc/powerpc32/memset.S: Likewise.
41988 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41989 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41990 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41991 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41992 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41993 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41994 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41995 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41996 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41997 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41998 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41999 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42000 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42002 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42004 * math/libm-test.inc: Added more nearbyint tests.
42005 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
42006 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
42007 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
42008 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
42010 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
42012 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
42015 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42017 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
42018 Add wcscpy-ssse3 wcscpy-c.
42019 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
42020 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
42021 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
42022 * sysdeps/x86_64/wcschr.S: New file.
42023 * sysdeps/x86_64/wcsrchr.S: New file.
42024 * string/test-strcmp.c: Remove checking of wcscmp function for
42026 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
42027 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
42028 wcsrchr-sse2 wcsrchr-c.
42029 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
42030 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
42031 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
42032 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
42033 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
42034 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
42035 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
42036 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
42037 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
42038 * wcsmbc/wcschr.c (WCSCHR): New macro.
42040 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42042 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
42043 * wcsmbs/test-wcsrchr.c: New file.
42044 * string/test-strrchr.c: Add wcsrchr support.
42046 * wcsmbs/test-wcscpy.c: New file.
42047 * string/test-strcpy.c: Add wcscpy support.
42050 2011-12-10 Ulrich Drepper <drepper@gmail.com>
42052 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
42055 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
42058 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
42060 2011-12-04 Ulrich Drepper <drepper@gmail.com>
42062 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
42063 Minor optimizations.
42065 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
42066 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
42067 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
42069 2011-12-03 Ulrich Drepper <drepper@gmail.com>
42071 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
42072 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
42073 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
42074 for gcc to avoid warnings.
42075 * inet/Makefile (tests): Add tst-checks.
42076 * inet/tst-checks.c: New file.
42078 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
42081 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
42084 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
42085 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
42087 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
42089 2011-12-02 Ulrich Drepper <drepper@gmail.com>
42091 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
42094 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
42096 2011-11-29 Joseph Myers <joseph@codesourcery.com>
42098 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
42099 conditional on GCC version.
42100 (__arch_compare_and_exchange_val_8_acq)
42101 (__arch_compare_and_exchange_val_16_acq)
42102 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
42103 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
42104 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
42106 2011-12-02 Joseph Myers <joseph@codesourcery.com>
42108 * sysdeps/sh/backtrace.c: New file.
42110 2011-12-02 Andreas Schwab <schwab@redhat.com>
42112 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
42115 2011-12-01 Andreas Schwab <schwab@redhat.com>
42117 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
42118 falling back to utime.
42120 2011-11-30 Andreas Schwab <schwab@redhat.com>
42122 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
42123 expectations for float.
42125 2011-11-29 Andreas Schwab <schwab@redhat.com>
42127 * locale/weight.h (findidx): Add parameter len.
42128 * locale/weightwc.h (findidx): Likewise.
42129 * posix/fnmatch_loop.c (FCT): Adjust caller.
42130 * posix/regcomp.c (build_equiv_class): Likewise.
42131 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
42132 * posix/regexec.c (check_node_accept_bytes): Likewise.
42133 * string/strcoll_l.c (STRCOLL): Likewise.
42134 * string/strxfrm_l.c (STRXFRM): Likewise.
42136 2011-11-17 Ulrich Drepper <drepper@gmail.com>
42138 * Makefile.in: Remove CVSOPT handling.
42139 * configure.in: Remove use of AC_REVISION.
42140 * iconvdata/Makefile (distribute): No need to filter out CVS.
42141 * scripts/list-sources.sh: Remove CVS, subversion and monotone
42144 2011-11-16 Andreas Schwab <schwab@redhat.com>
42146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
42147 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
42148 [USE_AS_STRNCASECMP_L]: Likewise.
42149 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
42150 NO_TLS_DIRECT_SEG_REFS.
42151 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
42152 Fix argument offsets for non-PIC.
42153 [USE_AS_STRNCASECMP_L]: Likewise.
42154 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
42155 NO_TLS_DIRECT_SEG_REFS.
42157 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42159 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
42161 * locale/loadlocale.c (_nl_load_locale): Likewise.
42163 2011-11-15 Andreas Schwab <schwab@redhat.com>
42165 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
42166 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
42167 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
42168 (SYSCALL_GETTIME): Set errno on error.
42170 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
42171 count references to noai6ai_cached.
42173 2011-11-15 Ulrich Drepper <drepper@gmail.com>
42175 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
42177 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
42178 FD_CLOEXEC for /proc/self/maps.
42180 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
42181 FD_CLOEXEC for /proc/meminfo.
42183 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
42186 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
42187 FD_CLOEXEC for given file.
42189 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
42191 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
42192 FD_CLOEXEC for /etc/hosts.
42193 (_gethtent): Likewise.
42195 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
42197 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
42198 cancellation and set FD_CLOEXEC for /etc/netgroup.
42200 * nss/nss_files/files-key.c (search): Don't allow cancellation when
42201 reading /etc/publickey.
42203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
42204 allow cancellation when reading /etc/group.
42206 * nss/nss_files/files-alias.c (internal_setent): Don't allow
42208 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
42210 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
42211 when using data file.
42213 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
42215 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
42216 (write_nis_obj): Use "c" and "e" in fopen.
42218 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
42220 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
42222 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
42224 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
42226 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
42229 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
42231 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
42233 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
42235 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
42236 file parsing and set FD_CLOEXEC.
42238 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42240 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
42242 2011-11-14 Andreas Schwab <schwab@redhat.com>
42244 * malloc/arena.c (arena_get2): Don't call reused_arena when
42245 _int_new_arena failed.
42247 2011-11-14 Ulrich Drepper <drepper@gmail.com>
42249 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
42250 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
42251 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
42252 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42253 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42254 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
42255 to compile strcasecmp and strncasecmp.
42256 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
42257 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
42259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
42261 2011-11-13 Ulrich Drepper <drepper@gmail.com>
42263 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
42264 locale-defines.sym to gen-as-const-headers.
42265 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
42266 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
42267 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
42268 to compile strcasecmp and strncasecmp.
42269 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
42270 strcasecmp_l and strncasecmp_l.
42271 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
42272 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
42273 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
42274 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
42275 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
42276 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
42277 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
42278 * sysdeps/i386/i686/multiarch/strncase.S: New file.
42279 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
42280 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
42281 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
42283 2011-11-12 Ulrich Drepper <drepper@gmail.com>
42285 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
42286 result of SYSDEP_GETTIME_CPU to retval.
42287 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
42288 parameter list to macro. Remove trailing semicolon. Adjust users.
42290 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
42293 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
42295 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
42297 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
42298 from unused variable.
42300 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
42302 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
42305 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
42308 * sunrpc/rpc_prot.c (rejected): Fix case value.
42310 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
42311 unsigned long long int to avoid warnings in shift.
42313 * posix/regex_internal.c (re_string_reconstruct): Actually use result
42315 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
42318 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
42319 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42320 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42322 * nis/nis_table.c (nis_list): Use variable of correct type for
42323 result of __follow_path call.
42325 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42327 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
42328 of math functions ceil, trunc, floor, round, and sqrt, when
42329 avaliable on the platform.
42330 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
42332 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42333 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42334 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42336 2011-10-30 Marek Polacek <mpolacek@redhat.com>
42338 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
42339 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
42341 2011-11-11 Roland McGrath <roland@hack.frob.com>
42343 * include/unistd.h: Fix __readlink return type.
42344 Reported by Chris Metcalf <cmetcalf@tilera.com>.
42346 2011-11-11 Ulrich Drepper <drepper@gmail.com>
42348 * stdlib/ucontext.h: Undo last change for makecontext.
42350 2011-11-11 Andreas Schwab <schwab@redhat.com>
42352 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
42354 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
42355 * setjmp/setjmp.h: Mark functions as non-leaf.
42356 * setjmp/bits/setjmp2.h: Likewise.
42357 * stdlib/ucontext.h: Likewise.
42359 2011-11-10 Andreas Schwab <schwab@redhat.com>
42361 * malloc/arena.c (_int_new_arena): Don't increment narenas.
42362 (reused_arena): Don't check arena limit.
42363 (arena_get2): Atomically check arena limit.
42365 2011-11-08 Ulrich Drepper <drepper@gmail.com>
42367 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
42368 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
42370 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
42373 2011-11-07 Andreas Schwab <schwab@redhat.com>
42375 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
42376 handler when locking.
42378 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42379 Fix size of allocated buffer.
42381 2011-11-04 Andreas Schwab <schwab@redhat.com>
42384 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
42385 declarations for long double functions.
42386 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
42388 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
42390 2011-11-03 Andreas Schwab <schwab@redhat.com>
42392 * nscd/nscd.c (main): Don't start AVC thread until credentials are
42395 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
42398 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
42400 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
42402 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
42404 * include/alloca.h (stackinfo_alloca_round): Define.
42405 (extend_alloca): Use it.
42406 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
42407 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
42410 * scripts/check-local-headers.sh: Ignore libaudit.h.
42412 * nscd/Makefile (extra-objs): Make recursively expanded.
42414 2011-11-01 Ulrich Drepper <drepper@gmail.com>
42416 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
42417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42419 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
42420 * posix/tst-rfc3484-2.c: Likewise.
42421 * posix/tst-rfc3484-3.c: Likewise.
42423 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
42425 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
42427 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
42428 process_vm_writev from libc using GLIBC_2.15 version.
42430 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42432 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
42434 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42437 2011-10-31 Ulrich Drepper <drepper@gmail.com>
42440 * nss/getent.c (initgroups_keys): Show error message in case no group
42443 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42444 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42445 __bump_nl_timestamp.
42446 * nscd/connections (nscd_init): When host database is served open
42447 netlink socket and request notification about configuration changes.
42448 (main_loop_poll): Track netlink file descriptor and bump timestamp
42449 in case data becomes available.
42450 (main_loop_epoll): Likewise.
42451 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42452 (database_pers_head): Add extra_data fileds.
42453 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42454 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42455 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42457 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42458 in6ai data, call __free_in6ai.
42459 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42460 Add -DHAVE_NETLINK.
42461 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
42462 interface information. Reuse previous data if netlink timestamp
42464 (__bump_nl_timestamp): New function.
42465 (__free_in6ai): New function.
42467 2011-10-30 Ulrich Drepper <drepper@gmail.com>
42469 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42470 close_not_cancel_no_status here.
42471 (__check_pf): Reorganize code a bit to not call close twice if OOM.
42473 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42476 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42479 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42480 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42481 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42483 2011-07-03 Andreas Jaeger <aj@suse.de>
42486 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42487 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42488 * math/libm-test.inc (sin_test): Add test case.
42490 2011-10-29 Ulrich Drepper <drepper@gmail.com>
42493 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42494 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42496 * elf/chroot_canon.c (chroot_canon): Cleanups.
42498 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42501 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42502 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42504 * string/test-strchr.c: Make usable for strchrnul testing.
42505 * string/test-strchrnul.c: New file.
42506 * string/Makefile (strop-tests): Add strchrnul.
42508 * po/it.po: Update from translation team.
42509 * po/es.po: Likewise.
42511 2011-10-28 Ulrich Drepper <drepper@gmail.com>
42513 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42514 the three constants needed as parameters. Drop the others.
42515 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42516 __m128i_strloadu_tolower.
42517 Create and initialize variable zero and use it in all the places
42518 where _mm_setzero_si128 was used.
42520 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42521 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42522 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42523 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42525 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42526 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42527 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42528 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42529 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42530 __mpranred, __mptan.
42531 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42532 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42533 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42534 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42535 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42536 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42537 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42538 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42539 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42541 2011-10-28 Andreas Schwab <schwab@redhat.com>
42543 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42544 redefine if SHARED.
42545 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42548 wide char related routines to wcsmbs subdir.
42550 2011-10-27 Andreas Schwab <schwab@redhat.com>
42553 * misc/sys/cdefs.h (__THROWNL): Define.
42554 * posix/unistd.h: Use __THREADNL instead of __THREAD
42555 for memory synchronization functions.
42557 2011-10-26 Roland McGrath <roland@hack.frob.com>
42560 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42562 * manual/stdio.texi (Obstack Streams): Node removed.
42564 2011-10-26 Andreas Schwab <schwab@redhat.com>
42566 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42567 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42568 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42570 * math/math_private.h (math_force_eval): Allow non-addressable
42572 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42574 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42576 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42577 file is not needed.
42579 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42580 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42581 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42582 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42585 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42586 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42588 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42589 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42590 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42591 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42592 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42593 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42594 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42595 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42596 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42597 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42598 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42599 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42600 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42601 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42602 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42603 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42604 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42605 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42606 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42608 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42609 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
42611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42612 place. Use VEX encoding when compiling for AVX.
42614 2011-10-25 Andreas Schwab <schwab@redhat.com>
42616 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42617 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42619 * string/test-strchr.c (do_test): Don't generate NUL bytes.
42621 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42623 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42624 useless if() expression.
42625 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42626 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42627 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42629 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42630 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42631 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42632 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42633 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42634 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42635 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42636 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42637 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42638 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42639 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42640 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42641 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42642 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42643 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42645 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42647 2011-10-25 Andreas Schwab <schwab@redhat.com>
42649 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42651 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42653 2011-10-25 Ulrich Drepper <drepper@gmail.com>
42655 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42656 .text section. Avoid duplicate constants.
42657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42659 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42664 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42665 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42666 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42667 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42668 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42669 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42670 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42671 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42672 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42673 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42674 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42675 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42677 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42678 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42679 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42680 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42681 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42682 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42683 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42684 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42685 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42686 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42687 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42688 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42689 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42690 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42691 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42692 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42693 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42694 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42695 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42696 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42697 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42698 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42699 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42700 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42701 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42703 2011-10-24 Ulrich Drepper <drepper@gmail.com>
42705 * sysdeps/x86_64/dla.h: Move to ...
42706 * sysdeps/x86_64/fpu/dla.h: ...here.
42707 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42708 situations. Use __builtin_fma only for gcc 4.6 and up.
42710 * config.make.in: Add have-mfma4 entry.
42711 * configure.in: Substitute libc_cv_cc_fma4.
42712 * math/Makefile (dbl-only-routines): Add sincostab.
42713 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42714 Use __sincostab not sincos.
42715 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42717 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
42722 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
42723 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
42724 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42725 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42728 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42730 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
42731 define aliases when function name is a macro.
42732 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42733 sysdeps/ieee754/dbl-64/sincos.tbl.
42734 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42735 fma4-enabled routines.
42736 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42737 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42738 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42739 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42740 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42741 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42742 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42743 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42744 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42745 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42746 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42747 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42748 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42749 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42750 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42751 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42752 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42753 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42754 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42755 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42756 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42757 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42758 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42759 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42761 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42763 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42764 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42765 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42767 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42769 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42770 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42774 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42775 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42776 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42778 2011-10-24 Andreas Schwab <schwab@redhat.com>
42780 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42782 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42784 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42786 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42788 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42790 * string/strnlen.c: Don't define STRNLEN, reverse logic.
42791 Remove unused variable magic_bits.
42792 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42794 * string/strnlen.c: Define and use STRNLEN macro.
42795 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42796 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42797 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42798 * wcsmbs/wcslen.c: Define and use WCSLEN.
42799 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42800 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42801 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42802 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42803 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42804 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42805 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42807 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42810 strnlen-sse2-no-bsf.
42811 Rename strlen-no-bsf to strlen-sse2-no-bsf.
42812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42813 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42814 Add strnlen support.
42815 (USE_AS_STRNLEN): New macro.
42816 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42817 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42818 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42819 * sysdeps/x86_64/wcslen.S: New file.
42821 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
42823 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42824 XMM-moves are used for copying on small sizes.
42826 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42828 * wcsmbs/Makefile (strop-tests): Add wcschr.
42829 * wcsmbs/test-wcschr.c: New file.
42830 * string/test-strchr.c: Update.
42831 Add wcschr support.
42834 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42836 * wcsmbs/Makefile (strop-tests): Add wcslen.
42837 * wcsmbs/test-wcslen.c: New file.
42838 * string/test-strlen.c: Update.
42839 Add wcslen support.
42842 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42844 * po/it.po: Update from translation team.
42846 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42848 * sysdeps/x86_64/wcscmp.S: Update.
42849 Fix wrong comparison semantics.
42850 wcscmp shall use signed comparison not unsigned.
42851 Don't use substraction to avoid overflow bug.
42852 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42853 * wcsmbc/wcscmp.c: Likewise.
42854 * string/test-strcmp.c: Likewise.
42855 Add new tests to check cases with negative values.
42857 2011-10-23 Ulrich Drepper <drepper@gmail.com>
42859 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42860 * sysdeps/x86_64/dla.h: ...here. New file.
42861 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42863 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42864 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42871 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
42873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42874 __ynl_finite aliases.
42876 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42880 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42882 [DLA_FMA] (EMULV): Use DLA_FMA.
42883 [DLA_FMA] (MUL12): Use EMULV.
42884 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42885 that are not needed.
42886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42894 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
42896 * math/s_nan.c: Undef __nan.
42897 * math/s_nanf.c: Undef __nanf.
42898 * math/s_nanl.c: Undef __nanl.
42899 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42902 2011-10-22 Ulrich Drepper <drepper@gmail.com>
42904 * math/s_catan.c: Add branch predictions.
42905 * math/s_catanf.c: Likewise.
42906 * math/s_catanh.c: Likewise.
42907 * math/s_catanhf.c: Likewise.
42908 * math/s_catanhl.c: Likewise.
42909 * math/s_catanl.c: Likewise.
42910 * math/s_cexp.c: Likewise.
42911 * math/s_cexpf.c: Likewise.
42912 * math/s_cexpl.c: Likewise.
42913 * math/s_clog.c: Likewise.
42914 * math/s_clog10.c: Likewise.
42915 * math/s_clog10f.c: Likewise.
42916 * math/s_clog10l.c: Likewise.
42917 * math/s_clogf.c: Likewise.
42918 * math/s_clogl.c: Likewise.
42919 * math/s_csqrt.c: Likewise.
42920 * math/s_csqrtf.c: Likewise.
42921 * math/s_csqrtl.c: Likewise.
42922 * math/s_ctanf.c: Likewise.
42923 * math/s_ctanh.c: Likewise.
42924 * math/s_ctanhf.c: Likewise.
42925 * math/s_ctanhl.c: Likewise.
42926 * math/s_ctanl.c: Likewise.
42928 * math/math_private.h: Define __nan, __nanf, __nanl.
42929 * math/s_cacosh.c: Include <math_private.h>.
42930 * math/s_cacoshl.c: Likewise.
42931 * math/s_casinh.c: Likewise.
42932 * math/s_casinhf.c: Likewise.
42933 * math/s_casinhl.c: Likewise.
42934 * math/s_ccos.c: Rely entire on ccosh.
42935 * math/s_ccosf.c: Rely entire on ccoshf.
42936 * math/s_ccosl.c: Rely entirely on ccoshl.
42937 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
42938 Remove tests for FE_INVALID.
42939 * math/s_ccoshf.c: Likewise.
42940 * math/s_ccoshl.c: Likewise.
42941 * math/s_csin.c: Likewise.
42942 * math/s_csinf.c: Likewise.
42943 * math/s_csinh.c Likewise.
42944 * math/s_csinhf.c: Likewise.
42945 * math/s_csinhl.c: Likewise.
42946 * math/s_csinl.c: Likewise.
42947 * math/s_ctan.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42949 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42950 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42952 2011-10-21 Ulrich Drepper <drepper@gmail.com>
42954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42955 compilation problems.
42957 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42960 2011-10-20 Ulrich Drepper <drepper@gmail.com>
42962 * sysdeps/i386/configure.in: Test for -mfma4 option.
42963 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42964 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42965 COMMON_CPUID_INDEX_80000001.
42966 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42967 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42968 use it if FMA3 is not supported.
42969 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42971 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42972 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42974 2011-10-20 Andreas Schwab <schwab@redhat.com>
42977 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42978 it would create a cycle with a link time dependency.
42980 2011-10-19 Ulrich Drepper <drepper@gmail.com>
42982 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42984 * string/Makefile (strop-tests): Add rawmemchr.
42985 * string/test-rawmemchr.c: New file.
42987 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
42989 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
42990 when compiling str{,n}casecmp and when AVX is available. Hook up
42991 new optimized code in initializers.
42993 2011-10-19 Andreas Schwab <schwab@redhat.com>
42995 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42996 __feraiseexcept instead of feraiseexcept.
42998 2011-10-18 Ulrich Drepper <drepper@gmail.com>
43000 * math/math_private.h: Define defaults for libc_fetestexcept and
43002 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
43003 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43005 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43006 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43007 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43008 libc_fetestexcept and libc_feupdateenv.
43010 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
43011 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
43012 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
43013 * sysdeps/x86_64/fpu/math_private.h: Define special version of
43014 libc_feholdexcept_setround.
43016 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
43017 Add s_nearbyint-c and s_nearbyintf-c.
43018 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
43019 nearbyintf inlines.
43020 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
43021 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
43022 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
43023 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
43025 * math/math_private.h: Define defaults for libc_fegetround,
43026 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
43027 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
43028 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
43029 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
43030 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
43031 standard functions.
43032 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43033 Remove comments and hacks for old compiler versions.
43034 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
43035 libc_fegetround, libc_fesetround, libc_feholdexcept, and
43036 libc_feholdexceptl.
43038 2011-10-18 Andreas Schwab <schwab@redhat.com>
43040 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
43041 (__feraiseexcept_renamed): Add __NTH.
43042 (feraiseexcept): Add __NTH. Rename local variables to fix
43043 namespace violations.
43045 2011-10-17 Ulrich Drepper <drepper@gmail.com>
43047 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
43049 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
43051 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
43052 recently added interfaces.
43053 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
43055 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
43056 about macro parameter expansion.
43058 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
43059 __NO_MATH_INLINES is defined. Cleanups.
43061 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
43062 and __floorf is target has SSE4.1.
43063 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
43064 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
43065 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
43066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
43068 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
43070 (floorf): Likewise.
43072 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
43074 2011-10-17 Andreas Schwab <schwab@redhat.com>
43076 * misc/sys/cdefs.h: Fix last change.
43078 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
43081 2011-10-16 Ulrich Drepper <drepper@gmail.com>
43083 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
43085 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
43086 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43087 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43088 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43089 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43093 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43094 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
43095 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
43096 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
43097 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
43098 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
43099 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
43100 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
43101 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
43102 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
43103 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
43104 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
43105 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
43106 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
43108 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
43109 ceil, ceilf, floor, floorf.
43111 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
43112 Perform IRELATIVE relocations last.
43114 * elf/do-rel.h: Add another parameter nrelative, replacing the
43115 local variable with the same name. Change name of the function
43116 to end in Rel or Rela (uppercase).
43117 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
43118 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
43119 elf_dynamic_do_##reloc function.
43121 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43123 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
43124 is sufficient, at least on modern CPUs.
43126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
43128 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
43129 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
43131 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
43133 * math/bits/math-finite.h: Add entries for exp.
43134 * math/e_expl.c: Add __*_finite alias.
43135 * sysdeps/i386/fpu/e_exp.S: Likewise.
43136 * sysdeps/i386/fpu/e_expf.S: Likewise.
43137 * sysdeps/i386/fpu/e_expl.c: Likewise.
43138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43139 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43142 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
43143 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43144 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43146 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
43147 is sufficient, at least on modern CPUs.
43149 * ctype/ctype-info.c (__ctype_init): Define.
43150 * include/ctype.h (__ctype_init): Declare.
43151 (__ctype_b_loc): The variable is always initialized.
43152 (__ctype_toupper_loc): Likewise.
43153 (__ctype_tolower_loc): Likewise.
43154 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
43155 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
43157 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
43159 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
43161 * configure.in: Also look in $cxxmachine/include for C++ system
43164 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43166 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
43167 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
43168 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
43169 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
43170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
43171 (USE_AS_WMEMCMP): New macro.
43173 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
43174 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
43175 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
43176 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
43177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43178 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
43179 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
43180 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
43181 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
43182 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
43183 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
43184 (USE_AS_WMEMCMP): New macro.
43185 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
43186 * sysdeps/string/test-memcmp.c: Update.
43187 Fix simple_wmemcmp.
43189 * wcsmbs/wmemcmp.c: Update.
43190 (WMEMCMP): New macro.
43193 2011-10-12 Andreas Jaeger <aj@suse.de>
43196 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
43198 2011-10-15 Ulrich Drepper <drepper@gmail.com>
43200 * libio/iofwide.c (do_length): Avoid warning.
43202 * ctype/ctype.h (__isctype_f): Add missing __THROW.
43204 2011-10-14 Ulrich Drepper <drepper@gmail.com>
43206 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
43208 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
43209 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
43210 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
43211 * sysdeps/i386/i686/fpu/e_log.S: New file.
43212 * sysdeps/i386/i686/fpu/e_logf.S: New file.
43213 * sysdeps/i386/i686/fpu/e_logl.S: New file.
43215 * ctype/ctype.h: Add support for inlined isXXX functions when
43216 compiling C++ code.
43218 2011-10-14 Andreas Schwab <schwab@redhat.com>
43220 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43222 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
43224 2011-10-13 Roland McGrath <roland@hack.frob.com>
43227 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
43229 2011-10-13 Andreas Schwab <schwab@redhat.com>
43231 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
43232 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
43235 * sysdeps/x86_64/memrchr.S: Check for zero size.
43237 * string/stratcliff.c: Add memrchr tests.
43239 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43241 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43242 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
43243 rawmemchr-sse2 rawmemchr-sse2-bsf.
43244 * sysdeps/i386/i686/multiarch/memchr.S: New file.
43245 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
43246 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
43247 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
43248 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
43249 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
43250 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
43251 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
43252 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
43253 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
43254 * string/memrchr.c (MEMRCHR): New macro.
43256 2011-10-12 Ulrich Drepper <drepper@gmail.com>
43258 Add integration with gcc's -ffinite-math-only and optimize wrapper
43260 * Versions.def: Define GLIBC_2.15 version for libm.
43261 * math/Makefile (headers): Add bits/math-finite.h.
43262 * math/bits/math-finite.h: New file.
43263 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
43264 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
43265 * math/e_acoshl.c: Add __*_finite alias.
43266 * math/e_acosl.c: Likewise.
43267 * math/e_asinl.c: Likewise.
43268 * math/e_atan2l.c: Likewise.
43269 * math/e_atanhl.c: Likewise.
43270 * math/e_coshl.c: Likewise.
43271 * math/e_exp10.c: Likewise.
43272 * math/e_exp10f.c: Likewise.
43273 * math/e_exp10l.c: Likewise.
43274 * math/e_exp2l.c: Likewise.
43275 * math/e_fmodl.c: Likewise.
43276 * math/e_gammal_r.c: Likewise.
43277 * math/e_hypotl.c: Likewise.
43278 * math/e_j0l.c: Likewise.
43279 * math/e_j1l.c: Likewise.
43280 * math/e_jnl.c: Likewise.
43281 * math/e_lgammal_r.c: Likewise.
43282 * math/e_log10l.c: Likewise.
43283 * math/e_log2l.c: Likewise.
43284 * math/e_logl.c: Likewise.
43285 * math/e_powl.c: Likewise.
43286 * math/e_sinhl.c: Likewise.
43287 * math/e_sqrtl.c: Likewise.
43288 * math/e_scalb.c: Completely rewritten and optimized.
43289 * math/e_scalbf.c: Likewise.
43290 * math/e_scalbl.c: Likewise.
43291 * math/w_acos.c: Likewise.
43292 * math/w_acosf.c: Likewise.
43293 * math/w_acosl.c: Likewise.
43294 * math/w_acosh.c: Likewise.
43295 * math/w_acoshf.c: Likewise.
43296 * math/w_acoshl.c: Likewise.
43297 * math/w_asin.c: Likewise.
43298 * math/w_asinf.c: Likewise.
43299 * math/w_asinl.c: Likewise.
43300 * math/w_atan2.c: Likewise.
43301 * math/w_atan2f.c: Likewise.
43302 * math/w_atan2l.c: Likewise.
43303 * math/w_atanh.c: Likewise.
43304 * math/w_atanhf.c: Likewise.
43305 * math/w_atanhl.c: Likewise.
43306 * math/w_exp10.c: Likewise.
43307 * math/w_exp10f.c: Likewise.
43308 * math/w_exp10l.c: Likewise.
43309 * math/w_fmod.c: Likewise.
43310 * math/w_fmodf.c: Likewise.
43311 * math/w_fmodl.c: Likewise.
43312 * math/w_j0.c: Likewise.
43313 * math/w_j0f.c: Likewise.
43314 * math/w_j0l.c: Likewise.
43315 * math/w_j1.c: Likewise.
43316 * math/w_j1f.c: Likewise.
43317 * math/w_j1l.c: Likewise.
43318 * math/w_jn.c: Likewise.
43319 * math/w_jnf.c: Likewise.
43320 * math/w_log.c: Likewise.
43321 * math/w_logf.c: Likewise.
43322 * math/w_logl.c: Likewise.
43323 * math/w_log10.c: Likewise.
43324 * math/w_log10f.c: Likewise.
43325 * math/w_log10l.c: Likewise.
43326 * math/w_log2.c: Likewise.
43327 * math/w_log2f.c: Likewise.
43328 * math/w_log2l.c: Likewise.
43329 * math/w_pow.c: Likewise.
43330 * math/w_powf.c: Likewise.
43331 * math/w_powl.c: Likewise.
43332 * math/w_remainder.c: Likewise.
43333 * math/w_remainderf.c: Likewise.
43334 * math/w_remainderl.c: Likewise.
43335 * math/w_scalb.c: Likewise.
43336 * math/w_scalbf.c: Likewise.
43337 * math/w_scalbl.c: Likewise.
43338 * math/w_sqrt.c: Likewise.
43339 * math/w_sqrtf.c: Likewise.
43340 * math/w_sqrtl.c: Likewise.
43341 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
43342 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
43344 * math/math_private.h: Declare __kernel_standard_f.
43345 * math/w_cosh.c: Remove cruft and optimize a bit.
43346 * math/w_coshf.c: Likewise.
43347 * math/w_coshl.c: Likewise.
43348 * math/w_exp2.c: Likewise.
43349 * math/w_exp2f.c: Likewise.
43350 * math/w_exp2l.c: Likewise.
43351 * math/w_hypot.c: Likewise.
43352 * math/w_hypotf.c: Likewise.
43353 * math/w_hypotl.c: Likewise.
43354 * math/w_lgamma.c: Likewise.
43355 * math/w_lgamma_r.c: Likewise.
43356 * math/w_lgammaf.c: Likewise.
43357 * math/w_lgammaf_r.c: Likewise.
43358 * math/w_lgammal.c: Likewise.
43359 * math/w_lgammal_r.c: Likewise.
43360 * math/w_sinh.c: Likewise.
43361 * math/w_sinhf.c: Likewise.
43362 * math/w_sinhl.c: Likewise.
43363 * math/w_tgamma.c: Likewise.
43364 * math/w_tgammaf.c: Likewise.
43365 * math/w_tgammal.c: Likewise.
43366 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43367 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43368 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
43369 Minor optimizations. Pretty printing. Remove cruft.
43370 * sysdeps/i386/fpu/e_acosf.S: Likewise.
43371 * sysdeps/i386/fpu/e_acosh.S: Likewise.
43372 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43373 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43374 * sysdeps/i386/fpu/e_acosl.c: Likewise.
43375 * sysdeps/i386/fpu/e_asin.S: Likewise.
43376 * sysdeps/i386/fpu/e_asinf.S: Likewise.
43377 * sysdeps/i386/fpu/e_atan2.S: Likewise.
43378 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
43379 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
43380 * sysdeps/i386/fpu/e_atanh.S: Likewise.
43381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43382 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43383 * sysdeps/i386/fpu/e_exp10.S: Likewise.
43384 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
43385 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
43386 * sysdeps/i386/fpu/e_exp2.S: Likewise.
43387 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
43388 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
43389 * sysdeps/i386/fpu/e_fmod.S: Likewise.
43390 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
43391 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
43392 * sysdeps/i386/fpu/e_hypot.S: Likewise.
43393 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
43394 * sysdeps/i386/fpu/e_log.S: Likewise.
43395 * sysdeps/i386/fpu/e_log10.S: Likewise.
43396 * sysdeps/i386/fpu/e_log10f.S: Likewise.
43397 * sysdeps/i386/fpu/e_log10l.S: Likewise.
43398 * sysdeps/i386/fpu/e_log2.S: Likewise.
43399 * sysdeps/i386/fpu/e_log2f.S: Likewise.
43400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
43401 * sysdeps/i386/fpu/e_logf.S: Likewise.
43402 * sysdeps/i386/fpu/e_logl.S: Likewise.
43403 * sysdeps/i386/fpu/e_pow.S: Likewise.
43404 * sysdeps/i386/fpu/e_powf.S: Likewise.
43405 * sysdeps/i386/fpu/e_powl.S: Likewise.
43406 * sysdeps/i386/fpu/e_remainder.S: Likewise.
43407 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
43408 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
43409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
43410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43411 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43412 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
43413 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
43414 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
43415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43416 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43418 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43419 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
43420 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43421 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
43422 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43426 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43428 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43429 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43430 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43431 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43432 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43433 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43434 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43435 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43436 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43437 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43438 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43439 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43440 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43441 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43442 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43443 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43444 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43445 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43446 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43447 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43448 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43449 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43450 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43451 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43452 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43453 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43454 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43455 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43456 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43457 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43458 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43459 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43460 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43461 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43462 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43463 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43464 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43465 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43466 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43467 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43468 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43469 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43470 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43471 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43472 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43473 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43474 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43475 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43476 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43477 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43479 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43480 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43481 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43482 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43483 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43485 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43486 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43487 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43488 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43489 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43490 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43491 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43492 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43493 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43494 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43495 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43496 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43497 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43498 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43500 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43501 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43502 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43503 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43504 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43506 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43507 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43508 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43509 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43510 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43511 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43512 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43513 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43514 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43515 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43516 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43517 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43518 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43519 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43520 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43521 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43522 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43523 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43524 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43525 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
43526 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43527 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43528 (__isnanf): Likewise.
43529 (__isinf_ns): Likewise.
43530 (__isinf_nsf): Likewise.
43531 (__finite): Likewise.
43532 (__finitef): Likewise.
43533 (__ieee754_sqrt): Define as macro.
43534 (__ieee754_sqrtf): Define as macro.
43535 (__ieee754_sqrtl): Define as macro.
43536 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43538 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43539 __FINITE_MATH_ONLY__ consistent.
43540 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43542 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
43544 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43547 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43549 2011-10-09 Ulrich Drepper <drepper@gmail.com>
43551 * po/ja.po: Update from translation team.
43553 2011-10-08 Roland McGrath <roland@hack.frob.com>
43555 * locale/programs/locarchive.c (prepare_address_space): New function.
43556 (create_archive, enlarge_archive, open_archive): Use it.
43558 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43559 inside [SHARED], where it is used.
43561 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43563 * nss/getent.c (netgroup_keys): Remove unused variable.
43564 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43566 2011-10-08 Ulrich Drepper <drepper@gmail.com>
43568 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43569 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43571 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43572 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43573 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43574 * math/Makefile (libm-calls): Add s_isinf_ns.
43575 * math/divtc3.c: Use __isinf_nsl instead of isinf.
43576 * math/multc3.c: Likewise.
43577 * math/s_casin.c: Likewise.
43578 * math/s_casinf.c: Likewise.
43579 * math/s_casinl.c: Likewise.
43580 * math/s_ccos.c: Likewise.
43581 * math/s_ccosf.c: Likewise.
43582 * math/s_ccosl.c: Likewise.
43583 * math/s_ctan.c: Likewise.
43584 * math/s_ctanf.c: Likewise.
43585 * math/s_ctanh.c: Likewise.
43586 * math/s_ctanhf.c: Likewise.
43587 * math/s_ctanhl.c: Likewise.
43588 * math/s_ctanl.c: Likewise.
43589 * math/w_fmod.c: Likewise.
43590 * math/w_fmodf.c: Likewise.
43591 * math/w_fmodl.c: Likewise.
43592 * math/w_remainder.c: Likewise.
43593 * math/w_remainderf.c: Likewise.
43594 * math/w_remainderl.c: Likewise.
43595 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43596 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43597 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43599 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43600 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43601 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43602 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43604 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43606 * stdio-common/printf_fphex.c: Likewise.
43607 * stdio-common/printf_size.c: Likewise.
43609 * math/e_exp10.c: Include math_private.h using <...> not "...".
43610 * math/e_exp10f.c: Likewise.
43611 * math/e_exp10l.c: Likewise.
43612 * math/e_exp2l.c: Likewise.
43613 * math/e_j0l.c: Likewise.
43614 * math/e_j1l.c: Likewise.
43615 * math/e_jnl.c: Likewise.
43616 * math/e_lgammal_r.c: Likewise.
43617 * math/e_rem_pio2l.c: Likewise.
43618 * math/e_scalb.c: Likewise.
43619 * math/e_scalbf.c: Likewise.
43620 * math/e_scalbl.c: Likewise.
43621 * math/k_cosl.c: Likewise.
43622 * math/k_sinl.c: Likewise.
43623 * math/k_tanl.c: Likewise.
43624 * math/s_cacoshf.c: Likewise.
43625 * math/s_catan.c: Likewise.
43626 * math/s_catanf.c: Likewise.
43627 * math/s_catanh.c: Likewise.
43628 * math/s_catanhf.c: Likewise.
43629 * math/s_catanhl.c: Likewise.
43630 * math/s_catanl.c: Likewise.
43631 * math/s_ccosh.c: Likewise.
43632 * math/s_ccoshf.c: Likewise.
43633 * math/s_ccoshl.c: Likewise.
43634 * math/s_cexp.c: Likewise.
43635 * math/s_cexpf.c: Likewise.
43636 * math/s_cexpl.c: Likewise.
43637 * math/s_clog.c: Likewise.
43638 * math/s_clog10.c: Likewise.
43639 * math/s_clog10f.c: Likewise.
43640 * math/s_clog10l.c: Likewise.
43641 * math/s_clogf.c: Likewise.
43642 * math/s_clogl.c: Likewise.
43643 * math/s_csin.c: Likewise.
43644 * math/s_csinf.c: Likewise.
43645 * math/s_csinh.c: Likewise.
43646 * math/s_csinhf.c: Likewise.
43647 * math/s_csinhl.c: Likewise.
43648 * math/s_csinl.c: Likewise.
43649 * math/s_csqrt.c: Likewise.
43650 * math/s_csqrtf.c: Likewise.
43651 * math/s_csqrtl.c: Likewise.
43652 * math/s_ctan.c: Likewise.
43653 * math/s_ctanf.c: Likewise.
43654 * math/s_ctanh.c: Likewise.
43655 * math/s_ctanhf.c: Likewise.
43656 * math/s_ctanhl.c: Likewise.
43657 * math/s_ctanl.c: Likewise.
43658 * math/s_ldexp.c: Likewise.
43659 * math/s_ldexpf.c: Likewise.
43660 * math/s_ldexpl.c: Likewise.
43661 * math/s_significand.c: Likewise.
43662 * math/s_significandf.c: Likewise.
43663 * math/s_significandl.c: Likewise.
43664 * math/w_acos.c: Likewise.
43665 * math/w_acosf.c: Likewise.
43666 * math/w_acosh.c: Likewise.
43667 * math/w_acoshf.c: Likewise.
43668 * math/w_acoshl.c: Likewise.
43669 * math/w_acosl.c: Likewise.
43670 * math/w_asin.c: Likewise.
43671 * math/w_asinf.c: Likewise.
43672 * math/w_asinl.c: Likewise.
43673 * math/w_atan2.c: Likewise.
43674 * math/w_atan2f.c: Likewise.
43675 * math/w_atan2l.c: Likewise.
43676 * math/w_atanh.c: Likewise.
43677 * math/w_atanhf.c: Likewise.
43678 * math/w_atanhl.c: Likewise.
43679 * math/w_cosh.c: Likewise.
43680 * math/w_coshf.c: Likewise.
43681 * math/w_coshl.c: Likewise.
43682 * math/w_dremf.c: Likewise.
43683 * math/w_exp10.c: Likewise.
43684 * math/w_exp10f.c: Likewise.
43685 * math/w_exp10l.c: Likewise.
43686 * math/w_exp2.c: Likewise.
43687 * math/w_exp2f.c: Likewise.
43688 * math/w_fmod.c: Likewise.
43689 * math/w_fmodf.c: Likewise.
43690 * math/w_fmodl.c: Likewise.
43691 * math/w_hypot.c: Likewise.
43692 * math/w_hypotf.c: Likewise.
43693 * math/w_hypotl.c: Likewise.
43694 * math/w_j0.c: Likewise.
43695 * math/w_j0f.c: Likewise.
43696 * math/w_j0l.c: Likewise.
43697 * math/w_j1.c: Likewise.
43698 * math/w_j1f.c: Likewise.
43699 * math/w_j1l.c: Likewise.
43700 * math/w_jn.c: Likewise.
43701 * math/w_jnf.c: Likewise.
43702 * math/w_jnl.c: Likewise.
43703 * math/w_lgamma.c: Likewise.
43704 * math/w_lgamma_r.c: Likewise.
43705 * math/w_lgammaf.c: Likewise.
43706 * math/w_lgammaf_r.c: Likewise.
43707 * math/w_lgammal.c: Likewise.
43708 * math/w_lgammal_r.c: Likewise.
43709 * math/w_log.c: Likewise.
43710 * math/w_log10.c: Likewise.
43711 * math/w_log10f.c: Likewise.
43712 * math/w_log10l.c: Likewise.
43713 * math/w_log2.c: Likewise.
43714 * math/w_log2f.c: Likewise.
43715 * math/w_log2l.c: Likewise.
43716 * math/w_logf.c: Likewise.
43717 * math/w_logl.c: Likewise.
43718 * math/w_pow.c: Likewise.
43719 * math/w_powf.c: Likewise.
43720 * math/w_powl.c: Likewise.
43721 * math/w_remainder.c: Likewise.
43722 * math/w_remainderf.c: Likewise.
43723 * math/w_remainderl.c: Likewise.
43724 * math/w_scalb.c: Likewise.
43725 * math/w_scalbf.c: Likewise.
43726 * math/w_scalbl.c: Likewise.
43727 * math/w_sinh.c: Likewise.
43728 * math/w_sinhf.c: Likewise.
43729 * math/w_sinhl.c: Likewise.
43730 * math/w_sqrt.c: Likewise.
43731 * math/w_sqrtf.c: Likewise.
43732 * math/w_sqrtl.c: Likewise.
43733 * math/w_tgamma.c: Likewise.
43734 * math/w_tgammaf.c: Likewise.
43735 * math/w_tgammal.c: Likewise.
43737 * po/ja.po: Update from translation team.
43739 2011-09-29 Andreas Jaeger <aj@suse.de>
43742 * sunrpc/netname.c (netname2host): Fix logic.
43746 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43748 * math/w_remainder.c (__remainder): Likewise.
43749 * math/w_remainderf.c (__remainderf): Likewise.
43750 * math/libm-test.inc (remainder_test): Add test cases.
43752 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43754 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
43757 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43759 * string/test-memcmp.c: Avoid unncessary #defines.
43760 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43762 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43764 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43765 Use new sse2 version for core i3 - i7 as it's faster
43766 than sse42 version.
43767 (bit_Prefer_PMINUB_for_stringop): New.
43768 * sysdeps/x86_64/rawmemchr.S: Update.
43769 Replace with faster SSE2 version.
43770 * sysdeps/x86_64/memrchr.S: New file.
43771 * sysdeps/x86_64/memchr.S: Update.
43772 Replace with faster SSE2 version.
43774 2011-09-12 Marek Polacek <mpolacek@redhat.com>
43776 * elf/dl-load.c (lose): Add cast to avoid warning.
43778 2011-10-07 Ulrich Drepper <drepper@gmail.com>
43780 * po/ca.po: Update from translation team.
43782 * inet/getnetgrent_r.c: Hook up nscd.
43783 * nscd/Makefile (routines): Add nscd_netgroup.
43784 (nscd-modules): Add netgroupcache.
43785 (CFLAGS-netgroupcache.c): Define.
43786 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43787 (cache_search): Add const to second parameter.
43788 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43790 (dbs): Add netgrdb entry.
43791 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43792 (verify_persistent_db): Handle netgrdb.
43793 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43794 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43796 (netgroup_response_header): Define.
43797 (innetgroup_response_header): Define.
43798 (datahead): Add netgroup_response_header and innetgroup_response_header
43800 * nscd/nscd.conf: Add entries for netgroup cache.
43801 * nscd/nscd.h (dbtype): Add netgrdb.
43802 (_PATH_NSCD_NETGROUP_DB): Define.
43803 (netgroup_iov_disabled): Declare.
43804 (xmalloc, xcalloc, xrealloc): Move declarations here.
43805 (cache_search): Adjust prototype.
43806 Add netgroup-related prototypes.
43807 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43808 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43809 (__nscd_innetgr): Declare.
43810 * nscd/selinux.c (perms): Use access_vector_t as element type and
43811 add netgroup-related initializers.
43812 * nscd/netgroupcache.c: New file.
43813 * nscd/nscd_netgroup.c: New file.
43814 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43815 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43816 For four parameters use innetgr.
43817 * nss/nss_files/files-init.c: Add definition and callback for netgr.
43818 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43819 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43820 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43822 * nscd/connections.c (register_traced_file): Don't register file
43823 for disabled databases.
43825 2011-10-06 Ulrich Drepper <drepper@gmail.com>
43827 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43829 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43830 from tree and freeing node.
43832 2011-09-25 Jiri Olsa <jolsa@redhat.com>
43834 * nss/nsswitch.c (__nss_database_lookup): Handle
43835 nss_parse_service_list out of memory case.
43837 2011-09-15 Jiri Olsa <jolsa@redhat.com>
43839 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43840 out of memory case.
43842 2011-10-04 Andreas Schwab <schwab@redhat.com>
43844 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43845 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43847 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43848 elf_machine_rela, elf_machine_lazy_rel.
43849 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43850 (ELF_DYNAMIC_DO_REL): Likewise.
43851 (ELF_DYNAMIC_DO_RELA): Likewise.
43852 (ELF_DYNAMIC_RELOCATE): Likewise.
43853 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43854 to ELF_DYNAMIC_DO_REL.
43855 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43856 (dl_main): In trace mode always set __RTLD_NOIFUNC.
43857 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43860 skip_ifunc, don't call ifunc function if non-zero.
43861 (elf_machine_rela): Likewise.
43862 (elf_machine_lazy_rel): Likewise.
43863 (elf_machine_lazy_rela): Likewise.
43864 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43865 (elf_machine_lazy_rel): Likewise.
43866 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43868 (elf_machine_lazy_rel): Likewise.
43869 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43871 (elf_machine_lazy_rel): Likewise.
43872 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43873 (elf_machine_lazy_rel): Likewise.
43874 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43875 (elf_machine_lazy_rel): Likewise.
43876 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43877 (elf_machine_lazy_rel): Likewise.
43878 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43879 (elf_machine_lazy_rel): Likewise.
43880 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43881 (elf_machine_lazy_rel): Likewise.
43882 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43883 (elf_machine_lazy_rel): Likewise.
43885 2011-09-28 Ulrich Drepper <drepper@gmail.com>
43887 * nss/nss_files/files-init.c (_nss_files_init): Use static
43888 initialization for all the *_traced_file variables.
43890 2011-09-28 Andreas Schwab <schwab@redhat.com>
43892 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43894 2011-09-27 Roland McGrath <roland@hack.frob.com>
43897 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43899 2011-09-27 Andreas Schwab <schwab@redhat.com>
43901 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43902 Reread the line before reparsing it.
43904 2011-09-26 Andreas Schwab <schwab@redhat.com>
43906 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43908 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
43909 Maxim Kuvyrkov <maxim@codesourcery.com>
43910 Joseph Myers <joseph@codesourcery.com>
43912 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43913 if needed for __stack_chk_guard.
43915 2011-09-19 Roland McGrath <roland@hack.frob.com>
43917 * sysdeps/posix/spawni.c (script_execute): Always define it.
43918 It will be optimized away if unused.
43919 (maybe_script_execute): New function.
43920 (__spawni): Call it.
43922 * Makerules: Don't include tls.make.
43923 (config-tls): Always set to thread.
43924 * tls.make.c: File removed.
43926 2011-09-19 Mike Frysinger <vapier@gentoo.org>
43928 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43929 * config.make.in (CPPFLAGS-config): New substituted variable.
43931 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43933 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43936 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43937 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43939 2011-09-15 Roland McGrath <roland@hack.frob.com>
43941 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43942 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43943 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43944 (CALL_FAIL): Likewise.
43945 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43946 (CALL_FAIL): Macro removed.
43947 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43949 2011-09-15 Ulrich Drepper <drepper@gmail.com>
43951 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43952 for __FINITE_MATH_ONLY__ == 1.
43954 2011-09-15 Andreas Schwab <schwab@redhat.com>
43956 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43957 __ieee754_sqrt instead of sqrt.
43958 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43959 __ieee754_sqrtf instead of sqrtf.
43960 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43961 __floorf instead of floorf.
43962 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43963 __floorf, __truncf instead of floorf, truncf.
43965 2011-09-14 Ulrich Drepper <drepper@gmail.com>
43967 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43969 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43970 __extern_always_inline.
43971 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43974 2011-09-14 Andreas Schwab <schwab@redhat.com>
43976 * elf/rtld.c (dl_main): Also relocate in dependency order when
43977 doing symbol dependency testing.
43979 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
43981 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43982 Always define `refsym'.
43984 2011-09-13 Andreas Schwab <schwab@redhat.com>
43986 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43987 (__FD_ELT): Renamed from __FDELT.
43988 * misc/bits/select2.h (__FD_ELT): Likewise.
43989 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43990 __FD_MASK instead of __FDELT, __FDMASK.
43991 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43993 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43996 * elf/Makefile (gen-ldd): Fix pattern.
43998 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43999 (init_tls): Likewise.
44001 2011-09-12 Ulrich Drepper <drepper@gmail.com>
44003 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
44005 2011-09-12 Andreas Schwab <schwab@redhat.com>
44007 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
44008 `struct cmsghdr *' instead of `void *'.
44009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
44012 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
44014 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
44016 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
44017 ldd_rewrite_script.
44019 2011-09-11 Ulrich Drepper <drepper@gmail.com>
44021 * configure.in: Remove --with-tls option.
44022 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
44023 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
44024 out in case it is missing.
44025 * sysdeps/ia64/elf/configure.in: Likewise.
44026 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
44027 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
44028 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
44029 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
44030 * sysdeps/sh/elf/configure.in: Likewise.
44031 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
44032 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44033 * sysdeps/x86_64/elf/configure.in: Likewise.
44034 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
44035 * sysdeps/mach/hurd/tls.h: Likewise.
44038 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
44041 * configure.in: Fix use of AC_INIT.
44043 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
44045 2011-09-10 Ulrich Drepper <drepper@gmail.com>
44047 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
44049 * malloc/hooks.c: Likewise.
44052 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
44053 variables statically.
44054 (narenas): Initialize.
44055 (list_lock): Initialize.
44056 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
44057 initializtion of main_arena and list_lock. Small cleanups.
44058 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
44059 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
44060 Add initializers to main_arena and mp_.
44061 (malloc_state): Remove pagesize member. Change all users to use
44064 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
44065 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
44066 is always initialized.
44068 * malloc/malloc.c: Removed unused configurations and dead code.
44069 * malloc/arena.c: Likewise.
44070 * malloc/hooks.c: Likewise.
44071 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
44073 * include/tls.h: Removed. USE___THREAD must always be defined.
44074 * bits/libc-tsd.h: Don't handle !USE___THREAD.
44075 * elf/dl-libc.c: Likewise.
44076 * elf/dl-tsd.c: Likewise.
44077 * include/errno.h: Likewise.
44078 * include/netdb.h: Likewise.
44079 * include/resolv.h: Likewise.
44080 * inet/herrno-loc.c: Likewise.
44081 * inet/herrno.c: Likewise.
44082 * malloc/arena.c: Likewise.
44083 * malloc/hooks.c: Likewise.
44084 * malloc/malloc.c: Likewise.
44085 * resolv/res-state.c: Likewise.
44086 * resolv/res_libc.c: Likewise.
44087 * sysdeps/i386/dl-machine.h: Likewise.
44088 * sysdeps/ia64/dl-machine.h: Likewise.
44089 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
44090 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
44091 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
44092 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
44093 * sysdeps/sh/dl-machine.h: Likewise.
44094 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44095 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44096 * sysdeps/unix/i386/sysdep.S: Likewise.
44097 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44098 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
44099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
44100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44101 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
44102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44103 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
44104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44105 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44106 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44107 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44108 * sysdeps/x86_64/dl-machine.h: Likewise.
44109 * tls.make.c: Likewise.
44111 * configure.in: Remove --with-__thread option. Make tests for
44112 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
44113 tls_model attribute fail if no support is available. Remove
44115 * Makeconfig: Adjust for dropped configure option. All features are
44117 * Makerules: Likewise.
44118 * Versions.def: Likewise.
44119 * argp/argp-fmtstream.c: Likewise.
44120 * argp/argp-fmtstream.h: Likewise.
44121 * argp/argp-help.c: Likewise.
44122 * assert/assert.c: Likewise.
44123 * config.h.in: Likewise.
44124 * config.make.in: Likewise.
44125 * configure: Likewise.
44126 * configure.in: Likewise.
44127 * csu/Versions: Likewise.
44128 * csu/init.c: Likewise.
44129 * elf/tst-audit2.c: Likewise.
44130 * elf/tst-tls10.c: Likewise.
44131 * elf/tst-tls10.h: Likewise.
44132 * elf/tst-tls11.c: Likewise.
44133 * elf/tst-tls12.c: Likewise.
44134 * elf/tst-tls14.c: Likewise.
44135 * elf/tst-tlsmod11.c: Likewise.
44136 * elf/tst-tlsmod12.c: Likewise.
44137 * elf/tst-tlsmod13.c: Likewise.
44138 * elf/tst-tlsmod13a.c: Likewise.
44139 * elf/tst-tlsmod14a.c: Likewise.
44140 * elf/tst-tlsmod15b.c: Likewise.
44141 * elf/tst-tlsmod16a.c: Likewise.
44142 * elf/tst-tlsmod16b.c: Likewise.
44143 * elf/tst-tlsmod7.c: Likewise.
44144 * elf/tst-tlsmod8.c: Likewise.
44145 * elf/tst-tlsmod9.c: Likewise.
44146 * gmon/gmon.c: Likewise.
44147 * grp/fgetgrent_r.c: Likewise.
44148 * grp/putgrent.c: Likewise.
44149 * hurd/fopenport.c: Likewise.
44150 * include/libc-symbols.h: Likewise.
44151 * include/tls.h: Likewise.
44152 * intl/gettextP.h: Likewise.
44153 * intl/loadinfo.h: Likewise.
44154 * locale/global-locale.c: Likewise.
44155 * locale/localeinfo.h: Likewise.
44156 * mach/devstream.c: Likewise.
44157 * malloc/arena.c: Likewise.
44158 * malloc/set-freeres.c: Likewise.
44159 * misc/err.c: Likewise.
44160 * misc/getttyent.c: Likewise.
44161 * misc/mntent_r.c: Likewise.
44162 * posix/getopt.c: Likewise.
44163 * posix/wordexp.c: Likewise.
44164 * pwd/fgetpwent_r.c: Likewise.
44165 * resolv/Versions: Likewise.
44166 * resolv/res_hconf.c: Likewise.
44167 * shadow/fgetspent_r.c: Likewise.
44168 * shadow/putspent.c: Likewise.
44169 * stdio-common/printf_fphex.c: Likewise.
44170 * stdio-common/tmpfile.c: Likewise.
44171 * stdlib/abort.c: Likewise.
44172 * stdlib/fmtmsg.c: Likewise.
44173 * sunrpc/auth_unix.c: Likewise.
44174 * sunrpc/clnt_perr.c: Likewise.
44175 * sunrpc/clnt_tcp.c: Likewise.
44176 * sunrpc/clnt_udp.c: Likewise.
44177 * sunrpc/clnt_unix.c: Likewise.
44178 * sunrpc/openchild.c: Likewise.
44179 * sunrpc/svc_simple.c: Likewise.
44180 * sunrpc/svc_tcp.c: Likewise.
44181 * sunrpc/svc_udp.c: Likewise.
44182 * sunrpc/svc_unix.c: Likewise.
44183 * sunrpc/xdr.c: Likewise.
44184 * sunrpc/xdr_array.c: Likewise.
44185 * sunrpc/xdr_rec.c: Likewise.
44186 * sunrpc/xdr_ref.c: Likewise.
44187 * sunrpc/xdr_stdio.c: Likewise.
44189 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44191 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44193 2011-07-03 Andreas Jaeger <aj@suse.de>
44195 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
44196 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
44197 regenerate with gen-libm-tests.pl.
44199 2010-05-12 Petr Baudis <pasky@suse.cz>
44202 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
44203 around j0() zero points by switching to j1().
44204 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44205 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44207 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44209 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44211 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
44213 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
44215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44216 Patch in part by Pavel Roskin <proski@gnu.org>.
44219 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
44221 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
44222 Free memory block if necessary.
44225 * libio/genops.c (INTDEF): For string streams the _lock pointer can
44226 be NULL. Don't lock in this case.
44228 2011-09-09 Roland McGrath <roland@hack.frob.com>
44230 * elf/elf.h (ELFOSABI_GNU): New macro.
44231 (ELFOSABI_LINUX): Define to that.
44233 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
44235 * string/strncat.c (strncat): Undef the symbol in case it has been
44236 defined in bits/string.h.
44238 2011-09-09 Ulrich Drepper <drepper@gmail.com>
44240 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
44242 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
44245 2011-08-17 Andreas Jaeger <aj@suse.de>
44247 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
44249 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
44250 Ian Lance Taylor <iant@google.com>
44252 * math/libm-test.inc (lround_test): New testcase.
44253 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
44255 2011-09-08 Ulrich Drepper <drepper@gmail.com>
44257 * Makefile: Remove support for automatic cvs check-ins.
44258 * Makerules: Likewise.
44259 * config.make.in: Likewise.
44260 * configure.in: Likewise.
44261 * intl/Makefile: Likewise.
44262 * locale/Makefile: Likewise.
44263 * po/Makefile: Likewise.
44264 * posix/Makefile: Likewise.
44265 * sysdeps/gnu/Makefile: Likewise.
44266 * sysdeps/mach/hurd/Makefile: Likewise.
44267 * sysdeps/sparc/sparc32/Makefile: Likewise.
44270 * posix/Makefile (bug-regex32-ENV): Define.
44271 Patch by John Stanley <jpsinthemix@verizon.net>.
44273 * misc/Makefile (headers): Add bits/select2.h.
44274 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
44275 * misc/bits/select2.h: New file.
44276 * include/bits/select2.h: New file.
44277 * debug/Makefile (routines): Add fdelt_chk.
44278 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
44279 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
44281 * debug/fdelt_chk.c: New file.
44283 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
44284 * wcsmbs/test-wmemcmp.c: Likewise.
44285 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
44286 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
44288 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44290 * string/Makefile (strop-tests): Add memcmp.
44291 * string/test-wmemcmp.c: New file.
44292 * string/test-memcmp.c: Add wmemcmp support.
44294 2011-09-08 Roland McGrath <roland@hack.frob.com>
44297 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
44300 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
44301 garbage value in a __mach_port_mod_refs call in the cases of the
44302 task-self and thread-self ports.
44304 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
44306 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
44308 2011-09-08 Andreas Schwab <schwab@redhat.com>
44310 * elf/dl-load.c (lose): Check for non-null L.
44312 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44314 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
44316 * elf/dl-libc.c (dlerror_run): Pass back error code from
44320 * elf/dl-load.c (lose): Free l_origin if it is valid.
44322 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
44324 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
44325 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44327 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44328 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
44329 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
44331 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44333 * sysdeps/powerpc/fpu/e_hypot.c: New file.
44334 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
44335 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
44336 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
44337 * sysdeps/powerpc/fpu/k_cosf.c: New file.
44338 * sysdeps/powerpc/fpu/k_sinf.c: New file.
44339 * sysdeps/powerpc/fpu/s_cosf.c: New file.
44340 * sysdeps/powerpc/fpu/s_sinf.c: New file.
44341 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
44342 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
44344 2011-08-15 Alan Modra <amodra@gmail.com>
44347 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
44348 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
44349 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
44350 ppc_mcount to static-only-routines.
44351 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
44353 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
44354 __mcount_internal with usual JUMPTARGET. Remove useless nop.
44356 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
44358 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
44359 for finite and infinity parameters.
44361 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
44364 and add nop instructions for throughput optimization.
44365 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44367 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
44369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
44370 aligned copy for power7 with vector-scalar instructions.
44371 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44373 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
44375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
44378 2011-09-07 Andreas Schwab <schwab@redhat.com>
44381 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
44384 2011-09-07 Ulrich Drepper <drepper@gmail.com>
44386 * sysdeps/unix/sysv/linux/x86_64/init-first.c
44387 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
44388 syscall wrapper around clock_gettime in __vdso_clock_gettime.
44389 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
44392 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44394 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
44395 Forgot to demangle the pointer.
44397 * sysdeps/i386/sysdep.h: Define atom_text_section.
44398 * sysdeps/x86_64/sysdep.h: Likewise.
44399 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
44400 section with atom_text_section.
44401 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
44402 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
44403 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
44404 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44405 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
44407 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
44408 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
44409 already be defined. Change to take two parameters and don't assign
44410 result to variable. Adjust all users.
44411 Define INTERNAL_GETTIME if not already defined.
44412 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
44414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
44415 HAVE_CLOCK_GETTIME_VSYSCALL.
44416 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
44418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
44419 gettimeofday vsyscall, just use time.
44421 2011-09-06 Andreas Schwab <schwab@redhat.com>
44423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
44426 2011-09-06 Ulrich Drepper <drepper@gmail.com>
44428 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
44430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44432 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44433 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44434 syscall if possible.
44436 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44438 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44439 e_ident. Don't pass to find_mapsXX.
44440 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44442 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44445 strchr-sse2-no-bsf strrchr-sse2-no-bsf
44446 * sysdeps/x86_64/multiarch/strchr.S: Update.
44447 Check bit_slow_BSF bit.
44448 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44449 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44450 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44452 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44455 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44457 (tryshell): Define.
44458 (__spawni): Change last parameter to be flag. Test
44459 SPAWN_XFLAGS_USE_PATH flag to use path or not.
44460 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44461 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44462 * posix/spawni.c: Likewise.
44463 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44464 * posix/spawnp.c: Likewise. Change normal version to use
44465 SPAWN_XFLAGS_USE_PATH.
44466 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44467 SPAWN_XFLAGS_TRY_SHELL.
44470 * posix/glob.h: Remove gcc 1.x support.
44473 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44475 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44478 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44480 * sysdeps/i386/i686/multiarch/strchr.S: New file.
44481 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44482 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44483 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44484 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44485 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44487 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44489 * sysdeps/x86_64/wcscmp.S: New file.
44491 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44492 wcscmp-c wcscmp-sse2
44493 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44494 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44495 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44496 * wcsmbs/wcscmp.c: Allow renaming.
44498 2011-09-05 David S. Miller <davem@davemloft.net>
44500 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44501 stack slot, rather than the struct return pointer slot.
44502 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44503 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44505 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44507 2011-09-05 Ulrich Drepper <drepper@gmail.com>
44509 * po/ja.po: Update from translation team.
44512 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44513 kernel in 64-bit binaries.
44515 2011-09-01 David S. Miller <davem@davemloft.net>
44517 * elf/elf.h (HWCAP_SPARC_*): Move to..
44518 * sysdeps/sparc/sysdep.h: this new file and add new values.
44519 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44520 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44521 _DL_HWCAP_COUNT to 24.
44522 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44524 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44525 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44526 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44527 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44528 instead of magic constants.
44529 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44531 2011-08-31 David S. Miller <davem@davemloft.net>
44533 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44534 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44535 Reimplement to do errno handling inline.
44536 (SYSCALL_ERROR_HANDLER): New macro.
44537 (__SYSCALL_STRING): Do not do errno handling in asm.
44538 (__CLONE_SYSCALL_STRING): Delete.
44539 (__INTERNAL_SYSCALL_STRING): Delete.
44540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44541 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44542 (PSEUDO): Reimplement to do errno handling inline.
44543 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44544 (SYSCALL_ERROR_HANDLER): New macro.
44545 (__SYSCALL_STRING): Do not do errno handling in asm.
44546 (__CLONE_SYSCALL_STRING): Delete.
44547 (__INTERNAL_SYSCALL_STRING): Delete.
44548 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44549 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44551 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44552 (inline_syscall*): Add 'err' argument.
44553 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44554 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44555 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44556 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44558 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44559 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44561 2011-08-30 Andreas Schwab <schwab@redhat.com>
44563 * elf/rtld.c (dl_main): Relocate objects in dependency order.
44565 2011-08-29 Jiri Olsa <jolsa@redhat.com>
44567 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44570 2011-08-24 David S. Miller <davem@davemloft.net>
44572 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44574 2011-08-24 Andreas Schwab <schwab@redhat.com>
44576 * elf/Makefile: Add rules to build and run unload8 test.
44577 * elf/unload8.c: New file.
44578 * elf/unload8mod1.c: New file.
44579 * elf/unload8mod1x.c: New file.
44580 * elf/unload8mod2.c: New file.
44581 * elf/unload8mod3.c: New file.
44583 * elf/dl-close.c (_dl_close_worker): Reset private search list if
44586 2011-08-23 David S. Miller <davem@davemloft.net>
44588 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44589 subtract stack bias.
44590 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44591 %sp not %fp in calculations.
44592 (_JMPBUF_UNWINDS_ADJ): Likewise.
44594 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44595 (aio_suspend): Call it to force an exception region around the
44596 AIO_MISC_WAIT() invocation.
44598 2011-08-23 Andreas Schwab <schwab@redhat.com>
44600 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44603 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
44605 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44607 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44608 and <dl-machine.h>.
44609 (Elf64_FuncDesc): Remove.
44611 2011-08-22 David S. Miller <davem@davemloft.net>
44613 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44614 sigaltstack check, add missing cfi directives.
44615 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44616 missing cfi directives, and sigaltstack handling.
44618 2011-08-16 Andreas Schwab <schwab@redhat.com>
44621 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44622 object is seen twice.
44623 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44625 * elf/Makefile (distribute): Add tst-initorder2.c.
44626 (tests): Add tst-initorder2.
44627 (modules-names): Add tst-initorder2a tst-initorder2b
44628 tst-initorder2c tst-initorder2d. Add rules to build them.
44629 ($(objpfx)tst-initorder2.out): New rule.
44630 * elf/tst-initorder2.c: New file.
44631 * elf/tst-initorder2.exp: New file.
44633 2011-08-22 Andreas Schwab <schwab@redhat.com>
44635 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44637 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44638 dependencies back to end of function.
44640 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44641 $(elfobjdir)/ld.so.
44643 2011-08-21 Ulrich Drepper <drepper@gmail.com>
44645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44646 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44647 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44648 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44649 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44650 of __vdso_gettimeofday.
44651 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44652 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
44654 (_libc_vdso_platform_setup): Remove initialization of
44655 __vdso_gettimeofday and __vdso_time.
44657 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44659 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44660 and fgetc_unlocked.
44661 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44664 * elf/dl-open.c (add_to_global): Report additions to the global scope
44665 for LD_DEBUG=scopes.
44666 (dl_open_worker): Also print scope of newly loaded dependencies.
44667 (_dl_show_scope): Indicate if there is no scope.
44670 * stdio-common/Makefile (tests): Add bug24.
44671 * stdio-common/bug24.c: New file.
44673 2011-08-19 Andreas Jaeger <aj@suse.de>
44676 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44677 non-existant file when using close-on-exec mode.
44679 2011-08-20 Ulrich Drepper <drepper@gmail.com>
44681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44682 the very first instruction.
44684 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44685 the CFI state in the end.
44686 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44687 inclusion of dl-trampoline.h.
44688 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44690 2011-08-19 Andreas Schwab <schwab@redhat.com>
44692 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44693 expectations for long double.
44695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44696 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44698 2011-08-14 David S. Miller <davem@davemloft.net>
44700 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44701 artificual limit depends upon the system page size.
44703 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44705 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44706 * resolv/Makefile: Define CFLAGS-libresolv.
44708 2011-08-17 Andreas Schwab <schwab@redhat.com>
44710 * nss/makedb.c (compute_tables): Make variables used in nested
44713 2011-08-17 Ulrich Drepper <drepper@gmail.com>
44715 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44716 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44717 if buffer was too small.
44719 * elf/pldd.c (main): Attach to all threads in the process.
44720 Rewrite /proc handling to use *at functions.
44722 2011-08-16 Ulrich Drepper <drepper@gmail.com>
44724 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44725 specifies first scope to show.
44726 (dl_open_worker): Update callers. Move printing scope of new
44727 object to before the relocation.
44728 * elf/rtld.c (dl_main): Update _dl_show_scope call.
44729 * sysdeps/generic/ldsodefs.h: Update declaration.
44731 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44732 string for the scope number.
44734 2011-08-14 Ulrich Drepper <drepper@gmail.com>
44736 * nscd/servicescache.c (cache_addserv): Make sure written is always
44739 2011-08-14 Roland McGrath <roland@hack.frob.com>
44741 * sysdeps/i386/i486/bits/atomic.h
44742 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44743 statement expression, so as to suppress "set but not used" warning.
44744 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44746 * string/strncat.c (STRNCAT): Use prototype definition.
44748 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44749 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44751 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44752 (localedef-modules): Add localedef.
44753 (locale-modules): Add locale.
44755 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44756 * elf/rtld.c (dl_main): Invert order of assignment in last change,
44757 to avoid a warning.
44759 2011-08-14 David S. Miller <davem@davemloft.net>
44761 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44762 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44764 2011-08-13 Ulrich Drepper <drepper@gmail.com>
44766 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44767 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44768 * elf/rtld.c (dl_main): Set l_name of vDSO.
44769 Call _dl_show_scope when DL_DEBUG_SCOPES.
44770 (process_dl_debug): Recognize scopes flag and also set it for all.
44771 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44772 Declare _dl_show_scope.
44774 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44775 (do_dlopen): Pass caller_dlopen to dl_open.
44776 (__libc_dlopen_mode): Initialize caller_dlopen.
44778 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44779 of libc. Make tolower call locale-independent. Optimize a bit by
44780 using isdigit instead of isalnum.
44781 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44783 2011-08-12 Ulrich Drepper <drepper@gmail.com>
44785 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44786 was a dependency or dynamically loaded.
44788 2011-08-11 Ulrich Drepper <drepper@gmail.com>
44790 * intl/l10nflist.c: Allow architecture-specific pop function.
44791 * sysdeps/x86_64/l10nflist.c: New file.
44793 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44796 2011-08-10 Andreas Schwab <schwab@redhat.com>
44798 * include/dirent.h: Add libc_hidden_proto for scandirat and
44799 scandirat64. Don't declare __scandirat64.
44800 * dirent/scandirat.c: Add libc_hidden_def.
44801 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44802 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44804 2011-08-10 David S. Miller <davem@davemloft.net>
44806 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44808 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44809 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44810 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44812 2011-08-09 Ulrich Drepper <drepper@gmail.com>
44814 * Versions.def [libc]: Add GLIBC_2.15.
44815 * dirent/Makefile (routines): Add scandirat and scandirat64.
44816 * dirent/Versions [libc]: Export scandirat and scandirat64 for
44818 * dirent/dirent.h: Declare scandirat and scandirat64.
44819 * dirent/scandirat.c: New file.
44820 * dirent/scandirat64.c: New file.
44821 * sysdeps/wordsize-64/scandirat.c: New file.
44822 * sysdeps/wordsize-64/scandirat64.c: New file.
44823 * dirent/opendir.c: Define opendirat.
44824 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
44826 * dirent/scandir64.c: Adjust for scandir.c change.
44827 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
44828 __scandirat64, and __scandir_cancel_handler.
44829 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
44830 additional parameter and use openat instead of open (outside of ld.so).
44831 Add new __opendir as wrapper around __opendirat.
44832 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44833 here without requiring old scandirat implementation.
44835 2011-08-08 Ulrich Drepper <drepper@gmail.com>
44837 * dirent/scandir.c (cancel_handler): Renamed to
44838 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
44839 defined. Adjust users.
44840 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44841 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44843 2011-08-04 Ulrich Drepper <drepper@gmail.com>
44845 * string/test-string.h (IMPL): Use __STRING to expand name and then
44848 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
44851 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44853 * string/Makefile: Update.
44854 (strop-tests): Append strncat.
44855 * string/test-wcscmp.c: New file.
44856 New comprehensive test for wcscmp.
44857 * string/test-strcmp.c: Update.
44858 (WIDE): New define.
44860 2011-07-22 Andreas Schwab <schwab@redhat.com>
44862 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44865 2011-07-26 Andreas Schwab <schwab@redhat.com>
44867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44868 encoding to ACE if AI_IDN.
44870 2011-08-01 Jakub Jelinek <jakub@redhat.com>
44872 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44873 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44875 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44877 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44878 Fix overflow bug in strncat.
44879 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44881 * string/test-strncat.c: Update.
44882 Add new tests for checking overflow bugs.
44884 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
44886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44887 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44888 * sysdeps/i386/i686/multiarch/strcat.S: New file.
44889 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44890 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44891 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44892 * sysdeps/i386/i686/multiarch/strncat.S: New file.
44893 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44894 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44896 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44897 (USE_AS_STRCAT): Define.
44898 Add strcat and strncat support.
44899 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44901 2011-07-25 Andreas Schwab <schwab@redhat.com>
44903 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44904 __n bigger than INT_MAX+1.
44905 (__strncmp_g): Likewise.
44907 2011-07-23 Ulrich Drepper <drepper@gmail.com>
44909 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44910 * libio/stido.h: Likewise.
44912 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44917 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44918 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44919 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44920 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44921 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44924 * scripts/test-installation.pl: Don't expect libnss_test1 to be
44927 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44929 (_dl_x86_64_save_sse): Likewise.
44931 2011-07-22 Ulrich Drepper <drepper@gmail.com>
44933 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44935 (_dl_x86_64_save_sse): Likewise.
44937 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44939 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44941 2011-07-21 Andreas Schwab <schwab@redhat.com>
44943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44945 (_dl_x86_64_save_sse): Use correct AVX check.
44947 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44949 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44950 bug in strncpy/strncat.
44951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44953 2011-07-21 Ulrich Drepper <drepper@gmail.com>
44955 * string/tester.c (test_strcat): Add tests for different alignments
44956 of source and destination.
44957 (test_strncat): Likewise.
44959 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44962 * posix/glob.c (glob): Check passed in values before using them in
44963 expressions to avoid some overflows.
44964 (glob_in_dir): Likewise.
44967 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44968 check for AVX enablement so that we don't crash with old kernels and
44970 * elf/tst-audit4.c: Add same checks here.
44971 * elf/tst-audit6.c: Likewise.
44973 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44975 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
44977 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44979 2011-07-20 Ulrich Drepper <drepper@gmail.com>
44981 * po/cs.po: Update from translation team.
44982 * po/bg.po: Likewise.
44984 2011-07-12 Marek Polacek <mpolacek@redhat.com>
44986 * misc/sys/cdefs.h: Add support for const attribute.
44987 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44988 to gnu_dev_{major,minor,makedev} functions.
44990 2011-07-20 Marek Polacek <mpolacek@redhat.com>
44992 * intl/dcigettext.c (get_output_charset): Add missing bracket.
44994 2011-07-20 Andreas Schwab <schwab@redhat.com>
44996 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44999 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45001 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
45002 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
45003 register in order to avoid conflicts with the soft frame pointer
45004 being held in r11 when necessary.
45005 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
45006 (INTERNAL_VSYSCALL_NCS): Likewise.
45008 2011-07-14 Marek Polacek <mpolacek@redhat.com>
45010 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
45011 * elf/dl-fini.c (_dl_fini): Adjust caller.
45012 * elf/dl-close.c (_dl_close_worker): Likewise.
45013 * sysdeps/generic/ldsodefs.h: Adjust declaration.
45015 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45017 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
45018 "aux_cache->nlibs < 0".
45020 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
45021 in the reload-count case.
45023 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45026 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
45027 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
45028 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
45029 * sysdeps/x86_64/multiarch/strcat.S: New file.
45030 * sysdeps/x86_64/multiarch/strncat.S: New file.
45031 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
45032 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
45033 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
45034 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
45035 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
45036 (USE_AS_STRCAT): Define.
45037 Add strcat and strncat support.
45038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45039 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
45040 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
45041 * string/strncat.c: Update.
45042 (USE_AS_STRNCAT): Define.
45043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45044 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
45046 * sysdeps/x86_64/multiarch/init-arch.h
45047 (bit_Prefer_PMINUB_for_stringop): New.
45048 (index_Prefer_PMINUB_for_stringop): Likewise.
45049 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
45050 bit_Prefer_PMINUB_for_stringop.
45052 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45054 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
45056 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
45057 of casting of buffer.
45058 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
45059 buffer32 and buffer64.
45060 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
45061 writes instead of casting of buffer.
45062 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
45064 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
45067 2011-07-19 Andreas Schwab <schwab@redhat.com>
45069 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
45071 2011-07-19 Ulrich Drepper <drepper@gmail.com>
45073 * nscd/nscd.c (termination_handler): Don't do anything for a database
45074 if it has not yet been initialized.
45076 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45078 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45080 2011-07-15 Marek Polacek <mpolacek@redhat.com>
45082 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
45084 2011-07-18 Ulrich Drepper <drepper@gmail.com>
45086 * po/nl.po: Update from translation team.
45087 * po/sv.po: Likewise.
45089 2011-07-16 Roland McGrath <roland@hack.frob.com>
45091 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
45092 now disallowed by GCC.
45094 * configure.in (use-default-link): Default to yes if a test -shared
45095 link meets our qualifications.
45096 * configure: Regenerated.
45098 * config.make.in (output-format): New variable.
45099 * configure.in: Check for ld --print-output-format support.
45100 * configure: Regenerated.
45101 * Makerules ($(common-objpfx)format.lds)
45102 [$(output-format) != unknown]: Just use $(output-format),
45103 instead of the linker-script munging.
45105 2011-07-14 Roland McGrath <roland@hack.frob.com>
45107 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
45108 of $(common-objpfx)shlib.lds.
45109 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
45111 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
45112 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
45114 * configure.in (-z relro check): Adjust test code to add a large
45115 writable data section after it.
45116 * configure: Regenerated.
45118 2011-07-11 Roland McGrath <roland@hack.frob.com>
45120 * configure.in (-z relro check): Fix test code to make the variable
45122 * configure: Regenerated.
45124 2011-07-11 Ulrich Drepper <drepper@gmail.com>
45126 * nscd/nscd.h (struct traced_file): Define.
45127 (struct database_dyn): Remove inotify_descr, reset_res, and filename
45128 elements. Add traced_files.
45129 (inotify_fd): Declare.
45130 (register_traced_file): Declare.
45131 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
45132 (inotify_fd): Export.
45133 (resolv_conf_descr): Remove.
45134 (nscd_init): Move inotify descriptor creation to main.
45135 Don't register files for notification here.
45136 (register_traced_file): New function.
45137 (invalidate_cache): Don't use reset_res to determine whether to call
45138 res_init, go through the list of registered files.
45139 (main_loop_poll): The inotify descriptors are now stored in the
45140 structures for the traced files.
45141 (main_loop_epoll): Likewise
45142 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
45143 to __nss_disable_nscd.
45144 * nscd/cache.c (prune_cache): There is no single inotify descriptor
45145 for a database anymore. Check the records for all the registered
45147 * nss/Makefile (libnss_files-routines): Add files-init.
45148 (libnss_db-routines): Add db-init.
45149 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
45150 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
45151 * nss/nss_db/db-init.c: New file.
45152 * nss/nss_files/files-init.c: New file.
45153 * nss/nsswitch.c (nss_load_library): New function. Broken out of
45154 __nss_lookup_function.
45155 (__nss_lookup_function): Call nss_load_library.
45156 (nss_load_all_libraries): New function.
45157 (__nss_disable_nscd): Take parameter with callback function for files
45158 to register. Set is_nscd. Load all the DSOs for the NSS modules
45159 used for the cached services.
45160 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
45161 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
45162 options for features to all the files in nscd.
45164 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
45166 2011-07-10 Roland McGrath <roland@hack.frob.com>
45168 * csu/elf-init.c (__libc_csu_init): Comment typo.
45170 2011-07-09 Ulrich Drepper <drepper@gmail.com>
45172 * po/pl.po: Update from translation team.
45173 * po/ja.po: Likewise.
45174 * po/ru.po: Likewise.
45175 * po/ko.po: Likewise.
45176 * po/fr.po: Likewise.
45178 2011-07-09 Roland McGrath <roland@hack.frob.com>
45180 * configure.in (.ctors/.dtors header and trailer check):
45181 Use an empirical test on a built program.
45182 * configure: Regenerated.
45184 * configure.in (-z relro check): Use an empirical test on a built DSO.
45185 Detect, but do not require, on ia64.
45186 * configure: Regenerated.
45188 * configure.in (READELF): Find it with AC_CHECK_TOOL.
45189 Update tests that use readelf to use $READELF instead.
45190 * configure: Regenerated.
45192 2011-07-08 Ulrich Drepper <drepper@gmail.com>
45194 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
45195 if the result is not used.
45197 2011-07-05 Andreas Jaeger <aj@suse.de>
45200 * stdlib/tst-strtod.c: Add testcase.
45202 2011-07-07 Ulrich Drepper <drepper@gmail.com>
45204 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
45205 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
45206 The latter has a higher limit. Take additional parameter to pass to
45208 (__pathconf): Pass file to __statfs_link_max.
45209 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
45211 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
45215 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
45216 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45218 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
45219 (__statfs_filesize_max): Likewise.
45220 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
45222 2011-07-05 Andreas Jaeger <aj@suse.de>
45224 * resolv/res_comp.c (dn_skipname): Remove unused variable.
45226 2011-07-06 Marek Polacek <mpolacek@redhat.com>
45228 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
45230 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
45233 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
45235 * Makefile (strop-tests): Add strncat.
45236 * string/test-strncat.c: New file.
45238 2011-06-30 Marek Polacek <mpolacek@redhat.com>
45240 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
45242 2011-06-21 Andreas Jaeger <aj@suse.de>
45244 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
45245 Copy rule from iconvdata/Makefile.
45247 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45250 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
45251 but no long options are defined, just return 'W'.
45253 2011-06-22 Marek Polacek <mpolacek@redhat.com>
45256 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
45258 2011-07-06 Ulrich Drepper <drepper@gmail.com>
45260 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
45262 (innetgr): Likewise.
45264 2011-07-05 Roland McGrath <roland@hack.frob.com>
45266 * config.make.in (install_root): Default to $(DESTDIR).
45268 2011-07-05 Ulrich Drepper <drepper@gmail.com>
45270 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
45272 2011-07-02 Roland McGrath <roland@hack.frob.com>
45274 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
45276 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
45277 containing directory rather than embedding absolute directory names.
45279 * scripts/check-local-headers.sh: Rewritten using awk.
45280 Match by word, not by line. Print error messages for matches.
45281 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
45283 * Makerules [shlib-lds-flags empty]:
45284 ($(common-objpfx)libc_pic.opts): New target.
45285 ($(common-objpfx)libc_pic.os.clean): New target.
45286 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
45288 * config.make.in (OBJCOPY): New variable.
45289 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
45290 * configure: Regenerated.
45292 * config.make.in (use-default-link): New variable.
45293 * configure.in (use_default_link): Grok --with-default-link to set it.
45294 * configure: Regenerated.
45295 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
45296 (shlib-lds, shlib-lds-flags): Define to empty.
45298 * Makerules (shlib-lds): New variable.
45299 (shlib-lds-flags): New variable.
45300 (build-shlib, build-moduile, build-module-asneeded): Use it.
45301 ($(common-objpfx)libc.so): Use $(shlib-lds).
45302 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
45303 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
45305 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
45306 DT_FLAGS/DT_FLAGS_1 with zero flags.
45308 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
45309 linker script munging.
45311 2011-07-02 Ulrich Drepper <drepper@gmail.com>
45313 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
45315 * crypt/sha512.c (sha512_process_block): Perform total addition using
45316 128-bit if possible.
45317 (__sha512_finish_ctx): Likewise.
45318 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
45320 * crypt/sha256.c (SWAP64): Define.
45321 (sha256_process_block): Perform total addition using 64-bit if
45323 (__sha256_finish_ctx): Likewise.
45325 2011-07-01 Ulrich Drepper <drepper@gmail.com>
45327 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
45328 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45329 * nscd/hstcache.c (cache_addhst): Likewise.
45330 * nscd/grpcache.c (cache_addgr): Likewise.
45331 * nscd/aicache.c (addhstaiX): Likewise
45332 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
45334 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
45336 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
45337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45338 * nscd/hstcache.c (cache_addhst): Likewise.
45339 * nscd/grpcache.c (cache_addgr): Likewise.
45340 * nscd/aicache.c (addhstaiX): Likewise
45342 2011-07-01 Andreas Schwab <schwab@redhat.com>
45344 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
45345 domain only when needed.
45347 2011-06-30 Andreas Schwab <schwab@redhat.com>
45349 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
45350 is always restored.
45352 2011-06-29 Ulrich Drepper <drepper@gmail.com>
45354 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
45355 are re-adding the entry.
45356 * nscd/servicescache.c (cache_addserv): Likewise.
45358 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
45360 * sysdeps/generic/dl-irel.h: fix protection against multiple
45362 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
45364 2011-06-28 Ulrich Drepper <drepper@gmail.com>
45367 * malloc/memusage.sh: Fix quoting in message.
45368 * debug/xtrace.sh: Likewise.
45370 * configure.in: Remove support for --experimental-malloc option, make
45372 * config.make.in: Likewise.
45373 * malloc/Makefile: Likewise.
45375 2011-06-27 Andreas Schwab <schwab@redhat.com>
45377 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
45378 two-byte characters.
45380 2011-06-27 Roland McGrath <roland@hack.frob.com>
45382 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
45383 AC_CACHE_CHECK invocation.
45384 * configure: Regenerated.
45386 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
45388 2011-06-27 Ulrich Drepper <drepper@gmail.com>
45391 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
45392 bit from old_res_options.
45394 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
45396 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
45397 value type for setfct.
45399 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
45401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45402 __gettimeofday instead of gettimeofday.
45404 2011-06-26 Ulrich Drepper <drepper@gmail.com>
45406 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
45408 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
45410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
45412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
45415 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45418 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45419 strcpy-sse2-unaligned strncpy-sse2-unaligned
45420 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
45421 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
45422 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
45423 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
45424 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
45425 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
45426 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
45427 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
45428 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
45429 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45430 (STRCPY): Support SSE2 and SSSE3 versions.
45432 2011-06-24 Ulrich Drepper <drepper@gmail.com>
45435 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45436 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45437 kernels which artificially limit size of requests.
45439 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
45441 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45442 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45443 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45444 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45445 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45446 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45447 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45448 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45449 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45451 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45452 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45453 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45454 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45455 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45457 Enable unaligned load optimization for Intel Core i3, i5 and i7
45459 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45461 (index_Fast_Unaligned_Load): Define.
45462 (HAS_FAST_UNALIGNED_LOAD): Define.
45464 2011-06-23 Marek Polacek <mpolacek@redhat.com>
45466 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45468 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45471 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45472 until it is clear that the information is realy needed.
45473 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45475 2011-06-22 Andreas Schwab <schwab@redhat.com>
45477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45479 2011-06-22 Ulrich Drepper <drepper@gmail.com>
45481 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45482 /sys/devices/system/cpu/online if it is usable.
45484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45485 reading the information from the /proc filesystem to once a second.
45487 2011-06-21 Andreas Jaeger <aj@suse.de>
45489 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45490 NULL after inclusion of kernel headers.
45492 2011-06-21 Ulrich Drepper <drepper@gmail.com>
45494 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45495 calls to internal_setent.
45498 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45499 addresses using gethostbyname4_r ignore IPv4 addresses.
45501 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45502 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
45504 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45506 2011-06-20 David S. Miller <davem@davemloft.net>
45508 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45510 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45512 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45513 (elf_irel): Use it.
45514 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45515 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45516 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45517 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45518 * sysdeps/x86_64/dl-irel.h: Likewise.
45520 * elf/dl-runtime.c: Use elf_ifunc_invoke.
45521 * elf/dl-sym.c: Likewise.
45523 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45525 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
45526 need to dereference resplen2.
45528 2011-06-14 Andreas Schwab <schwab@redhat.com>
45530 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45532 2011-06-15 Ulrich Drepper <drepper@gmail.com>
45534 * Makeconfig: Define vardbdir and inst_vardbdir.
45535 * nss/Makefile: Add rules to install db-Makefile.
45537 * nss/nss_db/db-XXX.c: Cleanup.
45539 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45540 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45542 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45543 * nss/makedb.c: Implement -g option to specify that value strings
45544 are generated and should not be added to table iterated over for
45546 * nss/nss_db/db-initgroups.c: New file.
45548 * nss/getent.c: Add support for initgroups lookups through getgrouplist
45551 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45552 (internal_getgrouplist): Adjust to name change.
45553 Update use_initgroups_entry if this is not the first call.
45554 * nss/databases.def: Add initgroups entry.
45556 * nss/makedb.c (compute_tables): Check result of multiple hash table
45557 sizes to minimize maximum chain length.
45559 2011-06-14 Ulrich Drepper <drepper@gmail.com>
45561 * Versions.def: Add entry for libnss_db.
45562 * shlib-versions: Likewise.
45563 * nss/Makefile: Add rules to build libnss_db.
45564 * nss/Versions: Add libnss_db information. Organize libnss_files
45566 * nss/db-Makefile: Add gshadow support. Change rules for the new
45567 makedb progra. Some minor improvements to generate smaller files.
45568 * nss/nss_db/nss_db.h: Move NSS database header data structures to
45570 * nss/makedb.c: ...here.
45571 Improve database format to be smaller and require less memory at
45573 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
45575 * nss/nss_db/db-netgrp.c: Likewise.
45576 * nss/nss_db/db-open.c: Likewise.
45577 * nss/nss_files/flies-XXX.x: Adjust comments.
45578 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45579 * nss/nss_files/files-grp.c: Likewise.
45580 * nss/nss_files/files-hosts.c: Likewise.
45581 * nss/nss_files/files-network.c: Likewise.
45582 * nss/nss_files/files-proto.c: Likewise.
45583 * nss/nss_files/files-pwd.c: Likewise.
45584 * nss/nss_files/files-rpc.c: Likewise.
45585 * nss/nss_files/files-service.c: Likewise.
45586 * nss/nss_files/files-sgrp.c: Likewise.
45587 * nss/nss_files/files-spwd.c: Likewise.
45588 * nss/nss_db/db-alias.c: Removed.
45589 * nss/nss_db/dummy-db.h: Removed.
45591 2011-06-02 Ulrich Drepper <drepper@gmail.com>
45593 * nss/makedb.c: Rewritten to not use database library.
45594 * nss/Makefile: Update to build new makedb program.
45596 2011-06-14 Andreas Jaeger <aj@suse.de>
45598 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45599 memset declaration.
45601 2011-06-10 Andreas Schwab <schwab@redhat.com>
45603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45606 2011-06-10 Roland McGrath <roland@hack.frob.com>
45608 * Makerules (shlib.lds): Fail if the linker script comes out empty.
45609 * elf/Makefile ($(objpfx)ld.so): Likewise.
45611 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45612 Don't list ld.so twice in dependencies.
45614 * posix/bug-regex31.c: Include <stdlib.h>.
45616 * nscd/hstcache.c (cache_addhst): Remove unused variable.
45618 * nis/nss_compat/compat-spwd.c
45619 (getspent_next_nss_netgr): Remove unused variable.
45620 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45622 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45623 nonmembers" output to use the right array.
45625 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45627 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45629 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45630 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45631 * catgets/gencat.c (read_input_file): Likewise.
45632 * locale/programs/locarchive.c (enlarge_archive): Likewise.
45634 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45635 variable definition inside #if's controlling its use.
45637 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45639 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45641 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45643 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45646 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45648 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45649 * configure: Regenerated.
45651 * Makerules: Revert last change.
45652 * elf/Makefile: Likewise.
45654 2011-06-09 Roland McGrath <roland@hack.frob.com>
45656 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45657 * elf/Makefile ($(objpfx)librtld.os): Likewise.
45658 (reloc-link): Likewise.
45660 2011-06-09 Ulrich Drepper <drepper@gmail.com>
45662 * elf/Makefile: Add rules to build pldd.
45663 * elf/pldd.c: New file.
45664 * elf/pldd-xx.c: New file.
45666 2011-06-07 Ulrich Drepper <drepper@gmail.com>
45668 * version.h: Update for 2.15 development version.
45670 2011-06-07 David S. Miller <davem@davemloft.net>
45672 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45675 elf_machine_lazy_rel): Likewise.
45676 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45677 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45678 elf_machine_lazy_rel): Likewise.
45679 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45680 dl_hwcap via passed in argument.
45681 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45684 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45686 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
45688 2011-06-06 Roland McGrath <roland@hack.frob.com>
45691 * manual/fdl-1.1.texi: New file, verbatim from:
45692 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45693 * manual/lgpl-2.1.texi: New file, verbatim from:
45694 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45695 * manual/Makefile (licenses): New variable, list those new file names.
45697 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45699 * manual/fdl.texi: File removed.
45700 * manual/lesser.texi: File removed.
45701 * manual/libc.texinfo (Copying, Documentation License):
45702 Use new @include file names, put @appendix directive before @include.
45704 2011-06-04 Jakub Jelinek <jakub@redhat.com>
45707 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45708 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45709 (mq_open): Add __NTH.
45711 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
45713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45714 Assume Intel Core i3/i5/i7 processor if AVX is available.
45716 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45718 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45721 2011-05-31 Andreas Schwab <schwab@redhat.com>
45723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45724 memory. Use alloca_account. Fix memory leak when retrying.
45726 2011-05-31 Ulrich Drepper <drepper@gmail.com>
45728 * version.h (RELEASE): Bump for 2.14 release.
45729 * include/features.h (__GLIBC_MINOR__): Bump to 14.
45731 * config.make.in (RANLIB): Remove entry.
45733 2011-05-30 Ulrich Drepper <drepper@gmail.com>
45735 * po/Makefile (po-sed-cmd): Add ksh to extensions.
45736 (libc.pot): Work around missing support for .ksh extension in xgettext.
45739 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45740 if both request failed.
45741 (send_dg): In case of server errors clear resplen or *resplen2.
45744 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45745 when there are multiple maps.
45746 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45747 (_dl_fini): Remove test here.
45749 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45751 2011-05-29 Ulrich Drepper <drepper@gmail.com>
45754 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45755 bit from old_res_options.
45756 (gaih_inet): Likewise.
45759 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45762 * resolv/res_init.c (res_setoptions): Make the code more compact.
45765 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45769 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45771 * malloc/malloc.h: Mark malloc hook variables as deprecated.
45774 * malloc/malloc.h: Declare malloc hook variables as volatile.
45776 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45780 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45781 raise in the comment.
45782 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45783 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45784 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45786 2011-05-28 Ulrich Drepper <drepper@gmail.com>
45789 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45790 grow the buffers more if it already has to be sufficient.
45791 (build_wcs_upper_buffer): Likewise.
45792 * posix/regexec.c (check_matching): Likewise.
45793 (clean_state_log_if_needed): Likewise.
45794 (extend_buffers): Don't enlarge buffers beyond size of the input
45796 Patches mostly by Emil Wojak <emil@wojak.eu>.
45797 * posix/bug-regex32.c: New file.
45798 * posix/Makefile (tests): Add bug-regex32.
45800 * locale/findlocale.c (_nl_find_locale): Return right away if
45801 _nl_explode_name failed.
45802 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45804 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45806 * debug/xtrace.sh: Unify messages.
45807 * malloc/memusage.sh: Likewise.
45810 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45811 time symbol from vDSO. Substitute with vsyscall if not available.
45812 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45815 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45816 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45817 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45818 Add sendmmsg and internal_sendmmsg.
45819 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45820 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45821 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45823 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45824 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45825 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45827 2011-05-27 Ulrich Drepper <drepper@gmail.com>
45830 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45831 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
45833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45837 * iconvdata/Makefile (tests): Add bug-iconv9.
45838 * iconvdata/bug-iconv9.c: New file.
45840 2011-05-27 Andreas Schwab <schwab@redhat.com>
45843 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45845 2011-05-25 Jakub Jelinek <jakub@redhat.com>
45847 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45848 (struct user_regs_struct): Change intcs field back to cs.
45850 2011-05-25 Ulrich Drepper <drepper@gmail.com>
45852 * po/ja.po: Update from translation team.
45854 2011-05-23 Ulrich Drepper <drepper@gmail.com>
45857 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45858 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45860 2011-05-20 Andreas Schwab <schwab@redhat.com>
45862 * stdlib/longlong.h: Update from GCC.
45864 2011-05-23 Andreas Schwab <schwab@redhat.com>
45866 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45868 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45869 Add parameter name.
45870 (__sysconf): Pass it down.
45872 2011-05-22 Ulrich Drepper <drepper@gmail.com>
45875 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45877 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45878 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45879 add in in __libc_use_alloca calls. Adjust callers.
45880 (glob): Use malloc in some situations.
45882 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45883 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45886 2011-05-21 Ulrich Drepper <drepper@gmail.com>
45888 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45889 and CLOCK_BOOTTIME_ALARM.
45892 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45895 * string/_strerror.c (__strerror_r): Print negative errors as signed
45899 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45900 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45901 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45903 * configure.in: Fix typo in redirection and correct removal of test
45904 files in two cases.
45907 * locale/setlocale.c (new_composite_name): Fix test to check for
45908 identical name of all categories.
45911 * libio/filedoalloc.c (local_isatty): New function.
45912 (_IO_file_doallocate): Use local_isatty.
45913 * stdio-common/perror.c (perror): In case a new stream is used
45914 forward the stream error.
45915 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45918 2011-05-20 Ulrich Drepper <drepper@gmail.com>
45921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45923 * include/alloca.h (extend_alloca_account): Define.
45926 * posix/regex.h: Fix comments with documentation of user-accessible
45927 fields after compilation and describe correct free'ing of pattern
45928 after re_compile_pattern.
45929 Patch by Reuben Thomas <rrt@sc3d.org>.
45931 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
45933 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45934 and -mno-altivec to prevent the compiler from using Altivec and/or
45935 VSX instructions when the corresponding registers are not available.
45937 2011-05-19 Andreas Schwab <schwab@redhat.com>
45939 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45941 2011-05-19 Ulrich Drepper <drepper@gmail.com>
45943 * libio/freopen.c (freopen): Use __dup2, not dup2.
45944 * libio/freopen64.c (freopen64): Likewise.
45946 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
45949 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45950 * math/Makefile (tests): Add test-powl.
45951 (CFLAGS-test-powl.c): Define.
45952 * math/test-powl.c: New file.
45954 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
45956 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45958 2011-05-17 Ulrich Drepper <drepper@gmail.com>
45961 * iconvdata/gb18030.c: Update to GB18020-2005.
45963 2011-05-16 Ulrich Drepper <drepper@gmail.com>
45965 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45966 RE_SYNTAX_POSIX_AWK): Update to match recent development.
45967 Patch by Aharon Robbins <arnold@skeeve.com>.
45970 * stdlib/putenv.c (putenv): Don't always create copy of the variable
45974 * misc/pselect.c (__pselect): Handle timeout value errors hidden
45975 through underflows.
45978 * misc/error.c (error_at_line): Ensure file_name and old_file_name
45979 point to strings before performing equality test for error_one_per_line
45983 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45986 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45987 (struct user_fpregs_struct): Avoid __uint*_t types.
45990 * malloc/mtrace.c (tr_where): Add additional parameter to point to
45991 symbol info. Use it instead of calling _dl_addr locally.
45992 (lock_and_info): New function.
45993 (tr_freehook): Call lock_and_info and pass symbol info as additional
45994 parameter to tr_where.
45995 (tr_mallochook): Likewise.
45996 (tr_reallochook): Likewise.
45997 (tr_memalignhook): Likewise.
45999 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
46000 used and couldn't be at all thread-safe.
46002 2011-05-15 Ulrich Drepper <drepper@gmail.com>
46004 * libio/freopen.c (freopen): Don't close old file descriptor
46005 before the new one is opened. Instead dup the new file descriptor
46006 to the old one after the new stream is created.
46007 * libio/freopen64.c (freopen64): Likewise.
46008 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
46009 * libio/fileops.c (_IO_new_file_close_it): Handle new
46010 _IO_FLAGS2_NOCLOSE flag.
46011 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
46012 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
46013 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
46014 _IO_FLAGS2_NOCLOSE flag.
46015 * include/unistd.h: Add hidden_proto for dup3.
46016 Define __have_dup3.
46017 * io/dup3.c: Define hidden symbol.
46018 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
46021 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
46022 when an incomplete long option is used.
46023 * posix/tst-getopt_long1.c: New file.
46024 * posix/Makefile (tests): Add tst-getopt_long1.
46027 * scripts/config.guess: Update from autoconf-2.68.
46028 * scripts/config.sub: Likewise.
46031 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
46033 (has_cpuclock): ...this. New function.
46034 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
46035 macro here based on has_cpuclock code.
46038 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46039 First byte (not low byte) is now always NUL.
46040 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
46042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46043 Use non-cancelable interfaces.
46046 * locale/iso-639.def: Add entry for Sorani.
46049 * include/stdlib.h: Move include protection to the right place.
46050 Define abort_msg_s. Declare __abort_msg with it.
46051 * stdlib/abort.c (__abort_msg): Adjust type.
46052 * assert/assert.c (__assert_fail_base): New function. Majority
46053 of code from __assert_fail. Allocate memory for __abort_msg with
46055 (__assert_fail): Now call __assert_fail_base.
46056 * assert/assert-perr.c: Remove bulk of implementation. Use
46057 __assert_fail_base.
46058 * include/assert.hL Declare __assert_fail_base.
46059 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
46061 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
46063 2011-05-14 Ulrich Drepper <drepper@gmail.com>
46067 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
46068 until all modules are registered in the DTV.
46069 * elf/Makefile: Add rules to build and run tst-tls19.
46070 * elf/tst-tls19.c: New file.
46071 * elf/tst-tls19mod1.c: New file.
46072 * elf/tst-tls19mod2.c: New file.
46073 * elf/tst-tls19mod3.c: New file.
46074 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
46077 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
46081 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
46082 two-byte sequence errors.
46083 * iconvdata/Makefile (tests): Add bug-iconv8.
46084 * iconvdata/bug-iconv8.c: New file.
46087 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
46090 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
46093 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
46094 (dummy_getcfa): New function.
46095 (init): Get _Unwind_GetCFA address, use dummy if not found.
46096 (backtrace_helper): In recursion check, also check whether CFA changes.
46097 (__backtrace): Completely initialize arg.
46099 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
46100 storing incomplete byte sequence in state object. Avoid testing for
46101 guaranteed too small input if we know there is enough data available.
46103 2011-05-11 Andreas Schwab <schwab@redhat.com>
46105 * Makeconfig (+link-pie): Indent.
46106 * Rules (binaries-pie): Define if $(have-fpie) and
46108 (binaries-shared): Also filter out $(binaries-pie).
46109 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
46110 * nscd/Makefile (others-pie): Add nscd.
46111 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
46112 ($(objpfx)nscd): Remove command override.
46113 * login/Makefile (others-pie): Add pt_chown.
46114 ($(objpfx)pt_chown): Remove command override.
46115 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
46116 remove command overrides.
46118 2011-05-13 Ulrich Drepper <drepper@gmail.com>
46120 * libio/tst_putwc.c: Fix error messages.
46123 * libio/fileops.c (_IO_new_file_close_it): Always flush when
46124 currently writing and seek to current position when not.
46125 * libio/Makefile (tests): Add bug-fclose1.
46126 * libio/bug-fclose1.c: New file.
46128 2011-05-12 Ulrich Drepper <drepper@gmail.com>
46131 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
46132 don't set DF_1_NODELETE here.
46133 (do_lookup_x): When entering new entry test for copy relocation
46134 and if necessary set DF_1_NODELETE flag.
46135 * elf/tst-unique4.cc: New file.
46136 * elf/tst-unique4.h: New file.
46137 * elf/tst-unique4lib.cc: New file.
46138 * elf/Makefile: Add rules to build and run tst-unique4.
46139 Patch by Piotr Bury <pbury@goahead.com>.
46141 2011-05-11 Ulrich Drepper <drepper@gmail.com>
46144 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
46147 * misc/mntent_r.c (addmntent): Flush the stream after the output
46150 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
46151 (is_trusted_path_normalize): Skip initial colon. Append slash
46152 to empty buffer. Duplicate is_trusted_path code but allow
46153 constructed patch to be prefix.
46154 (is_dst): Allow $ORIGIN followed by /.
46155 (_dl_dst_substitute): Correct clearing of check_for_trusted.
46156 Correct testing of result of is_trusted_path_normalize
46157 (decompose_rpath): Fix warning.
46159 2011-05-10 Ulrich Drepper <drepper@gmail.com>
46162 * grp/initgroups.c (internal_getgrouplist): When we found the service
46163 list through the initgroups entry in nsswitch.conf do not always
46164 continue on a successful lookup. Don't always use the
46165 __nss_group_database value if it is set.
46166 * nss/nsswitch.conf (initgroups): Change action for successful db
46167 lookup to continue for compatibility.
46169 2011-05-09 Ulrich Drepper <drepper@gmail.com>
46172 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
46174 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
46176 * iconvdata/tst-tables.sh: Likewise.
46177 * iconvdata/cp770.c: New file.
46178 * iconvdata/cp771.c: New file.
46179 * iconvdata/cp772.c: New file.
46180 * iconvdata/cp773.c: New file.
46181 * iconvdata/cp774.c: New file.
46182 * iconvdata/testdata/CP770: New file.
46183 * iconvdata/testdata/CP770..UTF8: New file.
46184 * iconvdata/testdata/CP771: New file.
46185 * iconvdata/testdata/CP771..UTF8: New file.
46186 * iconvdata/testdata/CP772: New file.
46187 * iconvdata/testdata/CP772..UTF8: New file.
46188 * iconvdata/testdata/CP773: New file.
46189 * iconvdata/testdata/CP773..UTF8: New file.
46190 * iconvdata/testdata/CP774: New file.
46191 * iconvdata/testdata/CP774..UTF8: New file.
46193 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
46195 * iconvdata/gen-8bit-gap.sh: Likewise.
46196 * iconvdata/gen-8bit.sh: Likewise.
46198 * locale/iso-639.def: Add ary entry.
46201 * locale/C-translit.h.in: Add U20A1 transliteration.
46204 * locale/iso-639.def: Add wae entry.
46205 Patch by Kevin Bortis <bortis@translate-wae.ch>.
46208 * locale/programs/localedef.c (construct_output_path): Use ssize_t
46212 * locale/C-translit.h.in: Add entry for U20B9.
46213 Patch by pravin.d.s@gmail.com.
46215 2011-05-08 Ulrich Drepper <drepper@gmail.com>
46218 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
46219 ENAMETOOLONG use generic getcwd.
46220 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
46221 in rtld. Use *stat64.
46222 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
46223 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
46224 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
46225 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
46226 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
46227 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
46228 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
46229 __fstatat64 macros.
46230 * include/dirent.h: Add libc_hidden_proto for rewinddir.
46231 * dirent/rewinddir.c: Add libc_hidden_def.
46232 * sysdeps/mach/hurd/rewinddir.c: Likewise.
46233 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
46235 * include/dirent.h (__alloc_dir): Add flags parameter.
46236 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
46237 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
46239 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
46240 from fdopendir if O_CLOEXEC is already set.
46242 2011-03-15 Alan Modra <amodra@gmail.com>
46244 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
46245 l_tls_firstbyte_offset non-zero. Save padding offset in
46246 l_tls_firstbyte_offset for later use.
46247 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
46248 freeing static tls block.
46250 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
46252 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
46253 where #ifdef was intended. The intent is to prevent ARG_MAX from
46254 being defined by the kernel headers.
46256 2011-05-07 Ulrich Drepper <drepper@gmail.com>
46259 * resolv/resolv.h: Define RES_NOTLDQUERY.
46260 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
46261 no-tld-query and set RES_NOTLDQUERY.
46262 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
46263 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
46264 modern BIND to search name as TLD unless forbidden.
46266 2011-05-07 Petr Baudis <pasky@suse.cz>
46267 Ulrich Drepper <drepper@gmail.com>
46270 * elf/dl-load.c (fillin_rpath): Move trusted path check...
46271 (is_trusted_path): ...to here.
46272 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
46273 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
46274 using is_trusted_path_normalize() in setuid scripts.
46276 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46278 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
46279 __BEGIN/__END_DECLS.
46281 2011-05-06 Ulrich Drepper <drepper@gmail.com>
46283 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
46284 NSS_STATUS_NOTFOUND if no record was found.
46286 2011-05-05 Andreas Schwab <schwab@redhat.com>
46288 * sunrpc/Makefile (headers): Add rpc/netdb.h.
46289 (headers-not-in-tirpc): Remove rpc/netdb.h
46290 * resolv/netdb.h: Revert last change.
46292 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
46294 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
46295 circular dependency between libgcc.a and libc.a.
46297 2011-05-05 Andreas Schwab <schwab@redhat.com>
46299 * resolv/netdb.h: Don't include <rpc/netdb.h>.
46300 * nis/Makefile: Don't install rpcsvc/*.
46301 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
46302 instead of <rpc/types.h>.
46303 (MAXHOSTNAMELEN): Define.
46305 2011-05-03 Andreas Schwab <schwab@redhat.com>
46307 * elf/ldconfig.c (add_dir): Don't crash on empty path.
46309 2011-04-28 Maciej Babinski <mbabinski@google.com>
46312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
46313 gethostbyname4_r when IPv6 results are possible.
46315 2011-05-02 Ulrich Drepper <drepper@gmail.com>
46318 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
46319 _PC_PIPE_BUF handling.
46321 2011-04-30 Bruno Haible <bruno@clisp.org>
46324 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
46325 * resolv/netdb.h (getnameinfo): Change type of flags parameter
46327 * inet/getnameinfo.c (getnameinfo): Likewise.
46329 2011-04-29 Ulrich Drepper <drepper@gmail.com>
46331 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
46332 to groups setting in database lookup.
46333 * nss/nsswitch.conf: Add initgroups entry.
46335 2011-04-22 Ulrich Drepper <drepper@gmail.com>
46338 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
46340 Patch by Eric Blake <eblake@redhat.com>.
46342 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
46344 * sunrpc/Makefile (need-export-routines): Add svc_run.
46345 (routines): Remove svc_run.
46346 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
46347 * sunrpc/clnt_perr.c (clnt_perrno): Export.
46348 * sunrpc/svc_run.c (svc_run): Likewise.
46349 * sunrpc/svc_udp.c (svcudp_create): Likewise.
46351 2011-04-21 Ulrich Drepper <drepper@gmail.com>
46353 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
46354 problem in reallocation in last patch.
46356 2011-04-20 Ulrich Drepper <drepper@gmail.com>
46358 * sunrpc/Makefile: Move inclusion of Rules.
46360 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46362 * nss/nss_files/files-initgroups.c: New file.
46363 * nss/Makefile (libnss_files-routines): Add files-initgroups.
46364 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
46365 _nss_files_initgroups_dyn.
46367 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
46369 * elf/elf.h (R_ARM_IRELATIVE): Define.
46371 2011-04-19 Ulrich Drepper <drepper@gmail.com>
46373 * po/ru.po: Update from translation team.
46375 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46377 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
46380 2011-02-06 Mike Frysinger <vapier@gentoo.org>
46383 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
46384 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
46385 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46386 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46387 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46389 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
46391 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
46393 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46397 2011-04-17 Ulrich Drepper <drepper@gmail.com>
46400 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
46402 * stdlib/bug-getcontext.c: New file.
46403 * stdlib/Makefile: Add rules to build and run bug-getcontext.
46405 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46407 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
46408 instructions into .machine "z9-109".
46409 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
46410 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
46412 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46414 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
46415 between environment variables and auxiliary vector.
46417 2011-04-16 Ulrich Drepper <drepper@gmail.com>
46419 * Makefile: Add rules to build linkobj/libc.so.
46420 * include/libc-symbols.h: Define libc_hidden_nolink.
46421 * include/rpc/auth.h: Mark functions which are to be hidden.
46422 * include/rpc/auth_des.h: Likewise.
46423 * include/rpc/auth_unix.h: Likewise.
46424 * include/rpc/clnt.h: Likewise.
46425 * include/rpc/des_crypt.h: Likewise.
46426 * include/rpc/key_prot.h: Likewise.
46427 * include/rpc/pmap_clnt.h: Likewise.
46428 * include/rpc/pmap_prot.h: Likewise.
46429 * include/rpc/pmap_rmt.h: Likewise.
46430 * include/rpc/rpc_msg.h: Likewise.
46431 * include/rpc/svc.h: Likewise.
46432 * include/rpc/svc_auth.h: Likewise.
46433 * include/rpc/xdr.h: Likewise.
46434 * nis/Makefile: Link all DSOs against linkobj/libc.so.
46435 * nss/Makefile: Likewise.
46436 * sunrpc/Makefile: Don't install headers. Build library with normal
46437 entry points. Don't build rpcinfo. Link RPC tests appropriately.
46438 * sunrpc/auth_des.c: Hide exported symbols by default, export some
46439 for the compat linking library. Remove use of INTDEF/INTUSE.
46440 * sunrpc/auth_none.c: Likewise.
46441 * sunrpc/auth_unix.c: Likewise.
46442 * sunrpc/authdes_prot.c: Likewise.
46443 * sunrpc/authuxprot.c: Likewise.
46444 * sunrpc/clnt_gen.c: Likewise.
46445 * sunrpc/clnt_perr.c: Likewise.
46446 * sunrpc/clnt_raw.c: Likewise.
46447 * sunrpc/clnt_simp.c: Likewise.
46448 * sunrpc/clnt_tcp.c: Likewise.
46449 * sunrpc/clnt_udp.c: Likewise.
46450 * sunrpc/clnt_unix.c: Likewise.
46451 * sunrpc/des_crypt.c: Likewise.
46452 * sunrpc/des_soft.c: Likewise.
46453 * sunrpc/get_myaddr.c: Likewise.
46454 * sunrpc/key_call.c: Likewise.
46455 * sunrpc/key_prot.c: Likewise.
46456 * sunrpc/netname.c: Likewise.
46457 * sunrpc/pm_getmaps.c: Likewise.
46458 * sunrpc/pm_getport.c: Likewise.
46459 * sunrpc/pmap_clnt.c: Likewise.
46460 * sunrpc/pmap_prot.c: Likewise.
46461 * sunrpc/pmap_prot2.c: Likewise.
46462 * sunrpc/pmap_rmt.c: Likewise.
46463 * sunrpc/publickey.c: Likewise.
46464 * sunrpc/rpc_cmsg.c: Likewise.
46465 * sunrpc/rpc_common.c: Likewise.
46466 * sunrpc/rpc_dtable.c: Likewise.
46467 * sunrpc/rpc_prot.c: Likewise.
46468 * sunrpc/rpc_thread.c: Likewise.
46469 * sunrpc/rtime.c: Likewise.
46470 * sunrpc/svc.c: Likewise.
46471 * sunrpc/svc_auth.c: Likewise.
46472 * sunrpc/svc_authux.c: Likewise.
46473 * sunrpc/svc_raw.c: Likewise.
46474 * sunrpc/svc_run.c: Likewise.
46475 * sunrpc/svc_simple.c: Likewise.
46476 * sunrpc/svc_tcp.c: Likewise.
46477 * sunrpc/svc_udp.c: Likewise.
46478 * sunrpc/svc_unix.c: Likewise.
46479 * sunrpc/svcauth_des.c: Likewise.
46480 * sunrpc/xcrypt.c: Likewise.
46481 * sunrpc/xdr.c: Likewise.
46482 * sunrpc/xdr_array.c: Likewise.
46483 * sunrpc/xdr_float.c: Likewise.
46484 * sunrpc/xdr_intXX_t.c: Likewise.
46485 * sunrpc/xdr_mem.c: Likewise.
46486 * sunrpc/xdr_rec.c: Likewise.
46487 * sunrpc/xdr_ref.c: Likewise.
46488 * sunrpc/xdr_sizeof.c: Likewise.
46489 * sunrpc/xdr_stdio.c: Likewise.
46491 2011-04-10 Ulrich Drepper <drepper@gmail.com>
46494 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46495 * sysdeps/ia64/dl-tls.h: Likewise.
46496 * sysdeps/powerpc/dl-tls.h: Likewise.
46497 * sysdeps/s390/dl-tls.h: Likewise.
46498 * sysdeps/sh/dl-tls.h: Likewise.
46499 * sysdeps/sparc/dl-tls.h: Likewise.
46500 * sysdeps/x86_64/dl-tls.h: Likewise.
46501 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46503 2011-03-14 Andreas Schwab <schwab@redhat.com>
46505 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46506 rpath element also skip the following colon.
46507 (expand_dynamic_string_token): Add is_path parameter and pass
46508 down to DL_DST_REQUIRED and _dl_dst_substitute.
46509 (decompose_rpath): Call expand_dynamic_string_token with
46510 non-zero is_path. Ignore empty rpaths.
46511 (_dl_map_object_from_fd): Call expand_dynamic_string_token
46514 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
46516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46519 2011-04-09 Ulrich Drepper <drepper@gmail.com>
46522 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46523 Patch by Filipe David Manana <fdmanana@apache.org>.
46525 2011-04-07 Andreas Schwab <schwab@redhat.com>
46527 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46528 Maintain aligned stack.
46529 (CHECK_RSP): Remove unused macro.
46531 2011-04-03 Ulrich Drepper <drepper@gmail.com>
46533 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46534 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46536 2011-04-02 Ulrich Drepper <drepper@gmail.com>
46538 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46540 * include/features.h: Mention __USE_XOPEN2K8 in comment.
46542 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
46545 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46546 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46547 * sysdeps/x86_64/memmove.c: New file.
46548 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46549 (memcpy): Renamed to ...
46550 (__new_memcpy): This.
46551 (memcpy): Provide GLIBC_2_14 memcpy.
46552 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46553 (memcpy): Provide GLIBC_2_2_5 memcpy.
46555 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46558 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46560 2011-03-30 Andreas Schwab <schwab@redhat.com>
46562 * misc/syncfs.c: New file.
46563 * misc/Makefile (routines): Add syncfs.
46564 * posix/unistd.h: Declare syncfs.
46565 * sysdeps/unix/syscalls.list: Add syncfs.
46567 2011-04-01 Andreas Schwab <schwab@redhat.com>
46569 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46572 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46574 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46576 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46579 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46582 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46583 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46585 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46586 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46587 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46589 * io/Makefile: Compile fallocate.c, fallocate64.c, and
46590 sync_file_range.c with -fexceptions.
46591 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46592 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46593 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46594 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46595 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46596 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46598 sync_file_range as cancellation point
46599 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
46600 now a wrapper around __call_sync_file_range with cancellation handling.
46601 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46602 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
46603 function name to __call_sync_file_range.
46604 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46605 Add call_sync_file_range.
46607 2011-04-01 Andreas Schwab <schwab@redhat.com>
46609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46612 2011-04-01 Ulrich Drepper <drepper@gmail.com>
46614 * iconv/iconv.h: Fix typo in comment.
46615 * io/fcntl.h: Likewise.
46616 * libio/stdio.h: Likewise.
46617 * posix/spawn.h: Likewise.
46618 * posix/unistd.h: Likewise.
46619 * stdlib/stdlib.h: Likewise.
46620 * time/time.h: Likewise.
46621 * wcsmbs/wchar.h: Likewise.
46623 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46624 open_by_handle): Add.
46625 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46626 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
46627 Augment a few comments.
46628 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46630 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46632 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46633 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46636 * io/fcntl.h (AT_EMPTY_PATH): Define.
46638 2011-03-30 Ulrich Drepper <drepper@gmail.com>
46640 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46641 * sysdeps/unix/sysv/linux/bits/time.h: New file.
46642 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46644 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
46645 * Versions.def: Add GLIBC_2.14.
46646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46649 2011-03-22 Ulrich Drepper <drepper@gmail.com>
46651 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46653 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46655 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
46658 * string/test-strncmp.c (do_page_test): New function.
46659 (check2): Likewise.
46660 (test_main): Call check2.
46661 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46663 2011-03-20 Ulrich Drepper <drepper@gmail.com>
46666 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46667 Handle cache information in CPU leaf 4.
46668 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46670 2011-03-18 Ulrich Drepper <drepper@gmail.com>
46673 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46674 character representation.
46675 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46677 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
46679 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46680 END(__isnan) to END(__isnanf) to match function entry point/label
46681 EALIGN(__isnanf,...).
46683 2011-03-10 Jakub Jelinek <jakub@redhat.com>
46685 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46687 2011-03-10 Ulrich Drepper <drepper@gmail.com>
46690 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46691 copy from the symbol referenced in the relocation to initialize the
46693 Patch by Piotr Bury <pbury@goahead.com>.
46694 * elf/Makefile: Add rules to build and tst-unique3.
46695 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46696 * elf/tst-unique3.cc: New file.
46697 * elf/tst-unique3.h: New file.
46698 * elf/tst-unique3lib.cc: New file.
46699 * elf/tst-unique3lib2.cc: New file.
46701 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46703 2011-03-10 Mike Frysinger <vapier@gentoo.org>
46705 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46706 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
46709 2011-03-06 Ulrich Drepper <drepper@gmail.com>
46711 * elf/dl-load.c (_dl_map_object): If we are looking for the first
46712 to-be-loaded object along a path to loader is ld.so.
46714 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46715 Ulrich Drepper <drepper@gmail.com>
46717 * sysdeps/x86_64/memset.S: After aligning destination, code
46718 branches to different locations depending on the value of
46719 misalignment, when multiarch is enabled. Fix this.
46721 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
46723 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46724 Set _x86_64_preferred_memory_instruction for AMD processsors.
46725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46726 Set bit_Prefer_SSE_for_memop for AMD processors.
46728 2011-03-04 Ulrich Drepper <drepper@gmail.com>
46730 * libio/fmemopen.c (fmemopen): Optimize a bit.
46732 2011-03-03 Andreas Schwab <schwab@redhat.com>
46734 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46736 2011-03-03 Roland McGrath <roland@redhat.com>
46738 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46740 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
46742 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46743 __bzero_ultra1 instead of __memset_ultra1.
46745 2011-02-23 Andreas Schwab <schwab@redhat.com>
46746 Ulrich Drepper <drepper@gmail.com>
46749 * include/link.h (struct link_map): Add l_orig_initfini.
46750 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46751 returning unsuccessfully.
46752 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46753 close of a file loaded at startup, restore the original l_initfini
46755 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46756 list, store the pointer.
46757 * elf/Makefile ($(objpfx)noload-mem): New rule.
46758 (noload-ENV): Define.
46759 (tests): Add $(objpfx)noload-mem.
46760 * elf/noload.c: Include <memcheck.h>.
46761 (main): Call mtrace. Close all opened handles.
46763 2011-02-17 Andreas Schwab <schwab@redhat.com>
46766 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46767 dependencies are missing.
46769 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
46771 Fix __if_freereq crash: Unlike the generic version which uses free,
46773 * sysdeps/mach/hurd/ifreq.h: New file.
46775 2011-01-27 Petr Baudis <pasky@suse.cz>
46776 Ulrich Drepper <drepper@gmail.com>
46779 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46780 to extend_alloca().
46781 * stdio-common/bug23.c: New file.
46782 * stdio-common/Makefile (tests): Add bug23.
46784 2010-09-28 Andreas Schwab <schwab@redhat.com>
46785 Ulrich Drepper <drepper@gmail.com>
46788 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46789 before performing relro protection. At old place add assertion
46790 to make sure nothing changed.
46792 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
46793 Glauber de Oliveira Costa <glommer@gmail.com>
46795 * elf/elf.h: Add new ARM TLS relocs.
46797 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
46799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46800 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46802 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
46804 * sysdeps/wordsize-64/tst-writev.c: New file.
46806 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
46808 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46809 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46810 insns in _dl_start to prevent a TOC reference before relocs are
46813 2011-02-15 Ulrich Drepper <drepper@gmail.com>
46816 * Makeconfig: Remove RANLIB definition.
46817 * Makerules: Don't use RANLIB.
46818 * aclocal.m4: Remove ranlib test.
46819 * configure.in: No need to check for ranlib.
46820 * elf/rtld-Rules: Don't use RANLIB.
46822 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
46824 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46826 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46827 inclusion protection macro.
46829 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46830 SIGRTMIN and SIGRTMAX and print information in that case only when
46831 SIGRTMIN is defined.
46833 2011-02-11 Jakub Jelinek <jakub@redhat.com>
46835 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46836 arginfo fn returning -1.
46838 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46839 and thousands string is zero terminated.
46841 2011-02-03 Andreas Schwab <schwab@redhat.com>
46843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46844 sysdeps/unix/sysv/linux/bits/socket.h.
46846 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
46848 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46849 (__CPU_COUNT): Remove old macros.
46850 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46851 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46852 (__CPU_ALLOC, __CPU_FREE): Add macros.
46853 (__sched_cpualloc, __sched_cpufree): Add declarations.
46855 2011-02-05 Ulrich Drepper <drepper@gmail.com>
46857 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46858 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46859 * nscd/aicache.c (addhstaiX): Return timeout of added value.
46860 (readdhstai): Return value of addhstaiX call.
46861 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46862 (addgrbyX): Return value returned by cache_addgr.
46863 (readdgrbyname): Return value returned by addgrbyX.
46864 (readdgrbygid): Likewise.
46865 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46866 (addpwbyX): Return value returned by cache_addpw.
46867 (readdpwbyname): Return value returned by addhstbyX.
46868 (readdpwbyuid): Likewise.
46869 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46870 (addservbyX): Return value returned by cache_addserv.
46871 (readdservbyname): Return value returned by addservbyX:
46872 (readdservbyport): Likewise.
46873 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46874 (addhstbyX): Return value returned by cache_addhst.
46875 (readdhstbyname): Return value returned by addhstbyX.
46876 (readdhstbyaddr): Likewise.
46877 (readdhstbynamev6): Likewise.
46878 (readdhstbyaddrv6): Likewise.
46879 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46880 (readdinitgroups): Return value returned by addinitgroupsX.
46881 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46882 (prune_cache): Keep track of timeout value of re-added entries.
46883 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46884 * nscd/nscd.h: Adjust prototypes of readd* functions.
46886 2011-02-04 Roland McGrath <roland@redhat.com>
46888 * nis/nis_server.c (nis_servstate): Use the right name for 0.
46889 (nis_stats): Likewise.
46890 * nis/nis_modify.c (nis_modify): Likewise.
46891 * nis/nis_remove.c (nis_remove): Likewise.
46892 * nis/nis_add.c (nis_add): Likewise.
46894 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46896 * posix/fnmatch_loop.c: Add some consts.
46898 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46900 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
46903 * config.make.in (config-cflags-novzeroupper): Define.
46904 * configure.in: Substitute libc_cv_cc_novzeroupper.
46905 * elf/Makefile (AVX-CFLAGS): Define.
46906 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46907 (CFLAGS-tst-auditmod4a.c): Likewise.
46908 (CFLAGS-tst-auditmod4b.c): Likewise.
46909 (CFLAGS-tst-auditmod6b.c): Likewise.
46910 (CFLAGS-tst-auditmod6c.c): Likewise.
46911 (CFLAGS-tst-auditmod7b.c): Likewise.
46912 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46914 2011-02-02 Ulrich Drepper <drepper@gmail.com>
46916 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46917 function to the callback.
46918 Patch partly by Jiri Olsa <jolsa@redhat.com>.
46920 2011-02-02 Andreas Schwab <schwab@redhat.com>
46922 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46925 2011-01-19 Ulrich Drepper <drepper@gmail.com>
46928 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46930 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46932 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46935 * elf/Makefile: Add rules to build and run new test.
46936 * elf/tst-initorder.c: New file.
46937 * elf/tst-initorder.exp: New file.
46938 * elf/tst-initordera1.c: New file.
46939 * elf/tst-initordera2.c: New file.
46940 * elf/tst-initordera3.c: New file.
46941 * elf/tst-initordera4.c: New file.
46942 * elf/tst-initorderb1.c: New file.
46943 * elf/tst-initorderb2.c: New file.
46944 * elf/tst-order-a1.c: New file.
46945 * elf/tst-order-a2.c: New file.
46946 * elf/tst-order-a3.c: New file.
46947 * elf/tst-order-a4.c: New file.
46948 * elf/tst-order-b1.c: New file.
46949 * elf/tst-order-b2.c: New file.
46950 * elf/tst-order-main.c: New file.
46951 New test case by George Gensure <werkt0@gmail.com>.
46953 2010-10-01 Andreas Schwab <schwab@redhat.com>
46955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46956 decoding ACE if AI_CANONIDN.
46958 2011-01-18 Ulrich Drepper <drepper@gmail.com>
46960 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46962 2011-01-17 Ulrich Drepper <drepper@gmail.com>
46964 * version.h (RELEASE): Bump for 2.13 release.
46965 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46967 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46969 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46971 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46972 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46973 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46975 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46976 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46978 * posix/getconf.c: Update copyright year.
46979 * catgets/gencat.c: Likewise.
46980 * csu/version.c: Likewise.
46981 * debug/catchsegv.sh: Likewise.
46982 * debug/xtrace.sh: Likewise.
46983 * elf/ldconfig.c: Likewise.
46984 * elf/ldd.bash.in: Likewise.
46985 * elf/sprof.c (print_version): Likewise.
46986 * iconv/iconv_prog.c: Likewise.
46987 * iconv/iconvconfig.c: Likewise.
46988 * locale/programs/locale.c: Likewise.
46989 * locale/programs/localedef.c: Likewise.
46990 * malloc/memusage.sh: Likewise.
46991 * malloc/mtrace.pl: Likewise.
46992 * nscd/nscd.c (print_version): Likewise.
46993 * nss/getent.c: Likewise.
46995 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46996 PF_CAIF, and PF_ALG.
46997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46999 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
47001 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
47002 (modules-names): Use them.
47003 (ifunc-test-modules, ifunc-pie-tests): Define.
47004 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
47005 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
47006 (test-extras): Likewise.
47007 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
47008 $(compile-command.c).
47009 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
47010 (all-built-dso): Define.
47011 (check-textrel.out, check-execstack.out): Depend on it.
47013 * configure.in: Don't override --enable-multi-arch.
47015 2011-01-15 Ulrich Drepper <drepper@gmail.com>
47018 * nscd/hstcache.c (tryagain): Define.
47019 (cache_addhst): Return tryagain not notfound for temporary errors.
47020 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
47023 2011-01-14 Ulrich Drepper <drepper@gmail.com>
47026 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
47027 to make the syscall.
47028 * sysdeps/unix/sysv/linux/setgroups.c: New file.
47031 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
47032 and fall back to matching as normal character if the string ends before
47033 the matching ']' is found. This is what POSIX requires.
47034 * posix/testfnm.c: Adjust test result.
47035 * posix/globtest.sh: Adjust test result. Add new test.
47036 * posix/tst-fnmatch.input: Likewise.
47037 * posix/tst-fnmatch2.c: Add new test.
47039 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
47041 * elf/Makefile (check-execstack): Revert last change. Depend on
47043 (check-execstack.h): New target.
47044 (generated): Add check-execstack.h.
47045 * elf/check-execstack.c: Include "check-execstack.h".
47046 (main): Revert last change.
47047 (handle_file): Return zero if GNU_STACK is absent and
47048 DEFAULT_STACK_PERMS doesn't include PF_X.
47050 2011-01-13 Ulrich Drepper <drepper@gmail.com>
47052 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
47053 in child fails because the descriptor is already closed.
47054 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
47055 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
47056 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
47059 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
47063 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
47064 temporary buffer used to handle multi lookups locally.
47065 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
47067 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47069 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
47072 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
47074 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
47075 alignment for SSE2.
47077 2011-01-12 Ulrich Drepper <drepper@gmail.com>
47080 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
47081 characters. When rounding increased number of integer digits recompute
47083 * stdio-common/tst-grouping.c: New file.
47084 * stdio-common/Makefile: Add rules to build and run tst-grouping.
47086 2011-01-09 Ulrich Drepper <drepper@gmail.com>
47088 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
47089 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
47091 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
47093 * bits/select.h: Likewise.
47095 2011-01-08 Ulrich Drepper <drepper@gmail.com>
47097 * po/ja.po: Update from translation team.
47099 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
47102 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
47103 implementation just like for lxstat, fxstatat, et al.
47105 2010-12-27 Jim Meyering <meyering@redhat.com>
47108 * posix/regexec.c (build_trtable): Return failure indication upon
47109 calloc failure. Otherwise, re_search_internal could infloop on OOM.
47111 2010-12-25 Ulrich Drepper <drepper@gmail.com>
47114 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
47115 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
47116 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
47117 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
47120 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
47123 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
47124 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
47126 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
47128 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
47129 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
47130 script has SORT_BY_INIT_PRIORITY.
47131 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
47132 NO_CTORS_DTORS_SECTIONS is defined.
47133 * elf/soinit.c: Likewise.
47134 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
47135 NO_CTORS_DTORS_SECTIONS is defined.
47136 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
47137 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
47138 * sysdeps/sh/init-first.c: Likewise.
47139 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
47141 2010-12-24 Ulrich Drepper <drepper@gmail.com>
47143 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
47144 always use the slow path.
47146 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
47148 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
47149 similar rule which adds the sysdep directories to the header search in
47150 order to pick up the correct platform stackinfo.h.
47151 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
47152 perform test if it is, otherwise return successfully without testing.
47153 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
47154 DEFAULT_STACK_PERMS define in stackinfo.h.
47155 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
47156 defined in stackinfo.h.
47157 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
47158 DEFAULT_STACK_PERMS defined in stackinfo.h.
47159 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
47160 * sysdeps/ia64/stackinfo.h: Likewise.
47161 * sysdeps/s390/stackinfo.h: Likewise.
47162 * sysdeps/sh/stackinfo.h: Likewise.
47163 * sysdeps/sparc/stackinfo.h: Likewise.
47164 * sysdeps/x86_64/stackinfo.h: Likewise.
47165 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
47166 PF_X for powerpc64. Retain PF_X for powerpc32.
47168 2010-12-19 Ulrich Drepper <drepper@gmail.com>
47170 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
47172 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
47173 GETDENTS_64BIT_ALIGNED.
47175 2010-12-14 Ulrich Drepper <dreper@gmail.com>
47177 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
47179 2010-12-10 Andreas Schwab <schwab@redhat.com>
47181 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
47184 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
47185 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
47187 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
47188 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
47190 2010-12-09 Ulrich Drepper <drepper@gmail.com>
47193 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
47196 2010-12-09 Jakub Jelinek <jakub@redhat.com>
47198 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
47200 2010-12-03 Ulrich Drepper <drepper@gmail.com>
47202 * po/it.po: Update from translation team.
47204 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
47206 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
47209 2010-11-30 Ulrich Drepper <drepper@gmail.com>
47211 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
47213 2010-11-24 Andreas Schwab <schwab@redhat.com>
47215 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
47217 (gaih_getanswer_slice): Likewise.
47219 2010-10-20 Jakub Jelinek <jakub@redhat.com>
47221 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
47223 2010-05-31 Petr Baudis <pasky@suse.cz>
47226 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
47227 silently even in the chroot mode.
47229 2010-11-22 Ulrich Drepper <drepper@gmail.com>
47231 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
47232 last patch a bit. Pretty printing
47234 2010-05-31 Petr Baudis <pasky@suse.cz>
47237 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
47238 initialization of skip_initgroups_dyn.
47240 2010-11-19 Ulrich Drepper <drepper@gmail.com>
47242 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
47243 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
47245 2010-11-16 Ulrich Drepper <drepper@gmail.com>
47247 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
47249 2010-11-11 Andreas Schwab <schwab@redhat.com>
47251 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
47252 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
47253 (tst-fnmatch-ENV): Set MALLOC_TRACE.
47254 ($(objpfx)tst-fnmatch-mem): New rule.
47255 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
47256 * posix/tst-fnmatch.c (main): Call mtrace.
47258 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
47260 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47261 Support Intel processor model 6 and model 0x2c.
47263 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
47265 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
47268 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
47271 * string/test-strncasecmp.c (check_result): New function.
47272 (do_one_test): Use it.
47273 (check1): New function.
47274 (test_main): Use it.
47275 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
47276 Support strcasecmp and strncasecmp.
47278 2010-11-08 Ulrich Drepper <drepper@gmail.com>
47281 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
47282 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47284 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
47286 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
47288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47290 * sysdeps/x86_64/multiarch/bzero.S: New file.
47291 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
47292 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
47293 * sysdeps/x86_64/multiarch/memset.S: New file.
47294 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
47295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47296 Set bit_Prefer_SSE_for_memop for Intel processors.
47297 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
47299 (index_Prefer_SSE_for_memop): Define.
47300 (HAS_PREFER_SSE_FOR_MEMOP): Define.
47302 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
47304 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
47305 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
47307 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
47310 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47311 (__x86_64_raw_data_cache_size_half): Likewise.
47312 (__x86_64_raw_shared_cache_size): Likewise.
47313 (__x86_64_raw_shared_cache_size_half): Likewise.
47315 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
47316 (__x86_64_raw_data_cache_size_half): Likewise.
47317 (__x86_64_raw_shared_cache_size): Likewise.
47318 (__x86_64_raw_shared_cache_size_half): Likewise.
47319 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
47320 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
47321 and __x86_64_raw_shared_cache_size_half. Round
47322 __x86_64_data_cache_size_half, __x86_64_data_cache_size
47323 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
47324 to multiple of 256 bytes.
47326 2010-11-03 Ulrich Drepper <drepper@gmail.com>
47329 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
47330 of inacessible symlinks. Verify result of symlink before returning it.
47331 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47332 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
47334 2010-10-28 Erich Ritz <erichritz@gmail.com>
47336 * math/math.h (isinf): Fix typo in comment.
47338 2010-11-01 Ulrich Drepper <drepper@gmail.com>
47340 * po/da.po: Update from translation team.
47342 2010-10-26 Ulrich Drepper <drepper@gmail.com>
47344 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
47345 is added to the list.
47347 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47348 Ulrich Drepper <drepper@gmail.com>
47350 * elf/dl-object.c (_dl_new_object): Don't append the new object to
47351 the global list here. Move code to...
47352 (_dl_add_to_namespace_list): ...here. New function.
47353 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
47354 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
47355 * elf/dl-load.c (lose): Don't remove the element from the list.
47356 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
47357 (_dl_map_object): Likewise.
47359 2010-10-25 Ulrich Drepper <drepper@gmail.com>
47362 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
47363 into all bytes of SSE register.
47364 Patch by Richard Li <richardpku@gmail.com>.
47366 2010-10-24 Ulrich Drepper <drepper@gmail.com>
47369 * malloc/malloc.c (_int_free): Fill correct number of bytes when
47372 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
47374 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
47375 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
47376 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
47377 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
47380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
47382 2010-10-22 Andreas Schwab <schwab@redhat.com>
47384 * include/dlfcn.h (__RTLD_SECURE): Define.
47385 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
47386 mode & __RTLD_SECURE instead.
47387 (open_path): Rename preloaded parameter to secure.
47388 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
47389 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
47390 * elf/dl-deps.c (openaux): Likewise.
47391 * elf/rtld.c (struct map_args): Remove is_preloaded.
47392 (map_doit): Don't use it.
47393 (dl_main): Likewise.
47394 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
47395 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
47397 2010-09-09 Andreas Schwab <schwab@redhat.com>
47399 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
47400 (sysd-rules-targets): Remove duplicates.
47401 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
47402 rtld-%.$o dependency.
47404 2010-10-18 Andreas Schwab <schwab@redhat.com>
47406 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
47407 _dl_map_object do it.
47409 2010-10-19 Ulrich Drepper <drepper@gmail.com>
47411 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
47412 fast fma builtins, define the macros in the C99 standard.
47413 (FP_FAST_FMAF): Likewise.
47414 (FP_FAST_FMAL): Likewise.
47415 * sysdeps/x86_64/bits/mathdef.h: Likewise.
47417 * bits/mathdef.h: Update copyright year.
47418 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47420 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
47422 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
47423 builtins, define the macros in the C99 standard.
47424 (FP_FAST_FMAF): Likewise.
47425 (FP_FAST_FMAL): Likewise.
47426 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
47428 (FP_FAST_FMAF): Likewise.
47430 2010-10-15 Jakub Jelinek <jakub@redhat.com>
47433 * math/libm-test.inc (fma_test): Some new testcases.
47434 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47436 y and infinite z. Do multiplication by C already in long double.
47437 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47439 y and infinite z. Do bitwise or of inexact bit into u.d.
47440 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47441 * sysdeps/i386/fpu/s_fmaf.S: Removed.
47442 * sysdeps/i386/fpu/s_fma.S: Removed.
47443 * sysdeps/i386/fpu/s_fmal.S: Removed.
47445 2010-10-16 Jakub Jelinek <jakub@redhat.com>
47448 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47449 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47450 computation is not scheduled after fetestexcept. Fix value
47451 of minimum denormal long double.
47453 2010-10-14 Jakub Jelinek <jakub@redhat.com>
47456 * math/libm-test.inc (fma_test): Add some more tests.
47457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47460 2010-10-15 Andreas Schwab <schwab@redhat.com>
47462 * scripts/data/localplt-s390-linux-gnu.data: New file.
47463 * scripts/data/localplt-s390x-linux-gnu.data: New file.
47465 2010-10-13 Jakub Jelinek <jakub@redhat.com>
47468 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47469 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47471 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47473 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47475 if one of x and y is very large and the other is subnormal.
47476 * sysdeps/s390/fpu/s_fmaf.c: New file.
47477 * sysdeps/s390/fpu/s_fma.c: New file.
47478 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47479 * sysdeps/powerpc/fpu/s_fma.S: New file.
47480 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47481 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47482 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47484 2010-10-12 Jakub Jelinek <jakub@redhat.com>
47487 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47490 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47491 * sysdeps/i386/i686/multiarch/s_fma.c: Include
47492 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47493 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47494 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47495 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47497 2010-10-12 Ulrich Drepper <drepper@redhat.com>
47500 * posix/regcomp.c (parse_branch): One more memory leak plugged.
47501 * posix/bug-regex31.input: Add test case.
47503 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47505 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47506 * posix/bug-regex31.input: New file.
47509 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47510 (parse_sub_exp): Fix last change, use postorder.
47512 * posix/bug-regex31.c: New file.
47513 * posix/Makefile: Add rules to build and run bug-regex31.
47515 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47518 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47521 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47522 to have entries in sys_siglist.
47525 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47528 2010-10-07 Jakub Jelinek <jakub@redhat.com>
47531 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47532 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47533 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47534 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47535 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47536 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47537 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47538 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47539 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47540 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47541 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47542 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47543 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47544 * math/ftestexcept.c (fetestexcept): Likewise.
47545 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47546 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47547 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47548 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47549 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47550 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47551 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47553 2010-10-11 Ulrich Drepper <drepper@gmail.com>
47556 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47559 2010-10-06 Ulrich Drepper <drepper@gmail.com>
47561 * string/bug-strstr1.c: New file.
47562 * string/Makefile: Add rules to build and run bug-strstr1.
47564 2010-10-05 Eric Blake <eblake@redhat.com>
47567 * string/str-two-way.h (two_way_long_needle): Always clear memory
47568 when skipping input due to the shift table.
47570 2010-10-03 Ulrich Drepper <drepper@gmail.com>
47573 * malloc/mcheck.c: Handle large requests.
47576 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47577 for strncmp and strncasecmp.
47578 * string/stratcliff.c: Add tests for strcmp and strncmp.
47579 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47581 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47583 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47586 2010-09-30 Andreas Jaeger <aj@suse.de>
47588 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47589 (CGROUP_SUPER_MAGIC): Define.
47590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47591 Handle btrfs and cgroup file systems.
47592 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47595 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
47597 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47598 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47600 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47603 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47604 trying to locate the ELF header.
47606 2010-09-27 Andreas Schwab <schwab@redhat.com>
47609 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47610 Mask out sign-bit copies when constructing f_fsid.
47612 2010-09-24 Petr Baudis <pasky@suse.cz>
47614 * debug/stack_chk_fail_local.c: Add missing licence exception.
47615 * debug/warning-nop.c: Likewise.
47617 2010-09-15 Joseph Myers <joseph@codesourcery.com>
47619 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47620 implementing getdents64 using getdents syscall, set d_type if
47621 __ASSUME_GETDENTS32_D_TYPE.
47623 2010-09-16 Andreas Schwab <schwab@redhat.com>
47625 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47626 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47628 2010-09-21 Ulrich Drepper <drepper@redhat.com>
47631 * posix/unistd.h: Undo change of feature selection for ftruncate from
47634 2010-09-20 Ulrich Drepper <drepper@redhat.com>
47636 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47639 2010-09-20 Andreas Schwab <schwab@redhat.com>
47641 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47643 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47645 2010-09-14 Andreas Schwab <schwab@redhat.com>
47647 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47648 variables after CHECK_SP call.
47649 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47651 2010-09-13 Andreas Schwab <schwab@redhat.com>
47652 Ulrich Drepper <drepper@redhat.com>
47654 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47655 re-relocationg ld.so.
47656 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47657 _dl_init_paths call.
47658 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
47661 2010-09-14 Ulrich Drepper <drepper@redhat.com>
47663 * resolv/res_init.c (__res_vinit): Count the default server we added.
47665 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
47666 Ulrich Drepper <drepper@redhat.com>
47669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47670 (____longjmp_chk): Use %ebx for saving value across system call.
47673 2010-09-06 Andreas Schwab <schwab@redhat.com>
47675 * manual/Makefile: Don't mix pattern rules with normal rules.
47677 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
47679 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47681 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47682 * libio/iofopncook.c (_IO_cookie_init): Likewise.
47683 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47684 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47688 2010-09-04 Ulrich Drepper <drepper@redhat.com>
47691 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47692 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47694 2010-09-02 Ulrich Drepper <drepper@redhat.com>
47696 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47697 * sysdeps/x86_64/addmul_1.S: Likewise.
47698 * sysdeps/x86_64/lshift.S: Likewise.
47699 * sysdeps/x86_64/mul_1.S: Likewise.
47700 * sysdeps/x86_64/rshift.S: Likewise.
47701 * sysdeps/x86_64/sub_n.S: Likewise.
47702 * sysdeps/x86_64/submul_1.S: Likewise.
47704 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
47706 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47707 Define __sched_param instead of SCHED_* and sched_param when
47708 <bits/sched.h> is included with __need_schedparam defined.
47709 * bits/sched.h [__need_schedparam]
47710 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47711 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47712 (__defined_schedparam): Define to 1.
47713 (__sched_param): New structure, identical to sched_param.
47714 (__need_schedparam): Undefine.
47716 2010-08-31 Mike Frysinger <vapier@gentoo.org>
47718 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47719 (epoll_create1): Declare.
47721 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47723 2010-08-31 Andreas Schwab <schwab@redhat.com>
47726 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47727 shifting retval into place.
47729 2010-09-01 Ulrich Drepper <drepper@redhat.com>
47731 * nis/rpcsvc/nis.h: Update copyright notice.
47732 * nis/rpcsvc/nis.x: Likewise.
47733 * nis/rpcsvc/nis_callback.h: Likewise.
47734 * nis/rpcsvc/nis_callback.x: Likewise.
47735 * nis/rpcsvc/nis_object.x: Likewise.
47736 * nis/rpcsvc/nis_tags.h: Likewise.
47737 * nis/rpcsvc/yp.h: Likewise.
47738 * nis/rpcsvc/yp.x: Likewise.
47739 * nis/rpcsvc/ypupd.h: Likewise.
47740 * nis/yp_xdr.c: Likewise.
47741 * nis/ypupdate_xdr.c: Likewise.
47743 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
47744 mainly the body of pmap_getport. Add parameters to specify timeouts.
47745 (pmap_getport): Use __libc_rpc_getport.
47746 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47747 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47748 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47750 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
47752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47755 2010-08-27 Roland McGrath <roland@redhat.com>
47757 * sysdeps/i386/i686/multiarch/Makefile
47758 (CFLAGS-varshift.c): New variable.
47760 2010-08-27 Ulrich Drepper <drepper@redhat.com>
47762 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47763 * sysdeps/i386/i686/multiarch/varshift.c: New file.
47765 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47767 * sysdeps/x86_64/strlen.S: Minimal code improvement.
47769 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
47771 * sysdeps/x86_64/strlen.S: Unroll the loop.
47772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47773 strlen-sse2 strlen-sse2-bsf.
47774 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47775 __strlen_no_bsf if bit_Slow_BSF is set.
47776 (__strlen_sse42): Removed.
47777 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47778 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47780 2010-08-25 Roland McGrath <roland@redhat.com>
47782 * sysdeps/x86_64/multiarch/varshift.S: File removed.
47783 * sysdeps/x86_64/multiarch/varshift.c: New file.
47784 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47785 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47786 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47787 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47789 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
47791 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47792 strlen-sse2 strlen-sse2-bsf.
47793 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47794 __strlen_sse2_bsf if bit_Slow_BSF is unset.
47795 (__strlen_sse2): Removed.
47796 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47797 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47799 bit_Slow_BSF for Atom.
47800 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47801 (index_Slow_BSF): Define.
47802 (HAS_SLOW_BSF): Define.
47804 2010-08-25 Ulrich Drepper <drepper@redhat.com>
47807 * resolv/res_init.c (__res_vinit): When no server address at all
47808 is given default to loopback.
47810 2010-08-24 Roland McGrath <roland@redhat.com>
47812 * configure.in: Remove config-name.h generation.
47813 * configure: Regenerated.
47814 * config-name.in: File removed.
47815 * scripts/config-uname.sh: New file.
47816 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47817 ($(objdir)config-name.h): New target.
47819 * sunrpc/rpc_parse.h: Avoid nested comment.
47821 2010-08-24 Richard Henderson <rth@redhat.com>
47822 Ulrich Drepper <drepper@redhat.com>
47823 H.J. Lu <hongjiu.lu@intel.com>
47825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47826 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47827 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47828 Replace _mm_srli_si128 with __m128i_shift_right. Replace
47829 _mm_alignr_epi8 with _mm_loadu_si128.
47830 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47831 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47832 (__m128i_shift_right): Removed.
47833 * sysdeps/i386/i686/multiarch/varshift.h: New file.
47834 * sysdeps/i386/i686/multiarch/varshift.S: New file.
47835 * sysdeps/x86_64/multiarch/varshift.h: New file.
47836 * sysdeps/x86_64/multiarch/varshift.S: New file.
47838 2010-08-21 Mike Frysinger <vapier@gentoo.org>
47840 * configure.in: Move assembler checks to before sysdep dir checking.
47842 2010-08-20 Petr Baudis <pasky@suse.cz>
47844 * LICENSES: Sync the sunrpc license.
47846 2010-08-19 Ulrich Drepper <drepper@redhat.com>
47848 * sunrpc/auth_des.c: Update copyright notice once again.
47849 * sunrpc/auth_none.c: Likewise.
47850 * sunrpc/auth_unix.c: Likewise.
47851 * sunrpc/authdes_prot.c: Likewise.
47852 * sunrpc/authuxprot.c: Likewise.
47853 * sunrpc/bindrsvprt.c: Likewise.
47854 * sunrpc/clnt_gen.c: Likewise.
47855 * sunrpc/clnt_perr.c: Likewise.
47856 * sunrpc/clnt_raw.c: Likewise.
47857 * sunrpc/clnt_simp.c: Likewise.
47858 * sunrpc/clnt_tcp.c: Likewise.
47859 * sunrpc/clnt_udp.c: Likewise.
47860 * sunrpc/clnt_unix.c: Likewise.
47861 * sunrpc/des_crypt.c: Likewise.
47862 * sunrpc/des_soft.c: Likewise.
47863 * sunrpc/get_myaddr.c: Likewise.
47864 * sunrpc/getrpcport.c: Likewise.
47865 * sunrpc/key_call.c: Likewise.
47866 * sunrpc/key_prot.c: Likewise.
47867 * sunrpc/openchild.c: Likewise.
47868 * sunrpc/pm_getmaps.c: Likewise.
47869 * sunrpc/pm_getport.c: Likewise.
47870 * sunrpc/pmap_clnt.c: Likewise.
47871 * sunrpc/pmap_prot.c: Likewise.
47872 * sunrpc/pmap_prot2.c: Likewise.
47873 * sunrpc/pmap_rmt.c: Likewise.
47874 * sunrpc/rpc/auth.h: Likewise.
47875 * sunrpc/rpc/auth_unix.h: Likewise.
47876 * sunrpc/rpc/clnt.h: Likewise.
47877 * sunrpc/rpc/des_crypt.h: Likewise.
47878 * sunrpc/rpc/key_prot.h: Likewise.
47879 * sunrpc/rpc/netdb.h: Likewise.
47880 * sunrpc/rpc/pmap_clnt.h: Likewise.
47881 * sunrpc/rpc/pmap_prot.h: Likewise.
47882 * sunrpc/rpc/pmap_rmt.h: Likewise.
47883 * sunrpc/rpc/rpc.h: Likewise.
47884 * sunrpc/rpc/rpc_des.h: Likewise.
47885 * sunrpc/rpc/rpc_msg.h: Likewise.
47886 * sunrpc/rpc/svc.h: Likewise.
47887 * sunrpc/rpc/svc_auth.h: Likewise.
47888 * sunrpc/rpc/types.h: Likewise.
47889 * sunrpc/rpc/xdr.h: Likewise.
47890 * sunrpc/rpc_clntout.c: Likewise.
47891 * sunrpc/rpc_cmsg.c: Likewise.
47892 * sunrpc/rpc_common.c: Likewise.
47893 * sunrpc/rpc_cout.c: Likewise.
47894 * sunrpc/rpc_dtable.c: Likewise.
47895 * sunrpc/rpc_hout.c: Likewise.
47896 * sunrpc/rpc_main.c: Likewise.
47897 * sunrpc/rpc_parse.c: Likewise.
47898 * sunrpc/rpc_parse.h: Likewise.
47899 * sunrpc/rpc_prot.c: Likewise.
47900 * sunrpc/rpc_sample.c: Likewise.
47901 * sunrpc/rpc_scan.c: Likewise.
47902 * sunrpc/rpc_scan.h: Likewise.
47903 * sunrpc/rpc_svcout.c: Likewise.
47904 * sunrpc/rpc_tblout.c: Likewise.
47905 * sunrpc/rpc_util.c: Likewise.
47906 * sunrpc/rpc_util.h: Likewise.
47907 * sunrpc/rpcinfo.c: Likewise.
47908 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47909 * sunrpc/rpcsvc/key_prot.x: Likewise.
47910 * sunrpc/rpcsvc/klm_prot.x: Likewise.
47911 * sunrpc/rpcsvc/mount.x: Likewise.
47912 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47913 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47914 * sunrpc/rpcsvc/rex.x: Likewise.
47915 * sunrpc/rpcsvc/rstat.x: Likewise.
47916 * sunrpc/rpcsvc/rusers.x: Likewise.
47917 * sunrpc/rpcsvc/sm_inter.x: Likewise.
47918 * sunrpc/rpcsvc/spray.x: Likewise.
47919 * sunrpc/rpcsvc/yppasswd.x: Likewise.
47920 * sunrpc/rtime.c: Likewise.
47921 * sunrpc/svc.c: Likewise.
47922 * sunrpc/svc_auth.c: Likewise.
47923 * sunrpc/svc_authux.c: Likewise.
47924 * sunrpc/svc_raw.c: Likewise.
47925 * sunrpc/svc_run.c: Likewise.
47926 * sunrpc/svc_simple.c: Likewise.
47927 * sunrpc/svc_tcp.c: Likewise.
47928 * sunrpc/svc_udp.c: Likewise.
47929 * sunrpc/svc_unix.c: Likewise.
47930 * sunrpc/svcauth_des.c: Likewise.
47931 * sunrpc/xcrypt.c: Likewise.
47932 * sunrpc/xdr.c: Likewise.
47933 * sunrpc/xdr_array.c: Likewise.
47934 * sunrpc/xdr_float.c: Likewise.
47935 * sunrpc/xdr_mem.c: Likewise.
47936 * sunrpc/xdr_rec.c: Likewise.
47937 * sunrpc/xdr_ref.c: Likewise.
47938 * sunrpc/xdr_sizeof.c: Likewise.
47939 * sunrpc/xdr_stdio.c: Likewise.
47941 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47944 2010-08-19 Andreas Schwab <schwab@redhat.com>
47946 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47948 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
47950 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47952 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47953 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47954 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47955 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47956 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47957 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47958 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47959 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47960 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47961 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47962 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47963 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47965 2010-07-26 Anton Blanchard <anton@samba.org>
47967 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47968 * malloc/arena.c (heap_trim): Likewise.
47970 2010-08-16 Ulrich Drepper <drepper@redhat.com>
47972 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47974 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47975 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47977 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
47979 * sysdeps/i386/elf/Makefile: New file.
47981 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
47983 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47984 from fanotify_init.
47985 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47988 2010-08-15 Ulrich Drepper <drepper@redhat.com>
47990 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47992 * sysdeps/multiarch/strcmp.S: Likewise.
47994 2010-08-14 Ulrich Drepper <drepper@redhat.com>
47996 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47997 strncase_l-nonascii.
47998 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47999 Add strncase_l-ssse3.
48000 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
48001 * sysdeps/x86_64/strcmp.S: Likewise.
48002 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
48003 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
48004 * sysdeps/x86_64/strncase.S: New file.
48005 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
48006 * sysdeps/x86_64/strncase_l.S: New file.
48007 * string/Makefile (strop-tests): Add strncasecmp.
48008 * string/test-strncasecmp.c: New file.
48010 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
48013 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
48014 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
48016 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
48018 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
48020 2010-08-12 Ulrich Drepper <drepper@redhat.com>
48022 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
48023 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
48024 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
48026 2010-05-01 Alan Modra <amodra@gmail.com>
48028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
48029 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
48030 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
48031 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
48032 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
48033 tidying. Don't tail-call __sigjmp_save for static lib.
48034 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
48036 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
48037 (CALL_MCOUNT): Add eh info, and nop after bl.
48038 (TAIL_CALL_SYSCALL_ERROR): New macro.
48039 (PSEUDO_RET): Use it.
48040 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
48041 Correct save location of integer regs and cr.
48042 (_dl_profile_resolve): Correct cr save location. Delete nops
48043 after bl when SHARED. Reduce cfi size a little by better
48044 placement of cfi directives.
48045 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
48046 make a stack frame. Instead use parm save area as a temp.
48047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
48048 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
48049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
48050 Don't make a stack frame for parent, use parm save area.
48051 Increase child stack frame to 112 bytes. Don't save unused reg,
48052 and adjust reg usage. Set up cfi on error recovery and
48053 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
48054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48055 (__makecontext): Add dummy nop after jump to exit.
48056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
48057 Use correct parm save area and cr save, reduce stack frame.
48058 Correct cfi for possible PSEUDO_RET frame setup.
48059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
48060 Branch to local label emitted by PSEUDO_RET rather than
48063 2010-08-12 Andreas Schwab <schwab@redhat.com>
48066 * locale/programs/locale.c (print_assignment): New function.
48067 (show_locale_vars): Use it.
48069 2010-08-11 Ulrich Drepper <drepper@redhat.com>
48071 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
48073 (struct statfs64): Likewise.
48074 (_STATFS_F_FLAGS): Define.
48075 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
48076 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48077 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
48078 (ST_VALID): Define locally.
48079 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
48080 __statvfs_getflags, use the provided value.
48081 * sysdeps/unix/sysv/linux/kernel-features.h: Define
48082 __ASSUME_STATFS_F_FLAGS.
48084 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
48086 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
48087 Add sys/fanotify.h.
48088 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
48089 fanotify_mask for GLIBC_2.13.
48090 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
48091 fanotify_init and fanotify_mark.
48092 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
48093 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
48095 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
48097 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
48098 prlimit64 for GLIBC_2.13.
48099 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
48101 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
48103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
48104 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48105 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
48106 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
48107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
48109 * sysdeps/unix/sysv/linux/prlimit.c: New file.
48112 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
48113 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
48115 * nss/Makefile: Add rules to build and run tst-nss-test1.
48116 * shlib-versions: Add entry for libnss_test1.
48117 * nss/nss_test1.c: New file.
48118 * nss/tst-nss-test1.c: New file.
48120 * nss/nsswitch.c (__nss_database_custom): Define new variable.
48121 (__nss_configure_lookup): Set appropriate entry in
48122 __nss_configure_lookup to true.
48123 * nss/nsswitch.h: Define enum with indeces of databases in
48124 databases and __nss_database_custom arrays. Declare
48125 __nss_database_custom.
48126 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
48127 to avoid using nscd when custom rules are installed.
48128 * nss/getXXbyYY_r.c: Likewise.
48129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48131 * nss/nss_files/files-parse.c: Whitespace fixes.
48133 2010-08-09 Ulrich Drepper <drepper@redhat.com>
48136 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
48137 * posix/fnmatch_loop.c: Likewise.
48139 2010-07-17 Andi Kleen <ak@linux.intel.com>
48141 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
48142 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
48143 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
48144 * Versions.def [GLIBC_2.13]: Add.
48146 2010-08-06 Ulrich Drepper <drepper@redhat.com>
48148 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48149 Also fail if tpwd after pwuid call is NULL.
48151 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
48153 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
48154 when converting to ms.
48156 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48158 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
48159 EOPNOTSUPP errors with ENOTTY.
48160 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
48161 EOPNOTSUPP errors with ENOTTY.
48163 2010-07-31 Ulrich Drepper <drepper@redhat.com>
48165 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
48166 Add strcasecmp_l-ssse3.
48167 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
48169 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
48170 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
48171 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
48173 2010-07-30 Ulrich Drepper <drepper@redhat.com>
48175 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
48177 * string/Makefile (strop-tests): Add strcasecmp.
48178 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
48179 strcasecmp_l-nonascii.
48180 (gen-as-const-headers): Add locale-defines.sym.
48181 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
48182 * sysdeps/x86_64/strcasecmp.S: New file.
48183 * sysdeps/x86_64/strcasecmp_l.S: New file.
48184 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
48185 * sysdeps/x86_64/locale-defines.sym: New file.
48186 * string/test-strcasecmp.c: New file.
48188 * string/test-strcasestr.c: Test both ends of the range of characters.
48189 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
48191 2010-07-29 Roland McGrath <roland@redhat.com>
48194 * manual/locale.texi (Yes-or-No Questions): Fix example code.
48196 2010-07-27 Ulrich Drepper <drepper@redhat.com>
48198 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
48201 2010-07-27 Andreas Schwab <schwab@redhat.com>
48203 * manual/memory.texi (Malloc Tunable Parameters): Document
48206 2010-07-26 Roland McGrath <roland@redhat.com>
48209 * configure.in (-fgnu89-inline check): Set and substitute
48210 gnu89_inline, not libc_cv_gnu89_inline.
48211 * configure: Regenerated.
48212 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
48214 2010-07-26 Ulrich Drepper <drepper@redhat.com>
48216 * string/test-strnlen.c: New file.
48217 * string/Makefile (strop-tests): Add strnlen.
48218 * string/tester.c (test_strnlen): Add a few more test cases.
48219 * string/tst-strlen.c: Better error reporting.
48221 * sysdeps/x86_64/strnlen.S: New file.
48223 2010-07-24 Ulrich Drepper <drepper@redhat.com>
48225 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
48226 lower-latency instructions.
48228 2010-07-23 Ulrich Drepper <drepper@redhat.com>
48230 * string/test-strcasestr.c: New file.
48231 * string/test-strstr.c: New file.
48232 * string/Makefile (strop-tests): Add strstr and strcasestr.
48233 * string/str-two-way.h: Don't undefine MAX.
48234 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
48236 2010-07-21 Andreas Schwab <schwab@redhat.com>
48238 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48239 strcasestr-nonascii.
48240 (CFLAGS-strcasestr-nonascii.c): Define.
48241 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
48242 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
48243 Remove unused attribute.
48245 2010-07-20 Roland McGrath <roland@redhat.com>
48247 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
48248 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
48249 ld.so.cache was broken. With it, there is no way to disable dsocaps
48250 like LD_HWCAP_MASK can disable hwcaps.
48252 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48254 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
48256 2010-07-16 Ulrich Drepper <drepper@redhat.com>
48258 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
48259 call in strcasestr.
48260 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
48261 __strcasestr_sse42_nonascii.
48262 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
48263 strcasestr-nonascii.c.
48264 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
48266 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
48268 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
48269 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
48270 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
48271 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
48273 2010-07-09 Ulrich Drepper <drepper@redhat.com>
48275 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
48278 2010-07-06 Andreas Schwab <schwab@redhat.com>
48281 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
48284 2010-07-06 Ulrich Drepper <drepper@redhat.com>
48286 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
48287 _PC_PIPE_BUF using F_GETPIPE_SZ.
48289 2010-07-05 Roland McGrath <roland@redhat.com>
48291 * manual/arith.texi (Rounding Functions): Fix rint description
48292 implicit in round description.
48294 2010-07-02 Ulrich Drepper <drepper@redhat.com>
48296 * elf/Makefile: Fix linking for a few tests to make recent linker
48299 2010-06-30 Andreas Schwab <schwab@redhat.com>
48301 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48302 $(common-objpfx)libc_nonshared.a.
48304 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
48306 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
48307 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
48308 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48309 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48310 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
48311 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
48312 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48313 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
48315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
48316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
48317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
48318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
48319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
48320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
48321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
48322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
48323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
48324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
48325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
48326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
48327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
48328 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
48329 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
48330 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
48331 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
48332 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
48333 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
48334 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
48335 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
48336 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
48337 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
48338 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
48339 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
48340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
48341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
48342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
48343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
48344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
48345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
48346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
48347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
48348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
48349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
48350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
48351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
48352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
48353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
48355 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
48357 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
48358 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
48359 * string/memmove.c (memmove): Renamed to ...
48360 (MEMMOVE): ...this. Default to memmove.
48361 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
48362 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
48364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48365 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
48366 mempcpy-ssse3-back memmove-ssse3-back.
48367 * sysdeps/x86_64/multiarch/bcopy.S: New file .
48368 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
48369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
48370 * sysdeps/x86_64/multiarch/memcpy.S: New file.
48371 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
48372 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
48373 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
48374 * sysdeps/x86_64/multiarch/memmove.c: New file.
48375 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
48376 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
48377 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
48378 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
48379 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
48380 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
48382 (index_Fast_Copy_Backward): Define.
48383 (HAS_ARCH_FEATURE): Define.
48384 (HAS_FAST_REP_STRING): Define.
48385 (HAS_FAST_COPY_BACKWARD): Define.
48387 2010-06-21 Andreas Schwab <schwab@redhat.com>
48389 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
48390 Restore proper fallback handling.
48392 2010-06-19 Ulrich Drepper <drepper@redhat.com>
48395 * posix/group_member.c (__group_member): Correct checking loop.
48397 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
48398 OOM in getpwuid_r correctly. Return error number when the caller
48399 should return, otherwise -1.
48400 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
48401 call returning > 0 value.
48402 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
48404 2010-06-07 Andreas Schwab <schwab@redhat.com>
48406 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
48407 libc_nonshared.a from targets in modules-names.
48409 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
48411 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
48414 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
48416 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
48417 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
48418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
48419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
48421 2010-06-02 Andreas Schwab <schwab@redhat.com>
48423 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
48425 2010-06-14 Ulrich Drepper <drepper@redhat.com>
48427 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
48429 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48431 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48433 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48436 2010-06-14 Roland McGrath <roland@redhat.com>
48438 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48440 2010-06-07 Jakub Jelinek <jakub@redhat.com>
48442 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48443 __REDIRECT followed by __THROW.
48444 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48445 * posix/getopt.h (getopt): Likewise.
48447 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
48449 * hurd/lookup-at.c (__file_name_lookup_at): Accept
48450 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
48451 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48453 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48454 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48456 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
48458 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48460 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
48463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48464 Properly check family and model.
48466 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
48468 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48470 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
48472 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48474 2010-05-21 Ulrich Drepper <drepper@redhat.com>
48476 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48479 2010-05-19 Andreas Schwab <schwab@redhat.com>
48481 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48484 2010-05-21 Andreas Schwab <schwab@redhat.com>
48486 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48487 and internal_recvmmsg.
48488 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48489 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48490 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48491 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48493 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48494 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48495 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48497 2010-05-20 Andreas Schwab <schwab@redhat.com>
48499 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48501 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
48503 POWER7 optimizations.
48504 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48505 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48507 2010-05-19 Ulrich Drepper <drepper@redhat.com>
48509 * version.h: Update for 2.13 development version.
48511 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
48513 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48514 exceptions. Return 0.
48516 2010-05-07 Roland McGrath <roland@redhat.com>
48518 * elf/ldconfig.c (main): Add a const.
48520 2010-05-06 Ulrich Drepper <drepper@redhat.com>
48522 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48523 (args_options): Add no-idn option.
48524 (ahosts_keys_int): Add idn_flags to ai_flags.
48525 (parse_option): Handle 'i' option to clear idn_flags.
48527 * malloc/malloc.c (_int_free): Possible race in the most recently
48528 added check. Only act on the data if no current modification
48531 See ChangeLog.17 for earlier changes.